'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:4.0.30319.261
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </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


<Global.System.Data.Linq.Mapping.ProviderAttribute(GetType(System.Data.Linq.SqlClient.Sql2008Provider))>  _
Partial Public Class ACT2012Demo
	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 InsertCTL_ABL_ACTIVITY(instance As CTL_ABL_ACTIVITY)
    End Sub
  Partial Private Sub UpdateCTL_ABL_ACTIVITY(instance As CTL_ABL_ACTIVITY)
    End Sub
  Partial Private Sub DeleteCTL_ABL_ACTIVITY(instance As CTL_ABL_ACTIVITY)
    End Sub
  Partial Private Sub InsertCTL_ABL_CONNECTOR(instance As CTL_ABL_CONNECTOR)
    End Sub
  Partial Private Sub UpdateCTL_ABL_CONNECTOR(instance As CTL_ABL_CONNECTOR)
    End Sub
  Partial Private Sub DeleteCTL_ABL_CONNECTOR(instance As CTL_ABL_CONNECTOR)
    End Sub
  Partial Private Sub InsertCTL_ABL_CONNECTOR_ACCESSORCONFIG(instance As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
    End Sub
  Partial Private Sub UpdateCTL_ABL_CONNECTOR_ACCESSORCONFIG(instance As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
    End Sub
  Partial Private Sub DeleteCTL_ABL_CONNECTOR_ACCESSORCONFIG(instance As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
    End Sub
  Partial Private Sub InsertCTL_ABL_CONNECTOR_ENTITY(instance As CTL_ABL_CONNECTOR_ENTITY)
    End Sub
  Partial Private Sub UpdateCTL_ABL_CONNECTOR_ENTITY(instance As CTL_ABL_CONNECTOR_ENTITY)
    End Sub
  Partial Private Sub DeleteCTL_ABL_CONNECTOR_ENTITY(instance As CTL_ABL_CONNECTOR_ENTITY)
    End Sub
  Partial Private Sub InsertCTL_ABL_CONNECTOR_ENTITYSCHEMA(instance As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
    End Sub
  Partial Private Sub UpdateCTL_ABL_CONNECTOR_ENTITYSCHEMA(instance As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
    End Sub
  Partial Private Sub DeleteCTL_ABL_CONNECTOR_ENTITYSCHEMA(instance As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
    End Sub
  Partial Private Sub InsertCTL_ABL_CONNECTORTYPE(instance As CTL_ABL_CONNECTORTYPE)
    End Sub
  Partial Private Sub UpdateCTL_ABL_CONNECTORTYPE(instance As CTL_ABL_CONNECTORTYPE)
    End Sub
  Partial Private Sub DeleteCTL_ABL_CONNECTORTYPE(instance As CTL_ABL_CONNECTORTYPE)
    End Sub
  Partial Private Sub InsertCTL_ABL_DEPENDENT(instance As CTL_ABL_DEPENDENT)
    End Sub
  Partial Private Sub UpdateCTL_ABL_DEPENDENT(instance As CTL_ABL_DEPENDENT)
    End Sub
  Partial Private Sub DeleteCTL_ABL_DEPENDENT(instance As CTL_ABL_DEPENDENT)
    End Sub
  Partial Private Sub InsertCTL_ABL_FIELD(instance As CTL_ABL_FIELD)
    End Sub
  Partial Private Sub UpdateCTL_ABL_FIELD(instance As CTL_ABL_FIELD)
    End Sub
  Partial Private Sub DeleteCTL_ABL_FIELD(instance As CTL_ABL_FIELD)
    End Sub
  Partial Private Sub InsertCTL_ABL_LINK(instance As CTL_ABL_LINK)
    End Sub
  Partial Private Sub UpdateCTL_ABL_LINK(instance As CTL_ABL_LINK)
    End Sub
  Partial Private Sub DeleteCTL_ABL_LINK(instance As CTL_ABL_LINK)
    End Sub
  Partial Private Sub InsertCTL_ABL_LINK_DEPENDENT(instance As CTL_ABL_LINK_DEPENDENT)
    End Sub
  Partial Private Sub UpdateCTL_ABL_LINK_DEPENDENT(instance As CTL_ABL_LINK_DEPENDENT)
    End Sub
  Partial Private Sub DeleteCTL_ABL_LINK_DEPENDENT(instance As CTL_ABL_LINK_DEPENDENT)
    End Sub
  Partial Private Sub InsertCTL_ABL_LINKREMAP(instance As CTL_ABL_LINKREMAP)
    End Sub
  Partial Private Sub UpdateCTL_ABL_LINKREMAP(instance As CTL_ABL_LINKREMAP)
    End Sub
  Partial Private Sub DeleteCTL_ABL_LINKREMAP(instance As CTL_ABL_LINKREMAP)
    End Sub
  Partial Private Sub InsertCTL_ABL_MASTERQUEUE_INPUT(instance As CTL_ABL_MASTERQUEUE_INPUT)
    End Sub
  Partial Private Sub UpdateCTL_ABL_MASTERQUEUE_INPUT(instance As CTL_ABL_MASTERQUEUE_INPUT)
    End Sub
  Partial Private Sub DeleteCTL_ABL_MASTERQUEUE_INPUT(instance As CTL_ABL_MASTERQUEUE_INPUT)
    End Sub
  Partial Private Sub InsertCTL_ABL_MASTERQUEUE_OUTPUT(instance As CTL_ABL_MASTERQUEUE_OUTPUT)
    End Sub
  Partial Private Sub UpdateCTL_ABL_MASTERQUEUE_OUTPUT(instance As CTL_ABL_MASTERQUEUE_OUTPUT)
    End Sub
  Partial Private Sub DeleteCTL_ABL_MASTERQUEUE_OUTPUT(instance As CTL_ABL_MASTERQUEUE_OUTPUT)
    End Sub
  Partial Private Sub InsertCTL_ABL_MASTERQUEUE_PREFILTER(instance As CTL_ABL_MASTERQUEUE_PREFILTER)
    End Sub
  Partial Private Sub UpdateCTL_ABL_MASTERQUEUE_PREFILTER(instance As CTL_ABL_MASTERQUEUE_PREFILTER)
    End Sub
  Partial Private Sub DeleteCTL_ABL_MASTERQUEUE_PREFILTER(instance As CTL_ABL_MASTERQUEUE_PREFILTER)
    End Sub
  Partial Private Sub InsertCTL_ABL_SCHEDULEDFOR(instance As CTL_ABL_SCHEDULEDFOR)
    End Sub
  Partial Private Sub UpdateCTL_ABL_SCHEDULEDFOR(instance As CTL_ABL_SCHEDULEDFOR)
    End Sub
  Partial Private Sub DeleteCTL_ABL_SCHEDULEDFOR(instance As CTL_ABL_SCHEDULEDFOR)
    End Sub
  Partial Private Sub InsertCTL_ACTIVITY_ABL_ACTIVITY(instance As CTL_ACTIVITY_ABL_ACTIVITY)
    End Sub
  Partial Private Sub UpdateCTL_ACTIVITY_ABL_ACTIVITY(instance As CTL_ACTIVITY_ABL_ACTIVITY)
    End Sub
  Partial Private Sub DeleteCTL_ACTIVITY_ABL_ACTIVITY(instance As CTL_ACTIVITY_ABL_ACTIVITY)
    End Sub
  Partial Private Sub InsertCTL_BI_CALENDARDATE_DIM(instance As CTL_BI_CALENDARDATE_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_CALENDARDATE_DIM(instance As CTL_BI_CALENDARDATE_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_CALENDARDATE_DIM(instance As CTL_BI_CALENDARDATE_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_COMPANY_DIM(instance As CTL_BI_COMPANY_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_COMPANY_DIM(instance As CTL_BI_COMPANY_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_COMPANY_DIM(instance As CTL_BI_COMPANY_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_CONTACT_DIM(instance As CTL_BI_CONTACT_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_CONTACT_DIM(instance As CTL_BI_CONTACT_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_CONTACT_DIM(instance As CTL_BI_CONTACT_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_GEOGRAPHY_DIM(instance As CTL_BI_GEOGRAPHY_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_GEOGRAPHY_DIM(instance As CTL_BI_GEOGRAPHY_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_GEOGRAPHY_DIM(instance As CTL_BI_GEOGRAPHY_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_GROUP_DIM(instance As CTL_BI_GROUP_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_GROUP_DIM(instance As CTL_BI_GROUP_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_GROUP_DIM(instance As CTL_BI_GROUP_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_HISTORY_FACT(instance As CTL_BI_HISTORY_FACT)
    End Sub
  Partial Private Sub UpdateCTL_BI_HISTORY_FACT(instance As CTL_BI_HISTORY_FACT)
    End Sub
  Partial Private Sub DeleteCTL_BI_HISTORY_FACT(instance As CTL_BI_HISTORY_FACT)
    End Sub
  Partial Private Sub InsertCTL_BI_HISTORYTYPE_DIM(instance As CTL_BI_HISTORYTYPE_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_HISTORYTYPE_DIM(instance As CTL_BI_HISTORYTYPE_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_HISTORYTYPE_DIM(instance As CTL_BI_HISTORYTYPE_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_INDUSTRY_DIM(instance As CTL_BI_INDUSTRY_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_INDUSTRY_DIM(instance As CTL_BI_INDUSTRY_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_INDUSTRY_DIM(instance As CTL_BI_INDUSTRY_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_OPPORTUNITY_DIM(instance As CTL_BI_OPPORTUNITY_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_OPPORTUNITY_DIM(instance As CTL_BI_OPPORTUNITY_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_OPPORTUNITY_DIM(instance As CTL_BI_OPPORTUNITY_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_OPPORTUNITY_FACT(instance As CTL_BI_OPPORTUNITY_FACT)
    End Sub
  Partial Private Sub UpdateCTL_BI_OPPORTUNITY_FACT(instance As CTL_BI_OPPORTUNITY_FACT)
    End Sub
  Partial Private Sub DeleteCTL_BI_OPPORTUNITY_FACT(instance As CTL_BI_OPPORTUNITY_FACT)
    End Sub
  Partial Private Sub InsertCTL_BI_OPPORTUNITYSTATUS_DIM(instance As CTL_BI_OPPORTUNITYSTATUS_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_OPPORTUNITYSTATUS_DIM(instance As CTL_BI_OPPORTUNITYSTATUS_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_OPPORTUNITYSTATUS_DIM(instance As CTL_BI_OPPORTUNITYSTATUS_DIM)
    End Sub
  Partial Private Sub InsertCTL_BI_USER_DIM(instance As CTL_BI_USER_DIM)
    End Sub
  Partial Private Sub UpdateCTL_BI_USER_DIM(instance As CTL_BI_USER_DIM)
    End Sub
  Partial Private Sub DeleteCTL_BI_USER_DIM(instance As CTL_BI_USER_DIM)
    End Sub
  Partial Private Sub InsertCTL_DBCONFIG(instance As CTL_DBCONFIG)
    End Sub
  Partial Private Sub UpdateCTL_DBCONFIG(instance As CTL_DBCONFIG)
    End Sub
  Partial Private Sub DeleteCTL_DBCONFIG(instance As CTL_DBCONFIG)
    End Sub
  Partial Private Sub InsertCTL_EVENTLOG(instance As CTL_EVENTLOG)
    End Sub
  Partial Private Sub UpdateCTL_EVENTLOG(instance As CTL_EVENTLOG)
    End Sub
  Partial Private Sub DeleteCTL_EVENTLOG(instance As CTL_EVENTLOG)
    End Sub
  Partial Private Sub InsertCTL_LOCALSTRING(instance As CTL_LOCALSTRING)
    End Sub
  Partial Private Sub UpdateCTL_LOCALSTRING(instance As CTL_LOCALSTRING)
    End Sub
  Partial Private Sub DeleteCTL_LOCALSTRING(instance As CTL_LOCALSTRING)
    End Sub
  Partial Private Sub InsertCTL_OLEDBFUNCTION(instance As CTL_OLEDBFUNCTION)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBFUNCTION(instance As CTL_OLEDBFUNCTION)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBFUNCTION(instance As CTL_OLEDBFUNCTION)
    End Sub
  Partial Private Sub InsertCTL_OLEDBFUNCTION_SYSCOLUMN(instance As CTL_OLEDBFUNCTION_SYSCOLUMN)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBFUNCTION_SYSCOLUMN(instance As CTL_OLEDBFUNCTION_SYSCOLUMN)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBFUNCTION_SYSCOLUMN(instance As CTL_OLEDBFUNCTION_SYSCOLUMN)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW(instance As CTL_OLEDBVIEW)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW(instance As CTL_OLEDBVIEW)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW(instance As CTL_OLEDBVIEW)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW_DERIVEDCOLUMN(instance As CTL_OLEDBVIEW_DERIVEDCOLUMN)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW_DERIVEDCOLUMN(instance As CTL_OLEDBVIEW_DERIVEDCOLUMN)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW_DERIVEDCOLUMN(instance As CTL_OLEDBVIEW_DERIVEDCOLUMN)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW_JOINDATA(instance As CTL_OLEDBVIEW_JOINDATA)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW_JOINDATA(instance As CTL_OLEDBVIEW_JOINDATA)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW_JOINDATA(instance As CTL_OLEDBVIEW_JOINDATA)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW_KEYINDEX(instance As CTL_OLEDBVIEW_KEYINDEX)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW_KEYINDEX(instance As CTL_OLEDBVIEW_KEYINDEX)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW_KEYINDEX(instance As CTL_OLEDBVIEW_KEYINDEX)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN(instance As CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN(instance As CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN(instance As CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW_OLEDBFUNCTION(instance As CTL_OLEDBVIEW_OLEDBFUNCTION)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW_OLEDBFUNCTION(instance As CTL_OLEDBVIEW_OLEDBFUNCTION)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW_OLEDBFUNCTION(instance As CTL_OLEDBVIEW_OLEDBFUNCTION)
    End Sub
  Partial Private Sub InsertCTL_OLEDBVIEW_PROVIDERVIEW(instance As CTL_OLEDBVIEW_PROVIDERVIEW)
    End Sub
  Partial Private Sub UpdateCTL_OLEDBVIEW_PROVIDERVIEW(instance As CTL_OLEDBVIEW_PROVIDERVIEW)
    End Sub
  Partial Private Sub DeleteCTL_OLEDBVIEW_PROVIDERVIEW(instance As CTL_OLEDBVIEW_PROVIDERVIEW)
    End Sub
  Partial Private Sub InsertCTL_PROVIDERVIEW(instance As CTL_PROVIDERVIEW)
    End Sub
  Partial Private Sub UpdateCTL_PROVIDERVIEW(instance As CTL_PROVIDERVIEW)
    End Sub
  Partial Private Sub DeleteCTL_PROVIDERVIEW(instance As CTL_PROVIDERVIEW)
    End Sub
  Partial Private Sub InsertCTL_SQLTRACE(instance As CTL_SQLTRACE)
    End Sub
  Partial Private Sub UpdateCTL_SQLTRACE(instance As CTL_SQLTRACE)
    End Sub
  Partial Private Sub DeleteCTL_SQLTRACE(instance As CTL_SQLTRACE)
    End Sub
  Partial Private Sub InsertCTL_SYNC_DEVICETABLE(instance As CTL_SYNC_DEVICETABLE)
    End Sub
  Partial Private Sub UpdateCTL_SYNC_DEVICETABLE(instance As CTL_SYNC_DEVICETABLE)
    End Sub
  Partial Private Sub DeleteCTL_SYNC_DEVICETABLE(instance As CTL_SYNC_DEVICETABLE)
    End Sub
  Partial Private Sub InsertCTL_SYNC_INITIALIZE_ROWDATA(instance As CTL_SYNC_INITIALIZE_ROWDATA)
    End Sub
  Partial Private Sub UpdateCTL_SYNC_INITIALIZE_ROWDATA(instance As CTL_SYNC_INITIALIZE_ROWDATA)
    End Sub
  Partial Private Sub DeleteCTL_SYNC_INITIALIZE_ROWDATA(instance As CTL_SYNC_INITIALIZE_ROWDATA)
    End Sub
  Partial Private Sub InsertCTL_SYNC_INITIALIZE_ROWSCHEMA(instance As CTL_SYNC_INITIALIZE_ROWSCHEMA)
    End Sub
  Partial Private Sub UpdateCTL_SYNC_INITIALIZE_ROWSCHEMA(instance As CTL_SYNC_INITIALIZE_ROWSCHEMA)
    End Sub
  Partial Private Sub DeleteCTL_SYNC_INITIALIZE_ROWSCHEMA(instance As CTL_SYNC_INITIALIZE_ROWSCHEMA)
    End Sub
  Partial Private Sub InsertCTL_SYNCACCESSOR(instance As CTL_SYNCACCESSOR)
    End Sub
  Partial Private Sub UpdateCTL_SYNCACCESSOR(instance As CTL_SYNCACCESSOR)
    End Sub
  Partial Private Sub DeleteCTL_SYNCACCESSOR(instance As CTL_SYNCACCESSOR)
    End Sub
  Partial Private Sub InsertCTL_SYNCCOLUMN(instance As CTL_SYNCCOLUMN)
    End Sub
  Partial Private Sub UpdateCTL_SYNCCOLUMN(instance As CTL_SYNCCOLUMN)
    End Sub
  Partial Private Sub DeleteCTL_SYNCCOLUMN(instance As CTL_SYNCCOLUMN)
    End Sub
  Partial Private Sub InsertCTL_SYNCDB(instance As CTL_SYNCDB)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDB(instance As CTL_SYNCDB)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDB(instance As CTL_SYNCDB)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP(instance As CTL_SYNCDBMAP)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP(instance As CTL_SYNCDBMAP)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP(instance As CTL_SYNCDBMAP)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP_ROWDATA(instance As CTL_SYNCDBMAP_ROWDATA)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP_ROWDATA(instance As CTL_SYNCDBMAP_ROWDATA)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP_ROWDATA(instance As CTL_SYNCDBMAP_ROWDATA)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP_ROWEXCEPTION(instance As CTL_SYNCDBMAP_ROWEXCEPTION)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP_ROWEXCEPTION(instance As CTL_SYNCDBMAP_ROWEXCEPTION)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP_ROWEXCEPTION(instance As CTL_SYNCDBMAP_ROWEXCEPTION)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP_ROWFILE(instance As CTL_SYNCDBMAP_ROWFILE)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP_ROWFILE(instance As CTL_SYNCDBMAP_ROWFILE)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP_ROWFILE(instance As CTL_SYNCDBMAP_ROWFILE)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP_ROWSCHEMA(instance As CTL_SYNCDBMAP_ROWSCHEMA)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP_ROWSCHEMA(instance As CTL_SYNCDBMAP_ROWSCHEMA)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP_ROWSCHEMA(instance As CTL_SYNCDBMAP_ROWSCHEMA)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP_SESSION(instance As CTL_SYNCDBMAP_SESSION)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP_SESSION(instance As CTL_SYNCDBMAP_SESSION)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP_SESSION(instance As CTL_SYNCDBMAP_SESSION)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAP_SESSIONROW(instance As CTL_SYNCDBMAP_SESSIONROW)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAP_SESSIONROW(instance As CTL_SYNCDBMAP_SESSIONROW)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAP_SESSIONROW(instance As CTL_SYNCDBMAP_SESSIONROW)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAPINFO(instance As CTL_SYNCDBMAPINFO)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAPINFO(instance As CTL_SYNCDBMAPINFO)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAPINFO(instance As CTL_SYNCDBMAPINFO)
    End Sub
  Partial Private Sub InsertCTL_SYNCDBMAPINFO_HISTORY(instance As CTL_SYNCDBMAPINFO_HISTORY)
    End Sub
  Partial Private Sub UpdateCTL_SYNCDBMAPINFO_HISTORY(instance As CTL_SYNCDBMAPINFO_HISTORY)
    End Sub
  Partial Private Sub DeleteCTL_SYNCDBMAPINFO_HISTORY(instance As CTL_SYNCDBMAPINFO_HISTORY)
    End Sub
  Partial Private Sub InsertCTL_SYNCROW_ADD(instance As CTL_SYNCROW_ADD)
    End Sub
  Partial Private Sub UpdateCTL_SYNCROW_ADD(instance As CTL_SYNCROW_ADD)
    End Sub
  Partial Private Sub DeleteCTL_SYNCROW_ADD(instance As CTL_SYNCROW_ADD)
    End Sub
  Partial Private Sub InsertCTL_SYNCROW_DELETE(instance As CTL_SYNCROW_DELETE)
    End Sub
  Partial Private Sub UpdateCTL_SYNCROW_DELETE(instance As CTL_SYNCROW_DELETE)
    End Sub
  Partial Private Sub DeleteCTL_SYNCROW_DELETE(instance As CTL_SYNCROW_DELETE)
    End Sub
  Partial Private Sub InsertCTL_SYNCROW_EXCEPTION(instance As CTL_SYNCROW_EXCEPTION)
    End Sub
  Partial Private Sub UpdateCTL_SYNCROW_EXCEPTION(instance As CTL_SYNCROW_EXCEPTION)
    End Sub
  Partial Private Sub DeleteCTL_SYNCROW_EXCEPTION(instance As CTL_SYNCROW_EXCEPTION)
    End Sub
  Partial Private Sub InsertCTL_SYNCROW_FILE(instance As CTL_SYNCROW_FILE)
    End Sub
  Partial Private Sub UpdateCTL_SYNCROW_FILE(instance As CTL_SYNCROW_FILE)
    End Sub
  Partial Private Sub DeleteCTL_SYNCROW_FILE(instance As CTL_SYNCROW_FILE)
    End Sub
  Partial Private Sub InsertCTL_SYNCROW_UPDATE(instance As CTL_SYNCROW_UPDATE)
    End Sub
  Partial Private Sub UpdateCTL_SYNCROW_UPDATE(instance As CTL_SYNCROW_UPDATE)
    End Sub
  Partial Private Sub DeleteCTL_SYNCROW_UPDATE(instance As CTL_SYNCROW_UPDATE)
    End Sub
  Partial Private Sub InsertCTL_SYNCROW_UPDATECOLUMN(instance As CTL_SYNCROW_UPDATECOLUMN)
    End Sub
  Partial Private Sub UpdateCTL_SYNCROW_UPDATECOLUMN(instance As CTL_SYNCROW_UPDATECOLUMN)
    End Sub
  Partial Private Sub DeleteCTL_SYNCROW_UPDATECOLUMN(instance As CTL_SYNCROW_UPDATECOLUMN)
    End Sub
  Partial Private Sub InsertCTL_SYNCSETTYPE(instance As CTL_SYNCSETTYPE)
    End Sub
  Partial Private Sub UpdateCTL_SYNCSETTYPE(instance As CTL_SYNCSETTYPE)
    End Sub
  Partial Private Sub DeleteCTL_SYNCSETTYPE(instance As CTL_SYNCSETTYPE)
    End Sub
  Partial Private Sub InsertCTL_SYNCTABLE(instance As CTL_SYNCTABLE)
    End Sub
  Partial Private Sub UpdateCTL_SYNCTABLE(instance As CTL_SYNCTABLE)
    End Sub
  Partial Private Sub DeleteCTL_SYNCTABLE(instance As CTL_SYNCTABLE)
    End Sub
  Partial Private Sub InsertCTL_SYSTABLEORDER(instance As CTL_SYSTABLEORDER)
    End Sub
  Partial Private Sub UpdateCTL_SYSTABLEORDER(instance As CTL_SYSTABLEORDER)
    End Sub
  Partial Private Sub DeleteCTL_SYSTABLEORDER(instance As CTL_SYSTABLEORDER)
    End Sub
  Partial Private Sub InsertCTL_USER_COLUMNACCESS(instance As CTL_USER_COLUMNACCESS)
    End Sub
  Partial Private Sub UpdateCTL_USER_COLUMNACCESS(instance As CTL_USER_COLUMNACCESS)
    End Sub
  Partial Private Sub DeleteCTL_USER_COLUMNACCESS(instance As CTL_USER_COLUMNACCESS)
    End Sub
  Partial Private Sub InsertCTL_USERPASSWORD_RESET(instance As CTL_USERPASSWORD_RESET)
    End Sub
  Partial Private Sub UpdateCTL_USERPASSWORD_RESET(instance As CTL_USERPASSWORD_RESET)
    End Sub
  Partial Private Sub DeleteCTL_USERPASSWORD_RESET(instance As CTL_USERPASSWORD_RESET)
    End Sub
  Partial Private Sub InsertCTL_USERSESSION(instance As CTL_USERSESSION)
    End Sub
  Partial Private Sub UpdateCTL_USERSESSION(instance As CTL_USERSESSION)
    End Sub
  Partial Private Sub DeleteCTL_USERSESSION(instance As CTL_USERSESSION)
    End Sub
  Partial Private Sub InsertCTL_WF_INSTANCESTATE(instance As CTL_WF_INSTANCESTATE)
    End Sub
  Partial Private Sub UpdateCTL_WF_INSTANCESTATE(instance As CTL_WF_INSTANCESTATE)
    End Sub
  Partial Private Sub DeleteCTL_WF_INSTANCESTATE(instance As CTL_WF_INSTANCESTATE)
    End Sub
  Partial Private Sub InsertTBL_ACCESSOR(instance As TBL_ACCESSOR)
    End Sub
  Partial Private Sub UpdateTBL_ACCESSOR(instance As TBL_ACCESSOR)
    End Sub
  Partial Private Sub DeleteTBL_ACCESSOR(instance As TBL_ACCESSOR)
    End Sub
  Partial Private Sub InsertTBL_ACCESSOR_ACTIVITY(instance As TBL_ACCESSOR_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_ACCESSOR_ACTIVITY(instance As TBL_ACCESSOR_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_ACCESSOR_ACTIVITY(instance As TBL_ACCESSOR_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_ACCESSOR_ACTIVITY_CLEARED(instance As TBL_ACCESSOR_ACTIVITY_CLEARED)
    End Sub
  Partial Private Sub UpdateTBL_ACCESSOR_ACTIVITY_CLEARED(instance As TBL_ACCESSOR_ACTIVITY_CLEARED)
    End Sub
  Partial Private Sub DeleteTBL_ACCESSOR_ACTIVITY_CLEARED(instance As TBL_ACCESSOR_ACTIVITY_CLEARED)
    End Sub
  Partial Private Sub InsertTBL_ACCESSOR_DELEGATE(instance As TBL_ACCESSOR_DELEGATE)
    End Sub
  Partial Private Sub UpdateTBL_ACCESSOR_DELEGATE(instance As TBL_ACCESSOR_DELEGATE)
    End Sub
  Partial Private Sub DeleteTBL_ACCESSOR_DELEGATE(instance As TBL_ACCESSOR_DELEGATE)
    End Sub
  Partial Private Sub InsertTBL_ACCESSOR_PREFERENCE(instance As TBL_ACCESSOR_PREFERENCE)
    End Sub
  Partial Private Sub UpdateTBL_ACCESSOR_PREFERENCE(instance As TBL_ACCESSOR_PREFERENCE)
    End Sub
  Partial Private Sub DeleteTBL_ACCESSOR_PREFERENCE(instance As TBL_ACCESSOR_PREFERENCE)
    End Sub
  Partial Private Sub InsertTBL_ACCESSOR_SETTING(instance As TBL_ACCESSOR_SETTING)
    End Sub
  Partial Private Sub UpdateTBL_ACCESSOR_SETTING(instance As TBL_ACCESSOR_SETTING)
    End Sub
  Partial Private Sub DeleteTBL_ACCESSOR_SETTING(instance As TBL_ACCESSOR_SETTING)
    End Sub
  Partial Private Sub InsertTBL_ACTIVITY(instance As TBL_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_ACTIVITY(instance As TBL_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_ACTIVITY(instance As TBL_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_ACTIVITYPRIORITY(instance As TBL_ACTIVITYPRIORITY)
    End Sub
  Partial Private Sub UpdateTBL_ACTIVITYPRIORITY(instance As TBL_ACTIVITYPRIORITY)
    End Sub
  Partial Private Sub DeleteTBL_ACTIVITYPRIORITY(instance As TBL_ACTIVITYPRIORITY)
    End Sub
  Partial Private Sub InsertTBL_ACTIVITYSERIES(instance As TBL_ACTIVITYSERIES)
    End Sub
  Partial Private Sub UpdateTBL_ACTIVITYSERIES(instance As TBL_ACTIVITYSERIES)
    End Sub
  Partial Private Sub DeleteTBL_ACTIVITYSERIES(instance As TBL_ACTIVITYSERIES)
    End Sub
  Partial Private Sub InsertTBL_ACTIVITYSERIESAPPLIED(instance As TBL_ACTIVITYSERIESAPPLIED)
    End Sub
  Partial Private Sub UpdateTBL_ACTIVITYSERIESAPPLIED(instance As TBL_ACTIVITYSERIESAPPLIED)
    End Sub
  Partial Private Sub DeleteTBL_ACTIVITYSERIESAPPLIED(instance As TBL_ACTIVITYSERIESAPPLIED)
    End Sub
  Partial Private Sub InsertTBL_ACTIVITYSERIESITEM(instance As TBL_ACTIVITYSERIESITEM)
    End Sub
  Partial Private Sub UpdateTBL_ACTIVITYSERIESITEM(instance As TBL_ACTIVITYSERIESITEM)
    End Sub
  Partial Private Sub DeleteTBL_ACTIVITYSERIESITEM(instance As TBL_ACTIVITYSERIESITEM)
    End Sub
  Partial Private Sub InsertTBL_ACTIVITYTYPE(instance As TBL_ACTIVITYTYPE)
    End Sub
  Partial Private Sub UpdateTBL_ACTIVITYTYPE(instance As TBL_ACTIVITYTYPE)
    End Sub
  Partial Private Sub DeleteTBL_ACTIVITYTYPE(instance As TBL_ACTIVITYTYPE)
    End Sub
  Partial Private Sub InsertTBL_ADDRESS(instance As TBL_ADDRESS)
    End Sub
  Partial Private Sub UpdateTBL_ADDRESS(instance As TBL_ADDRESS)
    End Sub
  Partial Private Sub DeleteTBL_ADDRESS(instance As TBL_ADDRESS)
    End Sub
  Partial Private Sub InsertTBL_AL_ACTIVITY(instance As TBL_AL_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_AL_ACTIVITY(instance As TBL_AL_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_AL_ACTIVITY(instance As TBL_AL_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_AL_ACTIVITY_EXTERNALID(instance As TBL_AL_ACTIVITY_EXTERNALID)
    End Sub
  Partial Private Sub UpdateTBL_AL_ACTIVITY_EXTERNALID(instance As TBL_AL_ACTIVITY_EXTERNALID)
    End Sub
  Partial Private Sub DeleteTBL_AL_ACTIVITY_EXTERNALID(instance As TBL_AL_ACTIVITY_EXTERNALID)
    End Sub
  Partial Private Sub InsertTBL_AL_DATAMAPPING(instance As TBL_AL_DATAMAPPING)
    End Sub
  Partial Private Sub UpdateTBL_AL_DATAMAPPING(instance As TBL_AL_DATAMAPPING)
    End Sub
  Partial Private Sub DeleteTBL_AL_DATAMAPPING(instance As TBL_AL_DATAMAPPING)
    End Sub
  Partial Private Sub InsertTBL_AL_DRIVERCONFIG(instance As TBL_AL_DRIVERCONFIG)
    End Sub
  Partial Private Sub UpdateTBL_AL_DRIVERCONFIG(instance As TBL_AL_DRIVERCONFIG)
    End Sub
  Partial Private Sub DeleteTBL_AL_DRIVERCONFIG(instance As TBL_AL_DRIVERCONFIG)
    End Sub
  Partial Private Sub InsertTBL_AL_LINK(instance As TBL_AL_LINK)
    End Sub
  Partial Private Sub UpdateTBL_AL_LINK(instance As TBL_AL_LINK)
    End Sub
  Partial Private Sub DeleteTBL_AL_LINK(instance As TBL_AL_LINK)
    End Sub
  Partial Private Sub InsertTBL_AL_SCHEDULEDFOR(instance As TBL_AL_SCHEDULEDFOR)
    End Sub
  Partial Private Sub UpdateTBL_AL_SCHEDULEDFOR(instance As TBL_AL_SCHEDULEDFOR)
    End Sub
  Partial Private Sub DeleteTBL_AL_SCHEDULEDFOR(instance As TBL_AL_SCHEDULEDFOR)
    End Sub
  Partial Private Sub InsertTBL_AL_SYNCDATA(instance As TBL_AL_SYNCDATA)
    End Sub
  Partial Private Sub UpdateTBL_AL_SYNCDATA(instance As TBL_AL_SYNCDATA)
    End Sub
  Partial Private Sub DeleteTBL_AL_SYNCDATA(instance As TBL_AL_SYNCDATA)
    End Sub
  Partial Private Sub InsertTBL_AL_USERSETTING(instance As TBL_AL_USERSETTING)
    End Sub
  Partial Private Sub UpdateTBL_AL_USERSETTING(instance As TBL_AL_USERSETTING)
    End Sub
  Partial Private Sub DeleteTBL_AL_USERSETTING(instance As TBL_AL_USERSETTING)
    End Sub
  Partial Private Sub InsertTBL_ALARMSNOOZE(instance As TBL_ALARMSNOOZE)
    End Sub
  Partial Private Sub UpdateTBL_ALARMSNOOZE(instance As TBL_ALARMSNOOZE)
    End Sub
  Partial Private Sub DeleteTBL_ALARMSNOOZE(instance As TBL_ALARMSNOOZE)
    End Sub
  Partial Private Sub InsertTBL_ATTACHMENT(instance As TBL_ATTACHMENT)
    End Sub
  Partial Private Sub UpdateTBL_ATTACHMENT(instance As TBL_ATTACHMENT)
    End Sub
  Partial Private Sub DeleteTBL_ATTACHMENT(instance As TBL_ATTACHMENT)
    End Sub
  Partial Private Sub InsertTBL_COMPANY(instance As TBL_COMPANY)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY(instance As TBL_COMPANY)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY(instance As TBL_COMPANY)
    End Sub
  Partial Private Sub InsertTBL_COMPANY_ACL(instance As TBL_COMPANY_ACL)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY_ACL(instance As TBL_COMPANY_ACL)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY_ACL(instance As TBL_COMPANY_ACL)
    End Sub
  Partial Private Sub InsertTBL_COMPANY_ACTIVITY(instance As TBL_COMPANY_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY_ACTIVITY(instance As TBL_COMPANY_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY_ACTIVITY(instance As TBL_COMPANY_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_COMPANY_CONTACT(instance As TBL_COMPANY_CONTACT)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY_CONTACT(instance As TBL_COMPANY_CONTACT)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY_CONTACT(instance As TBL_COMPANY_CONTACT)
    End Sub
  Partial Private Sub InsertTBL_COMPANY_HISTORY(instance As TBL_COMPANY_HISTORY)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY_HISTORY(instance As TBL_COMPANY_HISTORY)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY_HISTORY(instance As TBL_COMPANY_HISTORY)
    End Sub
  Partial Private Sub InsertTBL_COMPANY_NOTE(instance As TBL_COMPANY_NOTE)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY_NOTE(instance As TBL_COMPANY_NOTE)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY_NOTE(instance As TBL_COMPANY_NOTE)
    End Sub
  Partial Private Sub InsertTBL_COMPANY_OPPORTUNITY(instance As TBL_COMPANY_OPPORTUNITY)
    End Sub
  Partial Private Sub UpdateTBL_COMPANY_OPPORTUNITY(instance As TBL_COMPANY_OPPORTUNITY)
    End Sub
  Partial Private Sub DeleteTBL_COMPANY_OPPORTUNITY(instance As TBL_COMPANY_OPPORTUNITY)
    End Sub
  Partial Private Sub InsertTBL_COMPANYCONTACT_MAP(instance As TBL_COMPANYCONTACT_MAP)
    End Sub
  Partial Private Sub UpdateTBL_COMPANYCONTACT_MAP(instance As TBL_COMPANYCONTACT_MAP)
    End Sub
  Partial Private Sub DeleteTBL_COMPANYCONTACT_MAP(instance As TBL_COMPANYCONTACT_MAP)
    End Sub
  Partial Private Sub InsertTBL_COMPANYQUERY(instance As TBL_COMPANYQUERY)
    End Sub
  Partial Private Sub UpdateTBL_COMPANYQUERY(instance As TBL_COMPANYQUERY)
    End Sub
  Partial Private Sub DeleteTBL_COMPANYQUERY(instance As TBL_COMPANYQUERY)
    End Sub
  Partial Private Sub InsertTBL_CONTACT(instance As TBL_CONTACT)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT(instance As TBL_CONTACT)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT(instance As TBL_CONTACT)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_ACL(instance As TBL_CONTACT_ACL)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_ACL(instance As TBL_CONTACT_ACL)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_ACL(instance As TBL_CONTACT_ACL)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_ACTIVITY(instance As TBL_CONTACT_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_ACTIVITY(instance As TBL_CONTACT_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_ACTIVITY(instance As TBL_CONTACT_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_CONTACT(instance As TBL_CONTACT_CONTACT)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_CONTACT(instance As TBL_CONTACT_CONTACT)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_CONTACT(instance As TBL_CONTACT_CONTACT)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_HISTORY(instance As TBL_CONTACT_HISTORY)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_HISTORY(instance As TBL_CONTACT_HISTORY)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_HISTORY(instance As TBL_CONTACT_HISTORY)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_NOTE(instance As TBL_CONTACT_NOTE)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_NOTE(instance As TBL_CONTACT_NOTE)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_NOTE(instance As TBL_CONTACT_NOTE)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_OPPORTUNITY(instance As TBL_CONTACT_OPPORTUNITY)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_OPPORTUNITY(instance As TBL_CONTACT_OPPORTUNITY)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_OPPORTUNITY(instance As TBL_CONTACT_OPPORTUNITY)
    End Sub
  Partial Private Sub InsertTBL_CONTACT_SOURCE(instance As TBL_CONTACT_SOURCE)
    End Sub
  Partial Private Sub UpdateTBL_CONTACT_SOURCE(instance As TBL_CONTACT_SOURCE)
    End Sub
  Partial Private Sub DeleteTBL_CONTACT_SOURCE(instance As TBL_CONTACT_SOURCE)
    End Sub
  Partial Private Sub InsertTBL_COUNTRY(instance As TBL_COUNTRY)
    End Sub
  Partial Private Sub UpdateTBL_COUNTRY(instance As TBL_COUNTRY)
    End Sub
  Partial Private Sub DeleteTBL_COUNTRY(instance As TBL_COUNTRY)
    End Sub
  Partial Private Sub InsertTBL_EMAIL(instance As TBL_EMAIL)
    End Sub
  Partial Private Sub UpdateTBL_EMAIL(instance As TBL_EMAIL)
    End Sub
  Partial Private Sub DeleteTBL_EMAIL(instance As TBL_EMAIL)
    End Sub
  Partial Private Sub InsertTBL_EVENTLOGTYPE(instance As TBL_EVENTLOGTYPE)
    End Sub
  Partial Private Sub UpdateTBL_EVENTLOGTYPE(instance As TBL_EVENTLOGTYPE)
    End Sub
  Partial Private Sub DeleteTBL_EVENTLOGTYPE(instance As TBL_EVENTLOGTYPE)
    End Sub
  Partial Private Sub InsertTBL_EXTERNALMAP_SOURCE(instance As TBL_EXTERNALMAP_SOURCE)
    End Sub
  Partial Private Sub UpdateTBL_EXTERNALMAP_SOURCE(instance As TBL_EXTERNALMAP_SOURCE)
    End Sub
  Partial Private Sub DeleteTBL_EXTERNALMAP_SOURCE(instance As TBL_EXTERNALMAP_SOURCE)
    End Sub
  Partial Private Sub InsertTBL_FEATURESET(instance As TBL_FEATURESET)
    End Sub
  Partial Private Sub UpdateTBL_FEATURESET(instance As TBL_FEATURESET)
    End Sub
  Partial Private Sub DeleteTBL_FEATURESET(instance As TBL_FEATURESET)
    End Sub
  Partial Private Sub InsertTBL_FOLDER(instance As TBL_FOLDER)
    End Sub
  Partial Private Sub UpdateTBL_FOLDER(instance As TBL_FOLDER)
    End Sub
  Partial Private Sub DeleteTBL_FOLDER(instance As TBL_FOLDER)
    End Sub
  Partial Private Sub InsertTBL_GROUP(instance As TBL_GROUP)
    End Sub
  Partial Private Sub UpdateTBL_GROUP(instance As TBL_GROUP)
    End Sub
  Partial Private Sub DeleteTBL_GROUP(instance As TBL_GROUP)
    End Sub
  Partial Private Sub InsertTBL_GROUP_ACL(instance As TBL_GROUP_ACL)
    End Sub
  Partial Private Sub UpdateTBL_GROUP_ACL(instance As TBL_GROUP_ACL)
    End Sub
  Partial Private Sub DeleteTBL_GROUP_ACL(instance As TBL_GROUP_ACL)
    End Sub
  Partial Private Sub InsertTBL_GROUP_ACTIVITY(instance As TBL_GROUP_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_GROUP_ACTIVITY(instance As TBL_GROUP_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_GROUP_ACTIVITY(instance As TBL_GROUP_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_GROUP_CONTACT(instance As TBL_GROUP_CONTACT)
    End Sub
  Partial Private Sub UpdateTBL_GROUP_CONTACT(instance As TBL_GROUP_CONTACT)
    End Sub
  Partial Private Sub DeleteTBL_GROUP_CONTACT(instance As TBL_GROUP_CONTACT)
    End Sub
  Partial Private Sub InsertTBL_GROUP_HISTORY(instance As TBL_GROUP_HISTORY)
    End Sub
  Partial Private Sub UpdateTBL_GROUP_HISTORY(instance As TBL_GROUP_HISTORY)
    End Sub
  Partial Private Sub DeleteTBL_GROUP_HISTORY(instance As TBL_GROUP_HISTORY)
    End Sub
  Partial Private Sub InsertTBL_GROUP_NOTE(instance As TBL_GROUP_NOTE)
    End Sub
  Partial Private Sub UpdateTBL_GROUP_NOTE(instance As TBL_GROUP_NOTE)
    End Sub
  Partial Private Sub DeleteTBL_GROUP_NOTE(instance As TBL_GROUP_NOTE)
    End Sub
  Partial Private Sub InsertTBL_GROUP_OPPORTUNITY(instance As TBL_GROUP_OPPORTUNITY)
    End Sub
  Partial Private Sub UpdateTBL_GROUP_OPPORTUNITY(instance As TBL_GROUP_OPPORTUNITY)
    End Sub
  Partial Private Sub DeleteTBL_GROUP_OPPORTUNITY(instance As TBL_GROUP_OPPORTUNITY)
    End Sub
  Partial Private Sub InsertTBL_GROUPQUERY(instance As TBL_GROUPQUERY)
    End Sub
  Partial Private Sub UpdateTBL_GROUPQUERY(instance As TBL_GROUPQUERY)
    End Sub
  Partial Private Sub DeleteTBL_GROUPQUERY(instance As TBL_GROUPQUERY)
    End Sub
  Partial Private Sub InsertTBL_HISTORY(instance As TBL_HISTORY)
    End Sub
  Partial Private Sub UpdateTBL_HISTORY(instance As TBL_HISTORY)
    End Sub
  Partial Private Sub DeleteTBL_HISTORY(instance As TBL_HISTORY)
    End Sub
  Partial Private Sub InsertTBL_HISTORYTYPE(instance As TBL_HISTORYTYPE)
    End Sub
  Partial Private Sub UpdateTBL_HISTORYTYPE(instance As TBL_HISTORYTYPE)
    End Sub
  Partial Private Sub DeleteTBL_HISTORYTYPE(instance As TBL_HISTORYTYPE)
    End Sub
  Partial Private Sub InsertTBL_HISTORYTYPE_GROUP(instance As TBL_HISTORYTYPE_GROUP)
    End Sub
  Partial Private Sub UpdateTBL_HISTORYTYPE_GROUP(instance As TBL_HISTORYTYPE_GROUP)
    End Sub
  Partial Private Sub DeleteTBL_HISTORYTYPE_GROUP(instance As TBL_HISTORYTYPE_GROUP)
    End Sub
  Partial Private Sub InsertTBL_HISTORYTYPE_SUPERGROUP(instance As TBL_HISTORYTYPE_SUPERGROUP)
    End Sub
  Partial Private Sub UpdateTBL_HISTORYTYPE_SUPERGROUP(instance As TBL_HISTORYTYPE_SUPERGROUP)
    End Sub
  Partial Private Sub DeleteTBL_HISTORYTYPE_SUPERGROUP(instance As TBL_HISTORYTYPE_SUPERGROUP)
    End Sub
  Partial Private Sub InsertTBL_IMPORT_HISTORY(instance As TBL_IMPORT_HISTORY)
    End Sub
  Partial Private Sub UpdateTBL_IMPORT_HISTORY(instance As TBL_IMPORT_HISTORY)
    End Sub
  Partial Private Sub DeleteTBL_IMPORT_HISTORY(instance As TBL_IMPORT_HISTORY)
    End Sub
  Partial Private Sub InsertTBL_IMPORT_HISTORYITEM(instance As TBL_IMPORT_HISTORYITEM)
    End Sub
  Partial Private Sub UpdateTBL_IMPORT_HISTORYITEM(instance As TBL_IMPORT_HISTORYITEM)
    End Sub
  Partial Private Sub DeleteTBL_IMPORT_HISTORYITEM(instance As TBL_IMPORT_HISTORYITEM)
    End Sub
  Partial Private Sub InsertTBL_LOGONHISTORY(instance As TBL_LOGONHISTORY)
    End Sub
  Partial Private Sub UpdateTBL_LOGONHISTORY(instance As TBL_LOGONHISTORY)
    End Sub
  Partial Private Sub DeleteTBL_LOGONHISTORY(instance As TBL_LOGONHISTORY)
    End Sub
  Partial Private Sub InsertTBL_NOTE(instance As TBL_NOTE)
    End Sub
  Partial Private Sub UpdateTBL_NOTE(instance As TBL_NOTE)
    End Sub
  Partial Private Sub DeleteTBL_NOTE(instance As TBL_NOTE)
    End Sub
  Partial Private Sub InsertTBL_NOTETYPE(instance As TBL_NOTETYPE)
    End Sub
  Partial Private Sub UpdateTBL_NOTETYPE(instance As TBL_NOTETYPE)
    End Sub
  Partial Private Sub DeleteTBL_NOTETYPE(instance As TBL_NOTETYPE)
    End Sub
  Partial Private Sub InsertTBL_OPPORTUNITY(instance As TBL_OPPORTUNITY)
    End Sub
  Partial Private Sub UpdateTBL_OPPORTUNITY(instance As TBL_OPPORTUNITY)
    End Sub
  Partial Private Sub DeleteTBL_OPPORTUNITY(instance As TBL_OPPORTUNITY)
    End Sub
  Partial Private Sub InsertTBL_OPPORTUNITY_ACL(instance As TBL_OPPORTUNITY_ACL)
    End Sub
  Partial Private Sub UpdateTBL_OPPORTUNITY_ACL(instance As TBL_OPPORTUNITY_ACL)
    End Sub
  Partial Private Sub DeleteTBL_OPPORTUNITY_ACL(instance As TBL_OPPORTUNITY_ACL)
    End Sub
  Partial Private Sub InsertTBL_OPPORTUNITY_ACTIVITY(instance As TBL_OPPORTUNITY_ACTIVITY)
    End Sub
  Partial Private Sub UpdateTBL_OPPORTUNITY_ACTIVITY(instance As TBL_OPPORTUNITY_ACTIVITY)
    End Sub
  Partial Private Sub DeleteTBL_OPPORTUNITY_ACTIVITY(instance As TBL_OPPORTUNITY_ACTIVITY)
    End Sub
  Partial Private Sub InsertTBL_OPPORTUNITY_HISTORY(instance As TBL_OPPORTUNITY_HISTORY)
    End Sub
  Partial Private Sub UpdateTBL_OPPORTUNITY_HISTORY(instance As TBL_OPPORTUNITY_HISTORY)
    End Sub
  Partial Private Sub DeleteTBL_OPPORTUNITY_HISTORY(instance As TBL_OPPORTUNITY_HISTORY)
    End Sub
  Partial Private Sub InsertTBL_OPPORTUNITY_NOTE(instance As TBL_OPPORTUNITY_NOTE)
    End Sub
  Partial Private Sub UpdateTBL_OPPORTUNITY_NOTE(instance As TBL_OPPORTUNITY_NOTE)
    End Sub
  Partial Private Sub DeleteTBL_OPPORTUNITY_NOTE(instance As TBL_OPPORTUNITY_NOTE)
    End Sub
  Partial Private Sub InsertTBL_OPPORTUNITY_PRODUCTSERVICE(instance As TBL_OPPORTUNITY_PRODUCTSERVICE)
    End Sub
  Partial Private Sub UpdateTBL_OPPORTUNITY_PRODUCTSERVICE(instance As TBL_OPPORTUNITY_PRODUCTSERVICE)
    End Sub
  Partial Private Sub DeleteTBL_OPPORTUNITY_PRODUCTSERVICE(instance As TBL_OPPORTUNITY_PRODUCTSERVICE)
    End Sub
  Partial Private Sub InsertTBL_PASSWORDHISTORY(instance As TBL_PASSWORDHISTORY)
    End Sub
  Partial Private Sub UpdateTBL_PASSWORDHISTORY(instance As TBL_PASSWORDHISTORY)
    End Sub
  Partial Private Sub DeleteTBL_PASSWORDHISTORY(instance As TBL_PASSWORDHISTORY)
    End Sub
  Partial Private Sub InsertTBL_PERMISSION(instance As TBL_PERMISSION)
    End Sub
  Partial Private Sub UpdateTBL_PERMISSION(instance As TBL_PERMISSION)
    End Sub
  Partial Private Sub DeleteTBL_PERMISSION(instance As TBL_PERMISSION)
    End Sub
  Partial Private Sub InsertTBL_PERMISSION_DEPEND(instance As TBL_PERMISSION_DEPEND)
    End Sub
  Partial Private Sub UpdateTBL_PERMISSION_DEPEND(instance As TBL_PERMISSION_DEPEND)
    End Sub
  Partial Private Sub DeleteTBL_PERMISSION_DEPEND(instance As TBL_PERMISSION_DEPEND)
    End Sub
  Partial Private Sub InsertTBL_PHONE(instance As TBL_PHONE)
    End Sub
  Partial Private Sub UpdateTBL_PHONE(instance As TBL_PHONE)
    End Sub
  Partial Private Sub DeleteTBL_PHONE(instance As TBL_PHONE)
    End Sub
  Partial Private Sub InsertTBL_PHONEMASK(instance As TBL_PHONEMASK)
    End Sub
  Partial Private Sub UpdateTBL_PHONEMASK(instance As TBL_PHONEMASK)
    End Sub
  Partial Private Sub DeleteTBL_PHONEMASK(instance As TBL_PHONEMASK)
    End Sub
  Partial Private Sub InsertTBL_PICKLIST(instance As TBL_PICKLIST)
    End Sub
  Partial Private Sub UpdateTBL_PICKLIST(instance As TBL_PICKLIST)
    End Sub
  Partial Private Sub DeleteTBL_PICKLIST(instance As TBL_PICKLIST)
    End Sub
  Partial Private Sub InsertTBL_PICKLIST_SYSCOLUMN(instance As TBL_PICKLIST_SYSCOLUMN)
    End Sub
  Partial Private Sub UpdateTBL_PICKLIST_SYSCOLUMN(instance As TBL_PICKLIST_SYSCOLUMN)
    End Sub
  Partial Private Sub DeleteTBL_PICKLIST_SYSCOLUMN(instance As TBL_PICKLIST_SYSCOLUMN)
    End Sub
  Partial Private Sub InsertTBL_PICKLISTITEM(instance As TBL_PICKLISTITEM)
    End Sub
  Partial Private Sub UpdateTBL_PICKLISTITEM(instance As TBL_PICKLISTITEM)
    End Sub
  Partial Private Sub DeleteTBL_PICKLISTITEM(instance As TBL_PICKLISTITEM)
    End Sub
  Partial Private Sub InsertTBL_PREFERENCE(instance As TBL_PREFERENCE)
    End Sub
  Partial Private Sub UpdateTBL_PREFERENCE(instance As TBL_PREFERENCE)
    End Sub
  Partial Private Sub DeleteTBL_PREFERENCE(instance As TBL_PREFERENCE)
    End Sub
  Partial Private Sub InsertTBL_PROCESS(instance As TBL_PROCESS)
    End Sub
  Partial Private Sub UpdateTBL_PROCESS(instance As TBL_PROCESS)
    End Sub
  Partial Private Sub DeleteTBL_PROCESS(instance As TBL_PROCESS)
    End Sub
  Partial Private Sub InsertTBL_PRODUCT(instance As TBL_PRODUCT)
    End Sub
  Partial Private Sub UpdateTBL_PRODUCT(instance As TBL_PRODUCT)
    End Sub
  Partial Private Sub DeleteTBL_PRODUCT(instance As TBL_PRODUCT)
    End Sub
  Partial Private Sub InsertTBL_PRODUCTSERVICE(instance As TBL_PRODUCTSERVICE)
    End Sub
  Partial Private Sub UpdateTBL_PRODUCTSERVICE(instance As TBL_PRODUCTSERVICE)
    End Sub
  Partial Private Sub DeleteTBL_PRODUCTSERVICE(instance As TBL_PRODUCTSERVICE)
    End Sub
  Partial Private Sub InsertTBL_RESOURCE(instance As TBL_RESOURCE)
    End Sub
  Partial Private Sub UpdateTBL_RESOURCE(instance As TBL_RESOURCE)
    End Sub
  Partial Private Sub DeleteTBL_RESOURCE(instance As TBL_RESOURCE)
    End Sub
  Partial Private Sub InsertTBL_ROLE(instance As TBL_ROLE)
    End Sub
  Partial Private Sub UpdateTBL_ROLE(instance As TBL_ROLE)
    End Sub
  Partial Private Sub DeleteTBL_ROLE(instance As TBL_ROLE)
    End Sub
  Partial Private Sub InsertTBL_ROLE_PERMISSION(instance As TBL_ROLE_PERMISSION)
    End Sub
  Partial Private Sub UpdateTBL_ROLE_PERMISSION(instance As TBL_ROLE_PERMISSION)
    End Sub
  Partial Private Sub DeleteTBL_ROLE_PERMISSION(instance As TBL_ROLE_PERMISSION)
    End Sub
  Partial Private Sub InsertTBL_SECONDARY(instance As TBL_SECONDARY)
    End Sub
  Partial Private Sub UpdateTBL_SECONDARY(instance As TBL_SECONDARY)
    End Sub
  Partial Private Sub DeleteTBL_SECONDARY(instance As TBL_SECONDARY)
    End Sub
  Partial Private Sub InsertTBL_SERIALNUMBER(instance As TBL_SERIALNUMBER)
    End Sub
  Partial Private Sub UpdateTBL_SERIALNUMBER(instance As TBL_SERIALNUMBER)
    End Sub
  Partial Private Sub DeleteTBL_SERIALNUMBER(instance As TBL_SERIALNUMBER)
    End Sub
  Partial Private Sub InsertTBL_SETTING(instance As TBL_SETTING)
    End Sub
  Partial Private Sub UpdateTBL_SETTING(instance As TBL_SETTING)
    End Sub
  Partial Private Sub DeleteTBL_SETTING(instance As TBL_SETTING)
    End Sub
  Partial Private Sub InsertTBL_STAGE(instance As TBL_STAGE)
    End Sub
  Partial Private Sub UpdateTBL_STAGE(instance As TBL_STAGE)
    End Sub
  Partial Private Sub DeleteTBL_STAGE(instance As TBL_STAGE)
    End Sub
  Partial Private Sub InsertTBL_STAGE_COLOR(instance As TBL_STAGE_COLOR)
    End Sub
  Partial Private Sub UpdateTBL_STAGE_COLOR(instance As TBL_STAGE_COLOR)
    End Sub
  Partial Private Sub DeleteTBL_STAGE_COLOR(instance As TBL_STAGE_COLOR)
    End Sub
  Partial Private Sub InsertTBL_SYNCCONTACT(instance As TBL_SYNCCONTACT)
    End Sub
  Partial Private Sub UpdateTBL_SYNCCONTACT(instance As TBL_SYNCCONTACT)
    End Sub
  Partial Private Sub DeleteTBL_SYNCCONTACT(instance As TBL_SYNCCONTACT)
    End Sub
  Partial Private Sub InsertTBL_SYNCCONTACT_ACL(instance As TBL_SYNCCONTACT_ACL)
    End Sub
  Partial Private Sub UpdateTBL_SYNCCONTACT_ACL(instance As TBL_SYNCCONTACT_ACL)
    End Sub
  Partial Private Sub DeleteTBL_SYNCCONTACT_ACL(instance As TBL_SYNCCONTACT_ACL)
    End Sub
  Partial Private Sub InsertTBL_SYNCDB(instance As TBL_SYNCDB)
    End Sub
  Partial Private Sub UpdateTBL_SYNCDB(instance As TBL_SYNCDB)
    End Sub
  Partial Private Sub DeleteTBL_SYNCDB(instance As TBL_SYNCDB)
    End Sub
  Partial Private Sub InsertTBL_SYNCDBTYPE(instance As TBL_SYNCDBTYPE)
    End Sub
  Partial Private Sub UpdateTBL_SYNCDBTYPE(instance As TBL_SYNCDBTYPE)
    End Sub
  Partial Private Sub DeleteTBL_SYNCDBTYPE(instance As TBL_SYNCDBTYPE)
    End Sub
  Partial Private Sub InsertTBL_SYNCEXTENDEDDATA(instance As TBL_SYNCEXTENDEDDATA)
    End Sub
  Partial Private Sub UpdateTBL_SYNCEXTENDEDDATA(instance As TBL_SYNCEXTENDEDDATA)
    End Sub
  Partial Private Sub DeleteTBL_SYNCEXTENDEDDATA(instance As TBL_SYNCEXTENDEDDATA)
    End Sub
  Partial Private Sub InsertTBL_SYNCEXTENDEDDATA_TYPE(instance As TBL_SYNCEXTENDEDDATA_TYPE)
    End Sub
  Partial Private Sub UpdateTBL_SYNCEXTENDEDDATA_TYPE(instance As TBL_SYNCEXTENDEDDATA_TYPE)
    End Sub
  Partial Private Sub DeleteTBL_SYNCEXTENDEDDATA_TYPE(instance As TBL_SYNCEXTENDEDDATA_TYPE)
    End Sub
  Partial Private Sub InsertTBL_SYNCSET(instance As TBL_SYNCSET)
    End Sub
  Partial Private Sub UpdateTBL_SYNCSET(instance As TBL_SYNCSET)
    End Sub
  Partial Private Sub DeleteTBL_SYNCSET(instance As TBL_SYNCSET)
    End Sub
  Partial Private Sub InsertTBL_SYNCSET_ACCESSOR(instance As TBL_SYNCSET_ACCESSOR)
    End Sub
  Partial Private Sub UpdateTBL_SYNCSET_ACCESSOR(instance As TBL_SYNCSET_ACCESSOR)
    End Sub
  Partial Private Sub DeleteTBL_SYNCSET_ACCESSOR(instance As TBL_SYNCSET_ACCESSOR)
    End Sub
  Partial Private Sub InsertTBL_SYNCSETQUERY(instance As TBL_SYNCSETQUERY)
    End Sub
  Partial Private Sub UpdateTBL_SYNCSETQUERY(instance As TBL_SYNCSETQUERY)
    End Sub
  Partial Private Sub DeleteTBL_SYNCSETQUERY(instance As TBL_SYNCSETQUERY)
    End Sub
  Partial Private Sub InsertTBL_SYNCSUBSCRIPTION(instance As TBL_SYNCSUBSCRIPTION)
    End Sub
  Partial Private Sub UpdateTBL_SYNCSUBSCRIPTION(instance As TBL_SYNCSUBSCRIPTION)
    End Sub
  Partial Private Sub DeleteTBL_SYNCSUBSCRIPTION(instance As TBL_SYNCSUBSCRIPTION)
    End Sub
  Partial Private Sub InsertTBL_SYSCALCCOLUMN(instance As TBL_SYSCALCCOLUMN)
    End Sub
  Partial Private Sub UpdateTBL_SYSCALCCOLUMN(instance As TBL_SYSCALCCOLUMN)
    End Sub
  Partial Private Sub DeleteTBL_SYSCALCCOLUMN(instance As TBL_SYSCALCCOLUMN)
    End Sub
  Partial Private Sub InsertTBL_SYSCOLUMN(instance As TBL_SYSCOLUMN)
    End Sub
  Partial Private Sub UpdateTBL_SYSCOLUMN(instance As TBL_SYSCOLUMN)
    End Sub
  Partial Private Sub DeleteTBL_SYSCOLUMN(instance As TBL_SYSCOLUMN)
    End Sub
  Partial Private Sub InsertTBL_SYSCOLUMN_ACL(instance As TBL_SYSCOLUMN_ACL)
    End Sub
  Partial Private Sub UpdateTBL_SYSCOLUMN_ACL(instance As TBL_SYSCOLUMN_ACL)
    End Sub
  Partial Private Sub DeleteTBL_SYSCOLUMN_ACL(instance As TBL_SYSCOLUMN_ACL)
    End Sub
  Partial Private Sub InsertTBL_SYSCONSTANT(instance As TBL_SYSCONSTANT)
    End Sub
  Partial Private Sub UpdateTBL_SYSCONSTANT(instance As TBL_SYSCONSTANT)
    End Sub
  Partial Private Sub DeleteTBL_SYSCONSTANT(instance As TBL_SYSCONSTANT)
    End Sub
  Partial Private Sub InsertTBL_SYSDATATYPE(instance As TBL_SYSDATATYPE)
    End Sub
  Partial Private Sub UpdateTBL_SYSDATATYPE(instance As TBL_SYSDATATYPE)
    End Sub
  Partial Private Sub DeleteTBL_SYSDATATYPE(instance As TBL_SYSDATATYPE)
    End Sub
  Partial Private Sub InsertTBL_SYSDOMAIN(instance As TBL_SYSDOMAIN)
    End Sub
  Partial Private Sub UpdateTBL_SYSDOMAIN(instance As TBL_SYSDOMAIN)
    End Sub
  Partial Private Sub DeleteTBL_SYSDOMAIN(instance As TBL_SYSDOMAIN)
    End Sub
  Partial Private Sub InsertTBL_SYSDOMAIN_SYSOPERATOR(instance As TBL_SYSDOMAIN_SYSOPERATOR)
    End Sub
  Partial Private Sub UpdateTBL_SYSDOMAIN_SYSOPERATOR(instance As TBL_SYSDOMAIN_SYSOPERATOR)
    End Sub
  Partial Private Sub DeleteTBL_SYSDOMAIN_SYSOPERATOR(instance As TBL_SYSDOMAIN_SYSOPERATOR)
    End Sub
  Partial Private Sub InsertTBL_SYSENTITY(instance As TBL_SYSENTITY)
    End Sub
  Partial Private Sub UpdateTBL_SYSENTITY(instance As TBL_SYSENTITY)
    End Sub
  Partial Private Sub DeleteTBL_SYSENTITY(instance As TBL_SYSENTITY)
    End Sub
  Partial Private Sub InsertTBL_SYSENTITY_SYSTABLE(instance As TBL_SYSENTITY_SYSTABLE)
    End Sub
  Partial Private Sub UpdateTBL_SYSENTITY_SYSTABLE(instance As TBL_SYSENTITY_SYSTABLE)
    End Sub
  Partial Private Sub DeleteTBL_SYSENTITY_SYSTABLE(instance As TBL_SYSENTITY_SYSTABLE)
    End Sub
  Partial Private Sub InsertTBL_SYSENTITYRELATION(instance As TBL_SYSENTITYRELATION)
    End Sub
  Partial Private Sub UpdateTBL_SYSENTITYRELATION(instance As TBL_SYSENTITYRELATION)
    End Sub
  Partial Private Sub DeleteTBL_SYSENTITYRELATION(instance As TBL_SYSENTITYRELATION)
    End Sub
  Partial Private Sub InsertTBL_SYSLOCALCOLUMN(instance As TBL_SYSLOCALCOLUMN)
    End Sub
  Partial Private Sub UpdateTBL_SYSLOCALCOLUMN(instance As TBL_SYSLOCALCOLUMN)
    End Sub
  Partial Private Sub DeleteTBL_SYSLOCALCOLUMN(instance As TBL_SYSLOCALCOLUMN)
    End Sub
  Partial Private Sub InsertTBL_SYSLOCALMESSAGE(instance As TBL_SYSLOCALMESSAGE)
    End Sub
  Partial Private Sub UpdateTBL_SYSLOCALMESSAGE(instance As TBL_SYSLOCALMESSAGE)
    End Sub
  Partial Private Sub DeleteTBL_SYSLOCALMESSAGE(instance As TBL_SYSLOCALMESSAGE)
    End Sub
  Partial Private Sub InsertTBL_SYSOPERATOR(instance As TBL_SYSOPERATOR)
    End Sub
  Partial Private Sub UpdateTBL_SYSOPERATOR(instance As TBL_SYSOPERATOR)
    End Sub
  Partial Private Sub DeleteTBL_SYSOPERATOR(instance As TBL_SYSOPERATOR)
    End Sub
  Partial Private Sub InsertTBL_SYSTABLE(instance As TBL_SYSTABLE)
    End Sub
  Partial Private Sub UpdateTBL_SYSTABLE(instance As TBL_SYSTABLE)
    End Sub
  Partial Private Sub DeleteTBL_SYSTABLE(instance As TBL_SYSTABLE)
    End Sub
  Partial Private Sub InsertTBL_SYSTABLEDOMAIN(instance As TBL_SYSTABLEDOMAIN)
    End Sub
  Partial Private Sub UpdateTBL_SYSTABLEDOMAIN(instance As TBL_SYSTABLEDOMAIN)
    End Sub
  Partial Private Sub DeleteTBL_SYSTABLEDOMAIN(instance As TBL_SYSTABLEDOMAIN)
    End Sub
  Partial Private Sub InsertTBL_SYSTABLEKEY(instance As TBL_SYSTABLEKEY)
    End Sub
  Partial Private Sub UpdateTBL_SYSTABLEKEY(instance As TBL_SYSTABLEKEY)
    End Sub
  Partial Private Sub DeleteTBL_SYSTABLEKEY(instance As TBL_SYSTABLEKEY)
    End Sub
  Partial Private Sub InsertTBL_SYSTABLEKEY_SYSCOLUMN(instance As TBL_SYSTABLEKEY_SYSCOLUMN)
    End Sub
  Partial Private Sub UpdateTBL_SYSTABLEKEY_SYSCOLUMN(instance As TBL_SYSTABLEKEY_SYSCOLUMN)
    End Sub
  Partial Private Sub DeleteTBL_SYSTABLEKEY_SYSCOLUMN(instance As TBL_SYSTABLEKEY_SYSCOLUMN)
    End Sub
  Partial Private Sub InsertTBL_SYSTABLERELATION(instance As TBL_SYSTABLERELATION)
    End Sub
  Partial Private Sub UpdateTBL_SYSTABLERELATION(instance As TBL_SYSTABLERELATION)
    End Sub
  Partial Private Sub DeleteTBL_SYSTABLERELATION(instance As TBL_SYSTABLERELATION)
    End Sub
  Partial Private Sub InsertTBL_SYSVALUE(instance As TBL_SYSVALUE)
    End Sub
  Partial Private Sub UpdateTBL_SYSVALUE(instance As TBL_SYSVALUE)
    End Sub
  Partial Private Sub DeleteTBL_SYSVALUE(instance As TBL_SYSVALUE)
    End Sub
  Partial Private Sub InsertTBL_SYSVALUEUSAGE(instance As TBL_SYSVALUEUSAGE)
    End Sub
  Partial Private Sub UpdateTBL_SYSVALUEUSAGE(instance As TBL_SYSVALUEUSAGE)
    End Sub
  Partial Private Sub DeleteTBL_SYSVALUEUSAGE(instance As TBL_SYSVALUEUSAGE)
    End Sub
  Partial Private Sub InsertTBL_TEAM(instance As TBL_TEAM)
    End Sub
  Partial Private Sub UpdateTBL_TEAM(instance As TBL_TEAM)
    End Sub
  Partial Private Sub DeleteTBL_TEAM(instance As TBL_TEAM)
    End Sub
  Partial Private Sub InsertTBL_TEAM_USER(instance As TBL_TEAM_USER)
    End Sub
  Partial Private Sub UpdateTBL_TEAM_USER(instance As TBL_TEAM_USER)
    End Sub
  Partial Private Sub DeleteTBL_TEAM_USER(instance As TBL_TEAM_USER)
    End Sub
  Partial Private Sub InsertTBL_USER(instance As TBL_USER)
    End Sub
  Partial Private Sub UpdateTBL_USER(instance As TBL_USER)
    End Sub
  Partial Private Sub DeleteTBL_USER(instance As TBL_USER)
    End Sub
  Partial Private Sub InsertTBL_USER_ACCESSOR_ENUM(instance As TBL_USER_ACCESSOR_ENUM)
    End Sub
  Partial Private Sub UpdateTBL_USER_ACCESSOR_ENUM(instance As TBL_USER_ACCESSOR_ENUM)
    End Sub
  Partial Private Sub DeleteTBL_USER_ACCESSOR_ENUM(instance As TBL_USER_ACCESSOR_ENUM)
    End Sub
  Partial Private Sub InsertTBL_USER_DEFAULT_ACL(instance As TBL_USER_DEFAULT_ACL)
    End Sub
  Partial Private Sub UpdateTBL_USER_DEFAULT_ACL(instance As TBL_USER_DEFAULT_ACL)
    End Sub
  Partial Private Sub DeleteTBL_USER_DEFAULT_ACL(instance As TBL_USER_DEFAULT_ACL)
    End Sub
  Partial Private Sub InsertTBL_USER_PERMISSION(instance As TBL_USER_PERMISSION)
    End Sub
  Partial Private Sub UpdateTBL_USER_PERMISSION(instance As TBL_USER_PERMISSION)
    End Sub
  Partial Private Sub DeleteTBL_USER_PERMISSION(instance As TBL_USER_PERMISSION)
    End Sub
  Partial Private Sub InsertTBL_VIRTUALRECORDTYPE(instance As TBL_VIRTUALRECORDTYPE)
    End Sub
  Partial Private Sub UpdateTBL_VIRTUALRECORDTYPE(instance As TBL_VIRTUALRECORDTYPE)
    End Sub
  Partial Private Sub DeleteTBL_VIRTUALRECORDTYPE(instance As TBL_VIRTUALRECORDTYPE)
    End Sub
  Partial Private Sub InsertTBL_WORKFLOW_ARCHIVE(instance As TBL_WORKFLOW_ARCHIVE)
    End Sub
  Partial Private Sub UpdateTBL_WORKFLOW_ARCHIVE(instance As TBL_WORKFLOW_ARCHIVE)
    End Sub
  Partial Private Sub DeleteTBL_WORKFLOW_ARCHIVE(instance As TBL_WORKFLOW_ARCHIVE)
    End Sub
  Partial Private Sub InsertTBL_WORKFLOW_QUEUE(instance As TBL_WORKFLOW_QUEUE)
    End Sub
  Partial Private Sub UpdateTBL_WORKFLOW_QUEUE(instance As TBL_WORKFLOW_QUEUE)
    End Sub
  Partial Private Sub DeleteTBL_WORKFLOW_QUEUE(instance As TBL_WORKFLOW_QUEUE)
    End Sub
  Partial Private Sub InsertTBL_WORKFLOW_SUBSCRIPTION(instance As TBL_WORKFLOW_SUBSCRIPTION)
    End Sub
  Partial Private Sub UpdateTBL_WORKFLOW_SUBSCRIPTION(instance As TBL_WORKFLOW_SUBSCRIPTION)
    End Sub
  Partial Private Sub DeleteTBL_WORKFLOW_SUBSCRIPTION(instance As TBL_WORKFLOW_SUBSCRIPTION)
    End Sub
  Partial Private Sub InsertTBL_WORKFLOWDEF(instance As TBL_WORKFLOWDEF)
    End Sub
  Partial Private Sub UpdateTBL_WORKFLOWDEF(instance As TBL_WORKFLOWDEF)
    End Sub
  Partial Private Sub DeleteTBL_WORKFLOWDEF(instance As TBL_WORKFLOWDEF)
    End Sub
  Partial Private Sub InsertTBL_WORKFLOWDEF_ACL(instance As TBL_WORKFLOWDEF_ACL)
    End Sub
  Partial Private Sub UpdateTBL_WORKFLOWDEF_ACL(instance As TBL_WORKFLOWDEF_ACL)
    End Sub
  Partial Private Sub DeleteTBL_WORKFLOWDEF_ACL(instance As TBL_WORKFLOWDEF_ACL)
    End Sub
  #End Region
	
	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 ACCESSOR() As System.Data.Linq.Table(Of ACCESSOR)
		Get
			Return Me.GetTable(Of ACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property ACT_COLUMNS() As System.Data.Linq.Table(Of ACT_COLUMNS)
		Get
			Return Me.GetTable(Of ACT_COLUMNS)
		End Get
	End Property
	
	Public ReadOnly Property ACT_DATABASE_CONFIG() As System.Data.Linq.Table(Of ACT_DATABASE_CONFIG)
		Get
			Return Me.GetTable(Of ACT_DATABASE_CONFIG)
		End Get
	End Property
	
	Public ReadOnly Property ACT_FOREIGN_KEYS() As System.Data.Linq.Table(Of ACT_FOREIGN_KEYS)
		Get
			Return Me.GetTable(Of ACT_FOREIGN_KEYS)
		End Get
	End Property
	
	Public ReadOnly Property ACT_LOCALSTRING() As System.Data.Linq.Table(Of ACT_LOCALSTRING)
		Get
			Return Me.GetTable(Of ACT_LOCALSTRING)
		End Get
	End Property
	
	Public ReadOnly Property ACT_PRIMARY_KEYS() As System.Data.Linq.Table(Of ACT_PRIMARY_KEYS)
		Get
			Return Me.GetTable(Of ACT_PRIMARY_KEYS)
		End Get
	End Property
	
	Public ReadOnly Property ACT_TABLES() As System.Data.Linq.Table(Of ACT_TABLES)
		Get
			Return Me.GetTable(Of ACT_TABLES)
		End Get
	End Property
	
	Public ReadOnly Property ACTIVITY() As System.Data.Linq.Table(Of ACTIVITY)
		Get
			Return Me.GetTable(Of ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property ACTIVITY_TYPE() As System.Data.Linq.Table(Of ACTIVITY_TYPE)
		Get
			Return Me.GetTable(Of ACTIVITY_TYPE)
		End Get
	End Property
	
	Public ReadOnly Property COMPANY() As System.Data.Linq.Table(Of COMPANY)
		Get
			Return Me.GetTable(Of COMPANY)
		End Get
	End Property
	
	Public ReadOnly Property COMPANY_ACTIVITY() As System.Data.Linq.Table(Of COMPANY_ACTIVITY)
		Get
			Return Me.GetTable(Of COMPANY_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property COMPANY_CONTACT() As System.Data.Linq.Table(Of COMPANY_CONTACT)
		Get
			Return Me.GetTable(Of COMPANY_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property COMPANY_HISTORY() As System.Data.Linq.Table(Of COMPANY_HISTORY)
		Get
			Return Me.GetTable(Of COMPANY_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property COMPANY_NOTE() As System.Data.Linq.Table(Of COMPANY_NOTE)
		Get
			Return Me.GetTable(Of COMPANY_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property COMPANY_OPPORTUNITY() As System.Data.Linq.Table(Of COMPANY_OPPORTUNITY)
		Get
			Return Me.GetTable(Of COMPANY_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property CONTACT() As System.Data.Linq.Table(Of CONTACT)
		Get
			Return Me.GetTable(Of CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property CONTACT_ACTIVITY() As System.Data.Linq.Table(Of CONTACT_ACTIVITY)
		Get
			Return Me.GetTable(Of CONTACT_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property CONTACT_CONTACT() As System.Data.Linq.Table(Of CONTACT_CONTACT)
		Get
			Return Me.GetTable(Of CONTACT_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property CONTACT_HISTORY() As System.Data.Linq.Table(Of CONTACT_HISTORY)
		Get
			Return Me.GetTable(Of CONTACT_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property CONTACT_NOTE() As System.Data.Linq.Table(Of CONTACT_NOTE)
		Get
			Return Me.GetTable(Of CONTACT_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property CONTACT_OPPORTUNITY() As System.Data.Linq.Table(Of CONTACT_OPPORTUNITY)
		Get
			Return Me.GetTable(Of CONTACT_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_ACTIVITY() As System.Data.Linq.Table(Of CTL_ABL_ACTIVITY)
		Get
			Return Me.GetTable(Of CTL_ABL_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_CONNECTOR() As System.Data.Linq.Table(Of CTL_ABL_CONNECTOR)
		Get
			Return Me.GetTable(Of CTL_ABL_CONNECTOR)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_CONNECTOR_ACCESSORCONFIG() As System.Data.Linq.Table(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Get
			Return Me.GetTable(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_CONNECTOR_ENTITY() As System.Data.Linq.Table(Of CTL_ABL_CONNECTOR_ENTITY)
		Get
			Return Me.GetTable(Of CTL_ABL_CONNECTOR_ENTITY)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_CONNECTOR_ENTITYSCHEMA() As System.Data.Linq.Table(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Get
			Return Me.GetTable(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_CONNECTORTYPE() As System.Data.Linq.Table(Of CTL_ABL_CONNECTORTYPE)
		Get
			Return Me.GetTable(Of CTL_ABL_CONNECTORTYPE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_DEPENDENT() As System.Data.Linq.Table(Of CTL_ABL_DEPENDENT)
		Get
			Return Me.GetTable(Of CTL_ABL_DEPENDENT)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_FIELD() As System.Data.Linq.Table(Of CTL_ABL_FIELD)
		Get
			Return Me.GetTable(Of CTL_ABL_FIELD)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_LINK() As System.Data.Linq.Table(Of CTL_ABL_LINK)
		Get
			Return Me.GetTable(Of CTL_ABL_LINK)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_LINK_DEPENDENT() As System.Data.Linq.Table(Of CTL_ABL_LINK_DEPENDENT)
		Get
			Return Me.GetTable(Of CTL_ABL_LINK_DEPENDENT)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_LINKREMAP() As System.Data.Linq.Table(Of CTL_ABL_LINKREMAP)
		Get
			Return Me.GetTable(Of CTL_ABL_LINKREMAP)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_MASTERQUEUE_INPUT() As System.Data.Linq.Table(Of CTL_ABL_MASTERQUEUE_INPUT)
		Get
			Return Me.GetTable(Of CTL_ABL_MASTERQUEUE_INPUT)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_MASTERQUEUE_OUTPUT() As System.Data.Linq.Table(Of CTL_ABL_MASTERQUEUE_OUTPUT)
		Get
			Return Me.GetTable(Of CTL_ABL_MASTERQUEUE_OUTPUT)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_MASTERQUEUE_PREFILTER() As System.Data.Linq.Table(Of CTL_ABL_MASTERQUEUE_PREFILTER)
		Get
			Return Me.GetTable(Of CTL_ABL_MASTERQUEUE_PREFILTER)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ABL_SCHEDULEDFOR() As System.Data.Linq.Table(Of CTL_ABL_SCHEDULEDFOR)
		Get
			Return Me.GetTable(Of CTL_ABL_SCHEDULEDFOR)
		End Get
	End Property
	
	Public ReadOnly Property CTL_ACTIVITY_ABL_ACTIVITY() As System.Data.Linq.Table(Of CTL_ACTIVITY_ABL_ACTIVITY)
		Get
			Return Me.GetTable(Of CTL_ACTIVITY_ABL_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_CALENDARDATE_DIM() As System.Data.Linq.Table(Of CTL_BI_CALENDARDATE_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_CALENDARDATE_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_COMPANY_DIM() As System.Data.Linq.Table(Of CTL_BI_COMPANY_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_COMPANY_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_CONTACT_DIM() As System.Data.Linq.Table(Of CTL_BI_CONTACT_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_CONTACT_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_GEOGRAPHY_DIM() As System.Data.Linq.Table(Of CTL_BI_GEOGRAPHY_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_GEOGRAPHY_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_GROUP_DIM() As System.Data.Linq.Table(Of CTL_BI_GROUP_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_GROUP_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_HISTORY_FACT() As System.Data.Linq.Table(Of CTL_BI_HISTORY_FACT)
		Get
			Return Me.GetTable(Of CTL_BI_HISTORY_FACT)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_HISTORYTYPE_DIM() As System.Data.Linq.Table(Of CTL_BI_HISTORYTYPE_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_HISTORYTYPE_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_INDUSTRY_DIM() As System.Data.Linq.Table(Of CTL_BI_INDUSTRY_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_INDUSTRY_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_OPPORTUNITY_DIM() As System.Data.Linq.Table(Of CTL_BI_OPPORTUNITY_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_OPPORTUNITY_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_OPPORTUNITY_FACT() As System.Data.Linq.Table(Of CTL_BI_OPPORTUNITY_FACT)
		Get
			Return Me.GetTable(Of CTL_BI_OPPORTUNITY_FACT)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_OPPORTUNITYSTATUS_DIM() As System.Data.Linq.Table(Of CTL_BI_OPPORTUNITYSTATUS_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_OPPORTUNITYSTATUS_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_BI_USER_DIM() As System.Data.Linq.Table(Of CTL_BI_USER_DIM)
		Get
			Return Me.GetTable(Of CTL_BI_USER_DIM)
		End Get
	End Property
	
	Public ReadOnly Property CTL_DBCONFIG() As System.Data.Linq.Table(Of CTL_DBCONFIG)
		Get
			Return Me.GetTable(Of CTL_DBCONFIG)
		End Get
	End Property
	
	Public ReadOnly Property CTL_EVENTLOG() As System.Data.Linq.Table(Of CTL_EVENTLOG)
		Get
			Return Me.GetTable(Of CTL_EVENTLOG)
		End Get
	End Property
	
	Public ReadOnly Property CTL_EVENTLOGDETAIL() As System.Data.Linq.Table(Of CTL_EVENTLOGDETAIL)
		Get
			Return Me.GetTable(Of CTL_EVENTLOGDETAIL)
		End Get
	End Property
	
	Public ReadOnly Property CTL_LOCALSTRING() As System.Data.Linq.Table(Of CTL_LOCALSTRING)
		Get
			Return Me.GetTable(Of CTL_LOCALSTRING)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBFUNCTION() As System.Data.Linq.Table(Of CTL_OLEDBFUNCTION)
		Get
			Return Me.GetTable(Of CTL_OLEDBFUNCTION)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBFUNCTION_SYSCOLUMN() As System.Data.Linq.Table(Of CTL_OLEDBFUNCTION_SYSCOLUMN)
		Get
			Return Me.GetTable(Of CTL_OLEDBFUNCTION_SYSCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW() As System.Data.Linq.Table(Of CTL_OLEDBVIEW)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW_DERIVEDCOLUMN() As System.Data.Linq.Table(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW_JOINDATA() As System.Data.Linq.Table(Of CTL_OLEDBVIEW_JOINDATA)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW_JOINDATA)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW_KEYINDEX() As System.Data.Linq.Table(Of CTL_OLEDBVIEW_KEYINDEX)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW_KEYINDEX)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN() As System.Data.Linq.Table(Of CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW_OLEDBFUNCTION() As System.Data.Linq.Table(Of CTL_OLEDBVIEW_OLEDBFUNCTION)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW_OLEDBFUNCTION)
		End Get
	End Property
	
	Public ReadOnly Property CTL_OLEDBVIEW_PROVIDERVIEW() As System.Data.Linq.Table(Of CTL_OLEDBVIEW_PROVIDERVIEW)
		Get
			Return Me.GetTable(Of CTL_OLEDBVIEW_PROVIDERVIEW)
		End Get
	End Property
	
	Public ReadOnly Property CTL_PROVIDERVIEW() As System.Data.Linq.Table(Of CTL_PROVIDERVIEW)
		Get
			Return Me.GetTable(Of CTL_PROVIDERVIEW)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SQLTRACE() As System.Data.Linq.Table(Of CTL_SQLTRACE)
		Get
			Return Me.GetTable(Of CTL_SQLTRACE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNC_DEVICETABLE() As System.Data.Linq.Table(Of CTL_SYNC_DEVICETABLE)
		Get
			Return Me.GetTable(Of CTL_SYNC_DEVICETABLE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNC_INITIALIZE_ROWDATA() As System.Data.Linq.Table(Of CTL_SYNC_INITIALIZE_ROWDATA)
		Get
			Return Me.GetTable(Of CTL_SYNC_INITIALIZE_ROWDATA)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNC_INITIALIZE_ROWSCHEMA() As System.Data.Linq.Table(Of CTL_SYNC_INITIALIZE_ROWSCHEMA)
		Get
			Return Me.GetTable(Of CTL_SYNC_INITIALIZE_ROWSCHEMA)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCACCESSOR() As System.Data.Linq.Table(Of CTL_SYNCACCESSOR)
		Get
			Return Me.GetTable(Of CTL_SYNCACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCCOLUMN() As System.Data.Linq.Table(Of CTL_SYNCCOLUMN)
		Get
			Return Me.GetTable(Of CTL_SYNCCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDB() As System.Data.Linq.Table(Of CTL_SYNCDB)
		Get
			Return Me.GetTable(Of CTL_SYNCDB)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP() As System.Data.Linq.Table(Of CTL_SYNCDBMAP)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_ROWCOMPLETED() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_ROWCOMPLETED)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_ROWCOMPLETED)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_ROWDATA() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_ROWDATA)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_ROWDATA)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_ROWEXCEPTION() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_ROWEXCEPTION)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_ROWEXCEPTION)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_ROWFILE() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_ROWFILE)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_ROWFILE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_ROWSCHEMA() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_ROWSCHEMA)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_ROWSCHEMA)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_SESSION() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_SESSION)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_SESSION)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAP_SESSIONROW() As System.Data.Linq.Table(Of CTL_SYNCDBMAP_SESSIONROW)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAP_SESSIONROW)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAPINFO() As System.Data.Linq.Table(Of CTL_SYNCDBMAPINFO)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAPINFO)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCDBMAPINFO_HISTORY() As System.Data.Linq.Table(Of CTL_SYNCDBMAPINFO_HISTORY)
		Get
			Return Me.GetTable(Of CTL_SYNCDBMAPINFO_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCROW_ADD() As System.Data.Linq.Table(Of CTL_SYNCROW_ADD)
		Get
			Return Me.GetTable(Of CTL_SYNCROW_ADD)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCROW_DELETE() As System.Data.Linq.Table(Of CTL_SYNCROW_DELETE)
		Get
			Return Me.GetTable(Of CTL_SYNCROW_DELETE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCROW_EXCEPTION() As System.Data.Linq.Table(Of CTL_SYNCROW_EXCEPTION)
		Get
			Return Me.GetTable(Of CTL_SYNCROW_EXCEPTION)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCROW_FILE() As System.Data.Linq.Table(Of CTL_SYNCROW_FILE)
		Get
			Return Me.GetTable(Of CTL_SYNCROW_FILE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCROW_UPDATE() As System.Data.Linq.Table(Of CTL_SYNCROW_UPDATE)
		Get
			Return Me.GetTable(Of CTL_SYNCROW_UPDATE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCROW_UPDATECOLUMN() As System.Data.Linq.Table(Of CTL_SYNCROW_UPDATECOLUMN)
		Get
			Return Me.GetTable(Of CTL_SYNCROW_UPDATECOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCSETTYPE() As System.Data.Linq.Table(Of CTL_SYNCSETTYPE)
		Get
			Return Me.GetTable(Of CTL_SYNCSETTYPE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYNCTABLE() As System.Data.Linq.Table(Of CTL_SYNCTABLE)
		Get
			Return Me.GetTable(Of CTL_SYNCTABLE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_SYSTABLEORDER() As System.Data.Linq.Table(Of CTL_SYSTABLEORDER)
		Get
			Return Me.GetTable(Of CTL_SYSTABLEORDER)
		End Get
	End Property
	
	Public ReadOnly Property CTL_USER_COLUMNACCESS() As System.Data.Linq.Table(Of CTL_USER_COLUMNACCESS)
		Get
			Return Me.GetTable(Of CTL_USER_COLUMNACCESS)
		End Get
	End Property
	
	Public ReadOnly Property CTL_USERCOLUMN_CHANGED_TRIGGER() As System.Data.Linq.Table(Of CTL_USERCOLUMN_CHANGED_TRIGGER)
		Get
			Return Me.GetTable(Of CTL_USERCOLUMN_CHANGED_TRIGGER)
		End Get
	End Property
	
	Public ReadOnly Property CTL_USERPASSWORD_RESET() As System.Data.Linq.Table(Of CTL_USERPASSWORD_RESET)
		Get
			Return Me.GetTable(Of CTL_USERPASSWORD_RESET)
		End Get
	End Property
	
	Public ReadOnly Property CTL_USERSESSION() As System.Data.Linq.Table(Of CTL_USERSESSION)
		Get
			Return Me.GetTable(Of CTL_USERSESSION)
		End Get
	End Property
	
	Public ReadOnly Property CTL_WF_COMPLETEDSCOPE() As System.Data.Linq.Table(Of CTL_WF_COMPLETEDSCOPE)
		Get
			Return Me.GetTable(Of CTL_WF_COMPLETEDSCOPE)
		End Get
	End Property
	
	Public ReadOnly Property CTL_WF_INSTANCESTATE() As System.Data.Linq.Table(Of CTL_WF_INSTANCESTATE)
		Get
			Return Me.GetTable(Of CTL_WF_INSTANCESTATE)
		End Get
	End Property
	
	Public ReadOnly Property [GROUP]() As System.Data.Linq.Table(Of [GROUP])
		Get
			Return Me.GetTable(Of [GROUP])
		End Get
	End Property
	
	Public ReadOnly Property GROUP_ACTIVITY() As System.Data.Linq.Table(Of GROUP_ACTIVITY)
		Get
			Return Me.GetTable(Of GROUP_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property GROUP_CONTACT() As System.Data.Linq.Table(Of GROUP_CONTACT)
		Get
			Return Me.GetTable(Of GROUP_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property GROUP_HISTORY() As System.Data.Linq.Table(Of GROUP_HISTORY)
		Get
			Return Me.GetTable(Of GROUP_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property GROUP_NOTE() As System.Data.Linq.Table(Of GROUP_NOTE)
		Get
			Return Me.GetTable(Of GROUP_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property GROUP_OPPORTUNITY() As System.Data.Linq.Table(Of GROUP_OPPORTUNITY)
		Get
			Return Me.GetTable(Of GROUP_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property HISTORY() As System.Data.Linq.Table(Of HISTORY)
		Get
			Return Me.GetTable(Of HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property HISTORY_TYPE() As System.Data.Linq.Table(Of HISTORY_TYPE)
		Get
			Return Me.GetTable(Of HISTORY_TYPE)
		End Get
	End Property
	
	Public ReadOnly Property LOGON_HISTORY() As System.Data.Linq.Table(Of LOGON_HISTORY)
		Get
			Return Me.GetTable(Of LOGON_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property MY_RECORD_CONTACT() As System.Data.Linq.Table(Of MY_RECORD_CONTACT)
		Get
			Return Me.GetTable(Of MY_RECORD_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property NOTE() As System.Data.Linq.Table(Of NOTE)
		Get
			Return Me.GetTable(Of NOTE)
		End Get
	End Property
	
	Public ReadOnly Property OPPORTUNITY() As System.Data.Linq.Table(Of OPPORTUNITY)
		Get
			Return Me.GetTable(Of OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property OPPORTUNITY_ACTIVITY() As System.Data.Linq.Table(Of OPPORTUNITY_ACTIVITY)
		Get
			Return Me.GetTable(Of OPPORTUNITY_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property OPPORTUNITY_HISTORY() As System.Data.Linq.Table(Of OPPORTUNITY_HISTORY)
		Get
			Return Me.GetTable(Of OPPORTUNITY_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property OPPORTUNITY_NOTE() As System.Data.Linq.Table(Of OPPORTUNITY_NOTE)
		Get
			Return Me.GetTable(Of OPPORTUNITY_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property OPPORTUNITY_PRODUCTSERVICE() As System.Data.Linq.Table(Of OPPORTUNITY_PRODUCTSERVICE)
		Get
			Return Me.GetTable(Of OPPORTUNITY_PRODUCTSERVICE)
		End Get
	End Property
	
	Public ReadOnly Property PICKLIST() As System.Data.Linq.Table(Of PICKLIST)
		Get
			Return Me.GetTable(Of PICKLIST)
		End Get
	End Property
	
	Public ReadOnly Property PICKLIST_ITEM() As System.Data.Linq.Table(Of PICKLIST_ITEM)
		Get
			Return Me.GetTable(Of PICKLIST_ITEM)
		End Get
	End Property
	
	Public ReadOnly Property PROCESS() As System.Data.Linq.Table(Of PROCESS)
		Get
			Return Me.GetTable(Of PROCESS)
		End Get
	End Property
	
	Public ReadOnly Property PRODUCT() As System.Data.Linq.Table(Of PRODUCT)
		Get
			Return Me.GetTable(Of PRODUCT)
		End Get
	End Property
	
	Public ReadOnly Property PRODUCT_SERVICE() As System.Data.Linq.Table(Of PRODUCT_SERVICE)
		Get
			Return Me.GetTable(Of PRODUCT_SERVICE)
		End Get
	End Property
	
	Public ReadOnly Property RESOURCE() As System.Data.Linq.Table(Of RESOURCE)
		Get
			Return Me.GetTable(Of RESOURCE)
		End Get
	End Property
	
	Public ReadOnly Property SECONDARY_CONTACT() As System.Data.Linq.Table(Of SECONDARY_CONTACT)
		Get
			Return Me.GetTable(Of SECONDARY_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property STAGE() As System.Data.Linq.Table(Of STAGE)
		Get
			Return Me.GetTable(Of STAGE)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_DATABASE() As System.Data.Linq.Table(Of SYNC_DATABASE)
		Get
			Return Me.GetTable(Of SYNC_DATABASE)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_DBMAP_INFORMATION() As System.Data.Linq.Table(Of SYNC_DBMAP_INFORMATION)
		Get
			Return Me.GetTable(Of SYNC_DBMAP_INFORMATION)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_DBMAP_INFORMATION_HISTORY() As System.Data.Linq.Table(Of SYNC_DBMAP_INFORMATION_HISTORY)
		Get
			Return Me.GetTable(Of SYNC_DBMAP_INFORMATION_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_DBMAP_SESSION() As System.Data.Linq.Table(Of SYNC_DBMAP_SESSION)
		Get
			Return Me.GetTable(Of SYNC_DBMAP_SESSION)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_LOG_ADD() As System.Data.Linq.Table(Of SYNC_LOG_ADD)
		Get
			Return Me.GetTable(Of SYNC_LOG_ADD)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_LOG_DELETE() As System.Data.Linq.Table(Of SYNC_LOG_DELETE)
		Get
			Return Me.GetTable(Of SYNC_LOG_DELETE)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_LOG_EXCEPTION() As System.Data.Linq.Table(Of SYNC_LOG_EXCEPTION)
		Get
			Return Me.GetTable(Of SYNC_LOG_EXCEPTION)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_LOG_FILE() As System.Data.Linq.Table(Of SYNC_LOG_FILE)
		Get
			Return Me.GetTable(Of SYNC_LOG_FILE)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_LOG_UPDATE() As System.Data.Linq.Table(Of SYNC_LOG_UPDATE)
		Get
			Return Me.GetTable(Of SYNC_LOG_UPDATE)
		End Get
	End Property
	
	Public ReadOnly Property SYNC_SUBSCRIPTION() As System.Data.Linq.Table(Of SYNC_SUBSCRIPTION)
		Get
			Return Me.GetTable(Of SYNC_SUBSCRIPTION)
		End Get
	End Property
	
	Public ReadOnly Property SYNCSET() As System.Data.Linq.Table(Of SYNCSET)
		Get
			Return Me.GetTable(Of SYNCSET)
		End Get
	End Property
	
	Public ReadOnly Property SYNCSET_ACCESSOR() As System.Data.Linq.Table(Of SYNCSET_ACCESSOR)
		Get
			Return Me.GetTable(Of SYNCSET_ACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACCESSOR() As System.Data.Linq.Table(Of TBL_ACCESSOR)
		Get
			Return Me.GetTable(Of TBL_ACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACCESSOR_ACTIVITY() As System.Data.Linq.Table(Of TBL_ACCESSOR_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_ACCESSOR_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACCESSOR_ACTIVITY_CLEARED() As System.Data.Linq.Table(Of TBL_ACCESSOR_ACTIVITY_CLEARED)
		Get
			Return Me.GetTable(Of TBL_ACCESSOR_ACTIVITY_CLEARED)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACCESSOR_DELEGATE() As System.Data.Linq.Table(Of TBL_ACCESSOR_DELEGATE)
		Get
			Return Me.GetTable(Of TBL_ACCESSOR_DELEGATE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACCESSOR_PREFERENCE() As System.Data.Linq.Table(Of TBL_ACCESSOR_PREFERENCE)
		Get
			Return Me.GetTable(Of TBL_ACCESSOR_PREFERENCE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACCESSOR_SETTING() As System.Data.Linq.Table(Of TBL_ACCESSOR_SETTING)
		Get
			Return Me.GetTable(Of TBL_ACCESSOR_SETTING)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACTIVITY() As System.Data.Linq.Table(Of TBL_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACTIVITYPRIORITY() As System.Data.Linq.Table(Of TBL_ACTIVITYPRIORITY)
		Get
			Return Me.GetTable(Of TBL_ACTIVITYPRIORITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACTIVITYSERIES() As System.Data.Linq.Table(Of TBL_ACTIVITYSERIES)
		Get
			Return Me.GetTable(Of TBL_ACTIVITYSERIES)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACTIVITYSERIESAPPLIED() As System.Data.Linq.Table(Of TBL_ACTIVITYSERIESAPPLIED)
		Get
			Return Me.GetTable(Of TBL_ACTIVITYSERIESAPPLIED)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACTIVITYSERIESITEM() As System.Data.Linq.Table(Of TBL_ACTIVITYSERIESITEM)
		Get
			Return Me.GetTable(Of TBL_ACTIVITYSERIESITEM)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ACTIVITYTYPE() As System.Data.Linq.Table(Of TBL_ACTIVITYTYPE)
		Get
			Return Me.GetTable(Of TBL_ACTIVITYTYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ADDRESS() As System.Data.Linq.Table(Of TBL_ADDRESS)
		Get
			Return Me.GetTable(Of TBL_ADDRESS)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_ACTIVITY() As System.Data.Linq.Table(Of TBL_AL_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_AL_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_ACTIVITY_EXTERNALID() As System.Data.Linq.Table(Of TBL_AL_ACTIVITY_EXTERNALID)
		Get
			Return Me.GetTable(Of TBL_AL_ACTIVITY_EXTERNALID)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_DATAMAPPING() As System.Data.Linq.Table(Of TBL_AL_DATAMAPPING)
		Get
			Return Me.GetTable(Of TBL_AL_DATAMAPPING)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_DRIVERCONFIG() As System.Data.Linq.Table(Of TBL_AL_DRIVERCONFIG)
		Get
			Return Me.GetTable(Of TBL_AL_DRIVERCONFIG)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_LINK() As System.Data.Linq.Table(Of TBL_AL_LINK)
		Get
			Return Me.GetTable(Of TBL_AL_LINK)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_SCHEDULEDFOR() As System.Data.Linq.Table(Of TBL_AL_SCHEDULEDFOR)
		Get
			Return Me.GetTable(Of TBL_AL_SCHEDULEDFOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_SYNCDATA() As System.Data.Linq.Table(Of TBL_AL_SYNCDATA)
		Get
			Return Me.GetTable(Of TBL_AL_SYNCDATA)
		End Get
	End Property
	
	Public ReadOnly Property TBL_AL_USERSETTING() As System.Data.Linq.Table(Of TBL_AL_USERSETTING)
		Get
			Return Me.GetTable(Of TBL_AL_USERSETTING)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ALARMSNOOZE() As System.Data.Linq.Table(Of TBL_ALARMSNOOZE)
		Get
			Return Me.GetTable(Of TBL_ALARMSNOOZE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ATTACHMENT() As System.Data.Linq.Table(Of TBL_ATTACHMENT)
		Get
			Return Me.GetTable(Of TBL_ATTACHMENT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY() As System.Data.Linq.Table(Of TBL_COMPANY)
		Get
			Return Me.GetTable(Of TBL_COMPANY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY_ACL() As System.Data.Linq.Table(Of TBL_COMPANY_ACL)
		Get
			Return Me.GetTable(Of TBL_COMPANY_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY_ACTIVITY() As System.Data.Linq.Table(Of TBL_COMPANY_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_COMPANY_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY_CONTACT() As System.Data.Linq.Table(Of TBL_COMPANY_CONTACT)
		Get
			Return Me.GetTable(Of TBL_COMPANY_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY_HISTORY() As System.Data.Linq.Table(Of TBL_COMPANY_HISTORY)
		Get
			Return Me.GetTable(Of TBL_COMPANY_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY_NOTE() As System.Data.Linq.Table(Of TBL_COMPANY_NOTE)
		Get
			Return Me.GetTable(Of TBL_COMPANY_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANY_OPPORTUNITY() As System.Data.Linq.Table(Of TBL_COMPANY_OPPORTUNITY)
		Get
			Return Me.GetTable(Of TBL_COMPANY_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANYCONTACT_MAP() As System.Data.Linq.Table(Of TBL_COMPANYCONTACT_MAP)
		Get
			Return Me.GetTable(Of TBL_COMPANYCONTACT_MAP)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COMPANYQUERY() As System.Data.Linq.Table(Of TBL_COMPANYQUERY)
		Get
			Return Me.GetTable(Of TBL_COMPANYQUERY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT() As System.Data.Linq.Table(Of TBL_CONTACT)
		Get
			Return Me.GetTable(Of TBL_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_ACL() As System.Data.Linq.Table(Of TBL_CONTACT_ACL)
		Get
			Return Me.GetTable(Of TBL_CONTACT_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_ACTIVITY() As System.Data.Linq.Table(Of TBL_CONTACT_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_CONTACT_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_CONTACT() As System.Data.Linq.Table(Of TBL_CONTACT_CONTACT)
		Get
			Return Me.GetTable(Of TBL_CONTACT_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_HISTORY() As System.Data.Linq.Table(Of TBL_CONTACT_HISTORY)
		Get
			Return Me.GetTable(Of TBL_CONTACT_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_NOTE() As System.Data.Linq.Table(Of TBL_CONTACT_NOTE)
		Get
			Return Me.GetTable(Of TBL_CONTACT_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_OPPORTUNITY() As System.Data.Linq.Table(Of TBL_CONTACT_OPPORTUNITY)
		Get
			Return Me.GetTable(Of TBL_CONTACT_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_CONTACT_SOURCE() As System.Data.Linq.Table(Of TBL_CONTACT_SOURCE)
		Get
			Return Me.GetTable(Of TBL_CONTACT_SOURCE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_COUNTRY() As System.Data.Linq.Table(Of TBL_COUNTRY)
		Get
			Return Me.GetTable(Of TBL_COUNTRY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_EMAIL() As System.Data.Linq.Table(Of TBL_EMAIL)
		Get
			Return Me.GetTable(Of TBL_EMAIL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_EVENTLOGTYPE() As System.Data.Linq.Table(Of TBL_EVENTLOGTYPE)
		Get
			Return Me.GetTable(Of TBL_EVENTLOGTYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_EXTERNALMAP_SOURCE() As System.Data.Linq.Table(Of TBL_EXTERNALMAP_SOURCE)
		Get
			Return Me.GetTable(Of TBL_EXTERNALMAP_SOURCE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_FEATURESET() As System.Data.Linq.Table(Of TBL_FEATURESET)
		Get
			Return Me.GetTable(Of TBL_FEATURESET)
		End Get
	End Property
	
	Public ReadOnly Property TBL_FOLDER() As System.Data.Linq.Table(Of TBL_FOLDER)
		Get
			Return Me.GetTable(Of TBL_FOLDER)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP() As System.Data.Linq.Table(Of TBL_GROUP)
		Get
			Return Me.GetTable(Of TBL_GROUP)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP_ACL() As System.Data.Linq.Table(Of TBL_GROUP_ACL)
		Get
			Return Me.GetTable(Of TBL_GROUP_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP_ACTIVITY() As System.Data.Linq.Table(Of TBL_GROUP_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_GROUP_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP_CONTACT() As System.Data.Linq.Table(Of TBL_GROUP_CONTACT)
		Get
			Return Me.GetTable(Of TBL_GROUP_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP_HISTORY() As System.Data.Linq.Table(Of TBL_GROUP_HISTORY)
		Get
			Return Me.GetTable(Of TBL_GROUP_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP_NOTE() As System.Data.Linq.Table(Of TBL_GROUP_NOTE)
		Get
			Return Me.GetTable(Of TBL_GROUP_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUP_OPPORTUNITY() As System.Data.Linq.Table(Of TBL_GROUP_OPPORTUNITY)
		Get
			Return Me.GetTable(Of TBL_GROUP_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_GROUPQUERY() As System.Data.Linq.Table(Of TBL_GROUPQUERY)
		Get
			Return Me.GetTable(Of TBL_GROUPQUERY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_HISTORY() As System.Data.Linq.Table(Of TBL_HISTORY)
		Get
			Return Me.GetTable(Of TBL_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_HISTORYTYPE() As System.Data.Linq.Table(Of TBL_HISTORYTYPE)
		Get
			Return Me.GetTable(Of TBL_HISTORYTYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_HISTORYTYPE_GROUP() As System.Data.Linq.Table(Of TBL_HISTORYTYPE_GROUP)
		Get
			Return Me.GetTable(Of TBL_HISTORYTYPE_GROUP)
		End Get
	End Property
	
	Public ReadOnly Property TBL_HISTORYTYPE_SUPERGROUP() As System.Data.Linq.Table(Of TBL_HISTORYTYPE_SUPERGROUP)
		Get
			Return Me.GetTable(Of TBL_HISTORYTYPE_SUPERGROUP)
		End Get
	End Property
	
	Public ReadOnly Property TBL_IMPORT_HISTORY() As System.Data.Linq.Table(Of TBL_IMPORT_HISTORY)
		Get
			Return Me.GetTable(Of TBL_IMPORT_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_IMPORT_HISTORYITEM() As System.Data.Linq.Table(Of TBL_IMPORT_HISTORYITEM)
		Get
			Return Me.GetTable(Of TBL_IMPORT_HISTORYITEM)
		End Get
	End Property
	
	Public ReadOnly Property TBL_LOGONHISTORY() As System.Data.Linq.Table(Of TBL_LOGONHISTORY)
		Get
			Return Me.GetTable(Of TBL_LOGONHISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_NOTE() As System.Data.Linq.Table(Of TBL_NOTE)
		Get
			Return Me.GetTable(Of TBL_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_NOTETYPE() As System.Data.Linq.Table(Of TBL_NOTETYPE)
		Get
			Return Me.GetTable(Of TBL_NOTETYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_OPPORTUNITY() As System.Data.Linq.Table(Of TBL_OPPORTUNITY)
		Get
			Return Me.GetTable(Of TBL_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_OPPORTUNITY_ACL() As System.Data.Linq.Table(Of TBL_OPPORTUNITY_ACL)
		Get
			Return Me.GetTable(Of TBL_OPPORTUNITY_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_OPPORTUNITY_ACTIVITY() As System.Data.Linq.Table(Of TBL_OPPORTUNITY_ACTIVITY)
		Get
			Return Me.GetTable(Of TBL_OPPORTUNITY_ACTIVITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_OPPORTUNITY_HISTORY() As System.Data.Linq.Table(Of TBL_OPPORTUNITY_HISTORY)
		Get
			Return Me.GetTable(Of TBL_OPPORTUNITY_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_OPPORTUNITY_NOTE() As System.Data.Linq.Table(Of TBL_OPPORTUNITY_NOTE)
		Get
			Return Me.GetTable(Of TBL_OPPORTUNITY_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_OPPORTUNITY_PRODUCTSERVICE() As System.Data.Linq.Table(Of TBL_OPPORTUNITY_PRODUCTSERVICE)
		Get
			Return Me.GetTable(Of TBL_OPPORTUNITY_PRODUCTSERVICE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PASSWORDHISTORY() As System.Data.Linq.Table(Of TBL_PASSWORDHISTORY)
		Get
			Return Me.GetTable(Of TBL_PASSWORDHISTORY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PERMISSION() As System.Data.Linq.Table(Of TBL_PERMISSION)
		Get
			Return Me.GetTable(Of TBL_PERMISSION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PERMISSION_DEPEND() As System.Data.Linq.Table(Of TBL_PERMISSION_DEPEND)
		Get
			Return Me.GetTable(Of TBL_PERMISSION_DEPEND)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PHONE() As System.Data.Linq.Table(Of TBL_PHONE)
		Get
			Return Me.GetTable(Of TBL_PHONE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PHONEMASK() As System.Data.Linq.Table(Of TBL_PHONEMASK)
		Get
			Return Me.GetTable(Of TBL_PHONEMASK)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PICKLIST() As System.Data.Linq.Table(Of TBL_PICKLIST)
		Get
			Return Me.GetTable(Of TBL_PICKLIST)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PICKLIST_SYSCOLUMN() As System.Data.Linq.Table(Of TBL_PICKLIST_SYSCOLUMN)
		Get
			Return Me.GetTable(Of TBL_PICKLIST_SYSCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PICKLISTITEM() As System.Data.Linq.Table(Of TBL_PICKLISTITEM)
		Get
			Return Me.GetTable(Of TBL_PICKLISTITEM)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PREFERENCE() As System.Data.Linq.Table(Of TBL_PREFERENCE)
		Get
			Return Me.GetTable(Of TBL_PREFERENCE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PROCESS() As System.Data.Linq.Table(Of TBL_PROCESS)
		Get
			Return Me.GetTable(Of TBL_PROCESS)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PRODUCT() As System.Data.Linq.Table(Of TBL_PRODUCT)
		Get
			Return Me.GetTable(Of TBL_PRODUCT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_PRODUCTSERVICE() As System.Data.Linq.Table(Of TBL_PRODUCTSERVICE)
		Get
			Return Me.GetTable(Of TBL_PRODUCTSERVICE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_RESOURCE() As System.Data.Linq.Table(Of TBL_RESOURCE)
		Get
			Return Me.GetTable(Of TBL_RESOURCE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ROLE() As System.Data.Linq.Table(Of TBL_ROLE)
		Get
			Return Me.GetTable(Of TBL_ROLE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_ROLE_PERMISSION() As System.Data.Linq.Table(Of TBL_ROLE_PERMISSION)
		Get
			Return Me.GetTable(Of TBL_ROLE_PERMISSION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SECONDARY() As System.Data.Linq.Table(Of TBL_SECONDARY)
		Get
			Return Me.GetTable(Of TBL_SECONDARY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SERIALNUMBER() As System.Data.Linq.Table(Of TBL_SERIALNUMBER)
		Get
			Return Me.GetTable(Of TBL_SERIALNUMBER)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SETTING() As System.Data.Linq.Table(Of TBL_SETTING)
		Get
			Return Me.GetTable(Of TBL_SETTING)
		End Get
	End Property
	
	Public ReadOnly Property TBL_STAGE() As System.Data.Linq.Table(Of TBL_STAGE)
		Get
			Return Me.GetTable(Of TBL_STAGE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_STAGE_COLOR() As System.Data.Linq.Table(Of TBL_STAGE_COLOR)
		Get
			Return Me.GetTable(Of TBL_STAGE_COLOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCCONTACT() As System.Data.Linq.Table(Of TBL_SYNCCONTACT)
		Get
			Return Me.GetTable(Of TBL_SYNCCONTACT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCCONTACT_ACL() As System.Data.Linq.Table(Of TBL_SYNCCONTACT_ACL)
		Get
			Return Me.GetTable(Of TBL_SYNCCONTACT_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCDB() As System.Data.Linq.Table(Of TBL_SYNCDB)
		Get
			Return Me.GetTable(Of TBL_SYNCDB)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCDBTYPE() As System.Data.Linq.Table(Of TBL_SYNCDBTYPE)
		Get
			Return Me.GetTable(Of TBL_SYNCDBTYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCEXTENDEDDATA() As System.Data.Linq.Table(Of TBL_SYNCEXTENDEDDATA)
		Get
			Return Me.GetTable(Of TBL_SYNCEXTENDEDDATA)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCEXTENDEDDATA_TYPE() As System.Data.Linq.Table(Of TBL_SYNCEXTENDEDDATA_TYPE)
		Get
			Return Me.GetTable(Of TBL_SYNCEXTENDEDDATA_TYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCSET() As System.Data.Linq.Table(Of TBL_SYNCSET)
		Get
			Return Me.GetTable(Of TBL_SYNCSET)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCSET_ACCESSOR() As System.Data.Linq.Table(Of TBL_SYNCSET_ACCESSOR)
		Get
			Return Me.GetTable(Of TBL_SYNCSET_ACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCSETQUERY() As System.Data.Linq.Table(Of TBL_SYNCSETQUERY)
		Get
			Return Me.GetTable(Of TBL_SYNCSETQUERY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYNCSUBSCRIPTION() As System.Data.Linq.Table(Of TBL_SYNCSUBSCRIPTION)
		Get
			Return Me.GetTable(Of TBL_SYNCSUBSCRIPTION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSATTACHMENT() As System.Data.Linq.Table(Of TBL_SYSATTACHMENT)
		Get
			Return Me.GetTable(Of TBL_SYSATTACHMENT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSCALCCOLUMN() As System.Data.Linq.Table(Of TBL_SYSCALCCOLUMN)
		Get
			Return Me.GetTable(Of TBL_SYSCALCCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSCOLUMN() As System.Data.Linq.Table(Of TBL_SYSCOLUMN)
		Get
			Return Me.GetTable(Of TBL_SYSCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSCOLUMN_ACL() As System.Data.Linq.Table(Of TBL_SYSCOLUMN_ACL)
		Get
			Return Me.GetTable(Of TBL_SYSCOLUMN_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSCONSTANT() As System.Data.Linq.Table(Of TBL_SYSCONSTANT)
		Get
			Return Me.GetTable(Of TBL_SYSCONSTANT)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSDATATYPE() As System.Data.Linq.Table(Of TBL_SYSDATATYPE)
		Get
			Return Me.GetTable(Of TBL_SYSDATATYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSDOMAIN() As System.Data.Linq.Table(Of TBL_SYSDOMAIN)
		Get
			Return Me.GetTable(Of TBL_SYSDOMAIN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSDOMAIN_SYSOPERATOR() As System.Data.Linq.Table(Of TBL_SYSDOMAIN_SYSOPERATOR)
		Get
			Return Me.GetTable(Of TBL_SYSDOMAIN_SYSOPERATOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSENTITY() As System.Data.Linq.Table(Of TBL_SYSENTITY)
		Get
			Return Me.GetTable(Of TBL_SYSENTITY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSENTITY_SYSTABLE() As System.Data.Linq.Table(Of TBL_SYSENTITY_SYSTABLE)
		Get
			Return Me.GetTable(Of TBL_SYSENTITY_SYSTABLE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSENTITYRELATION() As System.Data.Linq.Table(Of TBL_SYSENTITYRELATION)
		Get
			Return Me.GetTable(Of TBL_SYSENTITYRELATION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSLOCALCOLUMN() As System.Data.Linq.Table(Of TBL_SYSLOCALCOLUMN)
		Get
			Return Me.GetTable(Of TBL_SYSLOCALCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSLOCALMESSAGE() As System.Data.Linq.Table(Of TBL_SYSLOCALMESSAGE)
		Get
			Return Me.GetTable(Of TBL_SYSLOCALMESSAGE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSOPERATOR() As System.Data.Linq.Table(Of TBL_SYSOPERATOR)
		Get
			Return Me.GetTable(Of TBL_SYSOPERATOR)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSTABLE() As System.Data.Linq.Table(Of TBL_SYSTABLE)
		Get
			Return Me.GetTable(Of TBL_SYSTABLE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSTABLEDOMAIN() As System.Data.Linq.Table(Of TBL_SYSTABLEDOMAIN)
		Get
			Return Me.GetTable(Of TBL_SYSTABLEDOMAIN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSTABLEKEY() As System.Data.Linq.Table(Of TBL_SYSTABLEKEY)
		Get
			Return Me.GetTable(Of TBL_SYSTABLEKEY)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSTABLEKEY_SYSCOLUMN() As System.Data.Linq.Table(Of TBL_SYSTABLEKEY_SYSCOLUMN)
		Get
			Return Me.GetTable(Of TBL_SYSTABLEKEY_SYSCOLUMN)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSTABLERELATION() As System.Data.Linq.Table(Of TBL_SYSTABLERELATION)
		Get
			Return Me.GetTable(Of TBL_SYSTABLERELATION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSVALUE() As System.Data.Linq.Table(Of TBL_SYSVALUE)
		Get
			Return Me.GetTable(Of TBL_SYSVALUE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_SYSVALUEUSAGE() As System.Data.Linq.Table(Of TBL_SYSVALUEUSAGE)
		Get
			Return Me.GetTable(Of TBL_SYSVALUEUSAGE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_TEAM() As System.Data.Linq.Table(Of TBL_TEAM)
		Get
			Return Me.GetTable(Of TBL_TEAM)
		End Get
	End Property
	
	Public ReadOnly Property TBL_TEAM_USER() As System.Data.Linq.Table(Of TBL_TEAM_USER)
		Get
			Return Me.GetTable(Of TBL_TEAM_USER)
		End Get
	End Property
	
	Public ReadOnly Property TBL_USER() As System.Data.Linq.Table(Of TBL_USER)
		Get
			Return Me.GetTable(Of TBL_USER)
		End Get
	End Property
	
	Public ReadOnly Property TBL_USER_ACCESSOR_ENUM() As System.Data.Linq.Table(Of TBL_USER_ACCESSOR_ENUM)
		Get
			Return Me.GetTable(Of TBL_USER_ACCESSOR_ENUM)
		End Get
	End Property
	
	Public ReadOnly Property TBL_USER_DEFAULT_ACL() As System.Data.Linq.Table(Of TBL_USER_DEFAULT_ACL)
		Get
			Return Me.GetTable(Of TBL_USER_DEFAULT_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TBL_USER_PERMISSION() As System.Data.Linq.Table(Of TBL_USER_PERMISSION)
		Get
			Return Me.GetTable(Of TBL_USER_PERMISSION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_VIRTUALRECORDTYPE() As System.Data.Linq.Table(Of TBL_VIRTUALRECORDTYPE)
		Get
			Return Me.GetTable(Of TBL_VIRTUALRECORDTYPE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_WORKFLOW_ARCHIVE() As System.Data.Linq.Table(Of TBL_WORKFLOW_ARCHIVE)
		Get
			Return Me.GetTable(Of TBL_WORKFLOW_ARCHIVE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_WORKFLOW_QUEUE() As System.Data.Linq.Table(Of TBL_WORKFLOW_QUEUE)
		Get
			Return Me.GetTable(Of TBL_WORKFLOW_QUEUE)
		End Get
	End Property
	
	Public ReadOnly Property TBL_WORKFLOW_SUBSCRIPTION() As System.Data.Linq.Table(Of TBL_WORKFLOW_SUBSCRIPTION)
		Get
			Return Me.GetTable(Of TBL_WORKFLOW_SUBSCRIPTION)
		End Get
	End Property
	
	Public ReadOnly Property TBL_WORKFLOWDEF() As System.Data.Linq.Table(Of TBL_WORKFLOWDEF)
		Get
			Return Me.GetTable(Of TBL_WORKFLOWDEF)
		End Get
	End Property
	
	Public ReadOnly Property TBL_WORKFLOWDEF_ACL() As System.Data.Linq.Table(Of TBL_WORKFLOWDEF_ACL)
		Get
			Return Me.GetTable(Of TBL_WORKFLOWDEF_ACL)
		End Get
	End Property
	
	Public ReadOnly Property TEAM() As System.Data.Linq.Table(Of TEAM)
		Get
			Return Me.GetTable(Of TEAM)
		End Get
	End Property
	
	Public ReadOnly Property TEAM_USER() As System.Data.Linq.Table(Of TEAM_USER)
		Get
			Return Me.GetTable(Of TEAM_USER)
		End Get
	End Property
	
	Public ReadOnly Property USER() As System.Data.Linq.Table(Of USER)
		Get
			Return Me.GetTable(Of USER)
		End Get
	End Property
	
	Public ReadOnly Property VRP_COLUMN() As System.Data.Linq.Table(Of VRP_COLUMN)
		Get
			Return Me.GetTable(Of VRP_COLUMN)
		End Get
	End Property
	
	Public ReadOnly Property VRP_COMPANY() As System.Data.Linq.Table(Of VRP_COMPANY)
		Get
			Return Me.GetTable(Of VRP_COMPANY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_COMPANY_HISTORY() As System.Data.Linq.Table(Of VRP_COMPANY_HISTORY)
		Get
			Return Me.GetTable(Of VRP_COMPANY_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_COMPANY_NOTE() As System.Data.Linq.Table(Of VRP_COMPANY_NOTE)
		Get
			Return Me.GetTable(Of VRP_COMPANY_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_COMPANY_OPPORTUNITY() As System.Data.Linq.Table(Of VRP_COMPANY_OPPORTUNITY)
		Get
			Return Me.GetTable(Of VRP_COMPANY_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_CONTACT() As System.Data.Linq.Table(Of VRP_CONTACT)
		Get
			Return Me.GetTable(Of VRP_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property VRP_CONTACT_CONTACT() As System.Data.Linq.Table(Of VRP_CONTACT_CONTACT)
		Get
			Return Me.GetTable(Of VRP_CONTACT_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property VRP_CONTACT_HISTORY() As System.Data.Linq.Table(Of VRP_CONTACT_HISTORY)
		Get
			Return Me.GetTable(Of VRP_CONTACT_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_CONTACT_NOTE() As System.Data.Linq.Table(Of VRP_CONTACT_NOTE)
		Get
			Return Me.GetTable(Of VRP_CONTACT_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_CONTACT_OPPORTUNITY() As System.Data.Linq.Table(Of VRP_CONTACT_OPPORTUNITY)
		Get
			Return Me.GetTable(Of VRP_CONTACT_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_GROUP() As System.Data.Linq.Table(Of VRP_GROUP)
		Get
			Return Me.GetTable(Of VRP_GROUP)
		End Get
	End Property
	
	Public ReadOnly Property VRP_GROUP_HISTORY() As System.Data.Linq.Table(Of VRP_GROUP_HISTORY)
		Get
			Return Me.GetTable(Of VRP_GROUP_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_GROUP_NOTE() As System.Data.Linq.Table(Of VRP_GROUP_NOTE)
		Get
			Return Me.GetTable(Of VRP_GROUP_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_GROUP_OPPORTUNITY() As System.Data.Linq.Table(Of VRP_GROUP_OPPORTUNITY)
		Get
			Return Me.GetTable(Of VRP_GROUP_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_LOGONHISTORY() As System.Data.Linq.Table(Of VRP_LOGONHISTORY)
		Get
			Return Me.GetTable(Of VRP_LOGONHISTORY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_MYRECORD() As System.Data.Linq.Table(Of VRP_MYRECORD)
		Get
			Return Me.GetTable(Of VRP_MYRECORD)
		End Get
	End Property
	
	Public ReadOnly Property VRP_OPPORTUNITY() As System.Data.Linq.Table(Of VRP_OPPORTUNITY)
		Get
			Return Me.GetTable(Of VRP_OPPORTUNITY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_OPPORTUNITY_HISTORY() As System.Data.Linq.Table(Of VRP_OPPORTUNITY_HISTORY)
		Get
			Return Me.GetTable(Of VRP_OPPORTUNITY_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_OPPORTUNITY_NOTE() As System.Data.Linq.Table(Of VRP_OPPORTUNITY_NOTE)
		Get
			Return Me.GetTable(Of VRP_OPPORTUNITY_NOTE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_OPPORTUNITY_PRODUCTSERVICE() As System.Data.Linq.Table(Of VRP_OPPORTUNITY_PRODUCTSERVICE)
		Get
			Return Me.GetTable(Of VRP_OPPORTUNITY_PRODUCTSERVICE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_PICKLIST() As System.Data.Linq.Table(Of VRP_PICKLIST)
		Get
			Return Me.GetTable(Of VRP_PICKLIST)
		End Get
	End Property
	
	Public ReadOnly Property VRP_PRODUCT() As System.Data.Linq.Table(Of VRP_PRODUCT)
		Get
			Return Me.GetTable(Of VRP_PRODUCT)
		End Get
	End Property
	
	Public ReadOnly Property VRP_RESOURCE() As System.Data.Linq.Table(Of VRP_RESOURCE)
		Get
			Return Me.GetTable(Of VRP_RESOURCE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SECONDARY_CONTACT() As System.Data.Linq.Table(Of VRP_SECONDARY_CONTACT)
		Get
			Return Me.GetTable(Of VRP_SECONDARY_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCDB() As System.Data.Linq.Table(Of VRP_SYNCDB)
		Get
			Return Me.GetTable(Of VRP_SYNCDB)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCDBMAP_SESSION() As System.Data.Linq.Table(Of VRP_SYNCDBMAP_SESSION)
		Get
			Return Me.GetTable(Of VRP_SYNCDBMAP_SESSION)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCDBMAPINFO() As System.Data.Linq.Table(Of VRP_SYNCDBMAPINFO)
		Get
			Return Me.GetTable(Of VRP_SYNCDBMAPINFO)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCDBMAPINFO_HISTORY() As System.Data.Linq.Table(Of VRP_SYNCDBMAPINFO_HISTORY)
		Get
			Return Me.GetTable(Of VRP_SYNCDBMAPINFO_HISTORY)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCROW_ADD() As System.Data.Linq.Table(Of VRP_SYNCROW_ADD)
		Get
			Return Me.GetTable(Of VRP_SYNCROW_ADD)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCROW_DELETE() As System.Data.Linq.Table(Of VRP_SYNCROW_DELETE)
		Get
			Return Me.GetTable(Of VRP_SYNCROW_DELETE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCROW_EXCEPTION() As System.Data.Linq.Table(Of VRP_SYNCROW_EXCEPTION)
		Get
			Return Me.GetTable(Of VRP_SYNCROW_EXCEPTION)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCROW_FILE() As System.Data.Linq.Table(Of VRP_SYNCROW_FILE)
		Get
			Return Me.GetTable(Of VRP_SYNCROW_FILE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCROW_UPDATE() As System.Data.Linq.Table(Of VRP_SYNCROW_UPDATE)
		Get
			Return Me.GetTable(Of VRP_SYNCROW_UPDATE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCSET() As System.Data.Linq.Table(Of VRP_SYNCSET)
		Get
			Return Me.GetTable(Of VRP_SYNCSET)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCSET_ACCESSOR() As System.Data.Linq.Table(Of VRP_SYNCSET_ACCESSOR)
		Get
			Return Me.GetTable(Of VRP_SYNCSET_ACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property VRP_SYNCSUBSCRIPTION() As System.Data.Linq.Table(Of VRP_SYNCSUBSCRIPTION)
		Get
			Return Me.GetTable(Of VRP_SYNCSUBSCRIPTION)
		End Get
	End Property
	
	Public ReadOnly Property VRP_TABLE() As System.Data.Linq.Table(Of VRP_TABLE)
		Get
			Return Me.GetTable(Of VRP_TABLE)
		End Get
	End Property
	
	Public ReadOnly Property VRP_TEAM() As System.Data.Linq.Table(Of VRP_TEAM)
		Get
			Return Me.GetTable(Of VRP_TEAM)
		End Get
	End Property
	
	Public ReadOnly Property VRP_TEAM_USER() As System.Data.Linq.Table(Of VRP_TEAM_USER)
		Get
			Return Me.GetTable(Of VRP_TEAM_USER)
		End Get
	End Property
	
	Public ReadOnly Property VRP_USER() As System.Data.Linq.Table(Of VRP_USER)
		Get
			Return Me.GetTable(Of VRP_USER)
		End Get
	End Property
	
	Public ReadOnly Property VWT_COMPANY_ACCESS() As System.Data.Linq.Table(Of VWT_COMPANY_ACCESS)
		Get
			Return Me.GetTable(Of VWT_COMPANY_ACCESS)
		End Get
	End Property
	
	Public ReadOnly Property VWT_COMPANY_BUSINESSLINK() As System.Data.Linq.Table(Of VWT_COMPANY_BUSINESSLINK)
		Get
			Return Me.GetTable(Of VWT_COMPANY_BUSINESSLINK)
		End Get
	End Property
	
	Public ReadOnly Property VWT_CONTACT_ACCESS() As System.Data.Linq.Table(Of VWT_CONTACT_ACCESS)
		Get
			Return Me.GetTable(Of VWT_CONTACT_ACCESS)
		End Get
	End Property
	
	Public ReadOnly Property VWT_CONTACT_BUSINESSLINK() As System.Data.Linq.Table(Of VWT_CONTACT_BUSINESSLINK)
		Get
			Return Me.GetTable(Of VWT_CONTACT_BUSINESSLINK)
		End Get
	End Property
	
	Public ReadOnly Property VWT_GROUP_ACCESS() As System.Data.Linq.Table(Of VWT_GROUP_ACCESS)
		Get
			Return Me.GetTable(Of VWT_GROUP_ACCESS)
		End Get
	End Property
	
	Public ReadOnly Property VWT_OPPORTUNITY_ACCESS() As System.Data.Linq.Table(Of VWT_OPPORTUNITY_ACCESS)
		Get
			Return Me.GetTable(Of VWT_OPPORTUNITY_ACCESS)
		End Get
	End Property
	
	Public ReadOnly Property VWT_OPPORTUNITY_ASSOCIATED_DATA() As System.Data.Linq.Table(Of VWT_OPPORTUNITY_ASSOCIATED_DATA)
		Get
			Return Me.GetTable(Of VWT_OPPORTUNITY_ASSOCIATED_DATA)
		End Get
	End Property
	
	Public ReadOnly Property VWT_OPPORTUNITY_STAGE_PROCESS() As System.Data.Linq.Table(Of VWT_OPPORTUNITY_STAGE_PROCESS)
		Get
			Return Me.GetTable(Of VWT_OPPORTUNITY_STAGE_PROCESS)
		End Get
	End Property
	
	Public ReadOnly Property VWT_SECONDARY_CONTACT() As System.Data.Linq.Table(Of VWT_SECONDARY_CONTACT)
		Get
			Return Me.GetTable(Of VWT_SECONDARY_CONTACT)
		End Get
	End Property
	
	Public ReadOnly Property VWT_WORKFLOW_ARCHIVE() As System.Data.Linq.Table(Of VWT_WORKFLOW_ARCHIVE)
		Get
			Return Me.GetTable(Of VWT_WORKFLOW_ARCHIVE)
		End Get
	End Property
	
	Public ReadOnly Property VWT_WORKFLOWDEF_ACCESS() As System.Data.Linq.Table(Of VWT_WORKFLOWDEF_ACCESS)
		Get
			Return Me.GetTable(Of VWT_WORKFLOWDEF_ACCESS)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ACCESSOR() As System.Data.Linq.Table(Of VWX_ACCESSOR)
		Get
			Return Me.GetTable(Of VWX_ACCESSOR)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ADDRESSTYPES() As System.Data.Linq.Table(Of VWX_ADDRESSTYPES)
		Get
			Return Me.GetTable(Of VWX_ADDRESSTYPES)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ATTACHMENT_ASSOCIATIONS() As System.Data.Linq.Table(Of VWX_ATTACHMENT_ASSOCIATIONS)
		Get
			Return Me.GetTable(Of VWX_ATTACHMENT_ASSOCIATIONS)
		End Get
	End Property
	
	Public ReadOnly Property VWX_BACKUPAPPLOCK() As System.Data.Linq.Table(Of VWX_BACKUPAPPLOCK)
		Get
			Return Me.GetTable(Of VWX_BACKUPAPPLOCK)
		End Get
	End Property
	
	Public ReadOnly Property VWX_BI_HistoryView_Full() As System.Data.Linq.Table(Of VWX_BI_HistoryView_Full)
		Get
			Return Me.GetTable(Of VWX_BI_HistoryView_Full)
		End Get
	End Property
	
	Public ReadOnly Property VWX_BI_OpportunityView_Full() As System.Data.Linq.Table(Of VWX_BI_OpportunityView_Full)
		Get
			Return Me.GetTable(Of VWX_BI_OpportunityView_Full)
		End Get
	End Property
	
	Public ReadOnly Property VWX_CALCCOLUMNINFO() As System.Data.Linq.Table(Of VWX_CALCCOLUMNINFO)
		Get
			Return Me.GetTable(Of VWX_CALCCOLUMNINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_COLUMNINFO() As System.Data.Linq.Table(Of VWX_COLUMNINFO)
		Get
			Return Me.GetTable(Of VWX_COLUMNINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_COMPANY_ALPHAHIERSORT() As System.Data.Linq.Table(Of VWX_COMPANY_ALPHAHIERSORT)
		Get
			Return Me.GetTable(Of VWX_COMPANY_ALPHAHIERSORT)
		End Get
	End Property
	
	Public ReadOnly Property VWX_COMPANY_USER_ENUM() As System.Data.Linq.Table(Of VWX_COMPANY_USER_ENUM)
		Get
			Return Me.GetTable(Of VWX_COMPANY_USER_ENUM)
		End Get
	End Property
	
	Public ReadOnly Property VWX_COMPANYCONTACT_MAP() As System.Data.Linq.Table(Of VWX_COMPANYCONTACT_MAP)
		Get
			Return Me.GetTable(Of VWX_COMPANYCONTACT_MAP)
		End Get
	End Property
	
	Public ReadOnly Property VWX_CONTACT_USER_ENUM() As System.Data.Linq.Table(Of VWX_CONTACT_USER_ENUM)
		Get
			Return Me.GetTable(Of VWX_CONTACT_USER_ENUM)
		End Get
	End Property
	
	Public ReadOnly Property VWX_DBLOCKINFO() As System.Data.Linq.Table(Of VWX_DBLOCKINFO)
		Get
			Return Me.GetTable(Of VWX_DBLOCKINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_DELEGATETO() As System.Data.Linq.Table(Of VWX_DELEGATETO)
		Get
			Return Me.GetTable(Of VWX_DELEGATETO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_DOMAINOPERATORS() As System.Data.Linq.Table(Of VWX_DOMAINOPERATORS)
		Get
			Return Me.GetTable(Of VWX_DOMAINOPERATORS)
		End Get
	End Property
	
	Public ReadOnly Property VWX_DOMAINOPERATORVALUES() As System.Data.Linq.Table(Of VWX_DOMAINOPERATORVALUES)
		Get
			Return Me.GetTable(Of VWX_DOMAINOPERATORVALUES)
		End Get
	End Property
	
	Public ReadOnly Property VWX_EMAILTYPES() As System.Data.Linq.Table(Of VWX_EMAILTYPES)
		Get
			Return Me.GetTable(Of VWX_EMAILTYPES)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ENTITY_TABLE_PAGESIZE() As System.Data.Linq.Table(Of VWX_ENTITY_TABLE_PAGESIZE)
		Get
			Return Me.GetTable(Of VWX_ENTITY_TABLE_PAGESIZE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ENTITYINFO() As System.Data.Linq.Table(Of VWX_ENTITYINFO)
		Get
			Return Me.GetTable(Of VWX_ENTITYINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ENTITYRELATIONINFO() As System.Data.Linq.Table(Of VWX_ENTITYRELATIONINFO)
		Get
			Return Me.GetTable(Of VWX_ENTITYRELATIONINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ENTITYTABLEINFO() As System.Data.Linq.Table(Of VWX_ENTITYTABLEINFO)
		Get
			Return Me.GetTable(Of VWX_ENTITYTABLEINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_EVENTLOGINFO() As System.Data.Linq.Table(Of VWX_EVENTLOGINFO)
		Get
			Return Me.GetTable(Of VWX_EVENTLOGINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_GROUP_ALPHAHIERSORT() As System.Data.Linq.Table(Of VWX_GROUP_ALPHAHIERSORT)
		Get
			Return Me.GetTable(Of VWX_GROUP_ALPHAHIERSORT)
		End Get
	End Property
	
	Public ReadOnly Property VWX_GROUP_USER_ENUM() As System.Data.Linq.Table(Of VWX_GROUP_USER_ENUM)
		Get
			Return Me.GetTable(Of VWX_GROUP_USER_ENUM)
		End Get
	End Property
	
	Public ReadOnly Property VWX_MYDELEGATES() As System.Data.Linq.Table(Of VWX_MYDELEGATES)
		Get
			Return Me.GetTable(Of VWX_MYDELEGATES)
		End Get
	End Property
	
	Public ReadOnly Property VWX_OLEDBVIEW_COLUMNINFO() As System.Data.Linq.Table(Of VWX_OLEDBVIEW_COLUMNINFO)
		Get
			Return Me.GetTable(Of VWX_OLEDBVIEW_COLUMNINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_OPPORTUNITY_USER_ENUM() As System.Data.Linq.Table(Of VWX_OPPORTUNITY_USER_ENUM)
		Get
			Return Me.GetTable(Of VWX_OPPORTUNITY_USER_ENUM)
		End Get
	End Property
	
	Public ReadOnly Property VWX_PERMISSIONINFO() As System.Data.Linq.Table(Of VWX_PERMISSIONINFO)
		Get
			Return Me.GetTable(Of VWX_PERMISSIONINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_PHONETYPES() As System.Data.Linq.Table(Of VWX_PHONETYPES)
		Get
			Return Me.GetTable(Of VWX_PHONETYPES)
		End Get
	End Property
	
	Public ReadOnly Property VWX_PICKLISTINFO() As System.Data.Linq.Table(Of VWX_PICKLISTINFO)
		Get
			Return Me.GetTable(Of VWX_PICKLISTINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_RESOURCE() As System.Data.Linq.Table(Of VWX_RESOURCE)
		Get
			Return Me.GetTable(Of VWX_RESOURCE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ROLE_PERMISSION_MATRIX() As System.Data.Linq.Table(Of VWX_ROLE_PERMISSION_MATRIX)
		Get
			Return Me.GetTable(Of VWX_ROLE_PERMISSION_MATRIX)
		End Get
	End Property
	
	Public ReadOnly Property VWX_ROLEINFO() As System.Data.Linq.Table(Of VWX_ROLEINFO)
		Get
			Return Me.GetTable(Of VWX_ROLEINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNC_COLUMNS() As System.Data.Linq.Table(Of VWX_SYNC_COLUMNS)
		Get
			Return Me.GetTable(Of VWX_SYNC_COLUMNS)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNC_SYNCSETACCESSORS() As System.Data.Linq.Table(Of VWX_SYNC_SYNCSETACCESSORS)
		Get
			Return Me.GetTable(Of VWX_SYNC_SYNCSETACCESSORS)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNC_TABLES() As System.Data.Linq.Table(Of VWX_SYNC_TABLES)
		Get
			Return Me.GetTable(Of VWX_SYNC_TABLES)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCAPPLOCK() As System.Data.Linq.Table(Of VWX_SYNCAPPLOCK)
		Get
			Return Me.GetTable(Of VWX_SYNCAPPLOCK)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCDB() As System.Data.Linq.Table(Of VWX_SYNCDB)
		Get
			Return Me.GetTable(Of VWX_SYNCDB)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCDB_DEVICETABLE() As System.Data.Linq.Table(Of VWX_SYNCDB_DEVICETABLE)
		Get
			Return Me.GetTable(Of VWX_SYNCDB_DEVICETABLE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCDBMAPINFO_ALL() As System.Data.Linq.Table(Of VWX_SYNCDBMAPINFO_ALL)
		Get
			Return Me.GetTable(Of VWX_SYNCDBMAPINFO_ALL)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCROW_ADD() As System.Data.Linq.Table(Of VWX_SYNCROW_ADD)
		Get
			Return Me.GetTable(Of VWX_SYNCROW_ADD)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCROW_DELETE() As System.Data.Linq.Table(Of VWX_SYNCROW_DELETE)
		Get
			Return Me.GetTable(Of VWX_SYNCROW_DELETE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCROW_EXCEPTION() As System.Data.Linq.Table(Of VWX_SYNCROW_EXCEPTION)
		Get
			Return Me.GetTable(Of VWX_SYNCROW_EXCEPTION)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCROW_FILE() As System.Data.Linq.Table(Of VWX_SYNCROW_FILE)
		Get
			Return Me.GetTable(Of VWX_SYNCROW_FILE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_SYNCROW_UPDATE() As System.Data.Linq.Table(Of VWX_SYNCROW_UPDATE)
		Get
			Return Me.GetTable(Of VWX_SYNCROW_UPDATE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_TABLEKEYINFO() As System.Data.Linq.Table(Of VWX_TABLEKEYINFO)
		Get
			Return Me.GetTable(Of VWX_TABLEKEYINFO)
		End Get
	End Property
	
	Public ReadOnly Property VWX_TABLEPAGESIZE() As System.Data.Linq.Table(Of VWX_TABLEPAGESIZE)
		Get
			Return Me.GetTable(Of VWX_TABLEPAGESIZE)
		End Get
	End Property
	
	Public ReadOnly Property VWX_TEAM() As System.Data.Linq.Table(Of VWX_TEAM)
		Get
			Return Me.GetTable(Of VWX_TEAM)
		End Get
	End Property
	
	Public ReadOnly Property VWX_USER() As System.Data.Linq.Table(Of VWX_USER)
		Get
			Return Me.GetTable(Of VWX_USER)
		End Get
	End Property
	
	Public ReadOnly Property VWX_USERPERMISSION() As System.Data.Linq.Table(Of VWX_USERPERMISSION)
		Get
			Return Me.GetTable(Of VWX_USERPERMISSION)
		End Get
	End Property
	
	Public ReadOnly Property VWX_WORKFLOWDEF_USER_ENUM() As System.Data.Linq.Table(Of VWX_WORKFLOWDEF_USER_ENUM)
		Get
			Return Me.GetTable(Of VWX_WORKFLOWDEF_USER_ENUM)
		End Get
	End Property
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_ABL_ACTIVITY() As IQueryable(Of FNB_ABL_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_CONNECTOR", IsComposable:=true)>  _
	Public Function FNB_ABL_CONNECTOR() As IQueryable(Of FNB_ABL_CONNECTORResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_CONNECTORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_CONNECTOR_ACCESSORCONFIG", IsComposable:=true)>  _
	Public Function FNB_ABL_CONNECTOR_ACCESSORCONFIG() As IQueryable(Of FNB_ABL_CONNECTOR_ACCESSORCONFIGResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_CONNECTOR_ACCESSORCONFIGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_CONNECTOR_ENTITY", IsComposable:=true)>  _
	Public Function FNB_ABL_CONNECTOR_ENTITY() As IQueryable(Of FNB_ABL_CONNECTOR_ENTITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_CONNECTOR_ENTITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_CONNECTOR_ENTITYSCHEMA", IsComposable:=true)>  _
	Public Function FNB_ABL_CONNECTOR_ENTITYSCHEMA() As IQueryable(Of FNB_ABL_CONNECTOR_ENTITYSCHEMAResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_CONNECTOR_ENTITYSCHEMAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_CONNECTORTYPE", IsComposable:=true)>  _
	Public Function FNB_ABL_CONNECTORTYPE() As IQueryable(Of FNB_ABL_CONNECTORTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_CONNECTORTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_DEPENDENT", IsComposable:=true)>  _
	Public Function FNB_ABL_DEPENDENT() As IQueryable(Of FNB_ABL_DEPENDENTResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_DEPENDENTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_FIELD", IsComposable:=true)>  _
	Public Function FNB_ABL_FIELD() As IQueryable(Of FNB_ABL_FIELDResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_FIELDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_LINK", IsComposable:=true)>  _
	Public Function FNB_ABL_LINK() As IQueryable(Of FNB_ABL_LINKResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_LINKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_LINK_DEPENDENT", IsComposable:=true)>  _
	Public Function FNB_ABL_LINK_DEPENDENT() As IQueryable(Of FNB_ABL_LINK_DEPENDENTResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_LINK_DEPENDENTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_LINKREMAP", IsComposable:=true)>  _
	Public Function FNB_ABL_LINKREMAP() As IQueryable(Of FNB_ABL_LINKREMAPResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_LINKREMAPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_MASTERQUEUE_INPUT", IsComposable:=true)>  _
	Public Function FNB_ABL_MASTERQUEUE_INPUT() As IQueryable(Of FNB_ABL_MASTERQUEUE_INPUTResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_MASTERQUEUE_INPUTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_MASTERQUEUE_OUTPUT", IsComposable:=true)>  _
	Public Function FNB_ABL_MASTERQUEUE_OUTPUT() As IQueryable(Of FNB_ABL_MASTERQUEUE_OUTPUTResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_MASTERQUEUE_OUTPUTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_MASTERQUEUE_PREFILTER", IsComposable:=true)>  _
	Public Function FNB_ABL_MASTERQUEUE_PREFILTER() As IQueryable(Of FNB_ABL_MASTERQUEUE_PREFILTERResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_MASTERQUEUE_PREFILTERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ABL_SCHEDULEDFOR", IsComposable:=true)>  _
	Public Function FNB_ABL_SCHEDULEDFOR() As IQueryable(Of FNB_ABL_SCHEDULEDFORResult)
		Return Me.CreateMethodCallQuery(Of FNB_ABL_SCHEDULEDFORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACCESSOR", IsComposable:=true)>  _
	Public Function FNB_ACCESSOR() As IQueryable(Of FNB_ACCESSORResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACCESSORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACCESSOR_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_ACCESSOR_ACTIVITY() As IQueryable(Of FNB_ACCESSOR_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACCESSOR_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACCESSOR_ACTIVITY_CLEARED", IsComposable:=true)>  _
	Public Function FNB_ACCESSOR_ACTIVITY_CLEARED() As IQueryable(Of FNB_ACCESSOR_ACTIVITY_CLEAREDResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACCESSOR_ACTIVITY_CLEAREDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACCESSOR_DELEGATE", IsComposable:=true)>  _
	Public Function FNB_ACCESSOR_DELEGATE() As IQueryable(Of FNB_ACCESSOR_DELEGATEResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACCESSOR_DELEGATEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACCESSOR_PREFERENCE", IsComposable:=true)>  _
	Public Function FNB_ACCESSOR_PREFERENCE() As IQueryable(Of FNB_ACCESSOR_PREFERENCEResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACCESSOR_PREFERENCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACCESSOR_SETTING", IsComposable:=true)>  _
	Public Function FNB_ACCESSOR_SETTING() As IQueryable(Of FNB_ACCESSOR_SETTINGResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACCESSOR_SETTINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_ACTIVITY() As IQueryable(Of FNB_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITY_ABL_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_ACTIVITY_ABL_ACTIVITY() As IQueryable(Of FNB_ACTIVITY_ABL_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITY_ABL_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITYPRIORITY", IsComposable:=true)>  _
	Public Function FNB_ACTIVITYPRIORITY() As IQueryable(Of FNB_ACTIVITYPRIORITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITYPRIORITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITYSERIES", IsComposable:=true)>  _
	Public Function FNB_ACTIVITYSERIES() As IQueryable(Of FNB_ACTIVITYSERIESResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITYSERIESResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITYSERIESAPPLIED", IsComposable:=true)>  _
	Public Function FNB_ACTIVITYSERIESAPPLIED() As IQueryable(Of FNB_ACTIVITYSERIESAPPLIEDResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITYSERIESAPPLIEDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITYSERIESITEM", IsComposable:=true)>  _
	Public Function FNB_ACTIVITYSERIESITEM() As IQueryable(Of FNB_ACTIVITYSERIESITEMResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITYSERIESITEMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ACTIVITYTYPE", IsComposable:=true)>  _
	Public Function FNB_ACTIVITYTYPE() As IQueryable(Of FNB_ACTIVITYTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_ACTIVITYTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ADDRESS", IsComposable:=true)>  _
	Public Function FNB_ADDRESS() As IQueryable(Of FNB_ADDRESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_ADDRESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_AL_ACTIVITY() As IQueryable(Of FNB_AL_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_ACTIVITY_EXTERNALID", IsComposable:=true)>  _
	Public Function FNB_AL_ACTIVITY_EXTERNALID() As IQueryable(Of FNB_AL_ACTIVITY_EXTERNALIDResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_ACTIVITY_EXTERNALIDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_DATAMAPPING", IsComposable:=true)>  _
	Public Function FNB_AL_DATAMAPPING() As IQueryable(Of FNB_AL_DATAMAPPINGResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_DATAMAPPINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_DRIVERCONFIG", IsComposable:=true)>  _
	Public Function FNB_AL_DRIVERCONFIG() As IQueryable(Of FNB_AL_DRIVERCONFIGResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_DRIVERCONFIGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_LINK", IsComposable:=true)>  _
	Public Function FNB_AL_LINK() As IQueryable(Of FNB_AL_LINKResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_LINKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_SCHEDULEDFOR", IsComposable:=true)>  _
	Public Function FNB_AL_SCHEDULEDFOR() As IQueryable(Of FNB_AL_SCHEDULEDFORResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_SCHEDULEDFORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_SYNCDATA", IsComposable:=true)>  _
	Public Function FNB_AL_SYNCDATA() As IQueryable(Of FNB_AL_SYNCDATAResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_SYNCDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_AL_USERSETTING", IsComposable:=true)>  _
	Public Function FNB_AL_USERSETTING() As IQueryable(Of FNB_AL_USERSETTINGResult)
		Return Me.CreateMethodCallQuery(Of FNB_AL_USERSETTINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ALARMSNOOZE", IsComposable:=true)>  _
	Public Function FNB_ALARMSNOOZE() As IQueryable(Of FNB_ALARMSNOOZEResult)
		Return Me.CreateMethodCallQuery(Of FNB_ALARMSNOOZEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ATTACHMENT", IsComposable:=true)>  _
	Public Function FNB_ATTACHMENT() As IQueryable(Of FNB_ATTACHMENTResult)
		Return Me.CreateMethodCallQuery(Of FNB_ATTACHMENTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY", IsComposable:=true)>  _
	Public Function FNB_COMPANY() As IQueryable(Of FNB_COMPANYResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_ACCESS", IsComposable:=true)>  _
	Public Function FNB_COMPANY_ACCESS() As IQueryable(Of FNB_COMPANY_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_ACL", IsComposable:=true)>  _
	Public Function FNB_COMPANY_ACL() As IQueryable(Of FNB_COMPANY_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_COMPANY_ACTIVITY() As IQueryable(Of FNB_COMPANY_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_BUSINESSLINK", IsComposable:=true)>  _
	Public Function FNB_COMPANY_BUSINESSLINK() As IQueryable(Of FNB_COMPANY_BUSINESSLINKResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_BUSINESSLINKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_CONTACT", IsComposable:=true)>  _
	Public Function FNB_COMPANY_CONTACT() As IQueryable(Of FNB_COMPANY_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_HISTORY", IsComposable:=true)>  _
	Public Function FNB_COMPANY_HISTORY() As IQueryable(Of FNB_COMPANY_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_NOTE", IsComposable:=true)>  _
	Public Function FNB_COMPANY_NOTE() As IQueryable(Of FNB_COMPANY_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANY_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNB_COMPANY_OPPORTUNITY() As IQueryable(Of FNB_COMPANY_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANY_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANYCONTACT_MAP", IsComposable:=true)>  _
	Public Function FNB_COMPANYCONTACT_MAP() As IQueryable(Of FNB_COMPANYCONTACT_MAPResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANYCONTACT_MAPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COMPANYQUERY", IsComposable:=true)>  _
	Public Function FNB_COMPANYQUERY() As IQueryable(Of FNB_COMPANYQUERYResult)
		Return Me.CreateMethodCallQuery(Of FNB_COMPANYQUERYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT", IsComposable:=true)>  _
	Public Function FNB_CONTACT() As IQueryable(Of FNB_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_ACCESS", IsComposable:=true)>  _
	Public Function FNB_CONTACT_ACCESS() As IQueryable(Of FNB_CONTACT_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_ACL", IsComposable:=true)>  _
	Public Function FNB_CONTACT_ACL() As IQueryable(Of FNB_CONTACT_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_CONTACT_ACTIVITY() As IQueryable(Of FNB_CONTACT_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_BUSINESSLINK", IsComposable:=true)>  _
	Public Function FNB_CONTACT_BUSINESSLINK() As IQueryable(Of FNB_CONTACT_BUSINESSLINKResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_BUSINESSLINKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_CONTACT", IsComposable:=true)>  _
	Public Function FNB_CONTACT_CONTACT() As IQueryable(Of FNB_CONTACT_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_HISTORY", IsComposable:=true)>  _
	Public Function FNB_CONTACT_HISTORY() As IQueryable(Of FNB_CONTACT_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_NOTE", IsComposable:=true)>  _
	Public Function FNB_CONTACT_NOTE() As IQueryable(Of FNB_CONTACT_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNB_CONTACT_OPPORTUNITY() As IQueryable(Of FNB_CONTACT_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_CONTACT_SOURCE", IsComposable:=true)>  _
	Public Function FNB_CONTACT_SOURCE() As IQueryable(Of FNB_CONTACT_SOURCEResult)
		Return Me.CreateMethodCallQuery(Of FNB_CONTACT_SOURCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_COUNTRY", IsComposable:=true)>  _
	Public Function FNB_COUNTRY() As IQueryable(Of FNB_COUNTRYResult)
		Return Me.CreateMethodCallQuery(Of FNB_COUNTRYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_DBCONFIG", IsComposable:=true)>  _
	Public Function FNB_DBCONFIG() As IQueryable(Of FNB_DBCONFIGResult)
		Return Me.CreateMethodCallQuery(Of FNB_DBCONFIGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_EMAIL", IsComposable:=true)>  _
	Public Function FNB_EMAIL() As IQueryable(Of FNB_EMAILResult)
		Return Me.CreateMethodCallQuery(Of FNB_EMAILResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_EVENTLOG", IsComposable:=true)>  _
	Public Function FNB_EVENTLOG() As IQueryable(Of FNB_EVENTLOGResult)
		Return Me.CreateMethodCallQuery(Of FNB_EVENTLOGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_EVENTLOGDETAIL", IsComposable:=true)>  _
	Public Function FNB_EVENTLOGDETAIL() As IQueryable(Of FNB_EVENTLOGDETAILResult)
		Return Me.CreateMethodCallQuery(Of FNB_EVENTLOGDETAILResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_EVENTLOGTYPE", IsComposable:=true)>  _
	Public Function FNB_EVENTLOGTYPE() As IQueryable(Of FNB_EVENTLOGTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_EVENTLOGTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_EXTERNALMAP_SOURCE", IsComposable:=true)>  _
	Public Function FNB_EXTERNALMAP_SOURCE() As IQueryable(Of FNB_EXTERNALMAP_SOURCEResult)
		Return Me.CreateMethodCallQuery(Of FNB_EXTERNALMAP_SOURCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_FEATURESET", IsComposable:=true)>  _
	Public Function FNB_FEATURESET() As IQueryable(Of FNB_FEATURESETResult)
		Return Me.CreateMethodCallQuery(Of FNB_FEATURESETResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_FOLDER", IsComposable:=true)>  _
	Public Function FNB_FOLDER() As IQueryable(Of FNB_FOLDERResult)
		Return Me.CreateMethodCallQuery(Of FNB_FOLDERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP", IsComposable:=true)>  _
	Public Function FNB_GROUP() As IQueryable(Of FNB_GROUPResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_ACCESS", IsComposable:=true)>  _
	Public Function FNB_GROUP_ACCESS() As IQueryable(Of FNB_GROUP_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_ACL", IsComposable:=true)>  _
	Public Function FNB_GROUP_ACL() As IQueryable(Of FNB_GROUP_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_GROUP_ACTIVITY() As IQueryable(Of FNB_GROUP_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_CONTACT", IsComposable:=true)>  _
	Public Function FNB_GROUP_CONTACT() As IQueryable(Of FNB_GROUP_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_HISTORY", IsComposable:=true)>  _
	Public Function FNB_GROUP_HISTORY() As IQueryable(Of FNB_GROUP_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_NOTE", IsComposable:=true)>  _
	Public Function FNB_GROUP_NOTE() As IQueryable(Of FNB_GROUP_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUP_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNB_GROUP_OPPORTUNITY() As IQueryable(Of FNB_GROUP_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUP_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_GROUPQUERY", IsComposable:=true)>  _
	Public Function FNB_GROUPQUERY() As IQueryable(Of FNB_GROUPQUERYResult)
		Return Me.CreateMethodCallQuery(Of FNB_GROUPQUERYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_HISTORY", IsComposable:=true)>  _
	Public Function FNB_HISTORY() As IQueryable(Of FNB_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_HISTORYTYPE", IsComposable:=true)>  _
	Public Function FNB_HISTORYTYPE() As IQueryable(Of FNB_HISTORYTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_HISTORYTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_HISTORYTYPE_GROUP", IsComposable:=true)>  _
	Public Function FNB_HISTORYTYPE_GROUP() As IQueryable(Of FNB_HISTORYTYPE_GROUPResult)
		Return Me.CreateMethodCallQuery(Of FNB_HISTORYTYPE_GROUPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_HISTORYTYPE_SUPERGROUP", IsComposable:=true)>  _
	Public Function FNB_HISTORYTYPE_SUPERGROUP() As IQueryable(Of FNB_HISTORYTYPE_SUPERGROUPResult)
		Return Me.CreateMethodCallQuery(Of FNB_HISTORYTYPE_SUPERGROUPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_IMPORT_HISTORY", IsComposable:=true)>  _
	Public Function FNB_IMPORT_HISTORY() As IQueryable(Of FNB_IMPORT_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_IMPORT_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_IMPORT_HISTORYITEM", IsComposable:=true)>  _
	Public Function FNB_IMPORT_HISTORYITEM() As IQueryable(Of FNB_IMPORT_HISTORYITEMResult)
		Return Me.CreateMethodCallQuery(Of FNB_IMPORT_HISTORYITEMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_LOCALSTRING", IsComposable:=true)>  _
	Public Function FNB_LOCALSTRING() As IQueryable(Of FNB_LOCALSTRINGResult)
		Return Me.CreateMethodCallQuery(Of FNB_LOCALSTRINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_LOGONHISTORY", IsComposable:=true)>  _
	Public Function FNB_LOGONHISTORY() As IQueryable(Of FNB_LOGONHISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_LOGONHISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_NOTE", IsComposable:=true)>  _
	Public Function FNB_NOTE() As IQueryable(Of FNB_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNB_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_NOTETYPE", IsComposable:=true)>  _
	Public Function FNB_NOTETYPE() As IQueryable(Of FNB_NOTETYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_NOTETYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBFUNCTION", IsComposable:=true)>  _
	Public Function FNB_OLEDBFUNCTION() As IQueryable(Of FNB_OLEDBFUNCTIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBFUNCTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBFUNCTION_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNB_OLEDBFUNCTION_SYSCOLUMN() As IQueryable(Of FNB_OLEDBFUNCTION_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBFUNCTION_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW() As IQueryable(Of FNB_OLEDBVIEWResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW_DERIVEDCOLUMN", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW_DERIVEDCOLUMN() As IQueryable(Of FNB_OLEDBVIEW_DERIVEDCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEW_DERIVEDCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW_JOINDATA", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW_JOINDATA() As IQueryable(Of FNB_OLEDBVIEW_JOINDATAResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEW_JOINDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW_KEYINDEX", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW_KEYINDEX() As IQueryable(Of FNB_OLEDBVIEW_KEYINDEXResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEW_KEYINDEXResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW_KEYINDEX_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW_KEYINDEX_SYSCOLUMN() As IQueryable(Of FNB_OLEDBVIEW_KEYINDEX_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEW_KEYINDEX_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW_OLEDBFUNCTION", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW_OLEDBFUNCTION() As IQueryable(Of FNB_OLEDBVIEW_OLEDBFUNCTIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEW_OLEDBFUNCTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OLEDBVIEW_PROVIDERVIEW", IsComposable:=true)>  _
	Public Function FNB_OLEDBVIEW_PROVIDERVIEW() As IQueryable(Of FNB_OLEDBVIEW_PROVIDERVIEWResult)
		Return Me.CreateMethodCallQuery(Of FNB_OLEDBVIEW_PROVIDERVIEWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY() As IQueryable(Of FNB_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_ACCESS", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_ACCESS() As IQueryable(Of FNB_OPPORTUNITY_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_ACL", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_ACL() As IQueryable(Of FNB_OPPORTUNITY_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_ACTIVITY", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_ACTIVITY() As IQueryable(Of FNB_OPPORTUNITY_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_ASSOCIATED_DATA", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_ASSOCIATED_DATA() As IQueryable(Of FNB_OPPORTUNITY_ASSOCIATED_DATAResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_ASSOCIATED_DATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_HISTORY", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_HISTORY() As IQueryable(Of FNB_OPPORTUNITY_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_NOTE", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_NOTE() As IQueryable(Of FNB_OPPORTUNITY_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_PRODUCTSERVICE", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_PRODUCTSERVICE() As IQueryable(Of FNB_OPPORTUNITY_PRODUCTSERVICEResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_PRODUCTSERVICEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_OPPORTUNITY_STAGE_PROCESS", IsComposable:=true)>  _
	Public Function FNB_OPPORTUNITY_STAGE_PROCESS() As IQueryable(Of FNB_OPPORTUNITY_STAGE_PROCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_OPPORTUNITY_STAGE_PROCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PASSWORDHISTORY", IsComposable:=true)>  _
	Public Function FNB_PASSWORDHISTORY() As IQueryable(Of FNB_PASSWORDHISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_PASSWORDHISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PERMISSION", IsComposable:=true)>  _
	Public Function FNB_PERMISSION() As IQueryable(Of FNB_PERMISSIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_PERMISSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PERMISSION_DEPEND", IsComposable:=true)>  _
	Public Function FNB_PERMISSION_DEPEND() As IQueryable(Of FNB_PERMISSION_DEPENDResult)
		Return Me.CreateMethodCallQuery(Of FNB_PERMISSION_DEPENDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PHONE", IsComposable:=true)>  _
	Public Function FNB_PHONE() As IQueryable(Of FNB_PHONEResult)
		Return Me.CreateMethodCallQuery(Of FNB_PHONEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PHONEMASK", IsComposable:=true)>  _
	Public Function FNB_PHONEMASK() As IQueryable(Of FNB_PHONEMASKResult)
		Return Me.CreateMethodCallQuery(Of FNB_PHONEMASKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PICKLIST", IsComposable:=true)>  _
	Public Function FNB_PICKLIST() As IQueryable(Of FNB_PICKLISTResult)
		Return Me.CreateMethodCallQuery(Of FNB_PICKLISTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PICKLIST_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNB_PICKLIST_SYSCOLUMN() As IQueryable(Of FNB_PICKLIST_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_PICKLIST_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PICKLISTITEM", IsComposable:=true)>  _
	Public Function FNB_PICKLISTITEM() As IQueryable(Of FNB_PICKLISTITEMResult)
		Return Me.CreateMethodCallQuery(Of FNB_PICKLISTITEMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PREFERENCE", IsComposable:=true)>  _
	Public Function FNB_PREFERENCE() As IQueryable(Of FNB_PREFERENCEResult)
		Return Me.CreateMethodCallQuery(Of FNB_PREFERENCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PROCESS", IsComposable:=true)>  _
	Public Function FNB_PROCESS() As IQueryable(Of FNB_PROCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_PROCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PRODUCT", IsComposable:=true)>  _
	Public Function FNB_PRODUCT() As IQueryable(Of FNB_PRODUCTResult)
		Return Me.CreateMethodCallQuery(Of FNB_PRODUCTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PRODUCTSERVICE", IsComposable:=true)>  _
	Public Function FNB_PRODUCTSERVICE() As IQueryable(Of FNB_PRODUCTSERVICEResult)
		Return Me.CreateMethodCallQuery(Of FNB_PRODUCTSERVICEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_PROVIDERVIEW", IsComposable:=true)>  _
	Public Function FNB_PROVIDERVIEW() As IQueryable(Of FNB_PROVIDERVIEWResult)
		Return Me.CreateMethodCallQuery(Of FNB_PROVIDERVIEWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_RESOURCE", IsComposable:=true)>  _
	Public Function FNB_RESOURCE() As IQueryable(Of FNB_RESOURCEResult)
		Return Me.CreateMethodCallQuery(Of FNB_RESOURCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ROLE", IsComposable:=true)>  _
	Public Function FNB_ROLE() As IQueryable(Of FNB_ROLEResult)
		Return Me.CreateMethodCallQuery(Of FNB_ROLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_ROLE_PERMISSION", IsComposable:=true)>  _
	Public Function FNB_ROLE_PERMISSION() As IQueryable(Of FNB_ROLE_PERMISSIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_ROLE_PERMISSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SECONDARY", IsComposable:=true)>  _
	Public Function FNB_SECONDARY() As IQueryable(Of FNB_SECONDARYResult)
		Return Me.CreateMethodCallQuery(Of FNB_SECONDARYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SECONDARY_CONTACT", IsComposable:=true)>  _
	Public Function FNB_SECONDARY_CONTACT() As IQueryable(Of FNB_SECONDARY_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNB_SECONDARY_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SERIALNUMBER", IsComposable:=true)>  _
	Public Function FNB_SERIALNUMBER() As IQueryable(Of FNB_SERIALNUMBERResult)
		Return Me.CreateMethodCallQuery(Of FNB_SERIALNUMBERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SETTING", IsComposable:=true)>  _
	Public Function FNB_SETTING() As IQueryable(Of FNB_SETTINGResult)
		Return Me.CreateMethodCallQuery(Of FNB_SETTINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SQLTRACE", IsComposable:=true)>  _
	Public Function FNB_SQLTRACE() As IQueryable(Of FNB_SQLTRACEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SQLTRACEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_STAGE", IsComposable:=true)>  _
	Public Function FNB_STAGE() As IQueryable(Of FNB_STAGEResult)
		Return Me.CreateMethodCallQuery(Of FNB_STAGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_STAGE_COLOR", IsComposable:=true)>  _
	Public Function FNB_STAGE_COLOR() As IQueryable(Of FNB_STAGE_COLORResult)
		Return Me.CreateMethodCallQuery(Of FNB_STAGE_COLORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNC_DEVICETABLE", IsComposable:=true)>  _
	Public Function FNB_SYNC_DEVICETABLE() As IQueryable(Of FNB_SYNC_DEVICETABLEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNC_DEVICETABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNC_INITIALIZE_ROWDATA", IsComposable:=true)>  _
	Public Function FNB_SYNC_INITIALIZE_ROWDATA() As IQueryable(Of FNB_SYNC_INITIALIZE_ROWDATAResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNC_INITIALIZE_ROWDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNC_INITIALIZE_ROWSCHEMA", IsComposable:=true)>  _
	Public Function FNB_SYNC_INITIALIZE_ROWSCHEMA() As IQueryable(Of FNB_SYNC_INITIALIZE_ROWSCHEMAResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNC_INITIALIZE_ROWSCHEMAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCACCESSOR", IsComposable:=true)>  _
	Public Function FNB_SYNCACCESSOR() As IQueryable(Of FNB_SYNCACCESSORResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCACCESSORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCCOLUMN", IsComposable:=true)>  _
	Public Function FNB_SYNCCOLUMN() As IQueryable(Of FNB_SYNCCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCCONTACT", IsComposable:=true)>  _
	Public Function FNB_SYNCCONTACT() As IQueryable(Of FNB_SYNCCONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCCONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCCONTACT_ACL", IsComposable:=true)>  _
	Public Function FNB_SYNCCONTACT_ACL() As IQueryable(Of FNB_SYNCCONTACT_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCCONTACT_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDB", IsComposable:=true)>  _
	Public Function FNB_SYNCDB() As IQueryable(Of FNB_SYNCDBResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP() As IQueryable(Of FNB_SYNCDBMAPResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP_ROWDATA", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP_ROWDATA() As IQueryable(Of FNB_SYNCDBMAP_ROWDATAResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAP_ROWDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP_ROWEXCEPTION", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP_ROWEXCEPTION() As IQueryable(Of FNB_SYNCDBMAP_ROWEXCEPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAP_ROWEXCEPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP_ROWFILE", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP_ROWFILE() As IQueryable(Of FNB_SYNCDBMAP_ROWFILEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAP_ROWFILEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP_ROWSCHEMA", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP_ROWSCHEMA() As IQueryable(Of FNB_SYNCDBMAP_ROWSCHEMAResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAP_ROWSCHEMAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP_SESSION", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP_SESSION() As IQueryable(Of FNB_SYNCDBMAP_SESSIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAP_SESSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAP_SESSIONROW", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAP_SESSIONROW() As IQueryable(Of FNB_SYNCDBMAP_SESSIONROWResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAP_SESSIONROWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAPINFO", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAPINFO() As IQueryable(Of FNB_SYNCDBMAPINFOResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAPINFOResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBMAPINFO_HISTORY", IsComposable:=true)>  _
	Public Function FNB_SYNCDBMAPINFO_HISTORY() As IQueryable(Of FNB_SYNCDBMAPINFO_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBMAPINFO_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCDBTYPE", IsComposable:=true)>  _
	Public Function FNB_SYNCDBTYPE() As IQueryable(Of FNB_SYNCDBTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCDBTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCEXTENDEDDATA", IsComposable:=true)>  _
	Public Function FNB_SYNCEXTENDEDDATA() As IQueryable(Of FNB_SYNCEXTENDEDDATAResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCEXTENDEDDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCEXTENDEDDATA_TYPE", IsComposable:=true)>  _
	Public Function FNB_SYNCEXTENDEDDATA_TYPE() As IQueryable(Of FNB_SYNCEXTENDEDDATA_TYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCEXTENDEDDATA_TYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCROW_ADD", IsComposable:=true)>  _
	Public Function FNB_SYNCROW_ADD() As IQueryable(Of FNB_SYNCROW_ADDResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCROW_ADDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCROW_DELETE", IsComposable:=true)>  _
	Public Function FNB_SYNCROW_DELETE() As IQueryable(Of FNB_SYNCROW_DELETEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCROW_DELETEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCROW_EXCEPTION", IsComposable:=true)>  _
	Public Function FNB_SYNCROW_EXCEPTION() As IQueryable(Of FNB_SYNCROW_EXCEPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCROW_EXCEPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCROW_FILE", IsComposable:=true)>  _
	Public Function FNB_SYNCROW_FILE() As IQueryable(Of FNB_SYNCROW_FILEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCROW_FILEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCROW_UPDATE", IsComposable:=true)>  _
	Public Function FNB_SYNCROW_UPDATE() As IQueryable(Of FNB_SYNCROW_UPDATEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCROW_UPDATEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCROW_UPDATECOLUMN", IsComposable:=true)>  _
	Public Function FNB_SYNCROW_UPDATECOLUMN() As IQueryable(Of FNB_SYNCROW_UPDATECOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCROW_UPDATECOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCSET", IsComposable:=true)>  _
	Public Function FNB_SYNCSET() As IQueryable(Of FNB_SYNCSETResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCSETResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCSET_ACCESSOR", IsComposable:=true)>  _
	Public Function FNB_SYNCSET_ACCESSOR() As IQueryable(Of FNB_SYNCSET_ACCESSORResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCSET_ACCESSORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCSETQUERY", IsComposable:=true)>  _
	Public Function FNB_SYNCSETQUERY() As IQueryable(Of FNB_SYNCSETQUERYResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCSETQUERYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCSETTYPE", IsComposable:=true)>  _
	Public Function FNB_SYNCSETTYPE() As IQueryable(Of FNB_SYNCSETTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCSETTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCSUBSCRIPTION", IsComposable:=true)>  _
	Public Function FNB_SYNCSUBSCRIPTION() As IQueryable(Of FNB_SYNCSUBSCRIPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCSUBSCRIPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYNCTABLE", IsComposable:=true)>  _
	Public Function FNB_SYNCTABLE() As IQueryable(Of FNB_SYNCTABLEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYNCTABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSCALCCOLUMN", IsComposable:=true)>  _
	Public Function FNB_SYSCALCCOLUMN() As IQueryable(Of FNB_SYSCALCCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSCALCCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNB_SYSCOLUMN() As IQueryable(Of FNB_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSCOLUMN_ACL", IsComposable:=true)>  _
	Public Function FNB_SYSCOLUMN_ACL() As IQueryable(Of FNB_SYSCOLUMN_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSCOLUMN_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSCONSTANT", IsComposable:=true)>  _
	Public Function FNB_SYSCONSTANT() As IQueryable(Of FNB_SYSCONSTANTResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSCONSTANTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSDATATYPE", IsComposable:=true)>  _
	Public Function FNB_SYSDATATYPE() As IQueryable(Of FNB_SYSDATATYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSDATATYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSDOMAIN", IsComposable:=true)>  _
	Public Function FNB_SYSDOMAIN() As IQueryable(Of FNB_SYSDOMAINResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSDOMAINResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSDOMAIN_SYSOPERATOR", IsComposable:=true)>  _
	Public Function FNB_SYSDOMAIN_SYSOPERATOR() As IQueryable(Of FNB_SYSDOMAIN_SYSOPERATORResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSDOMAIN_SYSOPERATORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSENTITY", IsComposable:=true)>  _
	Public Function FNB_SYSENTITY() As IQueryable(Of FNB_SYSENTITYResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSENTITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSENTITY_SYSTABLE", IsComposable:=true)>  _
	Public Function FNB_SYSENTITY_SYSTABLE() As IQueryable(Of FNB_SYSENTITY_SYSTABLEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSENTITY_SYSTABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSENTITYRELATION", IsComposable:=true)>  _
	Public Function FNB_SYSENTITYRELATION() As IQueryable(Of FNB_SYSENTITYRELATIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSENTITYRELATIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSLOCALCOLUMN", IsComposable:=true)>  _
	Public Function FNB_SYSLOCALCOLUMN() As IQueryable(Of FNB_SYSLOCALCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSLOCALCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSLOCALMESSAGE", IsComposable:=true)>  _
	Public Function FNB_SYSLOCALMESSAGE() As IQueryable(Of FNB_SYSLOCALMESSAGEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSLOCALMESSAGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSOPERATOR", IsComposable:=true)>  _
	Public Function FNB_SYSOPERATOR() As IQueryable(Of FNB_SYSOPERATORResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSOPERATORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSTABLE", IsComposable:=true)>  _
	Public Function FNB_SYSTABLE() As IQueryable(Of FNB_SYSTABLEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSTABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSTABLEDOMAIN", IsComposable:=true)>  _
	Public Function FNB_SYSTABLEDOMAIN() As IQueryable(Of FNB_SYSTABLEDOMAINResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSTABLEDOMAINResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSTABLEKEY", IsComposable:=true)>  _
	Public Function FNB_SYSTABLEKEY() As IQueryable(Of FNB_SYSTABLEKEYResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSTABLEKEYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSTABLEKEY_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNB_SYSTABLEKEY_SYSCOLUMN() As IQueryable(Of FNB_SYSTABLEKEY_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSTABLEKEY_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSTABLEORDER", IsComposable:=true)>  _
	Public Function FNB_SYSTABLEORDER() As IQueryable(Of FNB_SYSTABLEORDERResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSTABLEORDERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSTABLERELATION", IsComposable:=true)>  _
	Public Function FNB_SYSTABLERELATION() As IQueryable(Of FNB_SYSTABLERELATIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSTABLERELATIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSVALUE", IsComposable:=true)>  _
	Public Function FNB_SYSVALUE() As IQueryable(Of FNB_SYSVALUEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSVALUEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_SYSVALUEUSAGE", IsComposable:=true)>  _
	Public Function FNB_SYSVALUEUSAGE() As IQueryable(Of FNB_SYSVALUEUSAGEResult)
		Return Me.CreateMethodCallQuery(Of FNB_SYSVALUEUSAGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_TEAM", IsComposable:=true)>  _
	Public Function FNB_TEAM() As IQueryable(Of FNB_TEAMResult)
		Return Me.CreateMethodCallQuery(Of FNB_TEAMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_TEAM_USER", IsComposable:=true)>  _
	Public Function FNB_TEAM_USER() As IQueryable(Of FNB_TEAM_USERResult)
		Return Me.CreateMethodCallQuery(Of FNB_TEAM_USERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USER", IsComposable:=true)>  _
	Public Function FNB_USER() As IQueryable(Of FNB_USERResult)
		Return Me.CreateMethodCallQuery(Of FNB_USERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USER_ACCESSOR_ENUM", IsComposable:=true)>  _
	Public Function FNB_USER_ACCESSOR_ENUM() As IQueryable(Of FNB_USER_ACCESSOR_ENUMResult)
		Return Me.CreateMethodCallQuery(Of FNB_USER_ACCESSOR_ENUMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USER_COLUMNACCESS", IsComposable:=true)>  _
	Public Function FNB_USER_COLUMNACCESS() As IQueryable(Of FNB_USER_COLUMNACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_USER_COLUMNACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USER_DEFAULT_ACL", IsComposable:=true)>  _
	Public Function FNB_USER_DEFAULT_ACL() As IQueryable(Of FNB_USER_DEFAULT_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_USER_DEFAULT_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USER_PERMISSION", IsComposable:=true)>  _
	Public Function FNB_USER_PERMISSION() As IQueryable(Of FNB_USER_PERMISSIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_USER_PERMISSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USERPASSWORD_RESET", IsComposable:=true)>  _
	Public Function FNB_USERPASSWORD_RESET() As IQueryable(Of FNB_USERPASSWORD_RESETResult)
		Return Me.CreateMethodCallQuery(Of FNB_USERPASSWORD_RESETResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_USERSESSION", IsComposable:=true)>  _
	Public Function FNB_USERSESSION() As IQueryable(Of FNB_USERSESSIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_USERSESSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_VIRTUALRECORDTYPE", IsComposable:=true)>  _
	Public Function FNB_VIRTUALRECORDTYPE() As IQueryable(Of FNB_VIRTUALRECORDTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_VIRTUALRECORDTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WF_COMPLETEDSCOPE", IsComposable:=true)>  _
	Public Function FNB_WF_COMPLETEDSCOPE() As IQueryable(Of FNB_WF_COMPLETEDSCOPEResult)
		Return Me.CreateMethodCallQuery(Of FNB_WF_COMPLETEDSCOPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WF_INSTANCESTATE", IsComposable:=true)>  _
	Public Function FNB_WF_INSTANCESTATE() As IQueryable(Of FNB_WF_INSTANCESTATEResult)
		Return Me.CreateMethodCallQuery(Of FNB_WF_INSTANCESTATEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WORKFLOW_ARCHIVE", IsComposable:=true)>  _
	Public Function FNB_WORKFLOW_ARCHIVE() As IQueryable(Of FNB_WORKFLOW_ARCHIVEResult)
		Return Me.CreateMethodCallQuery(Of FNB_WORKFLOW_ARCHIVEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WORKFLOW_QUEUE", IsComposable:=true)>  _
	Public Function FNB_WORKFLOW_QUEUE() As IQueryable(Of FNB_WORKFLOW_QUEUEResult)
		Return Me.CreateMethodCallQuery(Of FNB_WORKFLOW_QUEUEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WORKFLOW_SUBSCRIPTION", IsComposable:=true)>  _
	Public Function FNB_WORKFLOW_SUBSCRIPTION() As IQueryable(Of FNB_WORKFLOW_SUBSCRIPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNB_WORKFLOW_SUBSCRIPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WORKFLOWDEF", IsComposable:=true)>  _
	Public Function FNB_WORKFLOWDEF() As IQueryable(Of FNB_WORKFLOWDEFResult)
		Return Me.CreateMethodCallQuery(Of FNB_WORKFLOWDEFResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WORKFLOWDEF_ACCESS", IsComposable:=true)>  _
	Public Function FNB_WORKFLOWDEF_ACCESS() As IQueryable(Of FNB_WORKFLOWDEF_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNB_WORKFLOWDEF_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNB_WORKFLOWDEF_ACL", IsComposable:=true)>  _
	Public Function FNB_WORKFLOWDEF_ACL() As IQueryable(Of FNB_WORKFLOWDEF_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNB_WORKFLOWDEF_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_ABL_TAGOUTBOUNDDATA", IsComposable:=true)>  _
	Public Function FNC_ABL_TAGOUTBOUNDDATA(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> ByVal cDATA As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nTAGVALUE As System.Nullable(Of Integer)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cDATA, nTAGVALUE).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_CONVERT_INITIALCAPS", IsComposable:=true)>  _
	Public Function FNC_CONVERT_INITIALCAPS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(256)")> ByVal instring As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(256)")> ByVal delimchars As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(1024)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), instring, delimchars).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_CONVERT_TO_CHAR", IsComposable:=true)>  _
	Public Function FNC_CONVERT_TO_CHAR(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> ByVal str As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), str).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GEN_DATETABLE", IsComposable:=true)>  _
	Public Function FNC_GEN_DATETABLE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="FirstDate", DbType:="Date")> ByVal firstDate As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="LastDate", DbType:="Date")> ByVal lastDate As System.Nullable(Of Date)) As IQueryable(Of FNC_GEN_DATETABLEResult)
		Return Me.CreateMethodCallQuery(Of FNC_GEN_DATETABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), firstDate, lastDate)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACCESSOR_COLUMN_OLEDB", IsComposable:=true)>  _
	Public Function FNC_GET_ACCESSOR_COLUMN_OLEDB(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOLUMNID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOLUMNID).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACCESSOR_COLUMNS", IsComposable:=true)>  _
	Public Function FNC_GET_ACCESSOR_COLUMNS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_ACCESSOR_COLUMNSResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ACCESSOR_COLUMNSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACCESSORNAME", IsComposable:=true)>  _
	Public Function FNC_GET_ACCESSORNAME(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACCESSORPREFERENCE", IsComposable:=true)>  _
	Public Function FNC_GET_ACCESSORPREFERENCE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(256)")> ByVal cPREFNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nLEVEL As System.Nullable(Of Byte)) As IQueryable(Of FNC_GET_ACCESSORPREFERENCEResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ACCESSORPREFERENCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID, cPREFNAME, nLEVEL)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACCESSORS_AS_DELEGATES", IsComposable:=true)>  _
	Public Function FNC_GET_ACCESSORS_AS_DELEGATES(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_ACCESSORS_AS_DELEGATESResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ACCESSORS_AS_DELEGATESResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACTIVITYACCESSOR", IsComposable:=true)>  _
	Public Function FNC_GET_ACTIVITYACCESSOR(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCURRENT_ACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uORGANIZEUSERID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> System.Nullable(Of System.Guid)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACTIVITYID, uCURRENT_ACCESSORID, uORGANIZEUSERID).ReturnValue,System.Nullable(Of System.Guid))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACTIVITYASSOCIATED_WITH_FIELD", IsComposable:=true)>  _
	Public Function FNC_GET_ACTIVITYASSOCIATED_WITH_FIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_ACTIVITYASSOCIATED_WITH_FIELDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ACTIVITYASSOCIATED_WITH_FIELDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACTIVITYASSOCIATEDWITHFIELD", IsComposable:=true)>  _
	Public Function FNC_GET_ACTIVITYASSOCIATEDWITHFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACTIVITYID, uACCESSORID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACTIVITYCONTACTFIELD", IsComposable:=true)>  _
	Public Function FNC_GET_ACTIVITYCONTACTFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACTIVITYID, uACCESSORID, cCOLUMNNAME).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACTIVITYCONTACTID", IsComposable:=true)>  _
	Public Function FNC_GET_ACTIVITYCONTACTID(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_ACTIVITYCONTACTIDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ACTIVITYCONTACTIDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID, uACTIVITYID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ACTIVITYCONTACTS", IsComposable:=true)>  _
	Public Function FNC_GET_ACTIVITYCONTACTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(1)")> ByVal cDELIMITER As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal nALL_CONTACTS As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACTIVITYID, uACCESSORID, cDELIMITER, nALL_CONTACTS).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_COLUMN_TEAMACCESSLIST", IsComposable:=true)>  _
	Public Function FNC_GET_COLUMN_TEAMACCESSLIST(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOLUMNID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_COLUMN_TEAMACCESSLISTResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_COLUMN_TEAMACCESSLISTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOLUMNID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_COLUMN_USERACCESSLIST", IsComposable:=true)>  _
	Public Function FNC_GET_COLUMN_USERACCESSLIST(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOLUMNID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_COLUMN_USERACCESSLISTResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_COLUMN_USERACCESSLISTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOLUMNID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_COLUMNACCESSORS", IsComposable:=true)>  _
	Public Function FNC_GET_COLUMNACCESSORS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOLUMNID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOLUMNID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_COLUMNLIST", IsComposable:=true)>  _
	Public Function FNC_GET_COLUMNLIST(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bNOT_NULLS_ONLY As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bREAL_ONLY As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bEXCLUDE_PK As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, bNOT_NULLS_ONLY, bREAL_ONLY, bEXCLUDE_PK).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_COMPANYACCESSORS", IsComposable:=true)>  _
	Public Function FNC_GET_COMPANYACCESSORS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOMPANYID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOMPANYID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_CONTACTACCESSORS", IsComposable:=true)>  _
	Public Function FNC_GET_CONTACTACCESSORS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCONTACTID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCONTACTID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_DATELIST", IsComposable:=true)>  _
	Public Function FNC_GET_DATELIST(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallDateTime")> ByVal dBEGINDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallDateTime")> ByVal dENDDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(10)")> ByVal cINCREMENT_TYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nINCREMENT_VALUE As System.Nullable(Of Integer)) As IQueryable(Of FNC_GET_DATELISTResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_DATELISTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), dBEGINDATE, dENDDATE, cINCREMENT_TYPE, nINCREMENT_VALUE)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_DATELIST_LIMITED", IsComposable:=true)>  _
	Public Function FNC_GET_DATELIST_LIMITED(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dBEGINDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dENDDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(10)")> ByVal cINCREMENT_TYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nINCREMENT_VALUE As System.Nullable(Of Integer)) As IQueryable(Of FNC_GET_DATELIST_LIMITEDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_DATELIST_LIMITEDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), dBEGINDATE, dENDDATE, cINCREMENT_TYPE, nINCREMENT_VALUE)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_DATESINRANGE", IsComposable:=true)>  _
	Public Function FNC_GET_DATESINRANGE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="StartDate", DbType:="Date")> ByVal startDate As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="DaysForward", DbType:="Int")> ByVal daysForward As System.Nullable(Of Integer)) As IQueryable(Of FNC_GET_DATESINRANGEResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_DATESINRANGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), startDate, daysForward)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_DBCONFIG", IsComposable:=true)>  _
	Public Function FNC_GET_DBCONFIG(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cSECTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cNAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(512)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cSECTION, cNAME).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ENTITY_ASSOCIATIONCOUNT", IsComposable:=true)>  _
	Public Function FNC_GET_ENTITY_ASSOCIATIONCOUNT(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cSPILLOVER_TABLENAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> System.Nullable(Of Short)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, cSPILLOVER_TABLENAME).ReturnValue,System.Nullable(Of Short))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ENTITY_COLUMNS", IsComposable:=true)>  _
	Public Function FNC_GET_ENTITY_COLUMNS() As IQueryable(Of FNC_GET_ENTITY_COLUMNSResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ENTITY_COLUMNSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_ENTITY_COLUMNS_DISALLOWED", IsComposable:=true)>  _
	Public Function FNC_GET_ENTITY_COLUMNS_DISALLOWED(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_ENTITY_COLUMNS_DISALLOWEDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_ENTITY_COLUMNS_DISALLOWEDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSERID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_GROUPACCESSORS", IsComposable:=true)>  _
	Public Function FNC_GET_GROUPACCESSORS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uGROUPID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uGROUPID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_HISTORY_ASSOCIATEDWITHFIELD", IsComposable:=true)>  _
	Public Function FNC_GET_HISTORY_ASSOCIATEDWITHFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uHISTORYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uHISTORYID, uACCESSORID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_HISTORYCONTACTS", IsComposable:=true)>  _
	Public Function FNC_GET_HISTORYCONTACTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uHISTORYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_HISTORYCONTACTSResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_HISTORYCONTACTSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uHISTORYID, uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_LOCALSTRING", IsComposable:=true)>  _
	Public Function FNC_GET_LOCALSTRING(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(50)")> ByVal cSTRINGKEY As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(3000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cSTRINGKEY).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_LOCALSYNCDBGUID", IsComposable:=true)>  _
	Public Function FNC_GET_LOCALSYNCDBGUID() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> System.Nullable(Of System.Guid)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of System.Guid))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_LOCALSYNCDBID", IsComposable:=true)>  _
	Public Function FNC_GET_LOCALSYNCDBID() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> System.Nullable(Of Short)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Short))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_MAX_SMALLDATETIME", IsComposable:=true)>  _
	Public Function FNC_GET_MAX_SMALLDATETIME() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallDateTime")> System.Nullable(Of Date)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Date))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_MAXACTIVITYLEVEL", IsComposable:=true)>  _
	Public Function FNC_GET_MAXACTIVITYLEVEL(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCURRENT_ACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACTIVITYID, uCURRENT_ACCESSORID).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_MIN_DATETIME", IsComposable:=true)>  _
	Public Function FNC_GET_MIN_DATETIME() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> System.Nullable(Of Date)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Date))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_MYRECORD", IsComposable:=true)>  _
	Public Function FNC_GET_MYRECORD() As IQueryable(Of FNC_GET_MYRECORDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_MYRECORDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_NEXT_ACTIVITYTYPEID", IsComposable:=true)>  _
	Public Function FNC_GET_NEXT_ACTIVITYTYPEID() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> System.Nullable(Of Integer)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Integer))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_NEXT_HISTORYTYPEID", IsComposable:=true)>  _
	Public Function FNC_GET_NEXT_HISTORYTYPEID() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> System.Nullable(Of Integer)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Integer))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_NOTE_ASSOCIATEDWITHFIELD", IsComposable:=true)>  _
	Public Function FNC_GET_NOTE_ASSOCIATEDWITHFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uNOTEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(4000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uNOTEID, uACCESSORID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_NOTECONTACTS", IsComposable:=true)>  _
	Public Function FNC_GET_NOTECONTACTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uNOTEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_NOTECONTACTSResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_NOTECONTACTSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uNOTEID, uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPP_ASSOCIATED_WITH_FIELD", IsComposable:=true)>  _
	Public Function FNC_GET_OPP_ASSOCIATED_WITH_FIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_OPP_ASSOCIATED_WITH_FIELDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_OPP_ASSOCIATED_WITH_FIELDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPP_ASSOCIATEDWITHFIELD", IsComposable:=true)>  _
	Public Function FNC_GET_OPP_ASSOCIATEDWITHFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uOPPORTUNITYID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(2000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uOPPORTUNITYID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPP_CONTACTS", IsComposable:=true)>  _
	Public Function FNC_GET_OPP_CONTACTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uOPPORTUNITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(1)")> ByVal cDELIMITER As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal nALL_CONTACTS As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uOPPORTUNITYID, uACCESSORID, cDELIMITER, nALL_CONTACTS).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPP_PRODUCT_FIELD", IsComposable:=true)>  _
	Public Function FNC_GET_OPP_PRODUCT_FIELD() As IQueryable(Of FNC_GET_OPP_PRODUCT_FIELDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_OPP_PRODUCT_FIELDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPPORTUNITY_SECURED", IsComposable:=true)>  _
	Public Function FNC_GET_OPPORTUNITY_SECURED(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_OPPORTUNITY_SECUREDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_OPPORTUNITY_SECUREDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPPORTUNITYACCESSORS", IsComposable:=true)>  _
	Public Function FNC_GET_OPPORTUNITYACCESSORS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uOPPORTUNITYID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uOPPORTUNITYID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPPORTUNITYCONTACTID", IsComposable:=true)>  _
	Public Function FNC_GET_OPPORTUNITYCONTACTID(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uOPPORTUNITYID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_OPPORTUNITYCONTACTIDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_OPPORTUNITYCONTACTIDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uOPPORTUNITYID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_OPPORTUNITYPRODUCTID", IsComposable:=true)>  _
	Public Function FNC_GET_OPPORTUNITYPRODUCTID(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uOPPORTUNITYID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_GET_OPPORTUNITYPRODUCTIDResult)
		Return Me.CreateMethodCallQuery(Of FNC_GET_OPPORTUNITYPRODUCTIDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uOPPORTUNITYID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_REPORT_VIEW_COLUMNNAME", IsComposable:=true)>  _
	Public Function FNC_GET_REPORT_VIEW_COLUMNNAME(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal sTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal sCOLUMNNAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), sTABLENAME, sCOLUMNNAME).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_REPORT_VIEW_VIEWNAME", IsComposable:=true)>  _
	Public Function FNC_GET_REPORT_VIEW_VIEWNAME(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal sTABLENAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), sTABLENAME).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_SYSCONSTANT", IsComposable:=true)>  _
	Public Function FNC_GET_SYSCONSTANT(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCONSTANTNAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> System.Nullable(Of System.Guid)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cCONSTANTNAME).ReturnValue,System.Nullable(Of System.Guid))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_SYSLOCALMESSAGE", IsComposable:=true)>  _
	Public Function FNC_GET_SYSLOCALMESSAGE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cMESSAGEKEY As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(2000)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cMESSAGEKEY).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_TABLE_ENTITYTYPE", IsComposable:=true)>  _
	Public Function FNC_GET_TABLE_ENTITYTYPE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(32)")> ByVal cTABLENAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_WORKFLOW_RUNCOUNT", IsComposable:=true)>  _
	Public Function FNC_GET_WORKFLOW_RUNCOUNT(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uWORKFLOWDEFID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uENTITYID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uWORKFLOWDEFID, uUSERID, uENTITYID).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_GET_WORKFLOWDEFACCESSORS", IsComposable:=true)>  _
	Public Function FNC_GET_WORKFLOWDEFACCESSORS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uWORKFLOWDEFID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uWORKFLOWDEFID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYNC_CONCATENATE_USERDEVICE", IsComposable:=true)>  _
	Public Function FNC_SYNC_CONCATENATE_USERDEVICE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> ByVal cUSER_NAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> ByVal cDEVICE_NAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USER_LOGIN", DbType:="NVarChar(255)")> ByVal uSER_LOGIN As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(255)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cUSER_NAME, cDEVICE_NAME, uSER_LOGIN).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYNC_DIRECTION", IsComposable:=true)>  _
	Public Function FNC_SYNC_DIRECTION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nLOCALDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nREMOTEDBID As System.Nullable(Of Short)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(12)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nLOCALDBID, nREMOTEDBID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYNC_GET_USERS", IsComposable:=true)>  _
	Public Function FNC_SYNC_GET_USERS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid)) As IQueryable(Of FNC_SYNC_GET_USERSResult)
		Return Me.CreateMethodCallQuery(Of FNC_SYNC_GET_USERSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSYNCDBGUID)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYNC_GETSYNCSETID", IsComposable:=true)>  _
	Public Function FNC_SYNC_GETSYNCSETID(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nREMOTEDBID As System.Nullable(Of Short)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> System.Nullable(Of System.Guid)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nREMOTEDBID).ReturnValue,System.Nullable(Of System.Guid))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYNC_ISPUBLISHERDB", IsComposable:=true)>  _
	Public Function FNC_SYNC_ISPUBLISHERDB() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYNC_ISSUBSCRIBERDB", IsComposable:=true)>  _
	Public Function FNC_SYNC_ISSUBSCRIBERDB() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ALIASNAME", IsComposable:=true)>  _
	Public Function FNC_SYS_ALIASNAME(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As IQueryable(Of FNC_SYS_ALIASNAMEResult)
		Return Me.CreateMethodCallQuery(Of FNC_SYS_ALIASNAMEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, cCOLUMNNAME, bISCUSTOM)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ALLOWDATATYPECHANGE", IsComposable:=true)>  _
	Public Function FNC_SYS_ALLOWDATATYPECHANGE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_CALENDARLEVEL", IsComposable:=true)>  _
	Public Function FNC_SYS_CALENDARLEVEL(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cLEVEL As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cLEVEL).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_DATATYPEID", IsComposable:=true)>  _
	Public Function FNC_SYS_DATATYPEID(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_HIERPART", IsComposable:=true)>  _
	Public Function FNC_SYS_HIERPART(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uKEYID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(37)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uKEYID).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ISDEFINEFIELD", IsComposable:=true)>  _
	Public Function FNC_SYS_ISDEFINEFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ISDISPLAYED", IsComposable:=true)>  _
	Public Function FNC_SYS_ISDISPLAYED(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ISPROTECTED", IsComposable:=true)>  _
	Public Function FNC_SYS_ISPROTECTED(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ISREMOVEABLE", IsComposable:=true)>  _
	Public Function FNC_SYS_ISREMOVEABLE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_ISRESIZEABLE", IsComposable:=true)>  _
	Public Function FNC_SYS_ISRESIZEABLE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_MIN_COLUMNLENGTH", IsComposable:=true)>  _
	Public Function FNC_SYS_MIN_COLUMNLENGTH(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> System.Nullable(Of Short)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Short))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_OLEDBTYPENUM", IsComposable:=true)>  _
	Public Function FNC_SYS_OLEDBTYPENUM(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bTABLE_ISDISPLAYED As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bCOLUMN_ISCUSTOM As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bCOLUMN_ISDISPLAYED As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, bTABLE_ISDISPLAYED, cCOLUMNNAME, cDATATYPE, bCOLUMN_ISCUSTOM, bCOLUMN_ISDISPLAYED).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_RECORDIDENTIFIER", IsComposable:=true)>  _
	Public Function FNC_SYS_RECORDIDENTIFIER(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISRESET As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISRESET).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_SQLREGEX", IsComposable:=true)>  _
	Public Function FNC_SYS_SQLREGEX(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INPUTSTRING", DbType:="NVarChar(2000)")> ByVal iNPUTSTRING As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="STRIPCHARS", DbType:="NVarChar(2000)")> ByVal sTRIPCHARS As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(1024)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), iNPUTSTRING, sTRIPCHARS).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_STRIP_OLEDBNAME", IsComposable:=true)>  _
	Public Function FNC_SYS_STRIP_OLEDBNAME(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INPUTSTRING", DbType:="NVarChar(1024)")> ByVal iNPUTSTRING As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(1024)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), iNPUTSTRING).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_SYNCTYPENUM", IsComposable:=true)>  _
	Public Function FNC_SYS_SYNCTYPENUM(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_TABLE_ISDEFINEFIELD", IsComposable:=true)>  _
	Public Function FNC_SYS_TABLE_ISDEFINEFIELD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cACTION As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, nTYPENUM, bISCUSTOM, cACTION).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_TABLE_ISDISPLAYED", IsComposable:=true)>  _
	Public Function FNC_SYS_TABLE_ISDISPLAYED(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cACTION As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> System.Nullable(Of Boolean)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, nTYPENUM, bISCUSTOM, cACTION).ReturnValue,System.Nullable(Of Boolean))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_TABLETYPENUM", IsComposable:=true)>  _
	Public Function FNC_SYS_TABLETYPENUM(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTABLETYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTABLEDOMAINID As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTABLETYPENUM, cTABLENAME, nTABLEDOMAINID, bISCUSTOM).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_VALIDACCESSLEVELS", IsComposable:=true)>  _
	Public Function FNC_SYS_VALIDACCESSLEVELS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDATATYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISCUSTOM As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISPROTECTED As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nCURRENTLEVEL As System.Nullable(Of Byte)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> System.Nullable(Of Byte)
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nTYPENUM, cTABLENAME, cCOLUMNNAME, cDATATYPE, bISCUSTOM, bISPROTECTED, nCURRENTLEVEL).ReturnValue,System.Nullable(Of Byte))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNC_SYS_VIRTUALCOLUMNNAME", IsComposable:=true)>  _
	Public Function FNC_SYS_VIRTUALCOLUMNNAME(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dDATETIME As System.Nullable(Of Date)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(16)")> String
		Return CType(Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), dDATETIME).ReturnValue,String)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_ABL_ACTIVITY() As IQueryable(Of FNR_ABL_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_CONNECTOR", IsComposable:=true)>  _
	Public Function FNR_ABL_CONNECTOR() As IQueryable(Of FNR_ABL_CONNECTORResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_CONNECTORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_CONNECTOR_ACCESSORCONFIG", IsComposable:=true)>  _
	Public Function FNR_ABL_CONNECTOR_ACCESSORCONFIG() As IQueryable(Of FNR_ABL_CONNECTOR_ACCESSORCONFIGResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_CONNECTOR_ACCESSORCONFIGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_CONNECTOR_ENTITY", IsComposable:=true)>  _
	Public Function FNR_ABL_CONNECTOR_ENTITY() As IQueryable(Of FNR_ABL_CONNECTOR_ENTITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_CONNECTOR_ENTITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_CONNECTOR_ENTITYSCHEMA", IsComposable:=true)>  _
	Public Function FNR_ABL_CONNECTOR_ENTITYSCHEMA() As IQueryable(Of FNR_ABL_CONNECTOR_ENTITYSCHEMAResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_CONNECTOR_ENTITYSCHEMAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_CONNECTORTYPE", IsComposable:=true)>  _
	Public Function FNR_ABL_CONNECTORTYPE() As IQueryable(Of FNR_ABL_CONNECTORTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_CONNECTORTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_DEPENDENT", IsComposable:=true)>  _
	Public Function FNR_ABL_DEPENDENT() As IQueryable(Of FNR_ABL_DEPENDENTResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_DEPENDENTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_FIELD", IsComposable:=true)>  _
	Public Function FNR_ABL_FIELD() As IQueryable(Of FNR_ABL_FIELDResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_FIELDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_LINK", IsComposable:=true)>  _
	Public Function FNR_ABL_LINK() As IQueryable(Of FNR_ABL_LINKResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_LINKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_LINK_DEPENDENT", IsComposable:=true)>  _
	Public Function FNR_ABL_LINK_DEPENDENT() As IQueryable(Of FNR_ABL_LINK_DEPENDENTResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_LINK_DEPENDENTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_LINKREMAP", IsComposable:=true)>  _
	Public Function FNR_ABL_LINKREMAP() As IQueryable(Of FNR_ABL_LINKREMAPResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_LINKREMAPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_MASTERQUEUE_INPUT", IsComposable:=true)>  _
	Public Function FNR_ABL_MASTERQUEUE_INPUT() As IQueryable(Of FNR_ABL_MASTERQUEUE_INPUTResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_MASTERQUEUE_INPUTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_MASTERQUEUE_OUTPUT", IsComposable:=true)>  _
	Public Function FNR_ABL_MASTERQUEUE_OUTPUT() As IQueryable(Of FNR_ABL_MASTERQUEUE_OUTPUTResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_MASTERQUEUE_OUTPUTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_MASTERQUEUE_PREFILTER", IsComposable:=true)>  _
	Public Function FNR_ABL_MASTERQUEUE_PREFILTER() As IQueryable(Of FNR_ABL_MASTERQUEUE_PREFILTERResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_MASTERQUEUE_PREFILTERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ABL_SCHEDULEDFOR", IsComposable:=true)>  _
	Public Function FNR_ABL_SCHEDULEDFOR() As IQueryable(Of FNR_ABL_SCHEDULEDFORResult)
		Return Me.CreateMethodCallQuery(Of FNR_ABL_SCHEDULEDFORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACCESSOR", IsComposable:=true)>  _
	Public Function FNR_ACCESSOR() As IQueryable(Of FNR_ACCESSORResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACCESSORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACCESSOR_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_ACCESSOR_ACTIVITY() As IQueryable(Of FNR_ACCESSOR_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACCESSOR_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACCESSOR_ACTIVITY_CLEARED", IsComposable:=true)>  _
	Public Function FNR_ACCESSOR_ACTIVITY_CLEARED() As IQueryable(Of FNR_ACCESSOR_ACTIVITY_CLEAREDResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACCESSOR_ACTIVITY_CLEAREDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACCESSOR_DELEGATE", IsComposable:=true)>  _
	Public Function FNR_ACCESSOR_DELEGATE() As IQueryable(Of FNR_ACCESSOR_DELEGATEResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACCESSOR_DELEGATEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACCESSOR_PREFERENCE", IsComposable:=true)>  _
	Public Function FNR_ACCESSOR_PREFERENCE() As IQueryable(Of FNR_ACCESSOR_PREFERENCEResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACCESSOR_PREFERENCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACCESSOR_SETTING", IsComposable:=true)>  _
	Public Function FNR_ACCESSOR_SETTING() As IQueryable(Of FNR_ACCESSOR_SETTINGResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACCESSOR_SETTINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_ACTIVITY() As IQueryable(Of FNR_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITY_ABL_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_ACTIVITY_ABL_ACTIVITY() As IQueryable(Of FNR_ACTIVITY_ABL_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITY_ABL_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITYPRIORITY", IsComposable:=true)>  _
	Public Function FNR_ACTIVITYPRIORITY() As IQueryable(Of FNR_ACTIVITYPRIORITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITYPRIORITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITYSERIES", IsComposable:=true)>  _
	Public Function FNR_ACTIVITYSERIES() As IQueryable(Of FNR_ACTIVITYSERIESResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITYSERIESResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITYSERIESAPPLIED", IsComposable:=true)>  _
	Public Function FNR_ACTIVITYSERIESAPPLIED() As IQueryable(Of FNR_ACTIVITYSERIESAPPLIEDResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITYSERIESAPPLIEDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITYSERIESITEM", IsComposable:=true)>  _
	Public Function FNR_ACTIVITYSERIESITEM() As IQueryable(Of FNR_ACTIVITYSERIESITEMResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITYSERIESITEMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ACTIVITYTYPE", IsComposable:=true)>  _
	Public Function FNR_ACTIVITYTYPE() As IQueryable(Of FNR_ACTIVITYTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_ACTIVITYTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ADDRESS", IsComposable:=true)>  _
	Public Function FNR_ADDRESS() As IQueryable(Of FNR_ADDRESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_ADDRESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_AL_ACTIVITY() As IQueryable(Of FNR_AL_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_ACTIVITY_EXTERNALID", IsComposable:=true)>  _
	Public Function FNR_AL_ACTIVITY_EXTERNALID() As IQueryable(Of FNR_AL_ACTIVITY_EXTERNALIDResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_ACTIVITY_EXTERNALIDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_DATAMAPPING", IsComposable:=true)>  _
	Public Function FNR_AL_DATAMAPPING() As IQueryable(Of FNR_AL_DATAMAPPINGResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_DATAMAPPINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_DRIVERCONFIG", IsComposable:=true)>  _
	Public Function FNR_AL_DRIVERCONFIG() As IQueryable(Of FNR_AL_DRIVERCONFIGResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_DRIVERCONFIGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_LINK", IsComposable:=true)>  _
	Public Function FNR_AL_LINK() As IQueryable(Of FNR_AL_LINKResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_LINKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_SCHEDULEDFOR", IsComposable:=true)>  _
	Public Function FNR_AL_SCHEDULEDFOR() As IQueryable(Of FNR_AL_SCHEDULEDFORResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_SCHEDULEDFORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_SYNCDATA", IsComposable:=true)>  _
	Public Function FNR_AL_SYNCDATA() As IQueryable(Of FNR_AL_SYNCDATAResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_SYNCDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_AL_USERSETTING", IsComposable:=true)>  _
	Public Function FNR_AL_USERSETTING() As IQueryable(Of FNR_AL_USERSETTINGResult)
		Return Me.CreateMethodCallQuery(Of FNR_AL_USERSETTINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ALARMSNOOZE", IsComposable:=true)>  _
	Public Function FNR_ALARMSNOOZE() As IQueryable(Of FNR_ALARMSNOOZEResult)
		Return Me.CreateMethodCallQuery(Of FNR_ALARMSNOOZEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ATTACHMENT", IsComposable:=true)>  _
	Public Function FNR_ATTACHMENT() As IQueryable(Of FNR_ATTACHMENTResult)
		Return Me.CreateMethodCallQuery(Of FNR_ATTACHMENTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY", IsComposable:=true)>  _
	Public Function FNR_COMPANY() As IQueryable(Of FNR_COMPANYResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_ACCESS", IsComposable:=true)>  _
	Public Function FNR_COMPANY_ACCESS() As IQueryable(Of FNR_COMPANY_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_ACL", IsComposable:=true)>  _
	Public Function FNR_COMPANY_ACL() As IQueryable(Of FNR_COMPANY_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_COMPANY_ACTIVITY() As IQueryable(Of FNR_COMPANY_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_CONTACT", IsComposable:=true)>  _
	Public Function FNR_COMPANY_CONTACT() As IQueryable(Of FNR_COMPANY_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_HISTORY", IsComposable:=true)>  _
	Public Function FNR_COMPANY_HISTORY() As IQueryable(Of FNR_COMPANY_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_NOTE", IsComposable:=true)>  _
	Public Function FNR_COMPANY_NOTE() As IQueryable(Of FNR_COMPANY_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANY_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNR_COMPANY_OPPORTUNITY() As IQueryable(Of FNR_COMPANY_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANY_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANYCONTACT_MAP", IsComposable:=true)>  _
	Public Function FNR_COMPANYCONTACT_MAP() As IQueryable(Of FNR_COMPANYCONTACT_MAPResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANYCONTACT_MAPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COMPANYQUERY", IsComposable:=true)>  _
	Public Function FNR_COMPANYQUERY() As IQueryable(Of FNR_COMPANYQUERYResult)
		Return Me.CreateMethodCallQuery(Of FNR_COMPANYQUERYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT", IsComposable:=true)>  _
	Public Function FNR_CONTACT() As IQueryable(Of FNR_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_ACCESS", IsComposable:=true)>  _
	Public Function FNR_CONTACT_ACCESS() As IQueryable(Of FNR_CONTACT_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_ACL", IsComposable:=true)>  _
	Public Function FNR_CONTACT_ACL() As IQueryable(Of FNR_CONTACT_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_CONTACT_ACTIVITY() As IQueryable(Of FNR_CONTACT_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_CONTACT", IsComposable:=true)>  _
	Public Function FNR_CONTACT_CONTACT() As IQueryable(Of FNR_CONTACT_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_HISTORY", IsComposable:=true)>  _
	Public Function FNR_CONTACT_HISTORY() As IQueryable(Of FNR_CONTACT_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_NOTE", IsComposable:=true)>  _
	Public Function FNR_CONTACT_NOTE() As IQueryable(Of FNR_CONTACT_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNR_CONTACT_OPPORTUNITY() As IQueryable(Of FNR_CONTACT_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_CONTACT_SOURCE", IsComposable:=true)>  _
	Public Function FNR_CONTACT_SOURCE() As IQueryable(Of FNR_CONTACT_SOURCEResult)
		Return Me.CreateMethodCallQuery(Of FNR_CONTACT_SOURCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_COUNTRY", IsComposable:=true)>  _
	Public Function FNR_COUNTRY() As IQueryable(Of FNR_COUNTRYResult)
		Return Me.CreateMethodCallQuery(Of FNR_COUNTRYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_DBCONFIG", IsComposable:=true)>  _
	Public Function FNR_DBCONFIG() As IQueryable(Of FNR_DBCONFIGResult)
		Return Me.CreateMethodCallQuery(Of FNR_DBCONFIGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_EMAIL", IsComposable:=true)>  _
	Public Function FNR_EMAIL() As IQueryable(Of FNR_EMAILResult)
		Return Me.CreateMethodCallQuery(Of FNR_EMAILResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_EVENTLOG", IsComposable:=true)>  _
	Public Function FNR_EVENTLOG() As IQueryable(Of FNR_EVENTLOGResult)
		Return Me.CreateMethodCallQuery(Of FNR_EVENTLOGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_EVENTLOGDETAIL", IsComposable:=true)>  _
	Public Function FNR_EVENTLOGDETAIL() As IQueryable(Of FNR_EVENTLOGDETAILResult)
		Return Me.CreateMethodCallQuery(Of FNR_EVENTLOGDETAILResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_EVENTLOGTYPE", IsComposable:=true)>  _
	Public Function FNR_EVENTLOGTYPE() As IQueryable(Of FNR_EVENTLOGTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_EVENTLOGTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_EXTERNALMAP_SOURCE", IsComposable:=true)>  _
	Public Function FNR_EXTERNALMAP_SOURCE() As IQueryable(Of FNR_EXTERNALMAP_SOURCEResult)
		Return Me.CreateMethodCallQuery(Of FNR_EXTERNALMAP_SOURCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_FEATURESET", IsComposable:=true)>  _
	Public Function FNR_FEATURESET() As IQueryable(Of FNR_FEATURESETResult)
		Return Me.CreateMethodCallQuery(Of FNR_FEATURESETResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_FOLDER", IsComposable:=true)>  _
	Public Function FNR_FOLDER() As IQueryable(Of FNR_FOLDERResult)
		Return Me.CreateMethodCallQuery(Of FNR_FOLDERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP", IsComposable:=true)>  _
	Public Function FNR_GROUP() As IQueryable(Of FNR_GROUPResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_ACCESS", IsComposable:=true)>  _
	Public Function FNR_GROUP_ACCESS() As IQueryable(Of FNR_GROUP_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_ACL", IsComposable:=true)>  _
	Public Function FNR_GROUP_ACL() As IQueryable(Of FNR_GROUP_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_GROUP_ACTIVITY() As IQueryable(Of FNR_GROUP_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_CONTACT", IsComposable:=true)>  _
	Public Function FNR_GROUP_CONTACT() As IQueryable(Of FNR_GROUP_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_HISTORY", IsComposable:=true)>  _
	Public Function FNR_GROUP_HISTORY() As IQueryable(Of FNR_GROUP_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_NOTE", IsComposable:=true)>  _
	Public Function FNR_GROUP_NOTE() As IQueryable(Of FNR_GROUP_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUP_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNR_GROUP_OPPORTUNITY() As IQueryable(Of FNR_GROUP_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUP_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_GROUPQUERY", IsComposable:=true)>  _
	Public Function FNR_GROUPQUERY() As IQueryable(Of FNR_GROUPQUERYResult)
		Return Me.CreateMethodCallQuery(Of FNR_GROUPQUERYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_HISTORY", IsComposable:=true)>  _
	Public Function FNR_HISTORY() As IQueryable(Of FNR_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_HISTORYTYPE", IsComposable:=true)>  _
	Public Function FNR_HISTORYTYPE() As IQueryable(Of FNR_HISTORYTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_HISTORYTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_HISTORYTYPE_GROUP", IsComposable:=true)>  _
	Public Function FNR_HISTORYTYPE_GROUP() As IQueryable(Of FNR_HISTORYTYPE_GROUPResult)
		Return Me.CreateMethodCallQuery(Of FNR_HISTORYTYPE_GROUPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_HISTORYTYPE_SUPERGROUP", IsComposable:=true)>  _
	Public Function FNR_HISTORYTYPE_SUPERGROUP() As IQueryable(Of FNR_HISTORYTYPE_SUPERGROUPResult)
		Return Me.CreateMethodCallQuery(Of FNR_HISTORYTYPE_SUPERGROUPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_IMPORT_HISTORY", IsComposable:=true)>  _
	Public Function FNR_IMPORT_HISTORY() As IQueryable(Of FNR_IMPORT_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_IMPORT_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_IMPORT_HISTORYITEM", IsComposable:=true)>  _
	Public Function FNR_IMPORT_HISTORYITEM() As IQueryable(Of FNR_IMPORT_HISTORYITEMResult)
		Return Me.CreateMethodCallQuery(Of FNR_IMPORT_HISTORYITEMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_LOCALSTRING", IsComposable:=true)>  _
	Public Function FNR_LOCALSTRING() As IQueryable(Of FNR_LOCALSTRINGResult)
		Return Me.CreateMethodCallQuery(Of FNR_LOCALSTRINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_LOGONHISTORY", IsComposable:=true)>  _
	Public Function FNR_LOGONHISTORY() As IQueryable(Of FNR_LOGONHISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_LOGONHISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_NOTE", IsComposable:=true)>  _
	Public Function FNR_NOTE() As IQueryable(Of FNR_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNR_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_NOTETYPE", IsComposable:=true)>  _
	Public Function FNR_NOTETYPE() As IQueryable(Of FNR_NOTETYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_NOTETYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBFUNCTION", IsComposable:=true)>  _
	Public Function FNR_OLEDBFUNCTION() As IQueryable(Of FNR_OLEDBFUNCTIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBFUNCTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBFUNCTION_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNR_OLEDBFUNCTION_SYSCOLUMN() As IQueryable(Of FNR_OLEDBFUNCTION_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBFUNCTION_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW() As IQueryable(Of FNR_OLEDBVIEWResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW_DERIVEDCOLUMN", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW_DERIVEDCOLUMN() As IQueryable(Of FNR_OLEDBVIEW_DERIVEDCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEW_DERIVEDCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW_JOINDATA", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW_JOINDATA() As IQueryable(Of FNR_OLEDBVIEW_JOINDATAResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEW_JOINDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW_KEYINDEX", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW_KEYINDEX() As IQueryable(Of FNR_OLEDBVIEW_KEYINDEXResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEW_KEYINDEXResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW_KEYINDEX_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW_KEYINDEX_SYSCOLUMN() As IQueryable(Of FNR_OLEDBVIEW_KEYINDEX_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEW_KEYINDEX_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW_OLEDBFUNCTION", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW_OLEDBFUNCTION() As IQueryable(Of FNR_OLEDBVIEW_OLEDBFUNCTIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEW_OLEDBFUNCTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OLEDBVIEW_PROVIDERVIEW", IsComposable:=true)>  _
	Public Function FNR_OLEDBVIEW_PROVIDERVIEW() As IQueryable(Of FNR_OLEDBVIEW_PROVIDERVIEWResult)
		Return Me.CreateMethodCallQuery(Of FNR_OLEDBVIEW_PROVIDERVIEWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY() As IQueryable(Of FNR_OPPORTUNITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_ACCESS", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_ACCESS() As IQueryable(Of FNR_OPPORTUNITY_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_ACL", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_ACL() As IQueryable(Of FNR_OPPORTUNITY_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_ACTIVITY", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_ACTIVITY() As IQueryable(Of FNR_OPPORTUNITY_ACTIVITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_ACTIVITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_ASSOCIATED_DATA", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_ASSOCIATED_DATA() As IQueryable(Of FNR_OPPORTUNITY_ASSOCIATED_DATAResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_ASSOCIATED_DATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_HISTORY", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_HISTORY() As IQueryable(Of FNR_OPPORTUNITY_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_NOTE", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_NOTE() As IQueryable(Of FNR_OPPORTUNITY_NOTEResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_NOTEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_PRODUCTSERVICE", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_PRODUCTSERVICE() As IQueryable(Of FNR_OPPORTUNITY_PRODUCTSERVICEResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_PRODUCTSERVICEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_OPPORTUNITY_STAGE_PROCESS", IsComposable:=true)>  _
	Public Function FNR_OPPORTUNITY_STAGE_PROCESS() As IQueryable(Of FNR_OPPORTUNITY_STAGE_PROCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_OPPORTUNITY_STAGE_PROCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PASSWORDHISTORY", IsComposable:=true)>  _
	Public Function FNR_PASSWORDHISTORY() As IQueryable(Of FNR_PASSWORDHISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_PASSWORDHISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PERMISSION", IsComposable:=true)>  _
	Public Function FNR_PERMISSION() As IQueryable(Of FNR_PERMISSIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_PERMISSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PERMISSION_DEPEND", IsComposable:=true)>  _
	Public Function FNR_PERMISSION_DEPEND() As IQueryable(Of FNR_PERMISSION_DEPENDResult)
		Return Me.CreateMethodCallQuery(Of FNR_PERMISSION_DEPENDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PHONE", IsComposable:=true)>  _
	Public Function FNR_PHONE() As IQueryable(Of FNR_PHONEResult)
		Return Me.CreateMethodCallQuery(Of FNR_PHONEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PHONEMASK", IsComposable:=true)>  _
	Public Function FNR_PHONEMASK() As IQueryable(Of FNR_PHONEMASKResult)
		Return Me.CreateMethodCallQuery(Of FNR_PHONEMASKResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PICKLIST", IsComposable:=true)>  _
	Public Function FNR_PICKLIST() As IQueryable(Of FNR_PICKLISTResult)
		Return Me.CreateMethodCallQuery(Of FNR_PICKLISTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PICKLIST_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNR_PICKLIST_SYSCOLUMN() As IQueryable(Of FNR_PICKLIST_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_PICKLIST_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PICKLISTITEM", IsComposable:=true)>  _
	Public Function FNR_PICKLISTITEM() As IQueryable(Of FNR_PICKLISTITEMResult)
		Return Me.CreateMethodCallQuery(Of FNR_PICKLISTITEMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PREFERENCE", IsComposable:=true)>  _
	Public Function FNR_PREFERENCE() As IQueryable(Of FNR_PREFERENCEResult)
		Return Me.CreateMethodCallQuery(Of FNR_PREFERENCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PROCESS", IsComposable:=true)>  _
	Public Function FNR_PROCESS() As IQueryable(Of FNR_PROCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_PROCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PRODUCT", IsComposable:=true)>  _
	Public Function FNR_PRODUCT() As IQueryable(Of FNR_PRODUCTResult)
		Return Me.CreateMethodCallQuery(Of FNR_PRODUCTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PRODUCTSERVICE", IsComposable:=true)>  _
	Public Function FNR_PRODUCTSERVICE() As IQueryable(Of FNR_PRODUCTSERVICEResult)
		Return Me.CreateMethodCallQuery(Of FNR_PRODUCTSERVICEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_PROVIDERVIEW", IsComposable:=true)>  _
	Public Function FNR_PROVIDERVIEW() As IQueryable(Of FNR_PROVIDERVIEWResult)
		Return Me.CreateMethodCallQuery(Of FNR_PROVIDERVIEWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_RESOURCE", IsComposable:=true)>  _
	Public Function FNR_RESOURCE() As IQueryable(Of FNR_RESOURCEResult)
		Return Me.CreateMethodCallQuery(Of FNR_RESOURCEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ROLE", IsComposable:=true)>  _
	Public Function FNR_ROLE() As IQueryable(Of FNR_ROLEResult)
		Return Me.CreateMethodCallQuery(Of FNR_ROLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_ROLE_PERMISSION", IsComposable:=true)>  _
	Public Function FNR_ROLE_PERMISSION() As IQueryable(Of FNR_ROLE_PERMISSIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_ROLE_PERMISSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SECONDARY", IsComposable:=true)>  _
	Public Function FNR_SECONDARY() As IQueryable(Of FNR_SECONDARYResult)
		Return Me.CreateMethodCallQuery(Of FNR_SECONDARYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SECONDARY_CONTACT", IsComposable:=true)>  _
	Public Function FNR_SECONDARY_CONTACT() As IQueryable(Of FNR_SECONDARY_CONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNR_SECONDARY_CONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SECURED_MY_RECORD", IsComposable:=true)>  _
	Public Function FNR_SECURED_MY_RECORD() As IQueryable(Of FNR_SECURED_MY_RECORDResult)
		Return Me.CreateMethodCallQuery(Of FNR_SECURED_MY_RECORDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SERIALNUMBER", IsComposable:=true)>  _
	Public Function FNR_SERIALNUMBER() As IQueryable(Of FNR_SERIALNUMBERResult)
		Return Me.CreateMethodCallQuery(Of FNR_SERIALNUMBERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SETTING", IsComposable:=true)>  _
	Public Function FNR_SETTING() As IQueryable(Of FNR_SETTINGResult)
		Return Me.CreateMethodCallQuery(Of FNR_SETTINGResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SQLTRACE", IsComposable:=true)>  _
	Public Function FNR_SQLTRACE() As IQueryable(Of FNR_SQLTRACEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SQLTRACEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_STAGE", IsComposable:=true)>  _
	Public Function FNR_STAGE() As IQueryable(Of FNR_STAGEResult)
		Return Me.CreateMethodCallQuery(Of FNR_STAGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_STAGE_COLOR", IsComposable:=true)>  _
	Public Function FNR_STAGE_COLOR() As IQueryable(Of FNR_STAGE_COLORResult)
		Return Me.CreateMethodCallQuery(Of FNR_STAGE_COLORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNC_DEVICETABLE", IsComposable:=true)>  _
	Public Function FNR_SYNC_DEVICETABLE() As IQueryable(Of FNR_SYNC_DEVICETABLEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNC_DEVICETABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNC_INITIALIZE_ROWDATA", IsComposable:=true)>  _
	Public Function FNR_SYNC_INITIALIZE_ROWDATA() As IQueryable(Of FNR_SYNC_INITIALIZE_ROWDATAResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNC_INITIALIZE_ROWDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNC_INITIALIZE_ROWSCHEMA", IsComposable:=true)>  _
	Public Function FNR_SYNC_INITIALIZE_ROWSCHEMA() As IQueryable(Of FNR_SYNC_INITIALIZE_ROWSCHEMAResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNC_INITIALIZE_ROWSCHEMAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCACCESSOR", IsComposable:=true)>  _
	Public Function FNR_SYNCACCESSOR() As IQueryable(Of FNR_SYNCACCESSORResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCACCESSORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCCOLUMN", IsComposable:=true)>  _
	Public Function FNR_SYNCCOLUMN() As IQueryable(Of FNR_SYNCCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCCONTACT", IsComposable:=true)>  _
	Public Function FNR_SYNCCONTACT() As IQueryable(Of FNR_SYNCCONTACTResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCCONTACTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCCONTACT_ACL", IsComposable:=true)>  _
	Public Function FNR_SYNCCONTACT_ACL() As IQueryable(Of FNR_SYNCCONTACT_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCCONTACT_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDB", IsComposable:=true)>  _
	Public Function FNR_SYNCDB() As IQueryable(Of FNR_SYNCDBResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP() As IQueryable(Of FNR_SYNCDBMAPResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAPResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP_ROWDATA", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP_ROWDATA() As IQueryable(Of FNR_SYNCDBMAP_ROWDATAResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAP_ROWDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP_ROWEXCEPTION", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP_ROWEXCEPTION() As IQueryable(Of FNR_SYNCDBMAP_ROWEXCEPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAP_ROWEXCEPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP_ROWFILE", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP_ROWFILE() As IQueryable(Of FNR_SYNCDBMAP_ROWFILEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAP_ROWFILEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP_ROWSCHEMA", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP_ROWSCHEMA() As IQueryable(Of FNR_SYNCDBMAP_ROWSCHEMAResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAP_ROWSCHEMAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP_SESSION", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP_SESSION() As IQueryable(Of FNR_SYNCDBMAP_SESSIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAP_SESSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAP_SESSIONROW", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAP_SESSIONROW() As IQueryable(Of FNR_SYNCDBMAP_SESSIONROWResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAP_SESSIONROWResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAPINFO", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAPINFO() As IQueryable(Of FNR_SYNCDBMAPINFOResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAPINFOResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBMAPINFO_HISTORY", IsComposable:=true)>  _
	Public Function FNR_SYNCDBMAPINFO_HISTORY() As IQueryable(Of FNR_SYNCDBMAPINFO_HISTORYResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBMAPINFO_HISTORYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCDBTYPE", IsComposable:=true)>  _
	Public Function FNR_SYNCDBTYPE() As IQueryable(Of FNR_SYNCDBTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCDBTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCEXTENDEDDATA", IsComposable:=true)>  _
	Public Function FNR_SYNCEXTENDEDDATA() As IQueryable(Of FNR_SYNCEXTENDEDDATAResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCEXTENDEDDATAResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCEXTENDEDDATA_TYPE", IsComposable:=true)>  _
	Public Function FNR_SYNCEXTENDEDDATA_TYPE() As IQueryable(Of FNR_SYNCEXTENDEDDATA_TYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCEXTENDEDDATA_TYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCROW_ADD", IsComposable:=true)>  _
	Public Function FNR_SYNCROW_ADD() As IQueryable(Of FNR_SYNCROW_ADDResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCROW_ADDResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCROW_DELETE", IsComposable:=true)>  _
	Public Function FNR_SYNCROW_DELETE() As IQueryable(Of FNR_SYNCROW_DELETEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCROW_DELETEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCROW_EXCEPTION", IsComposable:=true)>  _
	Public Function FNR_SYNCROW_EXCEPTION() As IQueryable(Of FNR_SYNCROW_EXCEPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCROW_EXCEPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCROW_FILE", IsComposable:=true)>  _
	Public Function FNR_SYNCROW_FILE() As IQueryable(Of FNR_SYNCROW_FILEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCROW_FILEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCROW_UPDATE", IsComposable:=true)>  _
	Public Function FNR_SYNCROW_UPDATE() As IQueryable(Of FNR_SYNCROW_UPDATEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCROW_UPDATEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCROW_UPDATECOLUMN", IsComposable:=true)>  _
	Public Function FNR_SYNCROW_UPDATECOLUMN() As IQueryable(Of FNR_SYNCROW_UPDATECOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCROW_UPDATECOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCSET", IsComposable:=true)>  _
	Public Function FNR_SYNCSET() As IQueryable(Of FNR_SYNCSETResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCSETResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCSET_ACCESSOR", IsComposable:=true)>  _
	Public Function FNR_SYNCSET_ACCESSOR() As IQueryable(Of FNR_SYNCSET_ACCESSORResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCSET_ACCESSORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCSETQUERY", IsComposable:=true)>  _
	Public Function FNR_SYNCSETQUERY() As IQueryable(Of FNR_SYNCSETQUERYResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCSETQUERYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCSETTYPE", IsComposable:=true)>  _
	Public Function FNR_SYNCSETTYPE() As IQueryable(Of FNR_SYNCSETTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCSETTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCSUBSCRIPTION", IsComposable:=true)>  _
	Public Function FNR_SYNCSUBSCRIPTION() As IQueryable(Of FNR_SYNCSUBSCRIPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCSUBSCRIPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYNCTABLE", IsComposable:=true)>  _
	Public Function FNR_SYNCTABLE() As IQueryable(Of FNR_SYNCTABLEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYNCTABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSCALCCOLUMN", IsComposable:=true)>  _
	Public Function FNR_SYSCALCCOLUMN() As IQueryable(Of FNR_SYSCALCCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSCALCCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNR_SYSCOLUMN() As IQueryable(Of FNR_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSCOLUMN_ACL", IsComposable:=true)>  _
	Public Function FNR_SYSCOLUMN_ACL() As IQueryable(Of FNR_SYSCOLUMN_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSCOLUMN_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSCONSTANT", IsComposable:=true)>  _
	Public Function FNR_SYSCONSTANT() As IQueryable(Of FNR_SYSCONSTANTResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSCONSTANTResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSDATATYPE", IsComposable:=true)>  _
	Public Function FNR_SYSDATATYPE() As IQueryable(Of FNR_SYSDATATYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSDATATYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSDOMAIN", IsComposable:=true)>  _
	Public Function FNR_SYSDOMAIN() As IQueryable(Of FNR_SYSDOMAINResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSDOMAINResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSDOMAIN_SYSOPERATOR", IsComposable:=true)>  _
	Public Function FNR_SYSDOMAIN_SYSOPERATOR() As IQueryable(Of FNR_SYSDOMAIN_SYSOPERATORResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSDOMAIN_SYSOPERATORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSENTITY", IsComposable:=true)>  _
	Public Function FNR_SYSENTITY() As IQueryable(Of FNR_SYSENTITYResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSENTITYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSENTITY_SYSTABLE", IsComposable:=true)>  _
	Public Function FNR_SYSENTITY_SYSTABLE() As IQueryable(Of FNR_SYSENTITY_SYSTABLEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSENTITY_SYSTABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSENTITYRELATION", IsComposable:=true)>  _
	Public Function FNR_SYSENTITYRELATION() As IQueryable(Of FNR_SYSENTITYRELATIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSENTITYRELATIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSLOCALCOLUMN", IsComposable:=true)>  _
	Public Function FNR_SYSLOCALCOLUMN() As IQueryable(Of FNR_SYSLOCALCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSLOCALCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSLOCALMESSAGE", IsComposable:=true)>  _
	Public Function FNR_SYSLOCALMESSAGE() As IQueryable(Of FNR_SYSLOCALMESSAGEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSLOCALMESSAGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSOPERATOR", IsComposable:=true)>  _
	Public Function FNR_SYSOPERATOR() As IQueryable(Of FNR_SYSOPERATORResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSOPERATORResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSTABLE", IsComposable:=true)>  _
	Public Function FNR_SYSTABLE() As IQueryable(Of FNR_SYSTABLEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSTABLEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSTABLEDOMAIN", IsComposable:=true)>  _
	Public Function FNR_SYSTABLEDOMAIN() As IQueryable(Of FNR_SYSTABLEDOMAINResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSTABLEDOMAINResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSTABLEKEY", IsComposable:=true)>  _
	Public Function FNR_SYSTABLEKEY() As IQueryable(Of FNR_SYSTABLEKEYResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSTABLEKEYResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSTABLEKEY_SYSCOLUMN", IsComposable:=true)>  _
	Public Function FNR_SYSTABLEKEY_SYSCOLUMN() As IQueryable(Of FNR_SYSTABLEKEY_SYSCOLUMNResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSTABLEKEY_SYSCOLUMNResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSTABLEORDER", IsComposable:=true)>  _
	Public Function FNR_SYSTABLEORDER() As IQueryable(Of FNR_SYSTABLEORDERResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSTABLEORDERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSTABLERELATION", IsComposable:=true)>  _
	Public Function FNR_SYSTABLERELATION() As IQueryable(Of FNR_SYSTABLERELATIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSTABLERELATIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSVALUE", IsComposable:=true)>  _
	Public Function FNR_SYSVALUE() As IQueryable(Of FNR_SYSVALUEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSVALUEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_SYSVALUEUSAGE", IsComposable:=true)>  _
	Public Function FNR_SYSVALUEUSAGE() As IQueryable(Of FNR_SYSVALUEUSAGEResult)
		Return Me.CreateMethodCallQuery(Of FNR_SYSVALUEUSAGEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_TEAM", IsComposable:=true)>  _
	Public Function FNR_TEAM() As IQueryable(Of FNR_TEAMResult)
		Return Me.CreateMethodCallQuery(Of FNR_TEAMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_TEAM_USER", IsComposable:=true)>  _
	Public Function FNR_TEAM_USER() As IQueryable(Of FNR_TEAM_USERResult)
		Return Me.CreateMethodCallQuery(Of FNR_TEAM_USERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USER", IsComposable:=true)>  _
	Public Function FNR_USER() As IQueryable(Of FNR_USERResult)
		Return Me.CreateMethodCallQuery(Of FNR_USERResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USER_ACCESSOR_ENUM", IsComposable:=true)>  _
	Public Function FNR_USER_ACCESSOR_ENUM() As IQueryable(Of FNR_USER_ACCESSOR_ENUMResult)
		Return Me.CreateMethodCallQuery(Of FNR_USER_ACCESSOR_ENUMResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USER_COLUMNACCESS", IsComposable:=true)>  _
	Public Function FNR_USER_COLUMNACCESS() As IQueryable(Of FNR_USER_COLUMNACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_USER_COLUMNACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USER_DEFAULT_ACL", IsComposable:=true)>  _
	Public Function FNR_USER_DEFAULT_ACL() As IQueryable(Of FNR_USER_DEFAULT_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_USER_DEFAULT_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USER_PERMISSION", IsComposable:=true)>  _
	Public Function FNR_USER_PERMISSION() As IQueryable(Of FNR_USER_PERMISSIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_USER_PERMISSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USERPASSWORD_RESET", IsComposable:=true)>  _
	Public Function FNR_USERPASSWORD_RESET() As IQueryable(Of FNR_USERPASSWORD_RESETResult)
		Return Me.CreateMethodCallQuery(Of FNR_USERPASSWORD_RESETResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_USERSESSION", IsComposable:=true)>  _
	Public Function FNR_USERSESSION() As IQueryable(Of FNR_USERSESSIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_USERSESSIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_VIRTUALRECORDTYPE", IsComposable:=true)>  _
	Public Function FNR_VIRTUALRECORDTYPE() As IQueryable(Of FNR_VIRTUALRECORDTYPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_VIRTUALRECORDTYPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WF_COMPLETEDSCOPE", IsComposable:=true)>  _
	Public Function FNR_WF_COMPLETEDSCOPE() As IQueryable(Of FNR_WF_COMPLETEDSCOPEResult)
		Return Me.CreateMethodCallQuery(Of FNR_WF_COMPLETEDSCOPEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WF_INSTANCESTATE", IsComposable:=true)>  _
	Public Function FNR_WF_INSTANCESTATE() As IQueryable(Of FNR_WF_INSTANCESTATEResult)
		Return Me.CreateMethodCallQuery(Of FNR_WF_INSTANCESTATEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WORKFLOW_ARCHIVE", IsComposable:=true)>  _
	Public Function FNR_WORKFLOW_ARCHIVE() As IQueryable(Of FNR_WORKFLOW_ARCHIVEResult)
		Return Me.CreateMethodCallQuery(Of FNR_WORKFLOW_ARCHIVEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WORKFLOW_QUEUE", IsComposable:=true)>  _
	Public Function FNR_WORKFLOW_QUEUE() As IQueryable(Of FNR_WORKFLOW_QUEUEResult)
		Return Me.CreateMethodCallQuery(Of FNR_WORKFLOW_QUEUEResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WORKFLOW_SUBSCRIPTION", IsComposable:=true)>  _
	Public Function FNR_WORKFLOW_SUBSCRIPTION() As IQueryable(Of FNR_WORKFLOW_SUBSCRIPTIONResult)
		Return Me.CreateMethodCallQuery(Of FNR_WORKFLOW_SUBSCRIPTIONResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WORKFLOWDEF", IsComposable:=true)>  _
	Public Function FNR_WORKFLOWDEF() As IQueryable(Of FNR_WORKFLOWDEFResult)
		Return Me.CreateMethodCallQuery(Of FNR_WORKFLOWDEFResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WORKFLOWDEF_ACCESS", IsComposable:=true)>  _
	Public Function FNR_WORKFLOWDEF_ACCESS() As IQueryable(Of FNR_WORKFLOWDEF_ACCESSResult)
		Return Me.CreateMethodCallQuery(Of FNR_WORKFLOWDEF_ACCESSResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.FNR_WORKFLOWDEF_ACL", IsComposable:=true)>  _
	Public Function FNR_WORKFLOWDEF_ACL() As IQueryable(Of FNR_WORKFLOWDEF_ACLResult)
		Return Me.CreateMethodCallQuery(Of FNR_WORKFLOWDEF_ACLResult)(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_BUILDPICKLISTS")>  _
	Public Function PRC_ABL_BUILDPICKLISTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCONNECTOR_ENTITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCONNECTOR_ENTITYID, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_CHECKFORCONFLICTS"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CHECKFORCONFLICTSResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CHECKFORCONFLICTSResult2))>  _
	Public Function PRC_ABL_CHECKFORCONFLICTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="DBID", DbType:="UniqueIdentifier")> ByVal dBID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="RowStatus", DbType:="Char(1)")> ByVal rowStatus As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), dBID, rowStatus, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_CONVERT_ACCOUNTINGLINKS"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CONVERT_ACCOUNTINGLINKSResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CONVERT_ACCOUNTINGLINKSResult2))>  _
	Public Function PRC_ABL_CONVERT_ACCOUNTINGLINKS(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="CONNECTORID", DbType:="UniqueIdentifier")> ByVal cONNECTORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cONNECTORID, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_CREATEEXPLODEDPREFILTERVIEW"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CREATEEXPLODEDPREFILTERVIEWResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CREATEEXPLODEDPREFILTERVIEWResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_CREATEEXPLODEDPREFILTERVIEWResult3))>  _
	Public Function PRC_ABL_CREATEEXPLODEDPREFILTERVIEW(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="DBID", DbType:="UniqueIdentifier")> ByVal dBID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="RecordType", DbType:="NVarChar(50)")> ByVal recordType As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="XMLCols", DbType:="NVarChar(MAX)")> ByVal xMLCols As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), dBID, recordType, xMLCols, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_DELETE_LINK_AND_DEPENDENT"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_DELETE_LINK_AND_DEPENDENTResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_DELETE_LINK_AND_DEPENDENTResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_DELETE_LINK_AND_DEPENDENTResult3))>  _
	Public Function PRC_ABL_DELETE_LINK_AND_DEPENDENT(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="CONNECTOR_ENTITYID", DbType:="UniqueIdentifier")> ByVal cONNECTOR_ENTITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="BORECORDID", DbType:="NVarChar(64)")> ByVal bORECORDID As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="ACTRECORDID", DbType:="UniqueIdentifier")> ByVal aCTRECORDID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cONNECTOR_ENTITYID, bORECORDID, aCTRECORDID, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_INSERT_LINK_DEPENDENT"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_INSERT_LINK_DEPENDENTResult))>  _
	Public Function PRC_ABL_INSERT_LINK_DEPENDENT(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="PARENT_LINK_ROWID", DbType:="Int")> ByVal pARENT_LINK_ROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="BACKOFFICE_RECORDID", DbType:="NVarChar(64)")> ByVal bACKOFFICE_RECORDID As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="ACTRECORDID", DbType:="UniqueIdentifier")> ByVal aCTRECORDID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="ACTTABLEID", DbType:="UniqueIdentifier")> ByVal aCTTABLEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="ACTENTITYID", DbType:="UniqueIdentifier")> ByVal aCTENTITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), pARENT_LINK_ROWID, bACKOFFICE_RECORDID, aCTRECORDID, aCTTABLEID, aCTENTITYID, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_REMOVE_CONNECTORENTITY")>  _
	Public Function PRC_ABL_REMOVE_CONNECTORENTITY(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="CONNECTOR_ENTITYID", DbType:="UniqueIdentifier")> ByVal cONNECTOR_ENTITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cONNECTOR_ENTITYID, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ABL_REQUIRESCONVERSION"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_ABL_REQUIRESCONVERSIONResult))>  _
	Public Function PRC_ABL_REQUIRESCONVERSION(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="CONNECTION_STRING", DbType:="NVarChar(512)")> ByVal cONNECTION_STRING As String) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cONNECTION_STRING)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ADD_EVENTLOG")>  _
	Public Function PRC_ADD_EVENTLOG(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nEVENTLOGTYPEID As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef nEVENTLOGID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cEVENTSOURCE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uEVENTUSERID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nEVENTLOGTYPEID, nEVENTLOGID, cEVENTSOURCE, uEVENTUSERID)
		nEVENTLOGID = CType(result.GetParameterValue(1),System.Nullable(Of Integer))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_ADD_EVENTLOGDETAIL")>  _
	Public Function PRC_ADD_EVENTLOGDETAIL(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nEVENTLOGID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSTATUSNUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(2000)")> ByVal cDETAILS As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(500)")> ByVal cOLDVALUE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(500)")> ByVal cNEWVALUE As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nEVENTLOGID, nSTATUSNUM, cDETAILS, cOLDVALUE, cNEWVALUE)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_BI_Refresh_DIMs")>  _
	Public Function PRC_BI_Refresh_DIMs() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_BI_Refresh_History_FACT")>  _
	Public Function PRC_BI_Refresh_History_FACT() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_BI_Refresh_Opportunity_FACT")>  _
	Public Function PRC_BI_Refresh_Opportunity_FACT() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_CHANGE_TRACKING_INITIALIZE")>  _
	Public Function PRC_CHANGE_TRACKING_INITIALIZE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="Mode", DbType:="Int")> ByVal mode As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="DaysRetain", DbType:="Int")> ByVal daysRetain As System.Nullable(Of Integer)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), mode, daysRetain)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_CHK_COMPANYHIERARCHY")>  _
	Public Function PRC_CHK_COMPANYHIERARCHY(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOMPANYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uMANAGEUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uPARENTCOMPANYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISPRIVATE As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_CHK_COMPANYHIERARCHYResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOMPANYID, uMANAGEUSERID, uPARENTCOMPANYID, bISPRIVATE)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_CHK_COMPANYHIERARCHYResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_CHK_GROUPHIERARCHY")>  _
	Public Function PRC_CHK_GROUPHIERARCHY(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uGROUPID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISPRIVATE As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uMANAGEUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uPARENTGROUPID As System.Nullable(Of System.Guid)) As ISingleResult(Of PRC_CHK_GROUPHIERARCHYResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uGROUPID, bISPRIVATE, uMANAGEUSERID, uPARENTGROUPID)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_CHK_GROUPHIERARCHYResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_CLR_GET_ACTIVITIES")>  _
	Public Function PRC_CLR_GET_ACTIVITIES(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> ByVal cSTMT As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nTZOFFSET As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nFLAGS As System.Nullable(Of Integer)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cSTMT, nTZOFFSET, nFLAGS)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_CONVERT_GROUP_TO_COMPANY")>  _
	Public Function PRC_CONVERT_GROUP_TO_COMPANY(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uGROUPID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOMPANYID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uGROUPID, uCOMPANYID)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_CREATE_NEWUSER")>  _
	Public Function PRC_CREATE_NEWUSER(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cDBNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cFULLNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cLASTNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cFIRSTNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cNAMEPREFIX As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cNAMESUFFIX As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROLEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cUSERLOGIN As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(50)")> ByVal cPASSWORD As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bUSEPERSONALFILES As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cDBNAME, cFULLNAME, cLASTNAME, cFIRSTNAME, cNAMEPREFIX, cNAMESUFFIX, uROLEID, cUSERLOGIN, cPASSWORD, bUSEPERSONALFILES, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_DBFIX_RECOVER_GROUP")>  _
	Public Function PRC_DBFIX_RECOVER_GROUP(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_DEL_ACCESSOR")>  _
	Public Function PRC_DEL_ACCESSOR(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bRETAIN_CONTACT As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uEDITUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dEDITDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID, bRETAIN_CONTACT, uEDITUSERID, dEDITDATE, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_DEL_SYSCOLUMN"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_DEL_SYSCOLUMNResult))>  _
	Public Function PRC_DEL_SYSCOLUMN(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOLUMNID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(1)")> ByVal cACTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(10)")> ByRef cDELETE_STATUS As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(10)")> ByRef cDELETE_POSSIBLE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOLUMNID, cACTION, cDELETE_STATUS, cDELETE_POSSIBLE, bDEBUG)
		cDELETE_STATUS = CType(result.GetParameterValue(2),String)
		cDELETE_POSSIBLE = CType(result.GetParameterValue(3),String)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_DEL_SYSTABLE"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_DEL_SYSTABLEResult))>  _
	Public Function PRC_DEL_SYSTABLE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uTABLEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(1)")> ByVal cACTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(4)")> ByRef cDELETE_STATUS As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(4)")> ByRef cDELETE_POSSIBLE As String) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uTABLEID, cACTION, cDELETE_STATUS, cDELETE_POSSIBLE)
		cDELETE_STATUS = CType(result.GetParameterValue(2),String)
		cDELETE_POSSIBLE = CType(result.GetParameterValue(3),String)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_DEL_USERSESSION")>  _
	Public Function PRC_DEL_USERSESSION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uUSERSESSIONID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cHOSTNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cAPPLICATION As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID, uUSERSESSIONID, cHOSTNAME, cAPPLICATION)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_DELETE_SAMPLEGROUPS")>  _
	Public Function PRC_DELETE_SAMPLEGROUPS() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_dtSearch_FILTER_HITS"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_dtSearch_FILTER_HITSResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_dtSearch_FILTER_HITSResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_dtSearch_FILTER_HITSResult3)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_dtSearch_FILTER_HITSResult4))>  _
	Public Function PRC_dtSearch_FILTER_HITS(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="XML", DbType:="Xml")> ByVal xML As System.Xml.Linq.XElement, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="UserID", DbType:="UniqueIdentifier")> ByVal userID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal debug As System.Nullable(Of Byte)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), xML, userID, debug)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_GET_DBLOCKINFO")>  _
	Public Function PRC_GET_DBLOCKINFO(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uUSERSESSIONID As System.Nullable(Of System.Guid)) As ISingleResult(Of PRC_GET_DBLOCKINFOResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uUSERSESSIONID)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_GET_DBLOCKINFOResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_GET_SERVER_GMTDELTA")>  _
	Public Function PRC_GET_SERVER_GMTDELTA(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef nGMTDELTA As System.Nullable(Of Integer)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nGMTDELTA)
		nGMTDELTA = CType(result.GetParameterValue(0),System.Nullable(Of Integer))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_GET_USERSESSION")>  _
	Public Function PRC_GET_USERSESSION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cAPPLICATION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_GET_USERSESSIONResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cAPPLICATION, bDEBUG)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_GET_USERSESSIONResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_INSERT_SAMPLEGROUPS")>  _
	Public Function PRC_INSERT_SAMPLEGROUPS() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_INSERT_UNTITLEDCOMPANY")>  _
	Public Function PRC_INSERT_UNTITLEDCOMPANY() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_INSERT_UNTITLEDGROUP")>  _
	Public Function PRC_INSERT_UNTITLEDGROUP() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_DBLOCK")>  _
	Public Function PRC_MAINT_DBLOCK(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nLOCKTYPE As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nPENDING_MINUTES As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nREASONCODE As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(256)")> ByVal cCOMMENTS As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nLOCKTYPE, uACCESSORID, nPENDING_MINUTES, nREASONCODE, cCOMMENTS)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_DBSIZE"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_MAINT_DBSIZEResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_MAINT_DBSIZEResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_MAINT_DBSIZEResult3))>  _
	Public Function PRC_MAINT_DBSIZE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="cTYPE", DbType:="NVarChar(24)")> ByVal [cTYPE] As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), [cTYPE], bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_DROP_VIEW_FUNCTION")>  _
	Public Function PRC_MAINT_DROP_VIEW_FUNCTION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cPARM_TABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cPARM_TABLENAME, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_DROPCOLUMNCONSTRAINTS")>  _
	Public Function PRC_MAINT_DROPCOLUMNCONSTRAINTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, cCOLUMNNAME, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_DROPTABLECONSTRAINTS")>  _
	Public Function PRC_MAINT_DROPTABLECONSTRAINTS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nCHILD_PARENT As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bPRINT_DEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, nCHILD_PARENT, bPRINT_DEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_PURGE_EVENTLOGS")>  _
	Public Function PRC_MAINT_PURGE_EVENTLOGS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_MAINT_PURGE_EVENTLOGSResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), bDEBUG)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_MAINT_PURGE_EVENTLOGSResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_REINDEX")>  _
	Public Function PRC_MAINT_REINDEX(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISONLINE_REINDEX As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISVERBOSE As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, bISONLINE_REINDEX, bISVERBOSE, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_REINDEXCHECK")>  _
	Public Function PRC_MAINT_REINDEXCHECK(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByRef nRECOMMENDATION As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISVERBOSE As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_MAINT_REINDEXCHECKResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, nRECOMMENDATION, bISVERBOSE, bDEBUG)
		nRECOMMENDATION = CType(result.GetParameterValue(1),System.Nullable(Of Byte))
		Return CType(result.ReturnValue,ISingleResult(Of PRC_MAINT_REINDEXCHECKResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_UPDATESTATISTICS")>  _
	Public Function PRC_MAINT_UPDATESTATISTICS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(16)")> ByVal cUPDATE_TYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, cUPDATE_TYPE, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAINT_WHOLOCK"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_MAINT_WHOLOCKResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_MAINT_WHOLOCKResult2))>  _
	Public Function PRC_MAINT_WHOLOCK() As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAKE_ASSOC_INSTRIGGER")>  _
	Public Function PRC_MAKE_ASSOC_INSTRIGGER(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cPARM_TABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cPARM_TABLENAME, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_MAKE_ENTITYACCESSORS_FUNCTION")>  _
	Public Function PRC_MAKE_ENTITYACCESSORS_FUNCTION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cPARM_TABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cPARM_TABLENAME, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SET_ACTIVEDATABASE")>  _
	Public Function PRC_SET_ACTIVEDATABASE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cDATABASENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dLOGONDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cHOSTNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cACTUSER As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cAPPNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cAPPVERSION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(256)")> ByVal cLOGONCOMMENT As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cDATABASENAME, dLOGONDATE, cHOSTNAME, cACTUSER, cAPPNAME, cAPPVERSION, cLOGONCOMMENT)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SET_SQLTRACE")>  _
	Public Function PRC_SET_SQLTRACE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(64)")> ByVal cOBJECTNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(128)")> ByVal cMISC_INFO As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(MAX)")> ByVal cSQLSTMT As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cOBJECTNAME, cMISC_INFO, cSQLSTMT)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SET_USERLOGONHISTORY")>  _
	Public Function PRC_SET_USERLOGONHISTORY(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSTATUSNUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(12)")> ByVal cACTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cAPPLICATIONNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cAPPLICATIONVERSION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cMACHINENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cMACHINEIPADDRESS As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cMACHINEUSERNAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSTATUSNUM, uUSERID, cACTION, cAPPLICATIONNAME, cAPPLICATIONVERSION, cMACHINENAME, cMACHINEIPADDRESS, cMACHINEUSERNAME)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SET_USERSESSION")>  _
	Public Function PRC_SET_USERSESSION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cAPPLICATION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="VarChar(12)")> ByVal cACTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uUSERSESSIONID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cHOSTNAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cAPPLICATION, uACCESSORID, cACTION, uUSERSESSIONID, cHOSTNAME)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_ADDCHILDDB")>  _
	Public Function PRC_SYNC_ADDCHILDDB(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCSETID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(128)")> ByVal cCHILDDB As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByRef uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISSUPPFILESYNC As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISATTACHSYNC As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISINCLUDEATTACH As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nMAXATTACHBYTES As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nEXPIREDAYS As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nEXPIREACTION As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cDEVICE_SERIALNUM As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cSYNC_SERVER_MACHINE_NAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nSYNC_SERVER_PORT As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(256)")> ByVal cWEB_SERVER_ADDRESS As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSYNCSETID, cCHILDDB, uSYNCDBGUID, uACCESSORID, bISSUPPFILESYNC, bISATTACHSYNC, bISINCLUDEATTACH, nMAXATTACHBYTES, nEXPIREDAYS, nEXPIREACTION, nTYPENUM, cDEVICE_SERIALNUM, cSYNC_SERVER_MACHINE_NAME, nSYNC_SERVER_PORT, cWEB_SERVER_ADDRESS)
		uSYNCDBGUID = CType(result.GetParameterValue(2),System.Nullable(Of System.Guid))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_CHECK4CHANGE"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_CHECK4CHANGEResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_CHECK4CHANGEResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_CHECK4CHANGEResult3)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_CHECK4CHANGEResult4))>  _
	Public Function PRC_SYNC_CHECK4CHANGE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByRef bHAS_DATA_CHANGED As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTABLE_LEVEL As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSYNCDBGUID, bHAS_DATA_CHANGED, nTABLE_LEVEL, bDEBUG)
		bHAS_DATA_CHANGED = CType(result.GetParameterValue(1),System.Nullable(Of Boolean))
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_CTLADD")>  _
	Public Function PRC_SYNC_CTLADD(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cSYNCHDR_TABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dSYNCHDR_ACTIONDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(2)")> ByVal cSYNCHDR_ACTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCHDR_ORIGDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROWID1 As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROWID2 As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROWID3 As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef nRETURN As System.Nullable(Of Integer)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cSYNCHDR_TABLENAME, dSYNCHDR_ACTIONDATE, cSYNCHDR_ACTION, nSYNCHDR_ORIGDBID, uROWID1, uROWID2, uROWID3, nRETURN)
		nRETURN = CType(result.GetParameterValue(7),System.Nullable(Of Integer))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_CTLDELETE")>  _
	Public Function PRC_SYNC_CTLDELETE( _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cSYNCHDR_TABLENAME As String,  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dSYNCHDR_ACTIONDATE As System.Nullable(Of Date),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Char(2)")> ByVal cSYNCHDR_ACTION As String,  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCHDR_ORIGDBID As System.Nullable(Of Short),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROWID1 As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROWID2 As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uROWID3 As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCONTACTID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uGROUPID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOMPANYID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uTYPEID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACTIVITYID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uNOTEID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uHISTORYID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uOPPORTUNITYID As System.Nullable(Of System.Guid),  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(512)")> ByVal cROWINFO As String,  _
				<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef nRETURN As System.Nullable(Of Integer)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cSYNCHDR_TABLENAME, dSYNCHDR_ACTIONDATE, cSYNCHDR_ACTION, nSYNCHDR_ORIGDBID, uROWID1, uROWID2, uROWID3, uCONTACTID, uGROUPID, uCOMPANYID, uTYPEID, uACTIVITYID, uNOTEID, uHISTORYID, uOPPORTUNITYID, cROWINFO, nRETURN)
		nRETURN = CType(result.GetParameterValue(16),System.Nullable(Of Integer))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_DEL_SYNCDB")>  _
	Public Function PRC_SYNC_DEL_SYNCDB(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(392)")> ByVal cSYNCDBNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSTATUSNUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uEDITUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dEDITDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSYNCDBGUID, nSYNCDBID, cSYNCDBNAME, nSTATUSNUM, uEDITUSERID, dEDITDATE, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_DISABLE_LITE")>  _
	Public Function PRC_SYNC_DISABLE_LITE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_ENABLE_LITE")>  _
	Public Function PRC_SYNC_ENABLE_LITE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uACCESSORID)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_ENABLETRIGGERS")>  _
	Public Function PRC_SYNC_ENABLETRIGGERS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cPARM_TABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(24)")> ByVal cENABLE_TRIGGER As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cPARM_TABLENAME, cENABLE_TRIGGER, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_EXPIREDATABASE"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_EXPIREDATABASEResult))>  _
	Public Function PRC_SYNC_EXPIREDATABASE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uEDITUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dEDITDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uEDITUSERID, dEDITDATE, uSYNCDBGUID, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_LOOKUPLASTSYNC"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_LOOKUPLASTSYNCResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_LOOKUPLASTSYNCResult2))>  _
	Public Function PRC_SYNC_LOOKUPLASTSYNC(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cLOOKUP_TYPE As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cSEARCH_ENTITY As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nREMOTEDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dSEARCH_FROMDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dSEARCH_TODATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bSEARCH_OPPS As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bSEARCH_HIST As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bSEARCH_NOTES As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bSEARCH_ACTIVITIES As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uACCESSORID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cLOOKUP_TYPE, cSEARCH_ENTITY, nREMOTEDBID, dSEARCH_FROMDATE, dSEARCH_TODATE, bSEARCH_OPPS, bSEARCH_HIST, bSEARCH_NOTES, bSEARCH_ACTIVITIES, uACCESSORID, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PROCESS_CHK4LUIDS")>  _
	Public Function PRC_SYNC_PROCESS_CHK4LUIDS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBMAPID As System.Nullable(Of Short)) As ISingleResult(Of PRC_SYNC_PROCESS_CHK4LUIDSResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSYNCDBMAPID)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_SYNC_PROCESS_CHK4LUIDSResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PROCESS_COMPLETE")>  _
	Public Function PRC_SYNC_PROCESS_COMPLETE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBMAPID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_SYNC_PROCESS_COMPLETEResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSYNCDBMAPID, bDEBUG)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_SYNC_PROCESS_COMPLETEResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PROCESS_FILE")>  _
	Public Function PRC_SYNC_PROCESS_FILE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBMAPID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nSTART_ORDINAL As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nEND_ORDINAL As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_SYNC_PROCESS_FILEResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSYNCDBMAPID, nSYNCDBID, nSTART_ORDINAL, nEND_ORDINAL, bDEBUG)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_SYNC_PROCESS_FILEResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PROCESS_INITDELETE")>  _
	Public Function PRC_SYNC_PROCESS_INITDELETE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBMAPID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nREMOTEDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nLOCALDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(12)")> ByVal cDIRECTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nLAST_DELSYNCROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nNEXT_DELSYNCROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dLAST_SUCCESSDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dNEXT_SESSIONDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nLAST_SESSIONID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nNEXT_SESSIONID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSYNCDB_TYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSYNCDBMAPID, nREMOTEDBID, nLOCALDBID, cDIRECTION, uSYNCDBGUID, nLAST_DELSYNCROWID, nNEXT_DELSYNCROWID, dLAST_SUCCESSDATE, dNEXT_SESSIONDATE, nLAST_SESSIONID, nNEXT_SESSIONID, nSYNCDB_TYPENUM, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PROCESS_INITDEVICE_MEMBERS")>  _
	Public Function PRC_SYNC_PROCESS_INITDEVICE_MEMBERS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBMAPID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDB_TYPENUM As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCSETID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nLAST_ADDSYNCROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nNEXT_ADDSYNCROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nLAST_DELSYNCROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nNEXT_DELSYNCROWID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nNEXT_SESSIONID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSYNCDBMAPID, nSYNCDB_TYPENUM, uSYNCSETID, nLAST_ADDSYNCROWID, nNEXT_ADDSYNCROWID, nLAST_DELSYNCROWID, nNEXT_DELSYNCROWID, nNEXT_SESSIONID, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PROCESS_INITUPDATE")>  _
	Public Function PRC_SYNC_PROCESS_INITUPDATE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nSYNCDBMAPID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nREMOTEDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nLOCALDBID As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(12)")> ByVal cDIRECTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dLAST_UPDSENDDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dNEXT_UPDSENDDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dLAST_SUCCESSDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dNEXT_SESSIONDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nLAST_SESSIONID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nNEXT_SESSIONID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSYNCDB_TYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nSYNCDBMAPID, nREMOTEDBID, nLOCALDBID, cDIRECTION, uSYNCDBGUID, dLAST_UPDSENDDATE, dNEXT_UPDSENDDATE, dLAST_SUCCESSDATE, dNEXT_SESSIONDATE, nLAST_SESSIONID, nNEXT_SESSIONID, nSYNCDB_TYPENUM, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PRUNE_DATA")>  _
	Public Function PRC_SYNC_PRUNE_DATA(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCSETID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSYNCSETID)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_PURGELOGS"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult3)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult4)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult5)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult6)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_SYNC_PURGELOGSResult7))>  _
	Public Function PRC_SYNC_PURGELOGS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uEDITUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dEDITDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uEDITUSERID, dEDITDATE, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_RENAME_FILE")>  _
	Public Function PRC_SYNC_RENAME_FILE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(512)")> ByVal cOLD_FILENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(512)")> ByVal cNEW_FILENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nORDINAL As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nFOLDERID As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cOLD_FILENAME, cNEW_FILENAME, nORDINAL, nFOLDERID, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_SET_LOCALSYNCDBID")>  _
	Public Function PRC_SYNC_SET_LOCALSYNCDBID(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByRef uGLOBAL_DBID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef nSYNCDBID As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISSUPPFILESYNC As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISATTACHSYNC As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByVal nMAXATTACHBYTES As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="SmallInt")> ByVal nEXPIREDAYS As System.Nullable(Of Short), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nTYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cDEVICE_SERIALNUM As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uGLOBAL_DBID, nSYNCDBID, bISSUPPFILESYNC, bISATTACHSYNC, nMAXATTACHBYTES, nEXPIREDAYS, nTYPENUM, cDEVICE_SERIALNUM)
		uGLOBAL_DBID = CType(result.GetParameterValue(0),System.Nullable(Of System.Guid))
		nSYNCDBID = CType(result.GetParameterValue(1),System.Nullable(Of Integer))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_SNAPSHOT")>  _
	Public Function PRC_SYNC_SNAPSHOT(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uSYNCDBGUID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dSNAPSHOTDT As System.Nullable(Of Date)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSYNCDBGUID, dSNAPSHOTDT)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_UPD_DEVICETABLE")>  _
	Public Function PRC_SYNC_UPD_DEVICETABLE() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYNC_UPDLUIDS")>  _
	Public Function PRC_SYNC_UPDLUIDS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nPOPULATE As System.Nullable(Of Byte)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), nPOPULATE)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_SYS_ADDSYSTEMTEAMS")>  _
	Public Function PRC_SYS_ADDSYSTEMTEAMS() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_ACCESSORACL_LITE")>  _
	Public Function PRC_UPD_ACCESSORACL_LITE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_ACCESSORVIRTUALS_LITE")>  _
	Public Function PRC_UPD_ACCESSORVIRTUALS_LITE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_CALCCOLUMN_LITE")>  _
	Public Function PRC_UPD_CALCCOLUMN_LITE() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_CALCCOLUMN_LOCALIZE")>  _
	Public Function PRC_UPD_CALCCOLUMN_LOCALIZE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_DBCONFIG")>  _
	Public Function PRC_UPD_DBCONFIG() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_DROPADD_COLUMNKEYS")>  _
	Public Function PRC_UPD_DROPADD_COLUMNKEYS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cCOLUMNNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(12)")> ByVal cACTION As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, cCOLUMNNAME, cACTION, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_LINKED_CONTACTFIELDS")>  _
	Public Function PRC_UPD_LINKED_CONTACTFIELDS(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOMPANYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uEDITUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal dEDITDATE As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCONTACTID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_UPD_LINKED_CONTACTFIELDSResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOMPANYID, uEDITUSERID, dEDITDATE, uCONTACTID, bDEBUG)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_UPD_LINKED_CONTACTFIELDSResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_ROLE_PERMISSION")>  _
	Public Function PRC_UPD_ROLE_PERMISSION() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_SYSCOLUMN_ACL"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_UPD_SYSCOLUMN_ACLResult))>  _
	Public Function PRC_UPD_SYSCOLUMN_ACL(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uCOLUMNID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bISRESET As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uCOLUMNID, bISRESET, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_TABLECOLUMN_LITE")>  _
	Public Function PRC_UPD_TABLECOLUMN_LITE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_TABLEDOMAIN")>  _
	Public Function PRC_UPD_TABLEDOMAIN() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_TABLEKEY")>  _
	Public Function PRC_UPD_TABLEKEY() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_TABLERELATION")>  _
	Public Function PRC_UPD_TABLERELATION(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_VIEWTABLE_LOCALIZE")>  _
	Public Function PRC_UPD_VIEWTABLE_LOCALIZE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_VIEWTABLE_METADATA")>  _
	Public Function PRC_UPD_VIEWTABLE_METADATA() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_VIRTUALCOLUMN_LITE"),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_UPD_VIRTUALCOLUMN_LITEResult1)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_UPD_VIRTUALCOLUMN_LITEResult2)),  _
	 Global.System.Data.Linq.Mapping.ResultTypeAttribute(GetType(PRC_UPD_VIRTUALCOLUMN_LITEResult3))>  _
	Public Function PRC_UPD_VIRTUALCOLUMN_LITE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As IMultipleResults
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, bDEBUG)
		Return CType(result.ReturnValue,IMultipleResults)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UPD_VIRTUALCOLUMN_LOCALE")>  _
	Public Function PRC_UPD_VIRTUALCOLUMN_LOCALE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(32)")> ByVal cTABLENAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As ISingleResult(Of PRC_UPD_VIRTUALCOLUMN_LOCALEResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cTABLENAME, bDEBUG)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_UPD_VIRTUALCOLUMN_LOCALEResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UTIL_COPYDATA_SCHEMA")>  _
	Public Function PRC_UTIL_COPYDATA_SCHEMA(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cNEWDBNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSYNCDB_TYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cNEWDBNAME, nSYNCDB_TYPENUM, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UTIL_COPYDATA_USER")>  _
	Public Function PRC_UTIL_COPYDATA_USER(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="NVarChar(64)")> ByVal cNEWDBNAME As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal nSYNCDB_TYPENUM As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bUNVERIFY_ALLUSERS As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cNEWDBNAME, nSYNCDB_TYPENUM, bUNVERIFY_ALLUSERS, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_UTIL_DBWARMUP_QUERIES")>  _
	Public Function PRC_UTIL_DBWARMUP_QUERIES() As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_DELETE_COMPLETEDSCOPE")>  _
	Public Function PRC_WF_DELETE_COMPLETEDSCOPE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="COMPLETEDSCOPEID", DbType:="UniqueIdentifier")> ByVal cOMPLETEDSCOPEID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cOMPLETEDSCOPEID)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_INSERT_COMPLETEDSCOPE")>  _
	Public Function PRC_WF_INSERT_COMPLETEDSCOPE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal instanceID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="COMPLETEDSCOPEID", DbType:="UniqueIdentifier")> ByVal cOMPLETEDSCOPEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="STATE", DbType:="VarBinary(MAX)")> ByVal sTATE As System.Data.Linq.Binary) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), instanceID, cOMPLETEDSCOPEID, sTATE)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_INSERT_INSTANCESTATE")>  _
	Public Function PRC_WF_INSERT_INSTANCESTATE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INSTANCESTATEID", DbType:="UniqueIdentifier")> ByVal iNSTANCESTATEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="STATE", DbType:="Image")> ByVal sTATE As System.Data.Linq.Binary, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="STATUSNUM", DbType:="Int")> ByVal sTATUSNUM As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="ISUNLOCKED", DbType:="Bit")> ByVal iSUNLOCKED As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="ISBLOCKED", DbType:="Bit")> ByVal iSBLOCKED As System.Nullable(Of Boolean), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INFO", DbType:="NText")> ByVal iNFO As String, <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNERID", DbType:="UniqueIdentifier")> ByVal oWNERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNEDUNTIL", DbType:="DateTime")> ByVal oWNEDUNTIL As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="NEXTTIMER", DbType:="DateTime")> ByVal nEXTTIMER As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef result As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByRef currentOwnerID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result1 As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), iNSTANCESTATEID, sTATE, sTATUSNUM, iSUNLOCKED, iSBLOCKED, iNFO, oWNERID, oWNEDUNTIL, nEXTTIMER, uSERID, result, currentOwnerID)
		result = CType(result1.GetParameterValue(10),System.Nullable(Of Integer))
		currentOwnerID = CType(result1.GetParameterValue(11),System.Nullable(Of System.Guid))
		Return CType(result1.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_RETRIEVE_A_NONBLOCKING_INSTANCESTATEID")>  _
	Public Function PRC_WF_RETRIEVE_A_NONBLOCKING_INSTANCESTATEID(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNERID", DbType:="UniqueIdentifier")> ByVal oWNERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNEDUNTIL", DbType:="DateTime")> ByVal oWNEDUNTIL As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INSTANCESTATEID", DbType:="UniqueIdentifier")> ByRef iNSTANCESTATEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByRef found As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSERID, oWNERID, oWNEDUNTIL, iNSTANCESTATEID, found)
		iNSTANCESTATEID = CType(result.GetParameterValue(3),System.Nullable(Of System.Guid))
		found = CType(result.GetParameterValue(4),System.Nullable(Of Boolean))
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_RETRIEVE_ALL_INSTANCEDESCRIPTIONS")>  _
	Public Function PRC_WF_RETRIEVE_ALL_INSTANCEDESCRIPTIONS(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid)) As ISingleResult(Of PRC_WF_RETRIEVE_ALL_INSTANCEDESCRIPTIONSResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSERID)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_WF_RETRIEVE_ALL_INSTANCEDESCRIPTIONSResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_RETRIEVE_COMPLETEDSCOPE")>  _
	Public Function PRC_WF_RETRIEVE_COMPLETEDSCOPE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="COMPLETEDSCOPEID", DbType:="UniqueIdentifier")> ByVal cOMPLETEDSCOPEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef result As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="STATE", DbType:="VarBinary(MAX)")> ByRef sTATE As System.Data.Linq.Binary) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result1 As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), cOMPLETEDSCOPEID, result, sTATE)
		result = CType(result1.GetParameterValue(1),System.Nullable(Of Integer))
		sTATE = CType(result1.GetParameterValue(2),System.Data.Linq.Binary)
		Return CType(result1.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_RETRIEVE_EXPIREDTIMERIDS")>  _
	Public Function PRC_WF_RETRIEVE_EXPIREDTIMERIDS(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNERID", DbType:="UniqueIdentifier")> ByVal oWNERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNEDUNTIL", DbType:="DateTime")> ByVal oWNEDUNTIL As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal now As System.Nullable(Of Date)) As ISingleResult(Of PRC_WF_RETRIEVE_EXPIREDTIMERIDSResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSERID, oWNERID, oWNEDUNTIL, now)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_WF_RETRIEVE_EXPIREDTIMERIDSResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_RETRIEVE_INSTANCESTATE")>  _
	Public Function PRC_WF_RETRIEVE_INSTANCESTATE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INSTANCESTATEID", DbType:="UniqueIdentifier")> ByVal iNSTANCESTATEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNERID", DbType:="UniqueIdentifier")> ByVal oWNERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNEDUNTIL", DbType:="DateTime")> ByVal oWNEDUNTIL As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> ByRef result As System.Nullable(Of Integer), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="STATE", DbType:="VarBinary(MAX)")> ByRef sTATE As System.Data.Linq.Binary, <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByRef currentOwnerID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result1 As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), iNSTANCESTATEID, uSERID, oWNERID, oWNEDUNTIL, result, sTATE, currentOwnerID)
		result = CType(result1.GetParameterValue(4),System.Nullable(Of Integer))
		sTATE = CType(result1.GetParameterValue(5),System.Data.Linq.Binary)
		currentOwnerID = CType(result1.GetParameterValue(6),System.Nullable(Of System.Guid))
		Return CType(result1.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_RETRIEVE_NONBLOCKING_INSTANCESTATEIDS")>  _
	Public Function PRC_WF_RETRIEVE_NONBLOCKING_INSTANCESTATEIDS(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNERID", DbType:="UniqueIdentifier")> ByVal oWNERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNEDUNTIL", DbType:="DateTime")> ByVal oWNEDUNTIL As System.Nullable(Of Date), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="DateTime")> ByVal now As System.Nullable(Of Date)) As ISingleResult(Of PRC_WF_RETRIEVE_NONBLOCKING_INSTANCESTATEIDSResult)
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uSERID, oWNERID, oWNEDUNTIL, now)
		Return CType(result.ReturnValue,ISingleResult(Of PRC_WF_RETRIEVE_NONBLOCKING_INSTANCESTATEIDSResult))
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WF_UNLOCK_INSTANCESTATE")>  _
	Public Function PRC_WF_UNLOCK_INSTANCESTATE(<Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="INSTANCESTATEID", DbType:="UniqueIdentifier")> ByVal iNSTANCESTATEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="USERID", DbType:="UniqueIdentifier")> ByVal uSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(Name:="OWNERID", DbType:="UniqueIdentifier")> ByVal oWNERID As System.Nullable(Of System.Guid)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), iNSTANCESTATEID, uSERID, oWNERID)
		Return CType(result.ReturnValue,Integer)
	End Function
	
	<Global.System.Data.Linq.Mapping.FunctionAttribute(Name:="dbo.PRC_WORKFLOW_POPULATE_ARCHIVE")>  _
	Public Function PRC_WORKFLOW_POPULATE_ARCHIVE(<Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uINSTANCEID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uUSERID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uENTITYID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="UniqueIdentifier")> ByVal uWORKFLOWDEFID As System.Nullable(Of System.Guid), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="TinyInt")> ByVal iSTATUS As System.Nullable(Of Byte), <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Bit")> ByVal bDEBUG As System.Nullable(Of Boolean)) As <Global.System.Data.Linq.Mapping.ParameterAttribute(DbType:="Int")> Integer
		Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), uINSTANCEID, uUSERID, uENTITYID, uWORKFLOWDEFID, iSTATUS, bDEBUG)
		Return CType(result.ReturnValue,Integer)
	End Function
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACCESSOR")>  _
Partial Public Class ACCESSOR
	
	Private _ACCESSORID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _TYPENUM As Byte
	
	Private _ACCESSOR_TYPE As String
	
	Private _STATUS As String
	
	Private _RECORD_CREATOR As String
	
	Private _LAST_EDITED_BY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_TYPE", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESSOR_TYPE() As String
		Get
			Return Me._ACCESSOR_TYPE
		End Get
		Set
			If (String.Equals(Me._ACCESSOR_TYPE, value) = false) Then
				Me._ACCESSOR_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACT_COLUMNS")>  _
Partial Public Class ACT_COLUMNS
	
	Private _PROVIDER_VIEWNAME As String
	
	Private _VIEWNAME As String
	
	Private _FUNCTIONCOLUMN As String
	
	Private _DISPLAYNAME As String
	
	Private _PHYSICAL_COLUMN As String
	
	Private _ACTDATATYPE As String
	
	Private _PHYDATATYPE As String
	
	Private _DESCRIPTION As String
	
	Private _IS_CONVERT_UTC2LOCAL_TIME As Integer
	
	Private _LENGTH As System.Nullable(Of Integer)
	
	Private _DECIMALPRECISION As System.Nullable(Of Integer)
	
	Private _IS_DERIVED As System.Nullable(Of Boolean)
	
	Private _ISVIEWCOLUMN As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				Me._PROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONCOLUMN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FUNCTIONCOLUMN() As String
		Get
			Return Me._FUNCTIONCOLUMN
		End Get
		Set
			If (String.Equals(Me._FUNCTIONCOLUMN, value) = false) Then
				Me._FUNCTIONCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHYSICAL_COLUMN", DbType:="NVarChar(97)")>  _
	Public Property PHYSICAL_COLUMN() As String
		Get
			Return Me._PHYSICAL_COLUMN
		End Get
		Set
			If (String.Equals(Me._PHYSICAL_COLUMN, value) = false) Then
				Me._PHYSICAL_COLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHYDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PHYDATATYPE() As String
		Get
			Return Me._PHYDATATYPE
		End Get
		Set
			If (String.Equals(Me._PHYDATATYPE, value) = false) Then
				Me._PHYDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CONVERT_UTC2LOCAL_TIME", DbType:="Int NOT NULL")>  _
	Public Property IS_CONVERT_UTC2LOCAL_TIME() As Integer
		Get
			Return Me._IS_CONVERT_UTC2LOCAL_TIME
		End Get
		Set
			If ((Me._IS_CONVERT_UTC2LOCAL_TIME = value)  _
						= false) Then
				Me._IS_CONVERT_UTC2LOCAL_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTH", DbType:="Int")>  _
	Public Property LENGTH() As System.Nullable(Of Integer)
		Get
			Return Me._LENGTH
		End Get
		Set
			If (Me._LENGTH.Equals(value) = false) Then
				Me._LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DECIMALPRECISION", DbType:="Int")>  _
	Public Property DECIMALPRECISION() As System.Nullable(Of Integer)
		Get
			Return Me._DECIMALPRECISION
		End Get
		Set
			If (Me._DECIMALPRECISION.Equals(value) = false) Then
				Me._DECIMALPRECISION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DERIVED", DbType:="Bit")>  _
	Public Property IS_DERIVED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DERIVED
		End Get
		Set
			If (Me._IS_DERIVED.Equals(value) = false) Then
				Me._IS_DERIVED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVIEWCOLUMN", DbType:="Bit")>  _
	Public Property ISVIEWCOLUMN() As System.Nullable(Of Boolean)
		Get
			Return Me._ISVIEWCOLUMN
		End Get
		Set
			If (Me._ISVIEWCOLUMN.Equals(value) = false) Then
				Me._ISVIEWCOLUMN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACT_DATABASE_CONFIG")>  _
Partial Public Class ACT_DATABASE_CONFIG
	
	Private _SECTION As String
	
	Private _NAME As String
	
	Private _DISPLAYNAME As String
	
	Private _CONFIGVALUE As String
	
	Private _DESCRIPTION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECTION", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property SECTION() As String
		Get
			Return Me._SECTION
		End Get
		Set
			If (String.Equals(Me._SECTION, value) = false) Then
				Me._SECTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(72)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(3000)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFIGVALUE", DbType:="NVarChar(4000)")>  _
	Public Property CONFIGVALUE() As String
		Get
			Return Me._CONFIGVALUE
		End Get
		Set
			If (String.Equals(Me._CONFIGVALUE, value) = false) Then
				Me._CONFIGVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(1024)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACT_FOREIGN_KEYS")>  _
Partial Public Class ACT_FOREIGN_KEYS
	
	Private _FK_TABLE_NAME As String
	
	Private _FK_COLUMN_NAME As String
	
	Private _FK_COLUMN_GUID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _FK_NAME As String
	
	Private _PK_TABLE_NAME As String
	
	Private _PK_COLUMN_NAME As String
	
	Private _PK_COLUMN_GUID As System.Guid
	
	Private _PK_NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FK_TABLE_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FK_TABLE_NAME() As String
		Get
			Return Me._FK_TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._FK_TABLE_NAME, value) = false) Then
				Me._FK_TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FK_COLUMN_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FK_COLUMN_NAME() As String
		Get
			Return Me._FK_COLUMN_NAME
		End Get
		Set
			If (String.Equals(Me._FK_COLUMN_NAME, value) = false) Then
				Me._FK_COLUMN_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FK_COLUMN_GUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property FK_COLUMN_GUID() As System.Guid
		Get
			Return Me._FK_COLUMN_GUID
		End Get
		Set
			If ((Me._FK_COLUMN_GUID = value)  _
						= false) Then
				Me._FK_COLUMN_GUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FK_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FK_NAME() As String
		Get
			Return Me._FK_NAME
		End Get
		Set
			If (String.Equals(Me._FK_NAME, value) = false) Then
				Me._FK_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PK_TABLE_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PK_TABLE_NAME() As String
		Get
			Return Me._PK_TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._PK_TABLE_NAME, value) = false) Then
				Me._PK_TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PK_COLUMN_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PK_COLUMN_NAME() As String
		Get
			Return Me._PK_COLUMN_NAME
		End Get
		Set
			If (String.Equals(Me._PK_COLUMN_NAME, value) = false) Then
				Me._PK_COLUMN_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PK_COLUMN_GUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PK_COLUMN_GUID() As System.Guid
		Get
			Return Me._PK_COLUMN_GUID
		End Get
		Set
			If ((Me._PK_COLUMN_GUID = value)  _
						= false) Then
				Me._PK_COLUMN_GUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PK_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PK_NAME() As String
		Get
			Return Me._PK_NAME
		End Get
		Set
			If (String.Equals(Me._PK_NAME, value) = false) Then
				Me._PK_NAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACT_LOCALSTRING")>  _
Partial Public Class ACT_LOCALSTRING
	
	Private _STRINGKEY As String
	
	Private _STRINGVALUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STRINGKEY", DbType:="NVarChar(128)")>  _
	Public Property STRINGKEY() As String
		Get
			Return Me._STRINGKEY
		End Get
		Set
			If (String.Equals(Me._STRINGKEY, value) = false) Then
				Me._STRINGKEY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STRINGVALUE", DbType:="NVarChar(3000) NOT NULL", CanBeNull:=false)>  _
	Public Property STRINGVALUE() As String
		Get
			Return Me._STRINGVALUE
		End Get
		Set
			If (String.Equals(Me._STRINGVALUE, value) = false) Then
				Me._STRINGVALUE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACT_PRIMARY_KEYS")>  _
Partial Public Class ACT_PRIMARY_KEYS
	
	Private _TABLE_NAME As String
	
	Private _COLUMN_NAME As String
	
	Private _COLUMN_GUID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _PK_NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_NAME() As String
		Get
			Return Me._TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._TABLE_NAME, value) = false) Then
				Me._TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMN_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMN_NAME() As String
		Get
			Return Me._COLUMN_NAME
		End Get
		Set
			If (String.Equals(Me._COLUMN_NAME, value) = false) Then
				Me._COLUMN_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMN_GUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMN_GUID() As System.Guid
		Get
			Return Me._COLUMN_GUID
		End Get
		Set
			If ((Me._COLUMN_GUID = value)  _
						= false) Then
				Me._COLUMN_GUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PK_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PK_NAME() As String
		Get
			Return Me._PK_NAME
		End Get
		Set
			If (String.Equals(Me._PK_NAME, value) = false) Then
				Me._PK_NAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACT_TABLES")>  _
Partial Public Class ACT_TABLES
	
	Private _PROVIDER_VIEWNAME As String
	
	Private _VIEWNAME As String
	
	Private _ISDISPLAYED As Boolean
	
	Private _DISPLAYNAME As String
	
	Private _DESCRIPTION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				Me._PROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(1024)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACTIVITY")>  _
Partial Public Class ACTIVITY
	
	Private _ACTIVITYID As System.Guid
	
	Private _ACCESSOR_ACTIVITYID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ACTIVITYSERIESAPPLIEDID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYTYPEID As Short
	
	Private _ALARMCLEARED_DATES As String
	
	Private _IS_ALARMED As Boolean
	
	Private _IS_ALL_DAY_BANNER As Boolean
	
	Private _BANNER_COLOR As System.Nullable(Of Integer)
	
	Private _IS_EVENT As Boolean
	
	Private _CLEARED_DATES As String
	
	Private _CREATE_DATE As Date
	
	Private _DELETED_DATES As String
	
	Private _DETAILS As String
	
	Private _DURATION As System.Nullable(Of Integer)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _END_DATE_TIME As Date
	
	Private _EXTERNAL_ID As String
	
	Private _IS_INVITATION_SENT As Boolean
	
	Private _IS_ACKNOWLEDGED As Boolean
	
	Private _IS_BASE_RECORD As Boolean
	
	Private _IS_DELETED As Boolean
	
	Private _LAST_EDITED_BY As String
	
	Private _LEAD_MINUTES As System.Nullable(Of Integer)
	
	Private _LOCATION As String
	
	Private _ORGANIZER As String
	
	Private _ACTIVITYPRIORITYID As Byte
	
	Private _IS_PRIVATE As Byte
	
	Private _RECORD_CREATOR As String
	
	Private _RECURRING_END_DATE As Date
	
	Private _IS_RECURENDLESS As Boolean
	
	Private _REGARDING As String
	
	Private _START_DATE_TIME As Date
	
	Private _STATUSEXCEPTION_DATES As String
	
	Private _IS_TIMELESS As Boolean
	
	Private _TZ_BIAS As Short
	
	Private _TZ_DAYLIGHT_BIAS As Short
	
	Private _TZ_STANDARD_BIAS As Short
	
	Private _WF_CONTEXTID As System.Nullable(Of System.Guid)
	
	Private _WF_INSTANCEID As System.Nullable(Of System.Guid)
	
	Private _ALARMED As String
	
	Private _ALL_DAY_BANNER As String
	
	Private _ACKNOWLEDGED As String
	
	Private _BASE_RECORD As String
	
	Private _EVENT As String
	
	Private _INVITATION_SENT As String
	
	Private _DELETED As String
	
	Private _PRIVATE As String
	
	Private _RECURENDLESS As String
	
	Private _TIMELESS As String
	
	Private _IS_CLEARED As System.Nullable(Of Boolean)
	
	Private _CLEARED As String
	
	Private _ACTIVITY_TYPE As String
	
	Private _PRIORITY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSOR_ACTIVITYID() As System.Guid
		Get
			Return Me._ACCESSOR_ACTIVITYID
		End Get
		Set
			If ((Me._ACCESSOR_ACTIVITYID = value)  _
						= false) Then
				Me._ACCESSOR_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESAPPLIEDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDID.Equals(value) = false) Then
				Me._ACTIVITYSERIESAPPLIEDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property ACTIVITYTYPEID() As Short
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If ((Me._ACTIVITYTYPEID = value)  _
						= false) Then
				Me._ACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMCLEARED_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ALARMCLEARED_DATES() As String
		Get
			Return Me._ALARMCLEARED_DATES
		End Get
		Set
			If (String.Equals(Me._ALARMCLEARED_DATES, value) = false) Then
				Me._ALARMCLEARED_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALARMED", DbType:="Bit NOT NULL")>  _
	Public Property IS_ALARMED() As Boolean
		Get
			Return Me._IS_ALARMED
		End Get
		Set
			If ((Me._IS_ALARMED = value)  _
						= false) Then
				Me._IS_ALARMED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALL_DAY_BANNER", DbType:="Bit NOT NULL")>  _
	Public Property IS_ALL_DAY_BANNER() As Boolean
		Get
			Return Me._IS_ALL_DAY_BANNER
		End Get
		Set
			If ((Me._IS_ALL_DAY_BANNER = value)  _
						= false) Then
				Me._IS_ALL_DAY_BANNER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BANNER_COLOR", DbType:="Int")>  _
	Public Property BANNER_COLOR() As System.Nullable(Of Integer)
		Get
			Return Me._BANNER_COLOR
		End Get
		Set
			If (Me._BANNER_COLOR.Equals(value) = false) Then
				Me._BANNER_COLOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_EVENT", DbType:="Bit NOT NULL")>  _
	Public Property IS_EVENT() As Boolean
		Get
			Return Me._IS_EVENT
		End Get
		Set
			If ((Me._IS_EVENT = value)  _
						= false) Then
				Me._IS_EVENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLEARED_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CLEARED_DATES() As String
		Get
			Return Me._CLEARED_DATES
		End Get
		Set
			If (String.Equals(Me._CLEARED_DATES, value) = false) Then
				Me._CLEARED_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETED_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DELETED_DATES() As String
		Get
			Return Me._DELETED_DATES
		End Get
		Set
			If (String.Equals(Me._DELETED_DATES, value) = false) Then
				Me._DELETED_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", DbType:="Int")>  _
	Public Property DURATION() As System.Nullable(Of Integer)
		Get
			Return Me._DURATION
		End Get
		Set
			If (Me._DURATION.Equals(value) = false) Then
				Me._DURATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_END_DATE_TIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property END_DATE_TIME() As Date
		Get
			Return Me._END_DATE_TIME
		End Get
		Set
			If ((Me._END_DATE_TIME = value)  _
						= false) Then
				Me._END_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTERNAL_ID", DbType:="VarChar(1024)")>  _
	Public Property EXTERNAL_ID() As String
		Get
			Return Me._EXTERNAL_ID
		End Get
		Set
			If (String.Equals(Me._EXTERNAL_ID, value) = false) Then
				Me._EXTERNAL_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_INVITATION_SENT", DbType:="Bit NOT NULL")>  _
	Public Property IS_INVITATION_SENT() As Boolean
		Get
			Return Me._IS_INVITATION_SENT
		End Get
		Set
			If ((Me._IS_INVITATION_SENT = value)  _
						= false) Then
				Me._IS_INVITATION_SENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACKNOWLEDGED", DbType:="Bit NOT NULL")>  _
	Public Property IS_ACKNOWLEDGED() As Boolean
		Get
			Return Me._IS_ACKNOWLEDGED
		End Get
		Set
			If ((Me._IS_ACKNOWLEDGED = value)  _
						= false) Then
				Me._IS_ACKNOWLEDGED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_BASE_RECORD", DbType:="Bit NOT NULL")>  _
	Public Property IS_BASE_RECORD() As Boolean
		Get
			Return Me._IS_BASE_RECORD
		End Get
		Set
			If ((Me._IS_BASE_RECORD = value)  _
						= false) Then
				Me._IS_BASE_RECORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DELETED", DbType:="Bit NOT NULL")>  _
	Public Property IS_DELETED() As Boolean
		Get
			Return Me._IS_DELETED
		End Get
		Set
			If ((Me._IS_DELETED = value)  _
						= false) Then
				Me._IS_DELETED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEAD_MINUTES", DbType:="Int")>  _
	Public Property LEAD_MINUTES() As System.Nullable(Of Integer)
		Get
			Return Me._LEAD_MINUTES
		End Get
		Set
			If (Me._LEAD_MINUTES.Equals(value) = false) Then
				Me._LEAD_MINUTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCATION", DbType:="NVarChar(128)")>  _
	Public Property LOCATION() As String
		Get
			Return Me._LOCATION
		End Get
		Set
			If (String.Equals(Me._LOCATION, value) = false) Then
				Me._LOCATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property ORGANIZER() As String
		Get
			Return Me._ORGANIZER
		End Get
		Set
			If (String.Equals(Me._ORGANIZER, value) = false) Then
				Me._ORGANIZER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIVITYPRIORITYID() As Byte
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYID = value)  _
						= false) Then
				Me._ACTIVITYPRIORITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="TinyInt NOT NULL")>  _
	Public Property IS_PRIVATE() As Byte
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURRING_END_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property RECURRING_END_DATE() As Date
		Get
			Return Me._RECURRING_END_DATE
		End Get
		Set
			If ((Me._RECURRING_END_DATE = value)  _
						= false) Then
				Me._RECURRING_END_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_RECURENDLESS", DbType:="Bit NOT NULL")>  _
	Public Property IS_RECURENDLESS() As Boolean
		Get
			Return Me._IS_RECURENDLESS
		End Get
		Set
			If ((Me._IS_RECURENDLESS = value)  _
						= false) Then
				Me._IS_RECURENDLESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me._REGARDING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_START_DATE_TIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property START_DATE_TIME() As Date
		Get
			Return Me._START_DATE_TIME
		End Get
		Set
			If ((Me._START_DATE_TIME = value)  _
						= false) Then
				Me._START_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSEXCEPTION_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property STATUSEXCEPTION_DATES() As String
		Get
			Return Me._STATUSEXCEPTION_DATES
		End Get
		Set
			If (String.Equals(Me._STATUSEXCEPTION_DATES, value) = false) Then
				Me._STATUSEXCEPTION_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_TIMELESS", DbType:="Bit NOT NULL")>  _
	Public Property IS_TIMELESS() As Boolean
		Get
			Return Me._IS_TIMELESS
		End Get
		Set
			If ((Me._IS_TIMELESS = value)  _
						= false) Then
				Me._IS_TIMELESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_BIAS", DbType:="SmallInt NOT NULL")>  _
	Public Property TZ_BIAS() As Short
		Get
			Return Me._TZ_BIAS
		End Get
		Set
			If ((Me._TZ_BIAS = value)  _
						= false) Then
				Me._TZ_BIAS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_BIAS", DbType:="SmallInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_BIAS() As Short
		Get
			Return Me._TZ_DAYLIGHT_BIAS
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_BIAS = value)  _
						= false) Then
				Me._TZ_DAYLIGHT_BIAS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_BIAS", DbType:="SmallInt NOT NULL")>  _
	Public Property TZ_STANDARD_BIAS() As Short
		Get
			Return Me._TZ_STANDARD_BIAS
		End Get
		Set
			If ((Me._TZ_STANDARD_BIAS = value)  _
						= false) Then
				Me._TZ_STANDARD_BIAS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WF_CONTEXTID", DbType:="UniqueIdentifier")>  _
	Public Property WF_CONTEXTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WF_CONTEXTID
		End Get
		Set
			If (Me._WF_CONTEXTID.Equals(value) = false) Then
				Me._WF_CONTEXTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WF_INSTANCEID", DbType:="UniqueIdentifier")>  _
	Public Property WF_INSTANCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WF_INSTANCEID
		End Get
		Set
			If (Me._WF_INSTANCEID.Equals(value) = false) Then
				Me._WF_INSTANCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property ALARMED() As String
		Get
			Return Me._ALARMED
		End Get
		Set
			If (String.Equals(Me._ALARMED, value) = false) Then
				Me._ALARMED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALL_DAY_BANNER", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property ALL_DAY_BANNER() As String
		Get
			Return Me._ALL_DAY_BANNER
		End Get
		Set
			If (String.Equals(Me._ALL_DAY_BANNER, value) = false) Then
				Me._ALL_DAY_BANNER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACKNOWLEDGED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property ACKNOWLEDGED() As String
		Get
			Return Me._ACKNOWLEDGED
		End Get
		Set
			If (String.Equals(Me._ACKNOWLEDGED, value) = false) Then
				Me._ACKNOWLEDGED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASE_RECORD", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property BASE_RECORD() As String
		Get
			Return Me._BASE_RECORD
		End Get
		Set
			If (String.Equals(Me._BASE_RECORD, value) = false) Then
				Me._BASE_RECORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EVENT", Storage:="_EVENT", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [EVENT]() As String
		Get
			Return Me._EVENT
		End Get
		Set
			If (String.Equals(Me._EVENT, value) = false) Then
				Me._EVENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INVITATION_SENT", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property INVITATION_SENT() As String
		Get
			Return Me._INVITATION_SENT
		End Get
		Set
			If (String.Equals(Me._INVITATION_SENT, value) = false) Then
				Me._INVITATION_SENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property DELETED() As String
		Get
			Return Me._DELETED
		End Get
		Set
			If (String.Equals(Me._DELETED, value) = false) Then
				Me._DELETED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURENDLESS", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property RECURENDLESS() As String
		Get
			Return Me._RECURENDLESS
		End Get
		Set
			If (String.Equals(Me._RECURENDLESS, value) = false) Then
				Me._RECURENDLESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TIMELESS", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property TIMELESS() As String
		Get
			Return Me._TIMELESS
		End Get
		Set
			If (String.Equals(Me._TIMELESS, value) = false) Then
				Me._TIMELESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CLEARED", DbType:="Bit")>  _
	Public Property IS_CLEARED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CLEARED
		End Get
		Set
			If (Me._IS_CLEARED.Equals(value) = false) Then
				Me._IS_CLEARED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLEARED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property CLEARED() As String
		Get
			Return Me._CLEARED
		End Get
		Set
			If (String.Equals(Me._CLEARED, value) = false) Then
				Me._CLEARED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITY_TYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIVITY_TYPE() As String
		Get
			Return Me._ACTIVITY_TYPE
		End Get
		Set
			If (String.Equals(Me._ACTIVITY_TYPE, value) = false) Then
				Me._ACTIVITY_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIORITY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PRIORITY() As String
		Get
			Return Me._PRIORITY
		End Get
		Set
			If (String.Equals(Me._PRIORITY, value) = false) Then
				Me._PRIORITY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ACTIVITY_TYPE")>  _
Partial Public Class ACTIVITY_TYPE
	
	Private _ACTIVITYTYPEGUID As System.Guid
	
	Private _ACTIVITY_TYPE1 As String
	
	Private _ACTIVITYTYPEID As Short
	
	Private _CREATE_DATE As Date
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _IS_ACTIVE As Boolean
	
	Private _IS_CUSTOM As Boolean
	
	Private _REGARDING_PICKLISTID As System.Guid
	
	Private _ACTIVE As String
	
	Private _CUSTOM As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYTYPEGUID() As System.Guid
		Get
			Return Me._ACTIVITYTYPEGUID
		End Get
		Set
			If ((Me._ACTIVITYTYPEGUID = value)  _
						= false) Then
				Me._ACTIVITYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY_TYPE", Storage:="_ACTIVITY_TYPE1", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIVITY_TYPE1() As String
		Get
			Return Me._ACTIVITY_TYPE1
		End Get
		Set
			If (String.Equals(Me._ACTIVITY_TYPE1, value) = false) Then
				Me._ACTIVITY_TYPE1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property ACTIVITYTYPEID() As Short
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If ((Me._ACTIVITYTYPEID = value)  _
						= false) Then
				Me._ACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property IS_ACTIVE() As Boolean
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If ((Me._IS_ACTIVE = value)  _
						= false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property IS_CUSTOM() As Boolean
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If ((Me._IS_CUSTOM = value)  _
						= false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property REGARDING_PICKLISTID() As System.Guid
		Get
			Return Me._REGARDING_PICKLISTID
		End Get
		Set
			If ((Me._REGARDING_PICKLISTID = value)  _
						= false) Then
				Me._REGARDING_PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIVE() As String
		Get
			Return Me._ACTIVE
		End Get
		Set
			If (String.Equals(Me._ACTIVE, value) = false) Then
				Me._ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUSTOM", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property CUSTOM() As String
		Get
			Return Me._CUSTOM
		End Get
		Set
			If (String.Equals(Me._CUSTOM, value) = false) Then
				Me._CUSTOM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.COMPANY")>  _
Partial Public Class COMPANY
	
	Private _COMPANYID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _BILLING_ADDRESS_1 As String
	
	Private _BILLING_ADDRESS_2 As String
	
	Private _BILLING_ADDRESS_3 As String
	
	Private _BILLING_CITY As String
	
	Private _BILLING_COUNTRY As String
	
	Private _BILLING_STATE As String
	
	Private _BILLING_ZIP_CODE As String
	
	Private _CITY As String
	
	Private _COMPANY1 As String
	
	Private _COMPANY_DESCRIPTION As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As Date
	
	Private _CustomerID As String
	
	Private _DIVISION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EXTENSION As String
	
	Private _FAX_EXTENSION As String
	
	Private _FAX_PHONE As String
	
	Private _HAS_DIVISIONS As Boolean
	
	Private _HIERARCHY_LEVEL As System.Nullable(Of Integer)
	
	Private _ID_STATUS As String
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _INDUSTRY As String
	
	Private _LAST_EDITED_BY As String
	
	Private _NUMBER_OF_EMPLOYEES As System.Nullable(Of Integer)
	
	Private _PARENTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _PHONE As String
	
	Private _IS_PRIVATE As Boolean
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _REGION As String
	
	Private _REVENUE As System.Nullable(Of Decimal)
	
	Private _SHIPPING_ADDRESS_1 As String
	
	Private _SHIPPING_ADDRESS_2 As String
	
	Private _SHIPPING_ADDRESS_3 As String
	
	Private _SHIPPING_CITY As String
	
	Private _SHIPPING_COUNTRY As String
	
	Private _SHIPPING_STATE As String
	
	Private _SHIPPING_ZIP_CODE As String
	
	Private _SIC_CODE As String
	
	Private _STATE As String
	
	Private _TERRITORY As String
	
	Private _TICKER_SYMBOL As String
	
	Private _TOLL_FREE_EXTENSION As String
	
	Private _TOLL_FREE_PHONE As String
	
	Private _WEB_SITE As String
	
	Private _ZIP_CODE As String
	
	Private _DIVISIONS As String
	
	Private _PRIVATE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ADDRESS_1() As String
		Get
			Return Me._BILLING_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._BILLING_ADDRESS_1, value) = false) Then
				Me._BILLING_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ADDRESS_2() As String
		Get
			Return Me._BILLING_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._BILLING_ADDRESS_2, value) = false) Then
				Me._BILLING_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ADDRESS_3() As String
		Get
			Return Me._BILLING_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._BILLING_ADDRESS_3, value) = false) Then
				Me._BILLING_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_CITY", DbType:="NVarChar(256)")>  _
	Public Property BILLING_CITY() As String
		Get
			Return Me._BILLING_CITY
		End Get
		Set
			If (String.Equals(Me._BILLING_CITY, value) = false) Then
				Me._BILLING_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property BILLING_COUNTRY() As String
		Get
			Return Me._BILLING_COUNTRY
		End Get
		Set
			If (String.Equals(Me._BILLING_COUNTRY, value) = false) Then
				Me._BILLING_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_STATE", DbType:="NVarChar(256)")>  _
	Public Property BILLING_STATE() As String
		Get
			Return Me._BILLING_STATE
		End Get
		Set
			If (String.Equals(Me._BILLING_STATE, value) = false) Then
				Me._BILLING_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ZIP_CODE() As String
		Get
			Return Me._BILLING_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._BILLING_ZIP_CODE, value) = false) Then
				Me._BILLING_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY", Storage:="_COMPANY1", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANY1() As String
		Get
			Return Me._COMPANY1
		End Get
		Set
			If (String.Equals(Me._COMPANY1, value) = false) Then
				Me._COMPANY1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property COMPANY_DESCRIPTION() As String
		Get
			Return Me._COMPANY_DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._COMPANY_DESCRIPTION, value) = false) Then
				Me._COMPANY_DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Customer ID", Storage:="_CustomerID", DbType:="NVarChar(8)")>  _
	Public Property CustomerID() As String
		Get
			Return Me._CustomerID
		End Get
		Set
			If (String.Equals(Me._CustomerID, value) = false) Then
				Me._CustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DIVISION", DbType:="NVarChar(64)")>  _
	Public Property DIVISION() As String
		Get
			Return Me._DIVISION
		End Get
		Set
			If (String.Equals(Me._DIVISION, value) = false) Then
				Me._DIVISION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property EXTENSION() As String
		Get
			Return Me._EXTENSION
		End Get
		Set
			If (String.Equals(Me._EXTENSION, value) = false) Then
				Me._EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property FAX_EXTENSION() As String
		Get
			Return Me._FAX_EXTENSION
		End Get
		Set
			If (String.Equals(Me._FAX_EXTENSION, value) = false) Then
				Me._FAX_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property FAX_PHONE() As String
		Get
			Return Me._FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._FAX_PHONE, value) = false) Then
				Me._FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HAS_DIVISIONS", DbType:="Bit NOT NULL")>  _
	Public Property HAS_DIVISIONS() As Boolean
		Get
			Return Me._HAS_DIVISIONS
		End Get
		Set
			If ((Me._HAS_DIVISIONS = value)  _
						= false) Then
				Me._HAS_DIVISIONS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERARCHY_LEVEL", DbType:="Int")>  _
	Public Property HIERARCHY_LEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERARCHY_LEVEL
		End Get
		Set
			If (Me._HIERARCHY_LEVEL.Equals(value) = false) Then
				Me._HIERARCHY_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ID/STATUS", Storage:="_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property ID_STATUS() As String
		Get
			Return Me._ID_STATUS
		End Get
		Set
			If (String.Equals(Me._ID_STATUS, value) = false) Then
				Me._ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDUSTRY", DbType:="NVarChar(64)")>  _
	Public Property INDUSTRY() As String
		Get
			Return Me._INDUSTRY
		End Get
		Set
			If (String.Equals(Me._INDUSTRY, value) = false) Then
				Me._INDUSTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_OF_EMPLOYEES", DbType:="Int")>  _
	Public Property NUMBER_OF_EMPLOYEES() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_OF_EMPLOYEES
		End Get
		Set
			If (Me._NUMBER_OF_EMPLOYEES.Equals(value) = false) Then
				Me._NUMBER_OF_EMPLOYEES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTCOMPANYID
		End Get
		Set
			If (Me._PARENTCOMPANYID.Equals(value) = false) Then
				Me._PARENTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PHONE() As String
		Get
			Return Me._PHONE
		End Get
		Set
			If (String.Equals(Me._PHONE, value) = false) Then
				Me._PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property IS_PRIVATE() As Boolean
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGION", DbType:="NVarChar(64)")>  _
	Public Property REGION() As String
		Get
			Return Me._REGION
		End Get
		Set
			If (String.Equals(Me._REGION, value) = false) Then
				Me._REGION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REVENUE", DbType:="Decimal(18,2)")>  _
	Public Property REVENUE() As System.Nullable(Of Decimal)
		Get
			Return Me._REVENUE
		End Get
		Set
			If (Me._REVENUE.Equals(value) = false) Then
				Me._REVENUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ADDRESS_1() As String
		Get
			Return Me._SHIPPING_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ADDRESS_1, value) = false) Then
				Me._SHIPPING_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ADDRESS_2() As String
		Get
			Return Me._SHIPPING_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ADDRESS_2, value) = false) Then
				Me._SHIPPING_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ADDRESS_3() As String
		Get
			Return Me._SHIPPING_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ADDRESS_3, value) = false) Then
				Me._SHIPPING_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_CITY", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_CITY() As String
		Get
			Return Me._SHIPPING_CITY
		End Get
		Set
			If (String.Equals(Me._SHIPPING_CITY, value) = false) Then
				Me._SHIPPING_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_COUNTRY() As String
		Get
			Return Me._SHIPPING_COUNTRY
		End Get
		Set
			If (String.Equals(Me._SHIPPING_COUNTRY, value) = false) Then
				Me._SHIPPING_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_STATE", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_STATE() As String
		Get
			Return Me._SHIPPING_STATE
		End Get
		Set
			If (String.Equals(Me._SHIPPING_STATE, value) = false) Then
				Me._SHIPPING_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ZIP_CODE() As String
		Get
			Return Me._SHIPPING_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ZIP_CODE, value) = false) Then
				Me._SHIPPING_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SIC_CODE", DbType:="NVarChar(8)")>  _
	Public Property SIC_CODE() As String
		Get
			Return Me._SIC_CODE
		End Get
		Set
			If (String.Equals(Me._SIC_CODE, value) = false) Then
				Me._SIC_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TERRITORY", DbType:="NVarChar(64)")>  _
	Public Property TERRITORY() As String
		Get
			Return Me._TERRITORY
		End Get
		Set
			If (String.Equals(Me._TERRITORY, value) = false) Then
				Me._TERRITORY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TICKER_SYMBOL", DbType:="NVarChar(12)")>  _
	Public Property TICKER_SYMBOL() As String
		Get
			Return Me._TICKER_SYMBOL
		End Get
		Set
			If (String.Equals(Me._TICKER_SYMBOL, value) = false) Then
				Me._TICKER_SYMBOL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOLL_FREE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property TOLL_FREE_EXTENSION() As String
		Get
			Return Me._TOLL_FREE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._TOLL_FREE_EXTENSION, value) = false) Then
				Me._TOLL_FREE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOLL_FREE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property TOLL_FREE_PHONE() As String
		Get
			Return Me._TOLL_FREE_PHONE
		End Get
		Set
			If (String.Equals(Me._TOLL_FREE_PHONE, value) = false) Then
				Me._TOLL_FREE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property WEB_SITE() As String
		Get
			Return Me._WEB_SITE
		End Get
		Set
			If (String.Equals(Me._WEB_SITE, value) = false) Then
				Me._WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DIVISIONS", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property DIVISIONS() As String
		Get
			Return Me._DIVISIONS
		End Get
		Set
			If (String.Equals(Me._DIVISIONS, value) = false) Then
				Me._DIVISIONS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.COMPANY_ACTIVITY")>  _
Partial Public Class COMPANY_ACTIVITY
	
	Private _COMPANYID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.COMPANY_CONTACT")>  _
Partial Public Class COMPANY_CONTACT
	
	Private _COMPANYID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.COMPANY_HISTORY")>  _
Partial Public Class COMPANY_HISTORY
	
	Private _COMPANYID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.COMPANY_NOTE")>  _
Partial Public Class COMPANY_NOTE
	
	Private _COMPANYID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.COMPANY_OPPORTUNITY")>  _
Partial Public Class COMPANY_OPPORTUNITY
	
	Private _COMPANYID As System.Guid
	
	Private _OPPORTUNITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CONTACT")>  _
Partial Public Class CONTACT
	
	Private _CONTACTID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _ALTERNATE_EXTENSION As String
	
	Private _ALTERNATE_PHONE As String
	
	Private _BIRTH_DATE As System.Nullable(Of Date)
	
	Private _CITY As String
	
	Private _COMPANY As String
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACT1 As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As Date
	
	Private _CustomerID As String
	
	Private _DEPARTMENT As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _E_MAIL As String
	
	Private _EmailPermission As String
	
	Private _EXTENSION As String
	
	Private _FAX_EXTENSION As String
	
	Private _FAX_PHONE As String
	
	Private _FIRST_NAME As String
	
	Private _FirstPurchase As System.Nullable(Of Date)
	
	Private _HOME_ADDRESS_1 As String
	
	Private _HOME_ADDRESS_2 As String
	
	Private _HOME_ADDRESS_3 As String
	
	Private _HOME_CITY As String
	
	Private _HOME_COUNTRY As String
	
	Private _HOME_EXTENSION As String
	
	Private _HOME_PHONE As String
	
	Private _HOME_STATE As String
	
	Private _HOME_ZIP_CODE As String
	
	Private _ID_STATUS As String
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _IS_IMPORTED As Boolean
	
	Private _IS_USER As System.Nullable(Of Boolean)
	
	Private _KeyContact As Boolean
	
	Private _LAST_ATTEMPT As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _LAST_E_MAIL As System.Nullable(Of Date)
	
	Private _LAST_MEETING As System.Nullable(Of Date)
	
	Private _LAST_NAME As String
	
	Private _LAST_REACH As System.Nullable(Of Date)
	
	Private _LAST_RESULTS As String
	
	Private _LastYrsPurchases As System.Nullable(Of Decimal)
	
	Private _LETTER_DATE As System.Nullable(Of Date)
	
	Private _MESSENGER_ID As String
	
	Private _MIDDLE_NAME As String
	
	Private _MOBILE_EXTENSION As String
	
	Private _MOBILE_PHONE As String
	
	Private _NAME_PREFIX As String
	
	Private _NAME_SUFFIX As String
	
	Private _PAGER_EXTENSION As String
	
	Private _PAGER_PHONE As String
	
	Private _PERSONAL_E_MAIL As String
	
	Private _PHONE As String
	
	Private _Photo As System.Data.Linq.Binary
	
	Private _IS_PRIVATE As Boolean
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _SALUTATION As String
	
	Private _SnapshotContactGrade As String
	
	Private _SnapshotContactRank As System.Nullable(Of Integer)
	
	Private _SnapshotFavorites As String
	
	Private _SnapshotWhoIs As String
	
	Private _SPOUSE As String
	
	Private _STATE As String
	
	Private _TITLE As String
	
	Private _Trivia As String
	
	Private _USER1 As String
	
	Private _USER10 As String
	
	Private _USER2 As String
	
	Private _USER3 As String
	
	Private _USER4 As String
	
	Private _USER5 As String
	
	Private _USER6 As String
	
	Private _USER7 As String
	
	Private _USER8 As String
	
	Private _USER9 As String
	
	Private _WEB_SITE As String
	
	Private _ZIP_CODE As String
	
	Private _IMPORTED As String
	
	Private _USER As String
	
	Private _PRIVATE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALTERNATE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property ALTERNATE_EXTENSION() As String
		Get
			Return Me._ALTERNATE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._ALTERNATE_EXTENSION, value) = false) Then
				Me._ALTERNATE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALTERNATE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property ALTERNATE_PHONE() As String
		Get
			Return Me._ALTERNATE_PHONE
		End Get
		Set
			If (String.Equals(Me._ALTERNATE_PHONE, value) = false) Then
				Me._ALTERNATE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BIRTH_DATE", DbType:="DateTime")>  _
	Public Property BIRTH_DATE() As System.Nullable(Of Date)
		Get
			Return Me._BIRTH_DATE
		End Get
		Set
			If (Me._BIRTH_DATE.Equals(value) = false) Then
				Me._BIRTH_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT", Storage:="_CONTACT1", DbType:="NVarChar(128)")>  _
	Public Property CONTACT1() As String
		Get
			Return Me._CONTACT1
		End Get
		Set
			If (String.Equals(Me._CONTACT1, value) = false) Then
				Me._CONTACT1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Customer ID", Storage:="_CustomerID", DbType:="NVarChar(8)")>  _
	Public Property CustomerID() As String
		Get
			Return Me._CustomerID
		End Get
		Set
			If (String.Equals(Me._CustomerID, value) = false) Then
				Me._CustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPARTMENT", DbType:="NVarChar(128)")>  _
	Public Property DEPARTMENT() As String
		Get
			Return Me._DEPARTMENT
		End Get
		Set
			If (String.Equals(Me._DEPARTMENT, value) = false) Then
				Me._DEPARTMENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="E-MAIL", Storage:="_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property E_MAIL() As String
		Get
			Return Me._E_MAIL
		End Get
		Set
			If (String.Equals(Me._E_MAIL, value) = false) Then
				Me._E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Email Permission", Storage:="_EmailPermission", DbType:="NVarChar(20)")>  _
	Public Property EmailPermission() As String
		Get
			Return Me._EmailPermission
		End Get
		Set
			If (String.Equals(Me._EmailPermission, value) = false) Then
				Me._EmailPermission = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property EXTENSION() As String
		Get
			Return Me._EXTENSION
		End Get
		Set
			If (String.Equals(Me._EXTENSION, value) = false) Then
				Me._EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property FAX_EXTENSION() As String
		Get
			Return Me._FAX_EXTENSION
		End Get
		Set
			If (String.Equals(Me._FAX_EXTENSION, value) = false) Then
				Me._FAX_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property FAX_PHONE() As String
		Get
			Return Me._FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._FAX_PHONE, value) = false) Then
				Me._FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRST_NAME", DbType:="NVarChar(64)")>  _
	Public Property FIRST_NAME() As String
		Get
			Return Me._FIRST_NAME
		End Get
		Set
			If (String.Equals(Me._FIRST_NAME, value) = false) Then
				Me._FIRST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="First Purchase", Storage:="_FirstPurchase", DbType:="DateTime")>  _
	Public Property FirstPurchase() As System.Nullable(Of Date)
		Get
			Return Me._FirstPurchase
		End Get
		Set
			If (Me._FirstPurchase.Equals(value) = false) Then
				Me._FirstPurchase = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_1() As String
		Get
			Return Me._HOME_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_1, value) = false) Then
				Me._HOME_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_2() As String
		Get
			Return Me._HOME_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_2, value) = false) Then
				Me._HOME_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_3() As String
		Get
			Return Me._HOME_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_3, value) = false) Then
				Me._HOME_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_CITY", DbType:="NVarChar(256)")>  _
	Public Property HOME_CITY() As String
		Get
			Return Me._HOME_CITY
		End Get
		Set
			If (String.Equals(Me._HOME_CITY, value) = false) Then
				Me._HOME_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property HOME_COUNTRY() As String
		Get
			Return Me._HOME_COUNTRY
		End Get
		Set
			If (String.Equals(Me._HOME_COUNTRY, value) = false) Then
				Me._HOME_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property HOME_EXTENSION() As String
		Get
			Return Me._HOME_EXTENSION
		End Get
		Set
			If (String.Equals(Me._HOME_EXTENSION, value) = false) Then
				Me._HOME_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_PHONE", DbType:="NVarChar(32)")>  _
	Public Property HOME_PHONE() As String
		Get
			Return Me._HOME_PHONE
		End Get
		Set
			If (String.Equals(Me._HOME_PHONE, value) = false) Then
				Me._HOME_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_STATE", DbType:="NVarChar(256)")>  _
	Public Property HOME_STATE() As String
		Get
			Return Me._HOME_STATE
		End Get
		Set
			If (String.Equals(Me._HOME_STATE, value) = false) Then
				Me._HOME_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property HOME_ZIP_CODE() As String
		Get
			Return Me._HOME_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._HOME_ZIP_CODE, value) = false) Then
				Me._HOME_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ID/STATUS", Storage:="_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property ID_STATUS() As String
		Get
			Return Me._ID_STATUS
		End Get
		Set
			If (String.Equals(Me._ID_STATUS, value) = false) Then
				Me._ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_IMPORTED", DbType:="Bit NOT NULL")>  _
	Public Property IS_IMPORTED() As Boolean
		Get
			Return Me._IS_IMPORTED
		End Get
		Set
			If ((Me._IS_IMPORTED = value)  _
						= false) Then
				Me._IS_IMPORTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USER", DbType:="Bit")>  _
	Public Property IS_USER() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_USER
		End Get
		Set
			If (Me._IS_USER.Equals(value) = false) Then
				Me._IS_USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Key Contact", Storage:="_KeyContact", DbType:="Bit NOT NULL")>  _
	Public Property KeyContact() As Boolean
		Get
			Return Me._KeyContact
		End Get
		Set
			If ((Me._KeyContact = value)  _
						= false) Then
				Me._KeyContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ATTEMPT", DbType:="DateTime")>  _
	Public Property LAST_ATTEMPT() As System.Nullable(Of Date)
		Get
			Return Me._LAST_ATTEMPT
		End Get
		Set
			If (Me._LAST_ATTEMPT.Equals(value) = false) Then
				Me._LAST_ATTEMPT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LAST_E-MAIL", Storage:="_LAST_E_MAIL", DbType:="DateTime")>  _
	Public Property LAST_E_MAIL() As System.Nullable(Of Date)
		Get
			Return Me._LAST_E_MAIL
		End Get
		Set
			If (Me._LAST_E_MAIL.Equals(value) = false) Then
				Me._LAST_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_MEETING", DbType:="DateTime")>  _
	Public Property LAST_MEETING() As System.Nullable(Of Date)
		Get
			Return Me._LAST_MEETING
		End Get
		Set
			If (Me._LAST_MEETING.Equals(value) = false) Then
				Me._LAST_MEETING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_NAME", DbType:="NVarChar(128)")>  _
	Public Property LAST_NAME() As String
		Get
			Return Me._LAST_NAME
		End Get
		Set
			If (String.Equals(Me._LAST_NAME, value) = false) Then
				Me._LAST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_REACH", DbType:="DateTime")>  _
	Public Property LAST_REACH() As System.Nullable(Of Date)
		Get
			Return Me._LAST_REACH
		End Get
		Set
			If (Me._LAST_REACH.Equals(value) = false) Then
				Me._LAST_REACH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_RESULTS", DbType:="NVarChar(128)")>  _
	Public Property LAST_RESULTS() As String
		Get
			Return Me._LAST_RESULTS
		End Get
		Set
			If (String.Equals(Me._LAST_RESULTS, value) = false) Then
				Me._LAST_RESULTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Last Yrs Purchases", Storage:="_LastYrsPurchases", DbType:="Decimal(7,0)")>  _
	Public Property LastYrsPurchases() As System.Nullable(Of Decimal)
		Get
			Return Me._LastYrsPurchases
		End Get
		Set
			If (Me._LastYrsPurchases.Equals(value) = false) Then
				Me._LastYrsPurchases = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LETTER_DATE", DbType:="DateTime")>  _
	Public Property LETTER_DATE() As System.Nullable(Of Date)
		Get
			Return Me._LETTER_DATE
		End Get
		Set
			If (Me._LETTER_DATE.Equals(value) = false) Then
				Me._LETTER_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MESSENGER_ID", DbType:="NVarChar(16)")>  _
	Public Property MESSENGER_ID() As String
		Get
			Return Me._MESSENGER_ID
		End Get
		Set
			If (String.Equals(Me._MESSENGER_ID, value) = false) Then
				Me._MESSENGER_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIDDLE_NAME", DbType:="NVarChar(64)")>  _
	Public Property MIDDLE_NAME() As String
		Get
			Return Me._MIDDLE_NAME
		End Get
		Set
			If (String.Equals(Me._MIDDLE_NAME, value) = false) Then
				Me._MIDDLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MOBILE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property MOBILE_EXTENSION() As String
		Get
			Return Me._MOBILE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._MOBILE_EXTENSION, value) = false) Then
				Me._MOBILE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MOBILE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property MOBILE_PHONE() As String
		Get
			Return Me._MOBILE_PHONE
		End Get
		Set
			If (String.Equals(Me._MOBILE_PHONE, value) = false) Then
				Me._MOBILE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME_PREFIX", DbType:="NVarChar(32)")>  _
	Public Property NAME_PREFIX() As String
		Get
			Return Me._NAME_PREFIX
		End Get
		Set
			If (String.Equals(Me._NAME_PREFIX, value) = false) Then
				Me._NAME_PREFIX = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME_SUFFIX", DbType:="NVarChar(32)")>  _
	Public Property NAME_SUFFIX() As String
		Get
			Return Me._NAME_SUFFIX
		End Get
		Set
			If (String.Equals(Me._NAME_SUFFIX, value) = false) Then
				Me._NAME_SUFFIX = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PAGER_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property PAGER_EXTENSION() As String
		Get
			Return Me._PAGER_EXTENSION
		End Get
		Set
			If (String.Equals(Me._PAGER_EXTENSION, value) = false) Then
				Me._PAGER_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PAGER_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PAGER_PHONE() As String
		Get
			Return Me._PAGER_PHONE
		End Get
		Set
			If (String.Equals(Me._PAGER_PHONE, value) = false) Then
				Me._PAGER_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERSONAL_E-MAIL", Storage:="_PERSONAL_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property PERSONAL_E_MAIL() As String
		Get
			Return Me._PERSONAL_E_MAIL
		End Get
		Set
			If (String.Equals(Me._PERSONAL_E_MAIL, value) = false) Then
				Me._PERSONAL_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PHONE() As String
		Get
			Return Me._PHONE
		End Get
		Set
			If (String.Equals(Me._PHONE, value) = false) Then
				Me._PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Photo", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property Photo() As System.Data.Linq.Binary
		Get
			Return Me._Photo
		End Get
		Set
			If (Object.Equals(Me._Photo, value) = false) Then
				Me._Photo = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property IS_PRIVATE() As Boolean
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SALUTATION", DbType:="NVarChar(32)")>  _
	Public Property SALUTATION() As String
		Get
			Return Me._SALUTATION
		End Get
		Set
			If (String.Equals(Me._SALUTATION, value) = false) Then
				Me._SALUTATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Contact Grade", Storage:="_SnapshotContactGrade", DbType:="NVarChar(50)")>  _
	Public Property SnapshotContactGrade() As String
		Get
			Return Me._SnapshotContactGrade
		End Get
		Set
			If (String.Equals(Me._SnapshotContactGrade, value) = false) Then
				Me._SnapshotContactGrade = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Contact Rank", Storage:="_SnapshotContactRank", DbType:="Int")>  _
	Public Property SnapshotContactRank() As System.Nullable(Of Integer)
		Get
			Return Me._SnapshotContactRank
		End Get
		Set
			If (Me._SnapshotContactRank.Equals(value) = false) Then
				Me._SnapshotContactRank = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Favorites", Storage:="_SnapshotFavorites", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SnapshotFavorites() As String
		Get
			Return Me._SnapshotFavorites
		End Get
		Set
			If (String.Equals(Me._SnapshotFavorites, value) = false) Then
				Me._SnapshotFavorites = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot WhoIs", Storage:="_SnapshotWhoIs", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SnapshotWhoIs() As String
		Get
			Return Me._SnapshotWhoIs
		End Get
		Set
			If (String.Equals(Me._SnapshotWhoIs, value) = false) Then
				Me._SnapshotWhoIs = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SPOUSE", DbType:="NVarChar(64)")>  _
	Public Property SPOUSE() As String
		Get
			Return Me._SPOUSE
		End Get
		Set
			If (String.Equals(Me._SPOUSE, value) = false) Then
				Me._SPOUSE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TITLE", DbType:="NVarChar(128)")>  _
	Public Property TITLE() As String
		Get
			Return Me._TITLE
		End Get
		Set
			If (String.Equals(Me._TITLE, value) = false) Then
				Me._TITLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Trivia", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property Trivia() As String
		Get
			Return Me._Trivia
		End Get
		Set
			If (String.Equals(Me._Trivia, value) = false) Then
				Me._Trivia = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER1", DbType:="NVarChar(64)")>  _
	Public Property USER1() As String
		Get
			Return Me._USER1
		End Get
		Set
			If (String.Equals(Me._USER1, value) = false) Then
				Me._USER1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER10", DbType:="NVarChar(64)")>  _
	Public Property USER10() As String
		Get
			Return Me._USER10
		End Get
		Set
			If (String.Equals(Me._USER10, value) = false) Then
				Me._USER10 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER2", DbType:="NVarChar(64)")>  _
	Public Property USER2() As String
		Get
			Return Me._USER2
		End Get
		Set
			If (String.Equals(Me._USER2, value) = false) Then
				Me._USER2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER3", DbType:="NVarChar(64)")>  _
	Public Property USER3() As String
		Get
			Return Me._USER3
		End Get
		Set
			If (String.Equals(Me._USER3, value) = false) Then
				Me._USER3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER4", DbType:="NVarChar(64)")>  _
	Public Property USER4() As String
		Get
			Return Me._USER4
		End Get
		Set
			If (String.Equals(Me._USER4, value) = false) Then
				Me._USER4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER5", DbType:="NVarChar(64)")>  _
	Public Property USER5() As String
		Get
			Return Me._USER5
		End Get
		Set
			If (String.Equals(Me._USER5, value) = false) Then
				Me._USER5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER6", DbType:="NVarChar(64)")>  _
	Public Property USER6() As String
		Get
			Return Me._USER6
		End Get
		Set
			If (String.Equals(Me._USER6, value) = false) Then
				Me._USER6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER7", DbType:="NVarChar(75)")>  _
	Public Property USER7() As String
		Get
			Return Me._USER7
		End Get
		Set
			If (String.Equals(Me._USER7, value) = false) Then
				Me._USER7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER8", DbType:="NVarChar(75)")>  _
	Public Property USER8() As String
		Get
			Return Me._USER8
		End Get
		Set
			If (String.Equals(Me._USER8, value) = false) Then
				Me._USER8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER9", DbType:="NVarChar(75)")>  _
	Public Property USER9() As String
		Get
			Return Me._USER9
		End Get
		Set
			If (String.Equals(Me._USER9, value) = false) Then
				Me._USER9 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property WEB_SITE() As String
		Get
			Return Me._WEB_SITE
		End Get
		Set
			If (String.Equals(Me._WEB_SITE, value) = false) Then
				Me._WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORTED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property IMPORTED() As String
		Get
			Return Me._IMPORTED
		End Get
		Set
			If (String.Equals(Me._IMPORTED, value) = false) Then
				Me._IMPORTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property USER() As String
		Get
			Return Me._USER
		End Get
		Set
			If (String.Equals(Me._USER, value) = false) Then
				Me._USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CONTACT_ACTIVITY")>  _
Partial Public Class CONTACT_ACTIVITY
	
	Private _CONTACTID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CONTACT_CONTACT")>  _
Partial Public Class CONTACT_CONTACT
	
	Private _CONTACTID1 As System.Guid
	
	Private _CONTACTID2 As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _DETAILS As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _LAST_EDITED_BY As String
	
	Private _RECORD_CREATOR As String
	
	Private _CONTACT2_ROLE As String
	
	Private _CONTACT1_ROLE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID1() As System.Guid
		Get
			Return Me._CONTACTID1
		End Get
		Set
			If ((Me._CONTACTID1 = value)  _
						= false) Then
				Me._CONTACTID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID2", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID2() As System.Guid
		Get
			Return Me._CONTACTID2
		End Get
		Set
			If ((Me._CONTACTID2 = value)  _
						= false) Then
				Me._CONTACTID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT2_ROLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT2_ROLE() As String
		Get
			Return Me._CONTACT2_ROLE
		End Get
		Set
			If (String.Equals(Me._CONTACT2_ROLE, value) = false) Then
				Me._CONTACT2_ROLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT1_ROLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT1_ROLE() As String
		Get
			Return Me._CONTACT1_ROLE
		End Get
		Set
			If (String.Equals(Me._CONTACT1_ROLE, value) = false) Then
				Me._CONTACT1_ROLE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CONTACT_HISTORY")>  _
Partial Public Class CONTACT_HISTORY
	
	Private _CONTACTID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CONTACT_NOTE")>  _
Partial Public Class CONTACT_NOTE
	
	Private _CONTACTID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CONTACT_OPPORTUNITY")>  _
Partial Public Class CONTACT_OPPORTUNITY
	
	Private _CONTACTID As System.Guid
	
	Private _OPPORTUNITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_ACTIVITY")>  _
Partial Public Class CTL_ABL_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ABL_ACTIVITYID As System.Guid
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _ISSELECTED As Boolean
	
	Private _QUERYVALUE As String
	
	Private _DRIVERACTIVITYTYPE As Integer
	
	Private _ACTIVITYTYPEID As Short
	
	Private _REGARDING As String
	
	Private _ACTIVITYPRIORITYID As Byte
	
	Private _ISALARMED As Boolean
	
	Private _ALARMLEADMINUTES As Integer
	
	Private _LAGDAYS As Integer
	
	Private _ORGANIZEUSERID As System.Guid
	
	Private _BANNERCOLOR As System.Nullable(Of Integer)
	
	Private _TBL_ACTIVITYPRIORITY As EntityRef(Of TBL_ACTIVITYPRIORITY)
	
	Private _TBL_ACTIVITYTYPE As EntityRef(Of TBL_ACTIVITYTYPE)
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
	Private _CTL_ABL_SCHEDULEDFOR As EntitySet(Of CTL_ABL_SCHEDULEDFOR)
	
	Private _CTL_ACTIVITY_ABL_ACTIVITY As EntitySet(Of CTL_ACTIVITY_ABL_ACTIVITY)
	
    #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 OnABL_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnABL_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnISSELECTEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSELECTEDChanged()
    End Sub
    Partial Private Sub OnQUERYVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnQUERYVALUEChanged()
    End Sub
    Partial Private Sub OnDRIVERACTIVITYTYPEChanging(value As Integer)
    End Sub
    Partial Private Sub OnDRIVERACTIVITYTYPEChanged()
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanged()
    End Sub
    Partial Private Sub OnREGARDINGChanging(value As String)
    End Sub
    Partial Private Sub OnREGARDINGChanged()
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanged()
    End Sub
    Partial Private Sub OnISALARMEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALARMEDChanged()
    End Sub
    Partial Private Sub OnALARMLEADMINUTESChanging(value As Integer)
    End Sub
    Partial Private Sub OnALARMLEADMINUTESChanged()
    End Sub
    Partial Private Sub OnLAGDAYSChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAGDAYSChanged()
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanged()
    End Sub
    Partial Private Sub OnBANNERCOLORChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnBANNERCOLORChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITYPRIORITY = CType(Nothing, EntityRef(Of TBL_ACTIVITYPRIORITY))
		Me._TBL_ACTIVITYTYPE = CType(Nothing, EntityRef(Of TBL_ACTIVITYTYPE))
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		Me._CTL_ABL_SCHEDULEDFOR = New EntitySet(Of CTL_ABL_SCHEDULEDFOR)(AddressOf Me.attach_CTL_ABL_SCHEDULEDFOR, AddressOf Me.detach_CTL_ABL_SCHEDULEDFOR)
		Me._CTL_ACTIVITY_ABL_ACTIVITY = New EntitySet(Of CTL_ACTIVITY_ABL_ACTIVITY)(AddressOf Me.attach_CTL_ACTIVITY_ABL_ACTIVITY, AddressOf Me.detach_CTL_ACTIVITY_ABL_ACTIVITY)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ABL_ACTIVITYID() As System.Guid
		Get
			Return Me._ABL_ACTIVITYID
		End Get
		Set
			If ((Me._ABL_ACTIVITYID = value)  _
						= false) Then
				Me.OnABL_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ABL_ACTIVITYID = value
				Me.SendPropertyChanged("ABL_ACTIVITYID")
				Me.OnABL_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSELECTED", DbType:="Bit NOT NULL")>  _
	Public Property ISSELECTED() As Boolean
		Get
			Return Me._ISSELECTED
		End Get
		Set
			If ((Me._ISSELECTED = value)  _
						= false) Then
				Me.OnISSELECTEDChanging(value)
				Me.SendPropertyChanging
				Me._ISSELECTED = value
				Me.SendPropertyChanged("ISSELECTED")
				Me.OnISSELECTEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVALUE", DbType:="NVarChar(128)")>  _
	Public Property QUERYVALUE() As String
		Get
			Return Me._QUERYVALUE
		End Get
		Set
			If (String.Equals(Me._QUERYVALUE, value) = false) Then
				Me.OnQUERYVALUEChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVALUE = value
				Me.SendPropertyChanged("QUERYVALUE")
				Me.OnQUERYVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DRIVERACTIVITYTYPE", DbType:="Int NOT NULL")>  _
	Public Property DRIVERACTIVITYTYPE() As Integer
		Get
			Return Me._DRIVERACTIVITYTYPE
		End Get
		Set
			If ((Me._DRIVERACTIVITYTYPE = value)  _
						= false) Then
				Me.OnDRIVERACTIVITYTYPEChanging(value)
				Me.SendPropertyChanging
				Me._DRIVERACTIVITYTYPE = value
				Me.SendPropertyChanged("DRIVERACTIVITYTYPE")
				Me.OnDRIVERACTIVITYTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property ACTIVITYTYPEID() As Short
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If ((Me._ACTIVITYTYPEID = value)  _
						= false) Then
				If Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEID = value
				Me.SendPropertyChanged("ACTIVITYTYPEID")
				Me.OnACTIVITYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me.OnREGARDINGChanging(value)
				Me.SendPropertyChanging
				Me._REGARDING = value
				Me.SendPropertyChanged("REGARDING")
				Me.OnREGARDINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIVITYPRIORITYID() As Byte
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITYPRIORITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYPRIORITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYPRIORITYID = value
				Me.SendPropertyChanged("ACTIVITYPRIORITYID")
				Me.OnACTIVITYPRIORITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALARMED", DbType:="Bit NOT NULL")>  _
	Public Property ISALARMED() As Boolean
		Get
			Return Me._ISALARMED
		End Get
		Set
			If ((Me._ISALARMED = value)  _
						= false) Then
				Me.OnISALARMEDChanging(value)
				Me.SendPropertyChanging
				Me._ISALARMED = value
				Me.SendPropertyChanged("ISALARMED")
				Me.OnISALARMEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMLEADMINUTES", DbType:="Int NOT NULL")>  _
	Public Property ALARMLEADMINUTES() As Integer
		Get
			Return Me._ALARMLEADMINUTES
		End Get
		Set
			If ((Me._ALARMLEADMINUTES = value)  _
						= false) Then
				Me.OnALARMLEADMINUTESChanging(value)
				Me.SendPropertyChanging
				Me._ALARMLEADMINUTES = value
				Me.SendPropertyChanged("ALARMLEADMINUTES")
				Me.OnALARMLEADMINUTESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAGDAYS", DbType:="Int NOT NULL")>  _
	Public Property LAGDAYS() As Integer
		Get
			Return Me._LAGDAYS
		End Get
		Set
			If ((Me._LAGDAYS = value)  _
						= false) Then
				Me.OnLAGDAYSChanging(value)
				Me.SendPropertyChanging
				Me._LAGDAYS = value
				Me.SendPropertyChanged("LAGDAYS")
				Me.OnLAGDAYSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ORGANIZEUSERID() As System.Guid
		Get
			Return Me._ORGANIZEUSERID
		End Get
		Set
			If ((Me._ORGANIZEUSERID = value)  _
						= false) Then
				Me.OnORGANIZEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._ORGANIZEUSERID = value
				Me.SendPropertyChanged("ORGANIZEUSERID")
				Me.OnORGANIZEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BANNERCOLOR", DbType:="Int")>  _
	Public Property BANNERCOLOR() As System.Nullable(Of Integer)
		Get
			Return Me._BANNERCOLOR
		End Get
		Set
			If (Me._BANNERCOLOR.Equals(value) = false) Then
				Me.OnBANNERCOLORChanging(value)
				Me.SendPropertyChanging
				Me._BANNERCOLOR = value
				Me.SendPropertyChanged("BANNERCOLOR")
				Me.OnBANNERCOLORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_ACTIVITY_ACTIVITYPRIORITYID_FK", Storage:="_TBL_ACTIVITYPRIORITY", ThisKey:="ACTIVITYPRIORITYID", OtherKey:="ACTIVITYPRIORITYID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYPRIORITY() As TBL_ACTIVITYPRIORITY
		Get
			Return Me._TBL_ACTIVITYPRIORITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYPRIORITY = Me._TBL_ACTIVITYPRIORITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYPRIORITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYPRIORITY.Entity = Nothing
					previousValue.CTL_ABL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITYPRIORITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_ACTIVITY.Add(Me)
					Me._ACTIVITYPRIORITYID = value.ACTIVITYPRIORITYID
				Else
					Me._ACTIVITYPRIORITYID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYPRIORITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_ACTIVITY_ACTIVITYTYPEID_FK", Storage:="_TBL_ACTIVITYTYPE", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYTYPE() As TBL_ACTIVITYTYPE
		Get
			Return Me._TBL_ACTIVITYTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYTYPE = Me._TBL_ACTIVITYTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYTYPE.Entity = Nothing
					previousValue.CTL_ABL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITYTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_ACTIVITY.Add(Me)
					Me._ACTIVITYTYPEID = value.ACTIVITYTYPEID
				Else
					Me._ACTIVITYTYPEID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_ACTIVITY_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_ACTIVITY.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_ACTIVITY.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_SCHEDULEDFOR_ABL_ACTIVITYID_FK", Storage:="_CTL_ABL_SCHEDULEDFOR", ThisKey:="ABL_ACTIVITYID", OtherKey:="ABL_ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_SCHEDULEDFOR() As EntitySet(Of CTL_ABL_SCHEDULEDFOR)
		Get
			Return Me._CTL_ABL_SCHEDULEDFOR
		End Get
		Set
			Me._CTL_ABL_SCHEDULEDFOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ABL_ACTIVITY_ABL_ACTIVITYID_FK", Storage:="_CTL_ACTIVITY_ABL_ACTIVITY", ThisKey:="ABL_ACTIVITYID", OtherKey:="ABL_ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ACTIVITY_ABL_ACTIVITY() As EntitySet(Of CTL_ACTIVITY_ABL_ACTIVITY)
		Get
			Return Me._CTL_ACTIVITY_ABL_ACTIVITY
		End Get
		Set
			Me._CTL_ACTIVITY_ABL_ACTIVITY.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_SCHEDULEDFOR(ByVal entity As CTL_ABL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.CTL_ABL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_SCHEDULEDFOR(ByVal entity As CTL_ABL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.CTL_ABL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ACTIVITY_ABL_ACTIVITY(ByVal entity As CTL_ACTIVITY_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.CTL_ABL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_CTL_ACTIVITY_ABL_ACTIVITY(ByVal entity As CTL_ACTIVITY_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.CTL_ABL_ACTIVITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_CONNECTOR")>  _
Partial Public Class CTL_ABL_CONNECTOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONNECTORID As System.Guid
	
	Private _CONNECTORTYPEID As Integer
	
	Private _APPLICATION_NAME As String
	
	Private _CTL_ABL_CONNECTORTYPE As EntityRef(Of CTL_ABL_CONNECTORTYPE)
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntitySet(Of CTL_ABL_CONNECTOR_ENTITY)
	
    #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 OnCONNECTORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTORIDChanged()
    End Sub
    Partial Private Sub OnCONNECTORTYPEIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCONNECTORTYPEIDChanged()
    End Sub
    Partial Private Sub OnAPPLICATION_NAMEChanging(value As String)
    End Sub
    Partial Private Sub OnAPPLICATION_NAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTORTYPE = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTORTYPE))
		Me._CTL_ABL_CONNECTOR_ENTITY = New EntitySet(Of CTL_ABL_CONNECTOR_ENTITY)(AddressOf Me.attach_CTL_ABL_CONNECTOR_ENTITY, AddressOf Me.detach_CTL_ABL_CONNECTOR_ENTITY)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONNECTORID() As System.Guid
		Get
			Return Me._CONNECTORID
		End Get
		Set
			If ((Me._CONNECTORID = value)  _
						= false) Then
				Me.OnCONNECTORIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTORID = value
				Me.SendPropertyChanged("CONNECTORID")
				Me.OnCONNECTORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTORTYPEID", DbType:="Int NOT NULL")>  _
	Public Property CONNECTORTYPEID() As Integer
		Get
			Return Me._CONNECTORTYPEID
		End Get
		Set
			If ((Me._CONNECTORTYPEID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTORTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTORTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTORTYPEID = value
				Me.SendPropertyChanged("CONNECTORTYPEID")
				Me.OnCONNECTORTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property APPLICATION_NAME() As String
		Get
			Return Me._APPLICATION_NAME
		End Get
		Set
			If (String.Equals(Me._APPLICATION_NAME, value) = false) Then
				Me.OnAPPLICATION_NAMEChanging(value)
				Me.SendPropertyChanging
				Me._APPLICATION_NAME = value
				Me.SendPropertyChanged("APPLICATION_NAME")
				Me.OnAPPLICATION_NAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_CONNECTORTYPEID_FK", Storage:="_CTL_ABL_CONNECTORTYPE", ThisKey:="CONNECTORTYPEID", OtherKey:="CONNECTORTYPEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_CONNECTORTYPE() As CTL_ABL_CONNECTORTYPE
		Get
			Return Me._CTL_ABL_CONNECTORTYPE.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTORTYPE = Me._CTL_ABL_CONNECTORTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTORTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTORTYPE.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTORTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR.Add(Me)
					Me._CONNECTORTYPEID = value.CONNECTORTYPEID
				Else
					Me._CONNECTORTYPEID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTORTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITY_CONNECTORID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTORID", OtherKey:="CONNECTORID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As EntitySet(Of CTL_ABL_CONNECTOR_ENTITY)
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY
		End Get
		Set
			Me._CTL_ABL_CONNECTOR_ENTITY.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_CONNECTOR_ENTITY(ByVal entity As CTL_ABL_CONNECTOR_ENTITY)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR_ENTITY(ByVal entity As CTL_ABL_CONNECTOR_ENTITY)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_CONNECTOR_ACCESSORCONFIG")>  _
Partial Public Class CTL_ABL_CONNECTOR_ACCESSORCONFIG
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _CONFIGXML As System.Xml.Linq.XElement
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
    #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 OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnCONFIGXMLChanging(value As System.Xml.Linq.XElement)
    End Sub
    Partial Private Sub OnCONFIGXMLChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFIGXML", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONFIGXML() As System.Xml.Linq.XElement
		Get
			Return Me._CONFIGXML
		End Get
		Set
			If (Object.Equals(Me._CONFIGXML, value) = false) Then
				Me.OnCONFIGXMLChanging(value)
				Me.SendPropertyChanging
				Me._CONFIGXML = value
				Me.SendPropertyChanged("CONFIGXML")
				Me.OnCONFIGXMLChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ACCESSORCONFIG_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR_ACCESSORCONFIG.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR_ACCESSORCONFIG.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ACCESSORCONFIG_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR_ACCESSORCONFIG.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR_ACCESSORCONFIG.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_CONNECTOR_ENTITY")>  _
Partial Public Class CTL_ABL_CONNECTOR_ENTITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _CONNECTORID As System.Guid
	
	Private _CONNECTION_STRING As String
	
	Private _SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _CONFIGXML As System.Xml.Linq.XElement
	
	Private _CTL_ABL_ACTIVITY As EntitySet(Of CTL_ABL_ACTIVITY)
	
	Private _CTL_ABL_CONNECTOR_ACCESSORCONFIG As EntitySet(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)
	
	Private _CTL_ABL_CONNECTOR As EntityRef(Of CTL_ABL_CONNECTOR)
	
	Private _TBL_SYNCDB As EntityRef(Of TBL_SYNCDB)
	
	Private _CTL_ABL_CONNECTOR_ENTITYSCHEMA As EntitySet(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)
	
	Private _CTL_ABL_FIELD As EntitySet(Of CTL_ABL_FIELD)
	
	Private _CTL_ABL_LINK As EntitySet(Of CTL_ABL_LINK)
	
	Private _CTL_ABL_MASTERQUEUE_INPUT As EntitySet(Of CTL_ABL_MASTERQUEUE_INPUT)
	
	Private _CTL_ABL_MASTERQUEUE_OUTPUT As EntitySet(Of CTL_ABL_MASTERQUEUE_OUTPUT)
	
	Private _CTL_ABL_MASTERQUEUE_PREFILTER As EntitySet(Of CTL_ABL_MASTERQUEUE_PREFILTER)
	
    #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 OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnCONNECTORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTORIDChanged()
    End Sub
    Partial Private Sub OnCONNECTION_STRINGChanging(value As String)
    End Sub
    Partial Private Sub OnCONNECTION_STRINGChanged()
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnCONFIGXMLChanging(value As System.Xml.Linq.XElement)
    End Sub
    Partial Private Sub OnCONFIGXMLChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_ACTIVITY = New EntitySet(Of CTL_ABL_ACTIVITY)(AddressOf Me.attach_CTL_ABL_ACTIVITY, AddressOf Me.detach_CTL_ABL_ACTIVITY)
		Me._CTL_ABL_CONNECTOR_ACCESSORCONFIG = New EntitySet(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)(AddressOf Me.attach_CTL_ABL_CONNECTOR_ACCESSORCONFIG, AddressOf Me.detach_CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Me._CTL_ABL_CONNECTOR = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR))
		Me._TBL_SYNCDB = CType(Nothing, EntityRef(Of TBL_SYNCDB))
		Me._CTL_ABL_CONNECTOR_ENTITYSCHEMA = New EntitySet(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)(AddressOf Me.attach_CTL_ABL_CONNECTOR_ENTITYSCHEMA, AddressOf Me.detach_CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Me._CTL_ABL_FIELD = New EntitySet(Of CTL_ABL_FIELD)(AddressOf Me.attach_CTL_ABL_FIELD, AddressOf Me.detach_CTL_ABL_FIELD)
		Me._CTL_ABL_LINK = New EntitySet(Of CTL_ABL_LINK)(AddressOf Me.attach_CTL_ABL_LINK, AddressOf Me.detach_CTL_ABL_LINK)
		Me._CTL_ABL_MASTERQUEUE_INPUT = New EntitySet(Of CTL_ABL_MASTERQUEUE_INPUT)(AddressOf Me.attach_CTL_ABL_MASTERQUEUE_INPUT, AddressOf Me.detach_CTL_ABL_MASTERQUEUE_INPUT)
		Me._CTL_ABL_MASTERQUEUE_OUTPUT = New EntitySet(Of CTL_ABL_MASTERQUEUE_OUTPUT)(AddressOf Me.attach_CTL_ABL_MASTERQUEUE_OUTPUT, AddressOf Me.detach_CTL_ABL_MASTERQUEUE_OUTPUT)
		Me._CTL_ABL_MASTERQUEUE_PREFILTER = New EntitySet(Of CTL_ABL_MASTERQUEUE_PREFILTER)(AddressOf Me.attach_CTL_ABL_MASTERQUEUE_PREFILTER, AddressOf Me.detach_CTL_ABL_MASTERQUEUE_PREFILTER)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONNECTORID() As System.Guid
		Get
			Return Me._CONNECTORID
		End Get
		Set
			If ((Me._CONNECTORID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTORIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTORID = value
				Me.SendPropertyChanged("CONNECTORID")
				Me.OnCONNECTORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTION_STRING", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property CONNECTION_STRING() As String
		Get
			Return Me._CONNECTION_STRING
		End Get
		Set
			If (String.Equals(Me._CONNECTION_STRING, value) = false) Then
				Me.OnCONNECTION_STRINGChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTION_STRING = value
				Me.SendPropertyChanged("CONNECTION_STRING")
				Me.OnCONNECTION_STRINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If (Me._SYNCDBGUID.Equals(value) = false) Then
				If Me._TBL_SYNCDB.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBGUIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBGUID = value
				Me.SendPropertyChanged("SYNCDBGUID")
				Me.OnSYNCDBGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(28)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFIGXML", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONFIGXML() As System.Xml.Linq.XElement
		Get
			Return Me._CONFIGXML
		End Get
		Set
			If (Object.Equals(Me._CONFIGXML, value) = false) Then
				Me.OnCONFIGXMLChanging(value)
				Me.SendPropertyChanging
				Me._CONFIGXML = value
				Me.SendPropertyChanged("CONFIGXML")
				Me.OnCONFIGXMLChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_ACTIVITY_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_ACTIVITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_ACTIVITY() As EntitySet(Of CTL_ABL_ACTIVITY)
		Get
			Return Me._CTL_ABL_ACTIVITY
		End Get
		Set
			Me._CTL_ABL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ACCESSORCONFIG_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ACCESSORCONFIG", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_CONNECTOR_ACCESSORCONFIG() As EntitySet(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Get
			Return Me._CTL_ABL_CONNECTOR_ACCESSORCONFIG
		End Get
		Set
			Me._CTL_ABL_CONNECTOR_ACCESSORCONFIG.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITY_CONNECTORID_FK", Storage:="_CTL_ABL_CONNECTOR", ThisKey:="CONNECTORID", OtherKey:="CONNECTORID", IsForeignKey:=true)>  _
	Public Property CTL_ABL_CONNECTOR() As CTL_ABL_CONNECTOR
		Get
			Return Me._CTL_ABL_CONNECTOR.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR = Me._CTL_ABL_CONNECTOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR_ENTITY.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR_ENTITY.Add(Me)
					Me._CONNECTORID = value.CONNECTORID
				Else
					Me._CONNECTORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITY_SYNCDBGUID_FK", Storage:="_TBL_SYNCDB", ThisKey:="SYNCDBGUID", OtherKey:="SYNCDBGUID", IsForeignKey:=true)>  _
	Public Property TBL_SYNCDB() As TBL_SYNCDB
		Get
			Return Me._TBL_SYNCDB.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCDB = Me._TBL_SYNCDB.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCDB.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCDB.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR_ENTITY.Remove(Me)
				End If
				Me._TBL_SYNCDB.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR_ENTITY.Add(Me)
					Me._SYNCDBGUID = value.SYNCDBGUID
				Else
					Me._SYNCDBGUID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYNCDB")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITYSCHEMA_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITYSCHEMA", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_CONNECTOR_ENTITYSCHEMA() As EntitySet(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITYSCHEMA
		End Get
		Set
			Me._CTL_ABL_CONNECTOR_ENTITYSCHEMA.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_FIELD_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_FIELD", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_FIELD() As EntitySet(Of CTL_ABL_FIELD)
		Get
			Return Me._CTL_ABL_FIELD
		End Get
		Set
			Me._CTL_ABL_FIELD.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_LINK", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_LINK() As EntitySet(Of CTL_ABL_LINK)
		Get
			Return Me._CTL_ABL_LINK
		End Get
		Set
			Me._CTL_ABL_LINK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_MASTERQUEUE_INPUT_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_MASTERQUEUE_INPUT", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_MASTERQUEUE_INPUT() As EntitySet(Of CTL_ABL_MASTERQUEUE_INPUT)
		Get
			Return Me._CTL_ABL_MASTERQUEUE_INPUT
		End Get
		Set
			Me._CTL_ABL_MASTERQUEUE_INPUT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_MASTERQUEUE_OUTPUT_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_MASTERQUEUE_OUTPUT", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_MASTERQUEUE_OUTPUT() As EntitySet(Of CTL_ABL_MASTERQUEUE_OUTPUT)
		Get
			Return Me._CTL_ABL_MASTERQUEUE_OUTPUT
		End Get
		Set
			Me._CTL_ABL_MASTERQUEUE_OUTPUT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_MASTERQUEUE_PREFILTER_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_MASTERQUEUE_PREFILTER", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_MASTERQUEUE_PREFILTER() As EntitySet(Of CTL_ABL_MASTERQUEUE_PREFILTER)
		Get
			Return Me._CTL_ABL_MASTERQUEUE_PREFILTER
		End Get
		Set
			Me._CTL_ABL_MASTERQUEUE_PREFILTER.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_ACTIVITY(ByVal entity As CTL_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_ACTIVITY(ByVal entity As CTL_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_CONNECTOR_ACCESSORCONFIG(ByVal entity As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR_ACCESSORCONFIG(ByVal entity As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_CONNECTOR_ENTITYSCHEMA(ByVal entity As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR_ENTITYSCHEMA(ByVal entity As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_FIELD(ByVal entity As CTL_ABL_FIELD)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_FIELD(ByVal entity As CTL_ABL_FIELD)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_LINK(ByVal entity As CTL_ABL_LINK)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_LINK(ByVal entity As CTL_ABL_LINK)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_MASTERQUEUE_INPUT(ByVal entity As CTL_ABL_MASTERQUEUE_INPUT)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_MASTERQUEUE_INPUT(ByVal entity As CTL_ABL_MASTERQUEUE_INPUT)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_MASTERQUEUE_OUTPUT(ByVal entity As CTL_ABL_MASTERQUEUE_OUTPUT)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_MASTERQUEUE_OUTPUT(ByVal entity As CTL_ABL_MASTERQUEUE_OUTPUT)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_MASTERQUEUE_PREFILTER(ByVal entity As CTL_ABL_MASTERQUEUE_PREFILTER)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_MASTERQUEUE_PREFILTER(ByVal entity As CTL_ABL_MASTERQUEUE_PREFILTER)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTOR_ENTITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_CONNECTOR_ENTITYSCHEMA")>  _
Partial Public Class CTL_ABL_CONNECTOR_ENTITYSCHEMA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _ENTITYID As System.Guid
	
	Private _ORDINAL As Byte
	
	Private _TABLENAME As String
	
	Private _COLUMNNAME As String
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
    #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 OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Byte)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnTABLENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnTABLENAMEChanged()
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ORDINAL() As Byte
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me.OnTABLENAMEChanging(value)
				Me.SendPropertyChanging
				Me._TABLENAME = value
				Me.SendPropertyChanged("TABLENAME")
				Me.OnTABLENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me.OnCOLUMNNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNNAME = value
				Me.SendPropertyChanged("COLUMNNAME")
				Me.OnCOLUMNNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITYSCHEMA_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR_ENTITYSCHEMA.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR_ENTITYSCHEMA.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITYSCHEMA_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.CTL_ABL_CONNECTOR_ENTITYSCHEMA.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_CONNECTOR_ENTITYSCHEMA.Add(Me)
					Me._ENTITYID = value.ENTITYID
				Else
					Me._ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_CONNECTORTYPE")>  _
Partial Public Class CTL_ABL_CONNECTORTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONNECTORTYPEID As Integer
	
	Private _NAME As String
	
	Private _ISENTITYFIELDS As Boolean
	
	Private _CTL_ABL_CONNECTOR As EntitySet(Of CTL_ABL_CONNECTOR)
	
    #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 OnCONNECTORTYPEIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCONNECTORTYPEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnISENTITYFIELDSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISENTITYFIELDSChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR = New EntitySet(Of CTL_ABL_CONNECTOR)(AddressOf Me.attach_CTL_ABL_CONNECTOR, AddressOf Me.detach_CTL_ABL_CONNECTOR)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTORTYPEID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONNECTORTYPEID() As Integer
		Get
			Return Me._CONNECTORTYPEID
		End Get
		Set
			If ((Me._CONNECTORTYPEID = value)  _
						= false) Then
				Me.OnCONNECTORTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTORTYPEID = value
				Me.SendPropertyChanged("CONNECTORTYPEID")
				Me.OnCONNECTORTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISENTITYFIELDS", DbType:="Bit NOT NULL")>  _
	Public Property ISENTITYFIELDS() As Boolean
		Get
			Return Me._ISENTITYFIELDS
		End Get
		Set
			If ((Me._ISENTITYFIELDS = value)  _
						= false) Then
				Me.OnISENTITYFIELDSChanging(value)
				Me.SendPropertyChanging
				Me._ISENTITYFIELDS = value
				Me.SendPropertyChanged("ISENTITYFIELDS")
				Me.OnISENTITYFIELDSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_CONNECTORTYPEID_FK", Storage:="_CTL_ABL_CONNECTOR", ThisKey:="CONNECTORTYPEID", OtherKey:="CONNECTORTYPEID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_CONNECTOR() As EntitySet(Of CTL_ABL_CONNECTOR)
		Get
			Return Me._CTL_ABL_CONNECTOR
		End Get
		Set
			Me._CTL_ABL_CONNECTOR.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_CONNECTOR(ByVal entity As CTL_ABL_CONNECTOR)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTORTYPE = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR(ByVal entity As CTL_ABL_CONNECTOR)
		Me.SendPropertyChanging
		entity.CTL_ABL_CONNECTORTYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_DEPENDENT")>  _
Partial Public Class CTL_ABL_DEPENDENT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DEPENDENTID As Integer
	
	Private _BACKOFFICE_RECORDID As String
	
	Private _ACT_RECORDID As System.Guid
	
	Private _ACT_TABLEID As System.Nullable(Of System.Guid)
	
	Private _ACT_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
	Private _CTL_ABL_LINK_DEPENDENT As EntitySet(Of CTL_ABL_LINK_DEPENDENT)
	
    #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 OnDEPENDENTIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnDEPENDENTIDChanged()
    End Sub
    Partial Private Sub OnBACKOFFICE_RECORDIDChanging(value As String)
    End Sub
    Partial Private Sub OnBACKOFFICE_RECORDIDChanged()
    End Sub
    Partial Private Sub OnACT_RECORDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACT_RECORDIDChanged()
    End Sub
    Partial Private Sub OnACT_TABLEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACT_TABLEIDChanged()
    End Sub
    Partial Private Sub OnACT_ENTITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACT_ENTITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		Me._CTL_ABL_LINK_DEPENDENT = New EntitySet(Of CTL_ABL_LINK_DEPENDENT)(AddressOf Me.attach_CTL_ABL_LINK_DEPENDENT, AddressOf Me.detach_CTL_ABL_LINK_DEPENDENT)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPENDENTID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property DEPENDENTID() As Integer
		Get
			Return Me._DEPENDENTID
		End Get
		Set
			If ((Me._DEPENDENTID = value)  _
						= false) Then
				Me.OnDEPENDENTIDChanging(value)
				Me.SendPropertyChanging
				Me._DEPENDENTID = value
				Me.SendPropertyChanged("DEPENDENTID")
				Me.OnDEPENDENTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICE_RECORDID", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property BACKOFFICE_RECORDID() As String
		Get
			Return Me._BACKOFFICE_RECORDID
		End Get
		Set
			If (String.Equals(Me._BACKOFFICE_RECORDID, value) = false) Then
				Me.OnBACKOFFICE_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICE_RECORDID = value
				Me.SendPropertyChanged("BACKOFFICE_RECORDID")
				Me.OnBACKOFFICE_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_RECORDID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACT_RECORDID() As System.Guid
		Get
			Return Me._ACT_RECORDID
		End Get
		Set
			If ((Me._ACT_RECORDID = value)  _
						= false) Then
				Me.OnACT_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_RECORDID = value
				Me.SendPropertyChanged("ACT_RECORDID")
				Me.OnACT_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_TABLEID", DbType:="UniqueIdentifier")>  _
	Public Property ACT_TABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACT_TABLEID
		End Get
		Set
			If (Me._ACT_TABLEID.Equals(value) = false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACT_TABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_TABLEID = value
				Me.SendPropertyChanged("ACT_TABLEID")
				Me.OnACT_TABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACT_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACT_ENTITYID
		End Get
		Set
			If (Me._ACT_ENTITYID.Equals(value) = false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACT_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_ENTITYID = value
				Me.SendPropertyChanged("ACT_ENTITYID")
				Me.OnACT_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_DEPENDENT_ACT_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ACT_ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.CTL_ABL_DEPENDENT.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_DEPENDENT.Add(Me)
					Me._ACT_ENTITYID = value.ENTITYID
				Else
					Me._ACT_ENTITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_DEPENDENT_ACT_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="ACT_TABLEID", OtherKey:="TABLEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.CTL_ABL_DEPENDENT.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_DEPENDENT.Add(Me)
					Me._ACT_TABLEID = value.TABLEID
				Else
					Me._ACT_TABLEID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_DEPENDENT_DEPENDENTID_FK", Storage:="_CTL_ABL_LINK_DEPENDENT", ThisKey:="DEPENDENTID", OtherKey:="DEPENDENTID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_LINK_DEPENDENT() As EntitySet(Of CTL_ABL_LINK_DEPENDENT)
		Get
			Return Me._CTL_ABL_LINK_DEPENDENT
		End Get
		Set
			Me._CTL_ABL_LINK_DEPENDENT.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_LINK_DEPENDENT(ByVal entity As CTL_ABL_LINK_DEPENDENT)
		Me.SendPropertyChanging
		entity.CTL_ABL_DEPENDENT = Me
	End Sub
	
	Private Sub detach_CTL_ABL_LINK_DEPENDENT(ByVal entity As CTL_ABL_LINK_DEPENDENT)
		Me.SendPropertyChanging
		entity.CTL_ABL_DEPENDENT = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_FIELD")>  _
Partial Public Class CTL_ABL_FIELD
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _BUSINESS_FIELD_NAME As String
	
	Private _BUSINESS_RECORD_TYPE As String
	
	Private _BUSINESS_COLUMNID As System.Guid
	
	Private _BUSINESS_FIELD_DISPLAY As String
	
	Private _BUSINESS_ENTITY_TYPE As String
	
	Private _BUSINESS_IS_READONLY As Boolean
	
	Private _BUSINESS_FIELD_LENGTH As System.Nullable(Of Integer)
	
	Private _BUSINESS_STATIC_MAP As Boolean
	
	Private _ACT_COLUMNID As System.Nullable(Of System.Guid)
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
    #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 OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnBUSINESS_FIELD_NAMEChanging(value As String)
    End Sub
    Partial Private Sub OnBUSINESS_FIELD_NAMEChanged()
    End Sub
    Partial Private Sub OnBUSINESS_RECORD_TYPEChanging(value As String)
    End Sub
    Partial Private Sub OnBUSINESS_RECORD_TYPEChanged()
    End Sub
    Partial Private Sub OnBUSINESS_COLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnBUSINESS_COLUMNIDChanged()
    End Sub
    Partial Private Sub OnBUSINESS_FIELD_DISPLAYChanging(value As String)
    End Sub
    Partial Private Sub OnBUSINESS_FIELD_DISPLAYChanged()
    End Sub
    Partial Private Sub OnBUSINESS_ENTITY_TYPEChanging(value As String)
    End Sub
    Partial Private Sub OnBUSINESS_ENTITY_TYPEChanged()
    End Sub
    Partial Private Sub OnBUSINESS_IS_READONLYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnBUSINESS_IS_READONLYChanged()
    End Sub
    Partial Private Sub OnBUSINESS_FIELD_LENGTHChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnBUSINESS_FIELD_LENGTHChanged()
    End Sub
    Partial Private Sub OnBUSINESS_STATIC_MAPChanging(value As Boolean)
    End Sub
    Partial Private Sub OnBUSINESS_STATIC_MAPChanged()
    End Sub
    Partial Private Sub OnACT_COLUMNIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACT_COLUMNIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_FIELD_NAME", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property BUSINESS_FIELD_NAME() As String
		Get
			Return Me._BUSINESS_FIELD_NAME
		End Get
		Set
			If (String.Equals(Me._BUSINESS_FIELD_NAME, value) = false) Then
				Me.OnBUSINESS_FIELD_NAMEChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_FIELD_NAME = value
				Me.SendPropertyChanged("BUSINESS_FIELD_NAME")
				Me.OnBUSINESS_FIELD_NAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_RECORD_TYPE", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property BUSINESS_RECORD_TYPE() As String
		Get
			Return Me._BUSINESS_RECORD_TYPE
		End Get
		Set
			If (String.Equals(Me._BUSINESS_RECORD_TYPE, value) = false) Then
				Me.OnBUSINESS_RECORD_TYPEChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_RECORD_TYPE = value
				Me.SendPropertyChanged("BUSINESS_RECORD_TYPE")
				Me.OnBUSINESS_RECORD_TYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property BUSINESS_COLUMNID() As System.Guid
		Get
			Return Me._BUSINESS_COLUMNID
		End Get
		Set
			If ((Me._BUSINESS_COLUMNID = value)  _
						= false) Then
				Me.OnBUSINESS_COLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_COLUMNID = value
				Me.SendPropertyChanged("BUSINESS_COLUMNID")
				Me.OnBUSINESS_COLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_FIELD_DISPLAY", DbType:="NVarChar(50)")>  _
	Public Property BUSINESS_FIELD_DISPLAY() As String
		Get
			Return Me._BUSINESS_FIELD_DISPLAY
		End Get
		Set
			If (String.Equals(Me._BUSINESS_FIELD_DISPLAY, value) = false) Then
				Me.OnBUSINESS_FIELD_DISPLAYChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_FIELD_DISPLAY = value
				Me.SendPropertyChanged("BUSINESS_FIELD_DISPLAY")
				Me.OnBUSINESS_FIELD_DISPLAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_ENTITY_TYPE", DbType:="NVarChar(50)")>  _
	Public Property BUSINESS_ENTITY_TYPE() As String
		Get
			Return Me._BUSINESS_ENTITY_TYPE
		End Get
		Set
			If (String.Equals(Me._BUSINESS_ENTITY_TYPE, value) = false) Then
				Me.OnBUSINESS_ENTITY_TYPEChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_ENTITY_TYPE = value
				Me.SendPropertyChanged("BUSINESS_ENTITY_TYPE")
				Me.OnBUSINESS_ENTITY_TYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_IS_READONLY", DbType:="Bit NOT NULL")>  _
	Public Property BUSINESS_IS_READONLY() As Boolean
		Get
			Return Me._BUSINESS_IS_READONLY
		End Get
		Set
			If ((Me._BUSINESS_IS_READONLY = value)  _
						= false) Then
				Me.OnBUSINESS_IS_READONLYChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_IS_READONLY = value
				Me.SendPropertyChanged("BUSINESS_IS_READONLY")
				Me.OnBUSINESS_IS_READONLYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_FIELD_LENGTH", DbType:="Int")>  _
	Public Property BUSINESS_FIELD_LENGTH() As System.Nullable(Of Integer)
		Get
			Return Me._BUSINESS_FIELD_LENGTH
		End Get
		Set
			If (Me._BUSINESS_FIELD_LENGTH.Equals(value) = false) Then
				Me.OnBUSINESS_FIELD_LENGTHChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_FIELD_LENGTH = value
				Me.SendPropertyChanged("BUSINESS_FIELD_LENGTH")
				Me.OnBUSINESS_FIELD_LENGTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_STATIC_MAP", DbType:="Bit NOT NULL")>  _
	Public Property BUSINESS_STATIC_MAP() As Boolean
		Get
			Return Me._BUSINESS_STATIC_MAP
		End Get
		Set
			If ((Me._BUSINESS_STATIC_MAP = value)  _
						= false) Then
				Me.OnBUSINESS_STATIC_MAPChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_STATIC_MAP = value
				Me.SendPropertyChanged("BUSINESS_STATIC_MAP")
				Me.OnBUSINESS_STATIC_MAPChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property ACT_COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACT_COLUMNID
		End Get
		Set
			If (Me._ACT_COLUMNID.Equals(value) = false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACT_COLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_COLUMNID = value
				Me.SendPropertyChanged("ACT_COLUMNID")
				Me.OnACT_COLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_FIELD_ACT_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="ACT_COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.CTL_ABL_FIELD.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_FIELD.Add(Me)
					Me._ACT_COLUMNID = value.COLUMNID
				Else
					Me._ACT_COLUMNID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_FIELD_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_FIELD.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_FIELD.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_LINK")>  _
Partial Public Class CTL_ABL_LINK
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _LINKID As Integer
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _BACKOFFICE_RECORDID As String
	
	Private _BUSINESS_ENTITY_TYPE As String
	
	Private _ACT_RECORDID As System.Guid
	
	Private _ACT_ENTITYID As System.Guid
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
	Private _CTL_ABL_LINK_DEPENDENT As EntitySet(Of CTL_ABL_LINK_DEPENDENT)
	
	Private _CTL_ABL_LINKREMAP As EntitySet(Of CTL_ABL_LINKREMAP)
	
    #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 OnLINKIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLINKIDChanged()
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnBACKOFFICE_RECORDIDChanging(value As String)
    End Sub
    Partial Private Sub OnBACKOFFICE_RECORDIDChanged()
    End Sub
    Partial Private Sub OnBUSINESS_ENTITY_TYPEChanging(value As String)
    End Sub
    Partial Private Sub OnBUSINESS_ENTITY_TYPEChanged()
    End Sub
    Partial Private Sub OnACT_RECORDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACT_RECORDIDChanged()
    End Sub
    Partial Private Sub OnACT_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACT_ENTITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		Me._CTL_ABL_LINK_DEPENDENT = New EntitySet(Of CTL_ABL_LINK_DEPENDENT)(AddressOf Me.attach_CTL_ABL_LINK_DEPENDENT, AddressOf Me.detach_CTL_ABL_LINK_DEPENDENT)
		Me._CTL_ABL_LINKREMAP = New EntitySet(Of CTL_ABL_LINKREMAP)(AddressOf Me.attach_CTL_ABL_LINKREMAP, AddressOf Me.detach_CTL_ABL_LINKREMAP)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property LINKID() As Integer
		Get
			Return Me._LINKID
		End Get
		Set
			If ((Me._LINKID = value)  _
						= false) Then
				Me.OnLINKIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKID = value
				Me.SendPropertyChanged("LINKID")
				Me.OnLINKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICE_RECORDID", DbType:="NVarChar(64)")>  _
	Public Property BACKOFFICE_RECORDID() As String
		Get
			Return Me._BACKOFFICE_RECORDID
		End Get
		Set
			If (String.Equals(Me._BACKOFFICE_RECORDID, value) = false) Then
				Me.OnBACKOFFICE_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICE_RECORDID = value
				Me.SendPropertyChanged("BACKOFFICE_RECORDID")
				Me.OnBACKOFFICE_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_ENTITY_TYPE", DbType:="NVarChar(50)")>  _
	Public Property BUSINESS_ENTITY_TYPE() As String
		Get
			Return Me._BUSINESS_ENTITY_TYPE
		End Get
		Set
			If (String.Equals(Me._BUSINESS_ENTITY_TYPE, value) = false) Then
				Me.OnBUSINESS_ENTITY_TYPEChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_ENTITY_TYPE = value
				Me.SendPropertyChanged("BUSINESS_ENTITY_TYPE")
				Me.OnBUSINESS_ENTITY_TYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_RECORDID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACT_RECORDID() As System.Guid
		Get
			Return Me._ACT_RECORDID
		End Get
		Set
			If ((Me._ACT_RECORDID = value)  _
						= false) Then
				Me.OnACT_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_RECORDID = value
				Me.SendPropertyChanged("ACT_RECORDID")
				Me.OnACT_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACT_ENTITYID() As System.Guid
		Get
			Return Me._ACT_ENTITYID
		End Get
		Set
			If ((Me._ACT_ENTITYID = value)  _
						= false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACT_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_ENTITYID = value
				Me.SendPropertyChanged("ACT_ENTITYID")
				Me.OnACT_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_ACT_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ACT_ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.CTL_ABL_LINK.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_LINK.Add(Me)
					Me._ACT_ENTITYID = value.ENTITYID
				Else
					Me._ACT_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_LINK.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_LINK.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_DEPENDENT_LINKID_FK", Storage:="_CTL_ABL_LINK_DEPENDENT", ThisKey:="LINKID", OtherKey:="LINKID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_LINK_DEPENDENT() As EntitySet(Of CTL_ABL_LINK_DEPENDENT)
		Get
			Return Me._CTL_ABL_LINK_DEPENDENT
		End Get
		Set
			Me._CTL_ABL_LINK_DEPENDENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINKREMAP_LINKID_FK", Storage:="_CTL_ABL_LINKREMAP", ThisKey:="LINKID", OtherKey:="LINKID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_LINKREMAP() As EntitySet(Of CTL_ABL_LINKREMAP)
		Get
			Return Me._CTL_ABL_LINKREMAP
		End Get
		Set
			Me._CTL_ABL_LINKREMAP.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_LINK_DEPENDENT(ByVal entity As CTL_ABL_LINK_DEPENDENT)
		Me.SendPropertyChanging
		entity.CTL_ABL_LINK = Me
	End Sub
	
	Private Sub detach_CTL_ABL_LINK_DEPENDENT(ByVal entity As CTL_ABL_LINK_DEPENDENT)
		Me.SendPropertyChanging
		entity.CTL_ABL_LINK = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_LINKREMAP(ByVal entity As CTL_ABL_LINKREMAP)
		Me.SendPropertyChanging
		entity.CTL_ABL_LINK = Me
	End Sub
	
	Private Sub detach_CTL_ABL_LINKREMAP(ByVal entity As CTL_ABL_LINKREMAP)
		Me.SendPropertyChanging
		entity.CTL_ABL_LINK = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_LINK_DEPENDENT")>  _
Partial Public Class CTL_ABL_LINK_DEPENDENT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _LINKID As Integer
	
	Private _DEPENDENTID As Integer
	
	Private _CTL_ABL_DEPENDENT As EntityRef(Of CTL_ABL_DEPENDENT)
	
	Private _CTL_ABL_LINK As EntityRef(Of CTL_ABL_LINK)
	
    #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 OnLINKIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLINKIDChanged()
    End Sub
    Partial Private Sub OnDEPENDENTIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnDEPENDENTIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_DEPENDENT = CType(Nothing, EntityRef(Of CTL_ABL_DEPENDENT))
		Me._CTL_ABL_LINK = CType(Nothing, EntityRef(Of CTL_ABL_LINK))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property LINKID() As Integer
		Get
			Return Me._LINKID
		End Get
		Set
			If ((Me._LINKID = value)  _
						= false) Then
				If Me._CTL_ABL_LINK.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKID = value
				Me.SendPropertyChanged("LINKID")
				Me.OnLINKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPENDENTID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DEPENDENTID() As Integer
		Get
			Return Me._DEPENDENTID
		End Get
		Set
			If ((Me._DEPENDENTID = value)  _
						= false) Then
				If Me._CTL_ABL_DEPENDENT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDEPENDENTIDChanging(value)
				Me.SendPropertyChanging
				Me._DEPENDENTID = value
				Me.SendPropertyChanged("DEPENDENTID")
				Me.OnDEPENDENTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_DEPENDENT_DEPENDENTID_FK", Storage:="_CTL_ABL_DEPENDENT", ThisKey:="DEPENDENTID", OtherKey:="DEPENDENTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_DEPENDENT() As CTL_ABL_DEPENDENT
		Get
			Return Me._CTL_ABL_DEPENDENT.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_DEPENDENT = Me._CTL_ABL_DEPENDENT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_DEPENDENT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_DEPENDENT.Entity = Nothing
					previousValue.CTL_ABL_LINK_DEPENDENT.Remove(Me)
				End If
				Me._CTL_ABL_DEPENDENT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_LINK_DEPENDENT.Add(Me)
					Me._DEPENDENTID = value.DEPENDENTID
				Else
					Me._DEPENDENTID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_ABL_DEPENDENT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_DEPENDENT_LINKID_FK", Storage:="_CTL_ABL_LINK", ThisKey:="LINKID", OtherKey:="LINKID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_LINK() As CTL_ABL_LINK
		Get
			Return Me._CTL_ABL_LINK.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_LINK = Me._CTL_ABL_LINK.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_LINK.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_LINK.Entity = Nothing
					previousValue.CTL_ABL_LINK_DEPENDENT.Remove(Me)
				End If
				Me._CTL_ABL_LINK.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_LINK_DEPENDENT.Add(Me)
					Me._LINKID = value.LINKID
				Else
					Me._LINKID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_ABL_LINK")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_LINKREMAP")>  _
Partial Public Class CTL_ABL_LINKREMAP
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _LINKID As Integer
	
	Private _PRIOR_ACT_RECORDID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _CTL_ABL_LINK As EntityRef(Of CTL_ABL_LINK)
	
    #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 OnLINKIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLINKIDChanged()
    End Sub
    Partial Private Sub OnPRIOR_ACT_RECORDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPRIOR_ACT_RECORDIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_LINK = CType(Nothing, EntityRef(Of CTL_ABL_LINK))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property LINKID() As Integer
		Get
			Return Me._LINKID
		End Get
		Set
			If ((Me._LINKID = value)  _
						= false) Then
				If Me._CTL_ABL_LINK.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKID = value
				Me.SendPropertyChanged("LINKID")
				Me.OnLINKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIOR_ACT_RECORDID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PRIOR_ACT_RECORDID() As System.Guid
		Get
			Return Me._PRIOR_ACT_RECORDID
		End Get
		Set
			If ((Me._PRIOR_ACT_RECORDID = value)  _
						= false) Then
				Me.OnPRIOR_ACT_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._PRIOR_ACT_RECORDID = value
				Me.SendPropertyChanged("PRIOR_ACT_RECORDID")
				Me.OnPRIOR_ACT_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINKREMAP_LINKID_FK", Storage:="_CTL_ABL_LINK", ThisKey:="LINKID", OtherKey:="LINKID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_LINK() As CTL_ABL_LINK
		Get
			Return Me._CTL_ABL_LINK.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_LINK = Me._CTL_ABL_LINK.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_LINK.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_LINK.Entity = Nothing
					previousValue.CTL_ABL_LINKREMAP.Remove(Me)
				End If
				Me._CTL_ABL_LINK.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_LINKREMAP.Add(Me)
					Me._LINKID = value.LINKID
				Else
					Me._LINKID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_ABL_LINK")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_MASTERQUEUE_INPUT")>  _
Partial Public Class CTL_ABL_MASTERQUEUE_INPUT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ROWID As Integer
	
	Private _ROWTIMESTAMP As Date
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _RECORDTYPE As String
	
	Private _ENTITYID As String
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _TRANSACTIONXMLDATA As String
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
    #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 OnROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnROWIDChanged()
    End Sub
    Partial Private Sub OnROWTIMESTAMPChanging(value As Date)
    End Sub
    Partial Private Sub OnROWTIMESTAMPChanged()
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnRECORDTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnRECORDTYPEChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As String)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnTRANSACTIONXMLDATAChanging(value As String)
    End Sub
    Partial Private Sub OnTRANSACTIONXMLDATAChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ROWID() As Integer
		Get
			Return Me._ROWID
		End Get
		Set
			If ((Me._ROWID = value)  _
						= false) Then
				Me.OnROWIDChanging(value)
				Me.SendPropertyChanging
				Me._ROWID = value
				Me.SendPropertyChanged("ROWID")
				Me.OnROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWTIMESTAMP", DbType:="DateTime NOT NULL")>  _
	Public Property ROWTIMESTAMP() As Date
		Get
			Return Me._ROWTIMESTAMP
		End Get
		Set
			If ((Me._ROWTIMESTAMP = value)  _
						= false) Then
				Me.OnROWTIMESTAMPChanging(value)
				Me.SendPropertyChanging
				Me._ROWTIMESTAMP = value
				Me.SendPropertyChanged("ROWTIMESTAMP")
				Me.OnROWTIMESTAMPChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDTYPE", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORDTYPE() As String
		Get
			Return Me._RECORDTYPE
		End Get
		Set
			If (String.Equals(Me._RECORDTYPE, value) = false) Then
				Me.OnRECORDTYPEChanging(value)
				Me.SendPropertyChanging
				Me._RECORDTYPE = value
				Me.SendPropertyChanged("RECORDTYPE")
				Me.OnRECORDTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="NVarChar(100) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYID() As String
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (String.Equals(Me._ENTITYID, value) = false) Then
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANSACTIONXMLDATA", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property TRANSACTIONXMLDATA() As String
		Get
			Return Me._TRANSACTIONXMLDATA
		End Get
		Set
			If (String.Equals(Me._TRANSACTIONXMLDATA, value) = false) Then
				Me.OnTRANSACTIONXMLDATAChanging(value)
				Me.SendPropertyChanging
				Me._TRANSACTIONXMLDATA = value
				Me.SendPropertyChanged("TRANSACTIONXMLDATA")
				Me.OnTRANSACTIONXMLDATAChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_MASTERQUEUE_INPUT_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_MASTERQUEUE_INPUT.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_MASTERQUEUE_INPUT.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_MASTERQUEUE_OUTPUT")>  _
Partial Public Class CTL_ABL_MASTERQUEUE_OUTPUT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ROWID As Integer
	
	Private _ROWTIMESTAMP As Date
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _RECORDTYPE As String
	
	Private _ENTITYID As String
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _TRANSACTIONXMLDATA As String
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
    #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 OnROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnROWIDChanged()
    End Sub
    Partial Private Sub OnROWTIMESTAMPChanging(value As Date)
    End Sub
    Partial Private Sub OnROWTIMESTAMPChanged()
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnRECORDTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnRECORDTYPEChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As String)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnTRANSACTIONXMLDATAChanging(value As String)
    End Sub
    Partial Private Sub OnTRANSACTIONXMLDATAChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ROWID() As Integer
		Get
			Return Me._ROWID
		End Get
		Set
			If ((Me._ROWID = value)  _
						= false) Then
				Me.OnROWIDChanging(value)
				Me.SendPropertyChanging
				Me._ROWID = value
				Me.SendPropertyChanged("ROWID")
				Me.OnROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWTIMESTAMP", DbType:="DateTime NOT NULL")>  _
	Public Property ROWTIMESTAMP() As Date
		Get
			Return Me._ROWTIMESTAMP
		End Get
		Set
			If ((Me._ROWTIMESTAMP = value)  _
						= false) Then
				Me.OnROWTIMESTAMPChanging(value)
				Me.SendPropertyChanging
				Me._ROWTIMESTAMP = value
				Me.SendPropertyChanged("ROWTIMESTAMP")
				Me.OnROWTIMESTAMPChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDTYPE", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORDTYPE() As String
		Get
			Return Me._RECORDTYPE
		End Get
		Set
			If (String.Equals(Me._RECORDTYPE, value) = false) Then
				Me.OnRECORDTYPEChanging(value)
				Me.SendPropertyChanging
				Me._RECORDTYPE = value
				Me.SendPropertyChanged("RECORDTYPE")
				Me.OnRECORDTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="NVarChar(100) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYID() As String
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (String.Equals(Me._ENTITYID, value) = false) Then
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANSACTIONXMLDATA", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property TRANSACTIONXMLDATA() As String
		Get
			Return Me._TRANSACTIONXMLDATA
		End Get
		Set
			If (String.Equals(Me._TRANSACTIONXMLDATA, value) = false) Then
				Me.OnTRANSACTIONXMLDATAChanging(value)
				Me.SendPropertyChanging
				Me._TRANSACTIONXMLDATA = value
				Me.SendPropertyChanged("TRANSACTIONXMLDATA")
				Me.OnTRANSACTIONXMLDATAChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_MASTERQUEUE_OUTPUT_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_MASTERQUEUE_OUTPUT.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_MASTERQUEUE_OUTPUT.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_MASTERQUEUE_PREFILTER")>  _
Partial Public Class CTL_ABL_MASTERQUEUE_PREFILTER
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ROWID As Integer
	
	Private _ROWTIMESTAMP As Date
	
	Private _CONNECTOR_ENTITYID As System.Guid
	
	Private _RECORDTYPE As String
	
	Private _ENTITYID As String
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _TRANSACTIONXMLDATA As System.Xml.Linq.XElement
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntityRef(Of CTL_ABL_CONNECTOR_ENTITY)
	
    #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 OnROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnROWIDChanged()
    End Sub
    Partial Private Sub OnROWTIMESTAMPChanging(value As Date)
    End Sub
    Partial Private Sub OnROWTIMESTAMPChanged()
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONNECTOR_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnRECORDTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnRECORDTYPEChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As String)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnTRANSACTIONXMLDATAChanging(value As System.Xml.Linq.XElement)
    End Sub
    Partial Private Sub OnTRANSACTIONXMLDATAChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ENTITY = CType(Nothing, EntityRef(Of CTL_ABL_CONNECTOR_ENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ROWID() As Integer
		Get
			Return Me._ROWID
		End Get
		Set
			If ((Me._ROWID = value)  _
						= false) Then
				Me.OnROWIDChanging(value)
				Me.SendPropertyChanging
				Me._ROWID = value
				Me.SendPropertyChanged("ROWID")
				Me.OnROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWTIMESTAMP", DbType:="DateTime NOT NULL")>  _
	Public Property ROWTIMESTAMP() As Date
		Get
			Return Me._ROWTIMESTAMP
		End Get
		Set
			If ((Me._ROWTIMESTAMP = value)  _
						= false) Then
				Me.OnROWTIMESTAMPChanging(value)
				Me.SendPropertyChanging
				Me._ROWTIMESTAMP = value
				Me.SendPropertyChanged("ROWTIMESTAMP")
				Me.OnROWTIMESTAMPChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONNECTOR_ENTITYID() As System.Guid
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If ((Me._CONNECTOR_ENTITYID = value)  _
						= false) Then
				If Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONNECTOR_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTOR_ENTITYID = value
				Me.SendPropertyChanged("CONNECTOR_ENTITYID")
				Me.OnCONNECTOR_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDTYPE", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORDTYPE() As String
		Get
			Return Me._RECORDTYPE
		End Get
		Set
			If (String.Equals(Me._RECORDTYPE, value) = false) Then
				Me.OnRECORDTYPEChanging(value)
				Me.SendPropertyChanging
				Me._RECORDTYPE = value
				Me.SendPropertyChanged("RECORDTYPE")
				Me.OnRECORDTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="NVarChar(100) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYID() As String
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (String.Equals(Me._ENTITYID, value) = false) Then
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANSACTIONXMLDATA", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property TRANSACTIONXMLDATA() As System.Xml.Linq.XElement
		Get
			Return Me._TRANSACTIONXMLDATA
		End Get
		Set
			If (Object.Equals(Me._TRANSACTIONXMLDATA, value) = false) Then
				Me.OnTRANSACTIONXMLDATAChanging(value)
				Me.SendPropertyChanging
				Me._TRANSACTIONXMLDATA = value
				Me.SendPropertyChanged("TRANSACTIONXMLDATA")
				Me.OnTRANSACTIONXMLDATAChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_MASTERQUEUE_PREFILTER_CONNECTOR_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="CONNECTOR_ENTITYID", OtherKey:="CONNECTOR_ENTITYID", IsForeignKey:=true)>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As CTL_ABL_CONNECTOR_ENTITY
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_CONNECTOR_ENTITY = Me._CTL_ABL_CONNECTOR_ENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_CONNECTOR_ENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_CONNECTOR_ENTITY.Entity = Nothing
					previousValue.CTL_ABL_MASTERQUEUE_PREFILTER.Remove(Me)
				End If
				Me._CTL_ABL_CONNECTOR_ENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_MASTERQUEUE_PREFILTER.Add(Me)
					Me._CONNECTOR_ENTITYID = value.CONNECTOR_ENTITYID
				Else
					Me._CONNECTOR_ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_CONNECTOR_ENTITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ABL_SCHEDULEDFOR")>  _
Partial Public Class CTL_ABL_SCHEDULEDFOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ABL_ACTIVITYID As System.Guid
	
	Private _SCHEDULEDFORID As System.Guid
	
	Private _CTL_ABL_ACTIVITY As EntityRef(Of CTL_ABL_ACTIVITY)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnABL_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnABL_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnSCHEDULEDFORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSCHEDULEDFORIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_ACTIVITY = CType(Nothing, EntityRef(Of CTL_ABL_ACTIVITY))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ABL_ACTIVITYID() As System.Guid
		Get
			Return Me._ABL_ACTIVITYID
		End Get
		Set
			If ((Me._ABL_ACTIVITYID = value)  _
						= false) Then
				If Me._CTL_ABL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnABL_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ABL_ACTIVITYID = value
				Me.SendPropertyChanged("ABL_ACTIVITYID")
				Me.OnABL_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SCHEDULEDFORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SCHEDULEDFORID() As System.Guid
		Get
			Return Me._SCHEDULEDFORID
		End Get
		Set
			If ((Me._SCHEDULEDFORID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSCHEDULEDFORIDChanging(value)
				Me.SendPropertyChanging
				Me._SCHEDULEDFORID = value
				Me.SendPropertyChanged("SCHEDULEDFORID")
				Me.OnSCHEDULEDFORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_SCHEDULEDFOR_ABL_ACTIVITYID_FK", Storage:="_CTL_ABL_ACTIVITY", ThisKey:="ABL_ACTIVITYID", OtherKey:="ABL_ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_ACTIVITY() As CTL_ABL_ACTIVITY
		Get
			Return Me._CTL_ABL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_ACTIVITY = Me._CTL_ABL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_ACTIVITY.Entity = Nothing
					previousValue.CTL_ABL_SCHEDULEDFOR.Remove(Me)
				End If
				Me._CTL_ABL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_SCHEDULEDFOR.Add(Me)
					Me._ABL_ACTIVITYID = value.ABL_ACTIVITYID
				Else
					Me._ABL_ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_SCHEDULEDFOR_SCHEDULEDFORID_FK", Storage:="_TBL_USER", ThisKey:="SCHEDULEDFORID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.CTL_ABL_SCHEDULEDFOR.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ABL_SCHEDULEDFOR.Add(Me)
					Me._SCHEDULEDFORID = value.USERID
				Else
					Me._SCHEDULEDFORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_ACTIVITY_ABL_ACTIVITY")>  _
Partial Public Class CTL_ACTIVITY_ABL_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYID As System.Guid
	
	Private _ABL_ACTIVITYID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _ABL_BACKOFFICE_RECORDID As String
	
	Private _CTL_ABL_ACTIVITY As EntityRef(Of CTL_ABL_ACTIVITY)
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
    #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 OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnABL_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnABL_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnABL_BACKOFFICE_RECORDIDChanging(value As String)
    End Sub
    Partial Private Sub OnABL_BACKOFFICE_RECORDIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_ACTIVITY = CType(Nothing, EntityRef(Of CTL_ABL_ACTIVITY))
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ABL_ACTIVITYID() As System.Guid
		Get
			Return Me._ABL_ACTIVITYID
		End Get
		Set
			If ((Me._ABL_ACTIVITYID = value)  _
						= false) Then
				If Me._CTL_ABL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnABL_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ABL_ACTIVITYID = value
				Me.SendPropertyChanged("ABL_ACTIVITYID")
				Me.OnABL_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_BACKOFFICE_RECORDID", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property ABL_BACKOFFICE_RECORDID() As String
		Get
			Return Me._ABL_BACKOFFICE_RECORDID
		End Get
		Set
			If (String.Equals(Me._ABL_BACKOFFICE_RECORDID, value) = false) Then
				Me.OnABL_BACKOFFICE_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._ABL_BACKOFFICE_RECORDID = value
				Me.SendPropertyChanged("ABL_BACKOFFICE_RECORDID")
				Me.OnABL_BACKOFFICE_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ABL_ACTIVITY_ABL_ACTIVITYID_FK", Storage:="_CTL_ABL_ACTIVITY", ThisKey:="ABL_ACTIVITYID", OtherKey:="ABL_ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_ABL_ACTIVITY() As CTL_ABL_ACTIVITY
		Get
			Return Me._CTL_ABL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As CTL_ABL_ACTIVITY = Me._CTL_ABL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_ABL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_ABL_ACTIVITY.Entity = Nothing
					previousValue.CTL_ACTIVITY_ABL_ACTIVITY.Remove(Me)
				End If
				Me._CTL_ABL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ACTIVITY_ABL_ACTIVITY.Add(Me)
					Me._ABL_ACTIVITYID = value.ABL_ACTIVITYID
				Else
					Me._ABL_ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_ABL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ABL_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.CTL_ACTIVITY_ABL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_ACTIVITY_ABL_ACTIVITY.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_CALENDARDATE_DIM")>  _
Partial Public Class CTL_BI_CALENDARDATE_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CALENDARDATE As Date
	
	Private _YEAR As String
	
	Private _MONTH As String
	
	Private _QUARTER As String
	
	Private _DAYOFWEEK 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 OnCALENDARDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCALENDARDATEChanged()
    End Sub
    Partial Private Sub OnYEARChanging(value As String)
    End Sub
    Partial Private Sub OnYEARChanged()
    End Sub
    Partial Private Sub OnMONTHChanging(value As String)
    End Sub
    Partial Private Sub OnMONTHChanged()
    End Sub
    Partial Private Sub OnQUARTERChanging(value As String)
    End Sub
    Partial Private Sub OnQUARTERChanged()
    End Sub
    Partial Private Sub OnDAYOFWEEKChanging(value As String)
    End Sub
    Partial Private Sub OnDAYOFWEEKChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARDATE", DbType:="DateTime NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CALENDARDATE() As Date
		Get
			Return Me._CALENDARDATE
		End Get
		Set
			If ((Me._CALENDARDATE = value)  _
						= false) Then
				Me.OnCALENDARDATEChanging(value)
				Me.SendPropertyChanging
				Me._CALENDARDATE = value
				Me.SendPropertyChanged("CALENDARDATE")
				Me.OnCALENDARDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_YEAR", AutoSync:=AutoSync.Always, DbType:="NVarChar(64)", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(CONVERT([nvarchar](64),datepart(year,[CalendarDate]),(0)) collate Latin1_General"& _ 
		"_CI_AS)")>  _
	Public Property YEAR() As String
		Get
			Return Me._YEAR
		End Get
		Set
			If (String.Equals(Me._YEAR, value) = false) Then
				Me.OnYEARChanging(value)
				Me.SendPropertyChanging
				Me._YEAR = value
				Me.SendPropertyChanged("YEAR")
				Me.OnYEARChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MONTH", AutoSync:=AutoSync.Always, DbType:="NVarChar(64)", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(CONVERT([nvarchar](64),datename(month,[calendarDate]),(0)) collate Latin1_Genera"& _ 
		"l_CI_AS)")>  _
	Public Property MONTH() As String
		Get
			Return Me._MONTH
		End Get
		Set
			If (String.Equals(Me._MONTH, value) = false) Then
				Me.OnMONTHChanging(value)
				Me.SendPropertyChanging
				Me._MONTH = value
				Me.SendPropertyChanged("MONTH")
				Me.OnMONTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUARTER", AutoSync:=AutoSync.Always, DbType:="NVarChar(64)", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(CONVERT([nvarchar](64),datepart(quarter,[calendarDate]),(0)) collate Latin1_Gene"& _ 
		"ral_CI_AS)")>  _
	Public Property QUARTER() As String
		Get
			Return Me._QUARTER
		End Get
		Set
			If (String.Equals(Me._QUARTER, value) = false) Then
				Me.OnQUARTERChanging(value)
				Me.SendPropertyChanging
				Me._QUARTER = value
				Me.SendPropertyChanged("QUARTER")
				Me.OnQUARTERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DAYOFWEEK", AutoSync:=AutoSync.Always, DbType:="NVarChar(64)", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(CONVERT([nvarchar](64),datename(weekday,[calendarDate]),(0)) collate Latin1_Gene"& _ 
		"ral_CI_AS)")>  _
	Public Property DAYOFWEEK() As String
		Get
			Return Me._DAYOFWEEK
		End Get
		Set
			If (String.Equals(Me._DAYOFWEEK, value) = false) Then
				Me.OnDAYOFWEEKChanging(value)
				Me.SendPropertyChanging
				Me._DAYOFWEEK = value
				Me.SendPropertyChanged("DAYOFWEEK")
				Me.OnDAYOFWEEKChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_COMPANY_DIM")>  _
Partial Public Class CTL_BI_COMPANY_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As Integer
	
	Private _COMPANYNAME 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 OnCOMPANYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOMPANYNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As Integer
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(255)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me.OnCOMPANYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYNAME = value
				Me.SendPropertyChanged("COMPANYNAME")
				Me.OnCOMPANYNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_CONTACT_DIM")>  _
Partial Public Class CTL_BI_CONTACT_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As Integer
	
	Private _CONTACTNAME 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 OnCONTACTIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnCONTACTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACTNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As Integer
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTNAME", DbType:="NVarChar(255)")>  _
	Public Property CONTACTNAME() As String
		Get
			Return Me._CONTACTNAME
		End Get
		Set
			If (String.Equals(Me._CONTACTNAME, value) = false) Then
				Me.OnCONTACTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTNAME = value
				Me.SendPropertyChanged("CONTACTNAME")
				Me.OnCONTACTNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_GEOGRAPHY_DIM")>  _
Partial Public Class CTL_BI_GEOGRAPHY_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GEOGRAPHYID As Integer
	
	Private _COUNTRYNAME As String
	
	Private _STATEORPROVINCE As String
	
	Private _CITY As String
	
	Private _ZIPORPOSTALCODE 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 OnGEOGRAPHYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnGEOGRAPHYIDChanged()
    End Sub
    Partial Private Sub OnCOUNTRYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOUNTRYNAMEChanged()
    End Sub
    Partial Private Sub OnSTATEORPROVINCEChanging(value As String)
    End Sub
    Partial Private Sub OnSTATEORPROVINCEChanged()
    End Sub
    Partial Private Sub OnCITYChanging(value As String)
    End Sub
    Partial Private Sub OnCITYChanged()
    End Sub
    Partial Private Sub OnZIPORPOSTALCODEChanging(value As String)
    End Sub
    Partial Private Sub OnZIPORPOSTALCODEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GEOGRAPHYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GEOGRAPHYID() As Integer
		Get
			Return Me._GEOGRAPHYID
		End Get
		Set
			If ((Me._GEOGRAPHYID = value)  _
						= false) Then
				Me.OnGEOGRAPHYIDChanging(value)
				Me.SendPropertyChanging
				Me._GEOGRAPHYID = value
				Me.SendPropertyChanged("GEOGRAPHYID")
				Me.OnGEOGRAPHYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRYNAME", DbType:="NVarChar(255)")>  _
	Public Property COUNTRYNAME() As String
		Get
			Return Me._COUNTRYNAME
		End Get
		Set
			If (String.Equals(Me._COUNTRYNAME, value) = false) Then
				Me.OnCOUNTRYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COUNTRYNAME = value
				Me.SendPropertyChanged("COUNTRYNAME")
				Me.OnCOUNTRYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATEORPROVINCE", DbType:="NVarChar(255)")>  _
	Public Property STATEORPROVINCE() As String
		Get
			Return Me._STATEORPROVINCE
		End Get
		Set
			If (String.Equals(Me._STATEORPROVINCE, value) = false) Then
				Me.OnSTATEORPROVINCEChanging(value)
				Me.SendPropertyChanging
				Me._STATEORPROVINCE = value
				Me.SendPropertyChanged("STATEORPROVINCE")
				Me.OnSTATEORPROVINCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(255)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me.OnCITYChanging(value)
				Me.SendPropertyChanging
				Me._CITY = value
				Me.SendPropertyChanged("CITY")
				Me.OnCITYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIPORPOSTALCODE", DbType:="NVarChar(255)")>  _
	Public Property ZIPORPOSTALCODE() As String
		Get
			Return Me._ZIPORPOSTALCODE
		End Get
		Set
			If (String.Equals(Me._ZIPORPOSTALCODE, value) = false) Then
				Me.OnZIPORPOSTALCODEChanging(value)
				Me.SendPropertyChanging
				Me._ZIPORPOSTALCODE = value
				Me.SendPropertyChanged("ZIPORPOSTALCODE")
				Me.OnZIPORPOSTALCODEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_GROUP_DIM")>  _
Partial Public Class CTL_BI_GROUP_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As Integer
	
	Private _GROUPNAME 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 OnGROUPIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnGROUPNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnGROUPNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPNAME", DbType:="NVarChar(255)")>  _
	Public Property GROUPNAME() As String
		Get
			Return Me._GROUPNAME
		End Get
		Set
			If (String.Equals(Me._GROUPNAME, value) = false) Then
				Me.OnGROUPNAMEChanging(value)
				Me.SendPropertyChanging
				Me._GROUPNAME = value
				Me.SendPropertyChanged("GROUPNAME")
				Me.OnGROUPNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_HISTORY_FACT")>  _
Partial Public Class CTL_BI_HISTORY_FACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CALENDARDATE As Date
	
	Private _COMPANYID As Integer
	
	Private _OPPORTUNITYID As Integer
	
	Private _HISTORYTYPEID As Integer
	
	Private _CONTACTID As Integer
	
	Private _GROUPID As Integer
	
	Private _USERID As Integer
	
	Private _COUNT As Long
	
	Private _DURATION As Long
	
    #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 OnCALENDARDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCALENDARDATEChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnGROUPIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnCOUNTChanging(value As Long)
    End Sub
    Partial Private Sub OnCOUNTChanged()
    End Sub
    Partial Private Sub OnDURATIONChanging(value As Long)
    End Sub
    Partial Private Sub OnDURATIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARDATE", DbType:="DateTime NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CALENDARDATE() As Date
		Get
			Return Me._CALENDARDATE
		End Get
		Set
			If ((Me._CALENDARDATE = value)  _
						= false) Then
				Me.OnCALENDARDATEChanging(value)
				Me.SendPropertyChanging
				Me._CALENDARDATE = value
				Me.SendPropertyChanged("CALENDARDATE")
				Me.OnCALENDARDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As Integer
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As Integer
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYTYPEID() As Integer
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEID = value)  _
						= false) Then
				Me.OnHISTORYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEID = value
				Me.SendPropertyChanged("HISTORYTYPEID")
				Me.OnHISTORYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As Integer
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As Integer
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNT", DbType:="BigInt NOT NULL")>  _
	Public Property COUNT() As Long
		Get
			Return Me._COUNT
		End Get
		Set
			If ((Me._COUNT = value)  _
						= false) Then
				Me.OnCOUNTChanging(value)
				Me.SendPropertyChanging
				Me._COUNT = value
				Me.SendPropertyChanged("COUNT")
				Me.OnCOUNTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", DbType:="BigInt NOT NULL")>  _
	Public Property DURATION() As Long
		Get
			Return Me._DURATION
		End Get
		Set
			If ((Me._DURATION = value)  _
						= false) Then
				Me.OnDURATIONChanging(value)
				Me.SendPropertyChanging
				Me._DURATION = value
				Me.SendPropertyChanged("DURATION")
				Me.OnDURATIONChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_HISTORYTYPE_DIM")>  _
Partial Public Class CTL_BI_HISTORYTYPE_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _HISTORYTYPEID As Integer
	
	Private _HISTORYTYPENAME As String
	
	Private _HISTORYTYPEGROUPNAME As String
	
	Private _HISTORYTYPESUPERGROUPNAME 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 OnHISTORYTYPEIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnHISTORYTYPENAMEChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPNAMEChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYTYPEID() As Integer
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEID = value)  _
						= false) Then
				Me.OnHISTORYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEID = value
				Me.SendPropertyChanged("HISTORYTYPEID")
				Me.OnHISTORYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPENAME", DbType:="NVarChar(255)")>  _
	Public Property HISTORYTYPENAME() As String
		Get
			Return Me._HISTORYTYPENAME
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPENAME, value) = false) Then
				Me.OnHISTORYTYPENAMEChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPENAME = value
				Me.SendPropertyChanged("HISTORYTYPENAME")
				Me.OnHISTORYTYPENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPNAME", DbType:="NVarChar(255)")>  _
	Public Property HISTORYTYPEGROUPNAME() As String
		Get
			Return Me._HISTORYTYPEGROUPNAME
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPEGROUPNAME, value) = false) Then
				Me.OnHISTORYTYPEGROUPNAMEChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEGROUPNAME = value
				Me.SendPropertyChanged("HISTORYTYPEGROUPNAME")
				Me.OnHISTORYTYPEGROUPNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPESUPERGROUPNAME", DbType:="NVarChar(255)")>  _
	Public Property HISTORYTYPESUPERGROUPNAME() As String
		Get
			Return Me._HISTORYTYPESUPERGROUPNAME
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESUPERGROUPNAME, value) = false) Then
				Me.OnHISTORYTYPESUPERGROUPNAMEChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPESUPERGROUPNAME = value
				Me.SendPropertyChanged("HISTORYTYPESUPERGROUPNAME")
				Me.OnHISTORYTYPESUPERGROUPNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_INDUSTRY_DIM")>  _
Partial Public Class CTL_BI_INDUSTRY_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _INDUSTRYID As Integer
	
	Private _INDUSTRYNAME 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 OnINDUSTRYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnINDUSTRYIDChanged()
    End Sub
    Partial Private Sub OnINDUSTRYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnINDUSTRYNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDUSTRYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property INDUSTRYID() As Integer
		Get
			Return Me._INDUSTRYID
		End Get
		Set
			If ((Me._INDUSTRYID = value)  _
						= false) Then
				Me.OnINDUSTRYIDChanging(value)
				Me.SendPropertyChanging
				Me._INDUSTRYID = value
				Me.SendPropertyChanged("INDUSTRYID")
				Me.OnINDUSTRYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDUSTRYNAME", DbType:="NVarChar(255)")>  _
	Public Property INDUSTRYNAME() As String
		Get
			Return Me._INDUSTRYNAME
		End Get
		Set
			If (String.Equals(Me._INDUSTRYNAME, value) = false) Then
				Me.OnINDUSTRYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._INDUSTRYNAME = value
				Me.SendPropertyChanged("INDUSTRYNAME")
				Me.OnINDUSTRYNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_OPPORTUNITY_DIM")>  _
Partial Public Class CTL_BI_OPPORTUNITY_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As Integer
	
	Private _OPPORTUNITYNAME 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 OnOPPORTUNITYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnOPPORTUNITYNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As Integer
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYNAME", DbType:="NVarChar(255)")>  _
	Public Property OPPORTUNITYNAME() As String
		Get
			Return Me._OPPORTUNITYNAME
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYNAME, value) = false) Then
				Me.OnOPPORTUNITYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYNAME = value
				Me.SendPropertyChanged("OPPORTUNITYNAME")
				Me.OnOPPORTUNITYNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_OPPORTUNITY_FACT")>  _
Partial Public Class CTL_BI_OPPORTUNITY_FACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _INDUSTRYID As Integer
	
	Private _CALENDARDATE As Date
	
	Private _USERID As Integer
	
	Private _COMPANYID As Integer
	
	Private _GEOGRAPHYID As Integer
	
	Private _OPPORTUNITYSTATUSID As Integer
	
	Private _COUNT As Integer
	
	Private _AMOUNT As Decimal
	
	Private _GROSSMARGIN As Decimal
	
    #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 OnINDUSTRYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnINDUSTRYIDChanged()
    End Sub
    Partial Private Sub OnCALENDARDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCALENDARDATEChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnGEOGRAPHYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnGEOGRAPHYIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYSTATUSIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnOPPORTUNITYSTATUSIDChanged()
    End Sub
    Partial Private Sub OnCOUNTChanging(value As Integer)
    End Sub
    Partial Private Sub OnCOUNTChanged()
    End Sub
    Partial Private Sub OnAMOUNTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnAMOUNTChanged()
    End Sub
    Partial Private Sub OnGROSSMARGINChanging(value As Decimal)
    End Sub
    Partial Private Sub OnGROSSMARGINChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDUSTRYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property INDUSTRYID() As Integer
		Get
			Return Me._INDUSTRYID
		End Get
		Set
			If ((Me._INDUSTRYID = value)  _
						= false) Then
				Me.OnINDUSTRYIDChanging(value)
				Me.SendPropertyChanging
				Me._INDUSTRYID = value
				Me.SendPropertyChanged("INDUSTRYID")
				Me.OnINDUSTRYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARDATE", DbType:="DateTime NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CALENDARDATE() As Date
		Get
			Return Me._CALENDARDATE
		End Get
		Set
			If ((Me._CALENDARDATE = value)  _
						= false) Then
				Me.OnCALENDARDATEChanging(value)
				Me.SendPropertyChanging
				Me._CALENDARDATE = value
				Me.SendPropertyChanged("CALENDARDATE")
				Me.OnCALENDARDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As Integer
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As Integer
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GEOGRAPHYID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GEOGRAPHYID() As Integer
		Get
			Return Me._GEOGRAPHYID
		End Get
		Set
			If ((Me._GEOGRAPHYID = value)  _
						= false) Then
				Me.OnGEOGRAPHYIDChanging(value)
				Me.SendPropertyChanging
				Me._GEOGRAPHYID = value
				Me.SendPropertyChanged("GEOGRAPHYID")
				Me.OnGEOGRAPHYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYSTATUSID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYSTATUSID() As Integer
		Get
			Return Me._OPPORTUNITYSTATUSID
		End Get
		Set
			If ((Me._OPPORTUNITYSTATUSID = value)  _
						= false) Then
				Me.OnOPPORTUNITYSTATUSIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYSTATUSID = value
				Me.SendPropertyChanged("OPPORTUNITYSTATUSID")
				Me.OnOPPORTUNITYSTATUSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNT", DbType:="Int NOT NULL")>  _
	Public Property COUNT() As Integer
		Get
			Return Me._COUNT
		End Get
		Set
			If ((Me._COUNT = value)  _
						= false) Then
				Me.OnCOUNTChanging(value)
				Me.SendPropertyChanging
				Me._COUNT = value
				Me.SendPropertyChanged("COUNT")
				Me.OnCOUNTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AMOUNT", DbType:="Money NOT NULL")>  _
	Public Property AMOUNT() As Decimal
		Get
			Return Me._AMOUNT
		End Get
		Set
			If ((Me._AMOUNT = value)  _
						= false) Then
				Me.OnAMOUNTChanging(value)
				Me.SendPropertyChanging
				Me._AMOUNT = value
				Me.SendPropertyChanged("AMOUNT")
				Me.OnAMOUNTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROSSMARGIN", DbType:="Money NOT NULL")>  _
	Public Property GROSSMARGIN() As Decimal
		Get
			Return Me._GROSSMARGIN
		End Get
		Set
			If ((Me._GROSSMARGIN = value)  _
						= false) Then
				Me.OnGROSSMARGINChanging(value)
				Me.SendPropertyChanging
				Me._GROSSMARGIN = value
				Me.SendPropertyChanged("GROSSMARGIN")
				Me.OnGROSSMARGINChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_OPPORTUNITYSTATUS_DIM")>  _
Partial Public Class CTL_BI_OPPORTUNITYSTATUS_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYSTATUSID As Integer
	
	Private _OPPORTUNITYSTATUSNAME 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 OnOPPORTUNITYSTATUSIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnOPPORTUNITYSTATUSIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYSTATUSNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnOPPORTUNITYSTATUSNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYSTATUSID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYSTATUSID() As Integer
		Get
			Return Me._OPPORTUNITYSTATUSID
		End Get
		Set
			If ((Me._OPPORTUNITYSTATUSID = value)  _
						= false) Then
				Me.OnOPPORTUNITYSTATUSIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYSTATUSID = value
				Me.SendPropertyChanged("OPPORTUNITYSTATUSID")
				Me.OnOPPORTUNITYSTATUSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYSTATUSNAME", DbType:="NVarChar(255)")>  _
	Public Property OPPORTUNITYSTATUSNAME() As String
		Get
			Return Me._OPPORTUNITYSTATUSNAME
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYSTATUSNAME, value) = false) Then
				Me.OnOPPORTUNITYSTATUSNAMEChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYSTATUSNAME = value
				Me.SendPropertyChanged("OPPORTUNITYSTATUSNAME")
				Me.OnOPPORTUNITYSTATUSNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_BI_USER_DIM")>  _
Partial Public Class CTL_BI_USER_DIM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As Integer
	
	Private _USERNAME 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 OnUSERIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnUSERNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnUSERNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As Integer
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERNAME", DbType:="NVarChar(255)")>  _
	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
	
	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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_DBCONFIG")>  _
Partial Public Class CTL_DBCONFIG
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DBCONFIGID As System.Guid
	
	Private _SECTION As String
	
	Private _NAME As String
	
	Private _CONFIGVALUE As String
	
	Private _DISPLAYNAME As String
	
	Private _DESCRIPTION As String
	
	Private _VALUETYPE As String
	
	Private _VALIDATION As String
	
	Private _ISREQUIRED As Boolean
	
	Private _ISCOPIED As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
    #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 OnDBCONFIGIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnDBCONFIGIDChanged()
    End Sub
    Partial Private Sub OnSECTIONChanging(value As String)
    End Sub
    Partial Private Sub OnSECTIONChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnCONFIGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnCONFIGVALUEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnVALUETYPEChanging(value As String)
    End Sub
    Partial Private Sub OnVALUETYPEChanged()
    End Sub
    Partial Private Sub OnVALIDATIONChanging(value As String)
    End Sub
    Partial Private Sub OnVALIDATIONChanged()
    End Sub
    Partial Private Sub OnISREQUIREDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISREQUIREDChanged()
    End Sub
    Partial Private Sub OnISCOPIEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCOPIEDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DBCONFIGID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DBCONFIGID() As System.Guid
		Get
			Return Me._DBCONFIGID
		End Get
		Set
			If ((Me._DBCONFIGID = value)  _
						= false) Then
				Me.OnDBCONFIGIDChanging(value)
				Me.SendPropertyChanging
				Me._DBCONFIGID = value
				Me.SendPropertyChanged("DBCONFIGID")
				Me.OnDBCONFIGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECTION", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property SECTION() As String
		Get
			Return Me._SECTION
		End Get
		Set
			If (String.Equals(Me._SECTION, value) = false) Then
				Me.OnSECTIONChanging(value)
				Me.SendPropertyChanging
				Me._SECTION = value
				Me.SendPropertyChanged("SECTION")
				Me.OnSECTIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFIGVALUE", DbType:="NVarChar(512)")>  _
	Public Property CONFIGVALUE() As String
		Get
			Return Me._CONFIGVALUE
		End Get
		Set
			If (String.Equals(Me._CONFIGVALUE, value) = false) Then
				Me.OnCONFIGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._CONFIGVALUE = value
				Me.SendPropertyChanged("CONFIGVALUE")
				Me.OnCONFIGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(256)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(1024)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUETYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property VALUETYPE() As String
		Get
			Return Me._VALUETYPE
		End Get
		Set
			If (String.Equals(Me._VALUETYPE, value) = false) Then
				Me.OnVALUETYPEChanging(value)
				Me.SendPropertyChanging
				Me._VALUETYPE = value
				Me.SendPropertyChanged("VALUETYPE")
				Me.OnVALUETYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALIDATION", DbType:="NVarChar(256)")>  _
	Public Property VALIDATION() As String
		Get
			Return Me._VALIDATION
		End Get
		Set
			If (String.Equals(Me._VALIDATION, value) = false) Then
				Me.OnVALIDATIONChanging(value)
				Me.SendPropertyChanging
				Me._VALIDATION = value
				Me.SendPropertyChanged("VALIDATION")
				Me.OnVALIDATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREQUIRED", DbType:="Bit NOT NULL")>  _
	Public Property ISREQUIRED() As Boolean
		Get
			Return Me._ISREQUIRED
		End Get
		Set
			If ((Me._ISREQUIRED = value)  _
						= false) Then
				Me.OnISREQUIREDChanging(value)
				Me.SendPropertyChanging
				Me._ISREQUIRED = value
				Me.SendPropertyChanged("ISREQUIRED")
				Me.OnISREQUIREDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCOPIED", DbType:="Bit NOT NULL")>  _
	Public Property ISCOPIED() As Boolean
		Get
			Return Me._ISCOPIED
		End Get
		Set
			If ((Me._ISCOPIED = value)  _
						= false) Then
				Me.OnISCOPIEDChanging(value)
				Me.SendPropertyChanging
				Me._ISCOPIED = value
				Me.SendPropertyChanged("ISCOPIED")
				Me.OnISCOPIEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_EVENTLOG")>  _
Partial Public Class CTL_EVENTLOG
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _EVENTLOGID As Integer
	
	Private _EVENTLOGTYPEID As Byte
	
	Private _EVENTSOURCE As String
	
	Private _EVENTDATE As Date
	
	Private _EVENTUSERID As System.Guid
	
	Private _SQLUSER As String
	
	Private _TBL_EVENTLOGTYPE As EntityRef(Of TBL_EVENTLOGTYPE)
	
    #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 OnEVENTLOGIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnEVENTLOGIDChanged()
    End Sub
    Partial Private Sub OnEVENTLOGTYPEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnEVENTLOGTYPEIDChanged()
    End Sub
    Partial Private Sub OnEVENTSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnEVENTSOURCEChanged()
    End Sub
    Partial Private Sub OnEVENTDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnEVENTDATEChanged()
    End Sub
    Partial Private Sub OnEVENTUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnEVENTUSERIDChanged()
    End Sub
    Partial Private Sub OnSQLUSERChanging(value As String)
    End Sub
    Partial Private Sub OnSQLUSERChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_EVENTLOGTYPE = CType(Nothing, EntityRef(Of TBL_EVENTLOGTYPE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property EVENTLOGID() As Integer
		Get
			Return Me._EVENTLOGID
		End Get
		Set
			If ((Me._EVENTLOGID = value)  _
						= false) Then
				Me.OnEVENTLOGIDChanging(value)
				Me.SendPropertyChanging
				Me._EVENTLOGID = value
				Me.SendPropertyChanged("EVENTLOGID")
				Me.OnEVENTLOGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGTYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property EVENTLOGTYPEID() As Byte
		Get
			Return Me._EVENTLOGTYPEID
		End Get
		Set
			If ((Me._EVENTLOGTYPEID = value)  _
						= false) Then
				If Me._TBL_EVENTLOGTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEVENTLOGTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._EVENTLOGTYPEID = value
				Me.SendPropertyChanged("EVENTLOGTYPEID")
				Me.OnEVENTLOGTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTSOURCE", DbType:="NVarChar(64)")>  _
	Public Property EVENTSOURCE() As String
		Get
			Return Me._EVENTSOURCE
		End Get
		Set
			If (String.Equals(Me._EVENTSOURCE, value) = false) Then
				Me.OnEVENTSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._EVENTSOURCE = value
				Me.SendPropertyChanged("EVENTSOURCE")
				Me.OnEVENTSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTDATE", DbType:="DateTime NOT NULL")>  _
	Public Property EVENTDATE() As Date
		Get
			Return Me._EVENTDATE
		End Get
		Set
			If ((Me._EVENTDATE = value)  _
						= false) Then
				Me.OnEVENTDATEChanging(value)
				Me.SendPropertyChanging
				Me._EVENTDATE = value
				Me.SendPropertyChanged("EVENTDATE")
				Me.OnEVENTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property EVENTUSERID() As System.Guid
		Get
			Return Me._EVENTUSERID
		End Get
		Set
			If ((Me._EVENTUSERID = value)  _
						= false) Then
				Me.OnEVENTUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EVENTUSERID = value
				Me.SendPropertyChanged("EVENTUSERID")
				Me.OnEVENTUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLUSER", DbType:="NVarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property SQLUSER() As String
		Get
			Return Me._SQLUSER
		End Get
		Set
			If (String.Equals(Me._SQLUSER, value) = false) Then
				Me.OnSQLUSERChanging(value)
				Me.SendPropertyChanging
				Me._SQLUSER = value
				Me.SendPropertyChanged("SQLUSER")
				Me.OnSQLUSERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EVENTLOG_EVENTLOGTYPEID_FK", Storage:="_TBL_EVENTLOGTYPE", ThisKey:="EVENTLOGTYPEID", OtherKey:="EVENTLOGTYPEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_EVENTLOGTYPE() As TBL_EVENTLOGTYPE
		Get
			Return Me._TBL_EVENTLOGTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_EVENTLOGTYPE = Me._TBL_EVENTLOGTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_EVENTLOGTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_EVENTLOGTYPE.Entity = Nothing
					previousValue.CTL_EVENTLOG.Remove(Me)
				End If
				Me._TBL_EVENTLOGTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_EVENTLOG.Add(Me)
					Me._EVENTLOGTYPEID = value.EVENTLOGTYPEID
				Else
					Me._EVENTLOGTYPEID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_EVENTLOGTYPE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_EVENTLOGDETAIL")>  _
Partial Public Class CTL_EVENTLOGDETAIL
	
	Private _EVENTLOGID As Integer
	
	Private _STATUSNUM As Byte
	
	Private _DETAILDATE As Date
	
	Private _DETAILS As String
	
	Private _OLDVALUE As String
	
	Private _NEWVALUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGID", DbType:="Int NOT NULL")>  _
	Public Property EVENTLOGID() As Integer
		Get
			Return Me._EVENTLOGID
		End Get
		Set
			If ((Me._EVENTLOGID = value)  _
						= false) Then
				Me._EVENTLOGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILDATE", DbType:="DateTime NOT NULL")>  _
	Public Property DETAILDATE() As Date
		Get
			Return Me._DETAILDATE
		End Get
		Set
			If ((Me._DETAILDATE = value)  _
						= false) Then
				Me._DETAILDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(2000) NOT NULL", CanBeNull:=false)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLDVALUE", DbType:="NVarChar(500)")>  _
	Public Property OLDVALUE() As String
		Get
			Return Me._OLDVALUE
		End Get
		Set
			If (String.Equals(Me._OLDVALUE, value) = false) Then
				Me._OLDVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEWVALUE", DbType:="NVarChar(500)")>  _
	Public Property NEWVALUE() As String
		Get
			Return Me._NEWVALUE
		End Get
		Set
			If (String.Equals(Me._NEWVALUE, value) = false) Then
				Me._NEWVALUE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_LOCALSTRING")>  _
Partial Public Class CTL_LOCALSTRING
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _STRINGKEY As String
	
	Private _STRINGVALUE As String
	
	Private _LOCALSTRINGID As System.Nullable(Of System.Guid)
	
    #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 OnSTRINGKEYChanging(value As String)
    End Sub
    Partial Private Sub OnSTRINGKEYChanged()
    End Sub
    Partial Private Sub OnSTRINGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnSTRINGVALUEChanged()
    End Sub
    Partial Private Sub OnLOCALSTRINGIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnLOCALSTRINGIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STRINGKEY", DbType:="VarChar(50) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property STRINGKEY() As String
		Get
			Return Me._STRINGKEY
		End Get
		Set
			If (String.Equals(Me._STRINGKEY, value) = false) Then
				Me.OnSTRINGKEYChanging(value)
				Me.SendPropertyChanging
				Me._STRINGKEY = value
				Me.SendPropertyChanged("STRINGKEY")
				Me.OnSTRINGKEYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STRINGVALUE", DbType:="NVarChar(3000) NOT NULL", CanBeNull:=false)>  _
	Public Property STRINGVALUE() As String
		Get
			Return Me._STRINGVALUE
		End Get
		Set
			If (String.Equals(Me._STRINGVALUE, value) = false) Then
				Me.OnSTRINGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._STRINGVALUE = value
				Me.SendPropertyChanged("STRINGVALUE")
				Me.OnSTRINGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCALSTRINGID", DbType:="UniqueIdentifier")>  _
	Public Property LOCALSTRINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOCALSTRINGID
		End Get
		Set
			If (Me._LOCALSTRINGID.Equals(value) = false) Then
				Me.OnLOCALSTRINGIDChanging(value)
				Me.SendPropertyChanging
				Me._LOCALSTRINGID = value
				Me.SendPropertyChanged("LOCALSTRINGID")
				Me.OnLOCALSTRINGIDChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBFUNCTION")>  _
Partial Public Class CTL_OLEDBFUNCTION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _FUNCTIONID As Integer
	
	Private _FUNCTIONNAME As String
	
	Private _TABLENAME As String
	
	Private _CTL_OLEDBFUNCTION_SYSCOLUMN As EntitySet(Of CTL_OLEDBFUNCTION_SYSCOLUMN)
	
	Private _CTL_OLEDBVIEW_OLEDBFUNCTION As EntitySet(Of CTL_OLEDBVIEW_OLEDBFUNCTION)
	
    #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 OnFUNCTIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnFUNCTIONIDChanged()
    End Sub
    Partial Private Sub OnFUNCTIONNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFUNCTIONNAMEChanged()
    End Sub
    Partial Private Sub OnTABLENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnTABLENAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBFUNCTION_SYSCOLUMN = New EntitySet(Of CTL_OLEDBFUNCTION_SYSCOLUMN)(AddressOf Me.attach_CTL_OLEDBFUNCTION_SYSCOLUMN, AddressOf Me.detach_CTL_OLEDBFUNCTION_SYSCOLUMN)
		Me._CTL_OLEDBVIEW_OLEDBFUNCTION = New EntitySet(Of CTL_OLEDBVIEW_OLEDBFUNCTION)(AddressOf Me.attach_CTL_OLEDBVIEW_OLEDBFUNCTION, AddressOf Me.detach_CTL_OLEDBVIEW_OLEDBFUNCTION)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property FUNCTIONID() As Integer
		Get
			Return Me._FUNCTIONID
		End Get
		Set
			If ((Me._FUNCTIONID = value)  _
						= false) Then
				Me.OnFUNCTIONIDChanging(value)
				Me.SendPropertyChanging
				Me._FUNCTIONID = value
				Me.SendPropertyChanged("FUNCTIONID")
				Me.OnFUNCTIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FUNCTIONNAME() As String
		Get
			Return Me._FUNCTIONNAME
		End Get
		Set
			If (String.Equals(Me._FUNCTIONNAME, value) = false) Then
				Me.OnFUNCTIONNAMEChanging(value)
				Me.SendPropertyChanging
				Me._FUNCTIONNAME = value
				Me.SendPropertyChanged("FUNCTIONNAME")
				Me.OnFUNCTIONNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me.OnTABLENAMEChanging(value)
				Me.SendPropertyChanging
				Me._TABLENAME = value
				Me.SendPropertyChanged("TABLENAME")
				Me.OnTABLENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBFUNCTION_SYSCOLUMN_FUNCTIONID_FK", Storage:="_CTL_OLEDBFUNCTION_SYSCOLUMN", ThisKey:="FUNCTIONID", OtherKey:="FUNCTIONID", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBFUNCTION_SYSCOLUMN() As EntitySet(Of CTL_OLEDBFUNCTION_SYSCOLUMN)
		Get
			Return Me._CTL_OLEDBFUNCTION_SYSCOLUMN
		End Get
		Set
			Me._CTL_OLEDBFUNCTION_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_OLEDBFUNCTION_FUNCTIONID_FK", Storage:="_CTL_OLEDBVIEW_OLEDBFUNCTION", ThisKey:="FUNCTIONID", OtherKey:="FUNCTIONID", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_OLEDBFUNCTION() As EntitySet(Of CTL_OLEDBVIEW_OLEDBFUNCTION)
		Get
			Return Me._CTL_OLEDBVIEW_OLEDBFUNCTION
		End Get
		Set
			Me._CTL_OLEDBVIEW_OLEDBFUNCTION.Assign(value)
		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
	
	Private Sub attach_CTL_OLEDBFUNCTION_SYSCOLUMN(ByVal entity As CTL_OLEDBFUNCTION_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.CTL_OLEDBFUNCTION = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBFUNCTION_SYSCOLUMN(ByVal entity As CTL_OLEDBFUNCTION_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.CTL_OLEDBFUNCTION = Nothing
	End Sub
	
	Private Sub attach_CTL_OLEDBVIEW_OLEDBFUNCTION(ByVal entity As CTL_OLEDBVIEW_OLEDBFUNCTION)
		Me.SendPropertyChanging
		entity.CTL_OLEDBFUNCTION = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_OLEDBFUNCTION(ByVal entity As CTL_OLEDBVIEW_OLEDBFUNCTION)
		Me.SendPropertyChanging
		entity.CTL_OLEDBFUNCTION = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBFUNCTION_SYSCOLUMN")>  _
Partial Public Class CTL_OLEDBFUNCTION_SYSCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COLUMNID As System.Guid
	
	Private _FUNCTIONID As Integer
	
	Private _FUNCTIONCOLUMN As String
	
	Private _ISVIEWCOLUMN As Boolean
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _CTL_OLEDBFUNCTION As EntityRef(Of CTL_OLEDBFUNCTION)
	
    #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 OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnFUNCTIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnFUNCTIONIDChanged()
    End Sub
    Partial Private Sub OnFUNCTIONCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnFUNCTIONCOLUMNChanged()
    End Sub
    Partial Private Sub OnISVIEWCOLUMNChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISVIEWCOLUMNChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._CTL_OLEDBFUNCTION = CType(Nothing, EntityRef(Of CTL_OLEDBFUNCTION))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property FUNCTIONID() As Integer
		Get
			Return Me._FUNCTIONID
		End Get
		Set
			If ((Me._FUNCTIONID = value)  _
						= false) Then
				If Me._CTL_OLEDBFUNCTION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnFUNCTIONIDChanging(value)
				Me.SendPropertyChanging
				Me._FUNCTIONID = value
				Me.SendPropertyChanged("FUNCTIONID")
				Me.OnFUNCTIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONCOLUMN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FUNCTIONCOLUMN() As String
		Get
			Return Me._FUNCTIONCOLUMN
		End Get
		Set
			If (String.Equals(Me._FUNCTIONCOLUMN, value) = false) Then
				Me.OnFUNCTIONCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._FUNCTIONCOLUMN = value
				Me.SendPropertyChanged("FUNCTIONCOLUMN")
				Me.OnFUNCTIONCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVIEWCOLUMN", DbType:="Bit NOT NULL")>  _
	Public Property ISVIEWCOLUMN() As Boolean
		Get
			Return Me._ISVIEWCOLUMN
		End Get
		Set
			If ((Me._ISVIEWCOLUMN = value)  _
						= false) Then
				Me.OnISVIEWCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._ISVIEWCOLUMN = value
				Me.SendPropertyChanged("ISVIEWCOLUMN")
				Me.OnISVIEWCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBFUNCTION_SYSCOLUMN_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.CTL_OLEDBFUNCTION_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBFUNCTION_SYSCOLUMN.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBFUNCTION_SYSCOLUMN_FUNCTIONID_FK", Storage:="_CTL_OLEDBFUNCTION", ThisKey:="FUNCTIONID", OtherKey:="FUNCTIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBFUNCTION() As CTL_OLEDBFUNCTION
		Get
			Return Me._CTL_OLEDBFUNCTION.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBFUNCTION = Me._CTL_OLEDBFUNCTION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBFUNCTION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBFUNCTION.Entity = Nothing
					previousValue.CTL_OLEDBFUNCTION_SYSCOLUMN.Remove(Me)
				End If
				Me._CTL_OLEDBFUNCTION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBFUNCTION_SYSCOLUMN.Add(Me)
					Me._FUNCTIONID = value.FUNCTIONID
				Else
					Me._FUNCTIONID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_OLEDBFUNCTION")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW")>  _
Partial Public Class CTL_OLEDBVIEW
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _VIEWNAME As String
	
	Private _ISDISPLAYED As Boolean
	
	Private _CTL_OLEDBVIEW_DERIVEDCOLUMN As EntitySet(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)
	
	Private _CTL_OLEDBVIEW_JOINDATA As EntitySet(Of CTL_OLEDBVIEW_JOINDATA)
	
	Private _CTL_OLEDBVIEW_KEYINDEX As EntitySet(Of CTL_OLEDBVIEW_KEYINDEX)
	
	Private _CTL_OLEDBVIEW_OLEDBFUNCTION As EntitySet(Of CTL_OLEDBVIEW_OLEDBFUNCTION)
	
	Private _CTL_OLEDBVIEW_PROVIDERVIEW As EntitySet(Of CTL_OLEDBVIEW_PROVIDERVIEW)
	
    #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 OnVIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnVIEWNAMEChanged()
    End Sub
    Partial Private Sub OnISDISPLAYEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDISPLAYEDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBVIEW_DERIVEDCOLUMN = New EntitySet(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)(AddressOf Me.attach_CTL_OLEDBVIEW_DERIVEDCOLUMN, AddressOf Me.detach_CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Me._CTL_OLEDBVIEW_JOINDATA = New EntitySet(Of CTL_OLEDBVIEW_JOINDATA)(AddressOf Me.attach_CTL_OLEDBVIEW_JOINDATA, AddressOf Me.detach_CTL_OLEDBVIEW_JOINDATA)
		Me._CTL_OLEDBVIEW_KEYINDEX = New EntitySet(Of CTL_OLEDBVIEW_KEYINDEX)(AddressOf Me.attach_CTL_OLEDBVIEW_KEYINDEX, AddressOf Me.detach_CTL_OLEDBVIEW_KEYINDEX)
		Me._CTL_OLEDBVIEW_OLEDBFUNCTION = New EntitySet(Of CTL_OLEDBVIEW_OLEDBFUNCTION)(AddressOf Me.attach_CTL_OLEDBVIEW_OLEDBFUNCTION, AddressOf Me.detach_CTL_OLEDBVIEW_OLEDBFUNCTION)
		Me._CTL_OLEDBVIEW_PROVIDERVIEW = New EntitySet(Of CTL_OLEDBVIEW_PROVIDERVIEW)(AddressOf Me.attach_CTL_OLEDBVIEW_PROVIDERVIEW, AddressOf Me.detach_CTL_OLEDBVIEW_PROVIDERVIEW)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me.OnVIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._VIEWNAME = value
				Me.SendPropertyChanged("VIEWNAME")
				Me.OnVIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me.OnISDISPLAYEDChanging(value)
				Me.SendPropertyChanging
				Me._ISDISPLAYED = value
				Me.SendPropertyChanged("ISDISPLAYED")
				Me.OnISDISPLAYEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_DERIVEDCOLUMN_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW_DERIVEDCOLUMN", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_DERIVEDCOLUMN() As EntitySet(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Get
			Return Me._CTL_OLEDBVIEW_DERIVEDCOLUMN
		End Get
		Set
			Me._CTL_OLEDBVIEW_DERIVEDCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_JOINDATA_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW_JOINDATA", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_JOINDATA() As EntitySet(Of CTL_OLEDBVIEW_JOINDATA)
		Get
			Return Me._CTL_OLEDBVIEW_JOINDATA
		End Get
		Set
			Me._CTL_OLEDBVIEW_JOINDATA.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_KEYINDEX_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW_KEYINDEX", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_KEYINDEX() As EntitySet(Of CTL_OLEDBVIEW_KEYINDEX)
		Get
			Return Me._CTL_OLEDBVIEW_KEYINDEX
		End Get
		Set
			Me._CTL_OLEDBVIEW_KEYINDEX.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_OLEDBFUNCTION_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW_OLEDBFUNCTION", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_OLEDBFUNCTION() As EntitySet(Of CTL_OLEDBVIEW_OLEDBFUNCTION)
		Get
			Return Me._CTL_OLEDBVIEW_OLEDBFUNCTION
		End Get
		Set
			Me._CTL_OLEDBVIEW_OLEDBFUNCTION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_PROVIDERVIEW_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW_PROVIDERVIEW", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_PROVIDERVIEW() As EntitySet(Of CTL_OLEDBVIEW_PROVIDERVIEW)
		Get
			Return Me._CTL_OLEDBVIEW_PROVIDERVIEW
		End Get
		Set
			Me._CTL_OLEDBVIEW_PROVIDERVIEW.Assign(value)
		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
	
	Private Sub attach_CTL_OLEDBVIEW_DERIVEDCOLUMN(ByVal entity As CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_DERIVEDCOLUMN(ByVal entity As CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Nothing
	End Sub
	
	Private Sub attach_CTL_OLEDBVIEW_JOINDATA(ByVal entity As CTL_OLEDBVIEW_JOINDATA)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_JOINDATA(ByVal entity As CTL_OLEDBVIEW_JOINDATA)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Nothing
	End Sub
	
	Private Sub attach_CTL_OLEDBVIEW_KEYINDEX(ByVal entity As CTL_OLEDBVIEW_KEYINDEX)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_KEYINDEX(ByVal entity As CTL_OLEDBVIEW_KEYINDEX)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Nothing
	End Sub
	
	Private Sub attach_CTL_OLEDBVIEW_OLEDBFUNCTION(ByVal entity As CTL_OLEDBVIEW_OLEDBFUNCTION)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_OLEDBFUNCTION(ByVal entity As CTL_OLEDBVIEW_OLEDBFUNCTION)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Nothing
	End Sub
	
	Private Sub attach_CTL_OLEDBVIEW_PROVIDERVIEW(ByVal entity As CTL_OLEDBVIEW_PROVIDERVIEW)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_PROVIDERVIEW(ByVal entity As CTL_OLEDBVIEW_PROVIDERVIEW)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW_DERIVEDCOLUMN")>  _
Partial Public Class CTL_OLEDBVIEW_DERIVEDCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _VIEWNAME As String
	
	Private _COLUMNNAME As String
	
	Private _DISPLAYNAME As String
	
	Private _DATATYPEID As Byte
	
	Private _DESCRIPTION As String
	
	Private _TBL_SYSDATATYPE As EntityRef(Of TBL_SYSDATATYPE)
	
	Private _CTL_OLEDBVIEW As EntityRef(Of CTL_OLEDBVIEW)
	
    #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 OnVIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnVIEWNAMEChanged()
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnDATATYPEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDATATYPEIDChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSDATATYPE = CType(Nothing, EntityRef(Of TBL_SYSDATATYPE))
		Me._CTL_OLEDBVIEW = CType(Nothing, EntityRef(Of CTL_OLEDBVIEW))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				If Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._VIEWNAME = value
				Me.SendPropertyChanged("VIEWNAME")
				Me.OnVIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me.OnCOLUMNNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNNAME = value
				Me.SendPropertyChanged("COLUMNNAME")
				Me.OnCOLUMNNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property DATATYPEID() As Byte
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If ((Me._DATATYPEID = value)  _
						= false) Then
				If Me._TBL_SYSDATATYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDATATYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._DATATYPEID = value
				Me.SendPropertyChanged("DATATYPEID")
				Me.OnDATATYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(512)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_DERIVEDCOLUMN_DATATYPEID_FK", Storage:="_TBL_SYSDATATYPE", ThisKey:="DATATYPEID", OtherKey:="DATATYPEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSDATATYPE() As TBL_SYSDATATYPE
		Get
			Return Me._TBL_SYSDATATYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSDATATYPE = Me._TBL_SYSDATATYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSDATATYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSDATATYPE.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_DERIVEDCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSDATATYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_DERIVEDCOLUMN.Add(Me)
					Me._DATATYPEID = value.DATATYPEID
				Else
					Me._DATATYPEID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSDATATYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_DERIVEDCOLUMN_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBVIEW() As CTL_OLEDBVIEW
		Get
			Return Me._CTL_OLEDBVIEW.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBVIEW = Me._CTL_OLEDBVIEW.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBVIEW.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_DERIVEDCOLUMN.Remove(Me)
				End If
				Me._CTL_OLEDBVIEW.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_DERIVEDCOLUMN.Add(Me)
					Me._VIEWNAME = value.VIEWNAME
				Else
					Me._VIEWNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("CTL_OLEDBVIEW")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW_JOINDATA")>  _
Partial Public Class CTL_OLEDBVIEW_JOINDATA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _VIEWNAME As String
	
	Private _PARENT_VIEWNAME As String
	
	Private _VIEW_JOINCOLUMN As String
	
	Private _PARENT_JOINCOLUMN As String
	
	Private _JOINTYPE As String
	
	Private _CTL_OLEDBVIEW As EntityRef(Of CTL_OLEDBVIEW)
	
    #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 OnVIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnVIEWNAMEChanged()
    End Sub
    Partial Private Sub OnPARENT_VIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnPARENT_VIEWNAMEChanged()
    End Sub
    Partial Private Sub OnVIEW_JOINCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnVIEW_JOINCOLUMNChanged()
    End Sub
    Partial Private Sub OnPARENT_JOINCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnPARENT_JOINCOLUMNChanged()
    End Sub
    Partial Private Sub OnJOINTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnJOINTYPEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBVIEW = CType(Nothing, EntityRef(Of CTL_OLEDBVIEW))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				If Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._VIEWNAME = value
				Me.SendPropertyChanged("VIEWNAME")
				Me.OnVIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENT_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property PARENT_VIEWNAME() As String
		Get
			Return Me._PARENT_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PARENT_VIEWNAME, value) = false) Then
				Me.OnPARENT_VIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._PARENT_VIEWNAME = value
				Me.SendPropertyChanged("PARENT_VIEWNAME")
				Me.OnPARENT_VIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEW_JOINCOLUMN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property VIEW_JOINCOLUMN() As String
		Get
			Return Me._VIEW_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._VIEW_JOINCOLUMN, value) = false) Then
				Me.OnVIEW_JOINCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._VIEW_JOINCOLUMN = value
				Me.SendPropertyChanged("VIEW_JOINCOLUMN")
				Me.OnVIEW_JOINCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENT_JOINCOLUMN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PARENT_JOINCOLUMN() As String
		Get
			Return Me._PARENT_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._PARENT_JOINCOLUMN, value) = false) Then
				Me.OnPARENT_JOINCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._PARENT_JOINCOLUMN = value
				Me.SendPropertyChanged("PARENT_JOINCOLUMN")
				Me.OnPARENT_JOINCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_JOINTYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property JOINTYPE() As String
		Get
			Return Me._JOINTYPE
		End Get
		Set
			If (String.Equals(Me._JOINTYPE, value) = false) Then
				Me.OnJOINTYPEChanging(value)
				Me.SendPropertyChanging
				Me._JOINTYPE = value
				Me.SendPropertyChanged("JOINTYPE")
				Me.OnJOINTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_JOINDATA_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBVIEW() As CTL_OLEDBVIEW
		Get
			Return Me._CTL_OLEDBVIEW.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBVIEW = Me._CTL_OLEDBVIEW.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBVIEW.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_JOINDATA.Remove(Me)
				End If
				Me._CTL_OLEDBVIEW.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_JOINDATA.Add(Me)
					Me._VIEWNAME = value.VIEWNAME
				Else
					Me._VIEWNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("CTL_OLEDBVIEW")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW_KEYINDEX")>  _
Partial Public Class CTL_OLEDBVIEW_KEYINDEX
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _KEYINDEXID As System.Guid
	
	Private _VIEWNAME As String
	
	Private _KEYINDEXNAME As String
	
	Private _KEYINDEXTYPE As String
	
	Private _PRIMARYKEY_NAME As String
	
	Private _CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN As EntitySet(Of CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
	
	Private _CTL_OLEDBVIEW As EntityRef(Of CTL_OLEDBVIEW)
	
    #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 OnKEYINDEXIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnKEYINDEXIDChanged()
    End Sub
    Partial Private Sub OnVIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnVIEWNAMEChanged()
    End Sub
    Partial Private Sub OnKEYINDEXNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnKEYINDEXNAMEChanged()
    End Sub
    Partial Private Sub OnKEYINDEXTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnKEYINDEXTYPEChanged()
    End Sub
    Partial Private Sub OnPRIMARYKEY_NAMEChanging(value As String)
    End Sub
    Partial Private Sub OnPRIMARYKEY_NAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN = New EntitySet(Of CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)(AddressOf Me.attach_CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN, AddressOf Me.detach_CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
		Me._CTL_OLEDBVIEW = CType(Nothing, EntityRef(Of CTL_OLEDBVIEW))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYINDEXID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property KEYINDEXID() As System.Guid
		Get
			Return Me._KEYINDEXID
		End Get
		Set
			If ((Me._KEYINDEXID = value)  _
						= false) Then
				Me.OnKEYINDEXIDChanging(value)
				Me.SendPropertyChanging
				Me._KEYINDEXID = value
				Me.SendPropertyChanged("KEYINDEXID")
				Me.OnKEYINDEXIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				If Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._VIEWNAME = value
				Me.SendPropertyChanged("VIEWNAME")
				Me.OnVIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYINDEXNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property KEYINDEXNAME() As String
		Get
			Return Me._KEYINDEXNAME
		End Get
		Set
			If (String.Equals(Me._KEYINDEXNAME, value) = false) Then
				Me.OnKEYINDEXNAMEChanging(value)
				Me.SendPropertyChanging
				Me._KEYINDEXNAME = value
				Me.SendPropertyChanged("KEYINDEXNAME")
				Me.OnKEYINDEXNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYINDEXTYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property KEYINDEXTYPE() As String
		Get
			Return Me._KEYINDEXTYPE
		End Get
		Set
			If (String.Equals(Me._KEYINDEXTYPE, value) = false) Then
				Me.OnKEYINDEXTYPEChanging(value)
				Me.SendPropertyChanging
				Me._KEYINDEXTYPE = value
				Me.SendPropertyChanged("KEYINDEXTYPE")
				Me.OnKEYINDEXTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIMARYKEY_NAME", DbType:="NVarChar(64)")>  _
	Public Property PRIMARYKEY_NAME() As String
		Get
			Return Me._PRIMARYKEY_NAME
		End Get
		Set
			If (String.Equals(Me._PRIMARYKEY_NAME, value) = false) Then
				Me.OnPRIMARYKEY_NAMEChanging(value)
				Me.SendPropertyChanging
				Me._PRIMARYKEY_NAME = value
				Me.SendPropertyChanged("PRIMARYKEY_NAME")
				Me.OnPRIMARYKEY_NAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_KEYINDEX_SYSCOLUMN_KEYINDEXID_FK", Storage:="_CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN", ThisKey:="KEYINDEXID", OtherKey:="KEYINDEXID", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN() As EntitySet(Of CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
		Get
			Return Me._CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN
		End Get
		Set
			Me._CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_KEYINDEX_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBVIEW() As CTL_OLEDBVIEW
		Get
			Return Me._CTL_OLEDBVIEW.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBVIEW = Me._CTL_OLEDBVIEW.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBVIEW.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_KEYINDEX.Remove(Me)
				End If
				Me._CTL_OLEDBVIEW.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_KEYINDEX.Add(Me)
					Me._VIEWNAME = value.VIEWNAME
				Else
					Me._VIEWNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("CTL_OLEDBVIEW")
			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
	
	Private Sub attach_CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN(ByVal entity As CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW_KEYINDEX = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN(ByVal entity As CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.CTL_OLEDBVIEW_KEYINDEX = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN")>  _
Partial Public Class CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _KEYINDEXID As System.Guid
	
	Private _COLUMNNAME As String
	
	Private _COLUMNID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _CTL_OLEDBVIEW_KEYINDEX As EntityRef(Of CTL_OLEDBVIEW_KEYINDEX)
	
    #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 OnKEYINDEXIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnKEYINDEXIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBVIEW_KEYINDEX = CType(Nothing, EntityRef(Of CTL_OLEDBVIEW_KEYINDEX))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYINDEXID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property KEYINDEXID() As System.Guid
		Get
			Return Me._KEYINDEXID
		End Get
		Set
			If ((Me._KEYINDEXID = value)  _
						= false) Then
				If Me._CTL_OLEDBVIEW_KEYINDEX.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnKEYINDEXIDChanging(value)
				Me.SendPropertyChanging
				Me._KEYINDEXID = value
				Me.SendPropertyChanged("KEYINDEXID")
				Me.OnKEYINDEXIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me.OnCOLUMNNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNNAME = value
				Me.SendPropertyChanged("COLUMNNAME")
				Me.OnCOLUMNNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_KEYINDEX_SYSCOLUMN_KEYINDEXID_FK", Storage:="_CTL_OLEDBVIEW_KEYINDEX", ThisKey:="KEYINDEXID", OtherKey:="KEYINDEXID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBVIEW_KEYINDEX() As CTL_OLEDBVIEW_KEYINDEX
		Get
			Return Me._CTL_OLEDBVIEW_KEYINDEX.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBVIEW_KEYINDEX = Me._CTL_OLEDBVIEW_KEYINDEX.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBVIEW_KEYINDEX.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBVIEW_KEYINDEX.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN.Remove(Me)
				End If
				Me._CTL_OLEDBVIEW_KEYINDEX.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_KEYINDEX_SYSCOLUMN.Add(Me)
					Me._KEYINDEXID = value.KEYINDEXID
				Else
					Me._KEYINDEXID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CTL_OLEDBVIEW_KEYINDEX")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW_OLEDBFUNCTION")>  _
Partial Public Class CTL_OLEDBVIEW_OLEDBFUNCTION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _VIEWNAME As String
	
	Private _FUNCTIONID As Integer
	
	Private _ISPRIMARYFUNCTION As Boolean
	
	Private _CTL_OLEDBFUNCTION As EntityRef(Of CTL_OLEDBFUNCTION)
	
	Private _CTL_OLEDBVIEW As EntityRef(Of CTL_OLEDBVIEW)
	
    #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 OnVIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnVIEWNAMEChanged()
    End Sub
    Partial Private Sub OnFUNCTIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnFUNCTIONIDChanged()
    End Sub
    Partial Private Sub OnISPRIMARYFUNCTIONChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIMARYFUNCTIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBFUNCTION = CType(Nothing, EntityRef(Of CTL_OLEDBFUNCTION))
		Me._CTL_OLEDBVIEW = CType(Nothing, EntityRef(Of CTL_OLEDBVIEW))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				If Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._VIEWNAME = value
				Me.SendPropertyChanged("VIEWNAME")
				Me.OnVIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property FUNCTIONID() As Integer
		Get
			Return Me._FUNCTIONID
		End Get
		Set
			If ((Me._FUNCTIONID = value)  _
						= false) Then
				If Me._CTL_OLEDBFUNCTION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnFUNCTIONIDChanging(value)
				Me.SendPropertyChanging
				Me._FUNCTIONID = value
				Me.SendPropertyChanged("FUNCTIONID")
				Me.OnFUNCTIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYFUNCTION", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARYFUNCTION() As Boolean
		Get
			Return Me._ISPRIMARYFUNCTION
		End Get
		Set
			If ((Me._ISPRIMARYFUNCTION = value)  _
						= false) Then
				Me.OnISPRIMARYFUNCTIONChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIMARYFUNCTION = value
				Me.SendPropertyChanged("ISPRIMARYFUNCTION")
				Me.OnISPRIMARYFUNCTIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_OLEDBFUNCTION_FUNCTIONID_FK", Storage:="_CTL_OLEDBFUNCTION", ThisKey:="FUNCTIONID", OtherKey:="FUNCTIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBFUNCTION() As CTL_OLEDBFUNCTION
		Get
			Return Me._CTL_OLEDBFUNCTION.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBFUNCTION = Me._CTL_OLEDBFUNCTION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBFUNCTION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBFUNCTION.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_OLEDBFUNCTION.Remove(Me)
				End If
				Me._CTL_OLEDBFUNCTION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_OLEDBFUNCTION.Add(Me)
					Me._FUNCTIONID = value.FUNCTIONID
				Else
					Me._FUNCTIONID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_OLEDBFUNCTION")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_OLEDBFUNCTION_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBVIEW() As CTL_OLEDBVIEW
		Get
			Return Me._CTL_OLEDBVIEW.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBVIEW = Me._CTL_OLEDBVIEW.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBVIEW.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_OLEDBFUNCTION.Remove(Me)
				End If
				Me._CTL_OLEDBVIEW.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_OLEDBFUNCTION.Add(Me)
					Me._VIEWNAME = value.VIEWNAME
				Else
					Me._VIEWNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("CTL_OLEDBVIEW")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_OLEDBVIEW_PROVIDERVIEW")>  _
Partial Public Class CTL_OLEDBVIEW_PROVIDERVIEW
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _VIEWNAME As String
	
	Private _PROVIDER_VIEWNAME As String
	
	Private _CTL_PROVIDERVIEW As EntityRef(Of CTL_PROVIDERVIEW)
	
	Private _CTL_OLEDBVIEW As EntityRef(Of CTL_OLEDBVIEW)
	
    #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 OnVIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnVIEWNAMEChanged()
    End Sub
    Partial Private Sub OnPROVIDER_VIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnPROVIDER_VIEWNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_PROVIDERVIEW = CType(Nothing, EntityRef(Of CTL_PROVIDERVIEW))
		Me._CTL_OLEDBVIEW = CType(Nothing, EntityRef(Of CTL_OLEDBVIEW))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				If Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._VIEWNAME = value
				Me.SendPropertyChanged("VIEWNAME")
				Me.OnVIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				If Me._CTL_PROVIDERVIEW.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPROVIDER_VIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._PROVIDER_VIEWNAME = value
				Me.SendPropertyChanged("PROVIDER_VIEWNAME")
				Me.OnPROVIDER_VIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_PROVIDERVIEW_PROVIDER_VIEWNAME_FK", Storage:="_CTL_PROVIDERVIEW", ThisKey:="PROVIDER_VIEWNAME", OtherKey:="PROVIDER_VIEWNAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_PROVIDERVIEW() As CTL_PROVIDERVIEW
		Get
			Return Me._CTL_PROVIDERVIEW.Entity
		End Get
		Set
			Dim previousValue As CTL_PROVIDERVIEW = Me._CTL_PROVIDERVIEW.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_PROVIDERVIEW.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_PROVIDERVIEW.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_PROVIDERVIEW.Remove(Me)
				End If
				Me._CTL_PROVIDERVIEW.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_PROVIDERVIEW.Add(Me)
					Me._PROVIDER_VIEWNAME = value.PROVIDER_VIEWNAME
				Else
					Me._PROVIDER_VIEWNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("CTL_PROVIDERVIEW")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_PROVIDERVIEW_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW", ThisKey:="VIEWNAME", OtherKey:="VIEWNAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_OLEDBVIEW() As CTL_OLEDBVIEW
		Get
			Return Me._CTL_OLEDBVIEW.Entity
		End Get
		Set
			Dim previousValue As CTL_OLEDBVIEW = Me._CTL_OLEDBVIEW.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_OLEDBVIEW.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_OLEDBVIEW.Entity = Nothing
					previousValue.CTL_OLEDBVIEW_PROVIDERVIEW.Remove(Me)
				End If
				Me._CTL_OLEDBVIEW.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_OLEDBVIEW_PROVIDERVIEW.Add(Me)
					Me._VIEWNAME = value.VIEWNAME
				Else
					Me._VIEWNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("CTL_OLEDBVIEW")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_PROVIDERVIEW")>  _
Partial Public Class CTL_PROVIDERVIEW
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PROVIDER_VIEWNAME As String
	
	Private _DISPLAYNAME As String
	
	Private _DESCRIPTION As String
	
	Private _CTL_OLEDBVIEW_PROVIDERVIEW As EntitySet(Of CTL_OLEDBVIEW_PROVIDERVIEW)
	
    #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 OnPROVIDER_VIEWNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnPROVIDER_VIEWNAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBVIEW_PROVIDERVIEW = New EntitySet(Of CTL_OLEDBVIEW_PROVIDERVIEW)(AddressOf Me.attach_CTL_OLEDBVIEW_PROVIDERVIEW, AddressOf Me.detach_CTL_OLEDBVIEW_PROVIDERVIEW)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				Me.OnPROVIDER_VIEWNAMEChanging(value)
				Me.SendPropertyChanging
				Me._PROVIDER_VIEWNAME = value
				Me.SendPropertyChanged("PROVIDER_VIEWNAME")
				Me.OnPROVIDER_VIEWNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(1024)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_PROVIDERVIEW_PROVIDER_VIEWNAME_FK", Storage:="_CTL_OLEDBVIEW_PROVIDERVIEW", ThisKey:="PROVIDER_VIEWNAME", OtherKey:="PROVIDER_VIEWNAME", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBVIEW_PROVIDERVIEW() As EntitySet(Of CTL_OLEDBVIEW_PROVIDERVIEW)
		Get
			Return Me._CTL_OLEDBVIEW_PROVIDERVIEW
		End Get
		Set
			Me._CTL_OLEDBVIEW_PROVIDERVIEW.Assign(value)
		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
	
	Private Sub attach_CTL_OLEDBVIEW_PROVIDERVIEW(ByVal entity As CTL_OLEDBVIEW_PROVIDERVIEW)
		Me.SendPropertyChanging
		entity.CTL_PROVIDERVIEW = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_PROVIDERVIEW(ByVal entity As CTL_OLEDBVIEW_PROVIDERVIEW)
		Me.SendPropertyChanging
		entity.CTL_PROVIDERVIEW = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SQLTRACE")>  _
Partial Public Class CTL_SQLTRACE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SQLTRACEID As Integer
	
	Private _OBJECTNAME As String
	
	Private _MISC_INFO As String
	
	Private _STMT_TIME As Date
	
	Private _SPID As Integer
	
	Private _SQL_LOGIN As String
	
	Private _CLIENTMACHINE As String
	
	Private _CLIENTADDRESS As String
	
	Private _NUMREADS As System.Nullable(Of Integer)
	
	Private _NUMWRITES As System.Nullable(Of Integer)
	
	Private _SQLSTMT 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 OnSQLTRACEIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSQLTRACEIDChanged()
    End Sub
    Partial Private Sub OnOBJECTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnOBJECTNAMEChanged()
    End Sub
    Partial Private Sub OnMISC_INFOChanging(value As String)
    End Sub
    Partial Private Sub OnMISC_INFOChanged()
    End Sub
    Partial Private Sub OnSTMT_TIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnSTMT_TIMEChanged()
    End Sub
    Partial Private Sub OnSPIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSPIDChanged()
    End Sub
    Partial Private Sub OnSQL_LOGINChanging(value As String)
    End Sub
    Partial Private Sub OnSQL_LOGINChanged()
    End Sub
    Partial Private Sub OnCLIENTMACHINEChanging(value As String)
    End Sub
    Partial Private Sub OnCLIENTMACHINEChanged()
    End Sub
    Partial Private Sub OnCLIENTADDRESSChanging(value As String)
    End Sub
    Partial Private Sub OnCLIENTADDRESSChanged()
    End Sub
    Partial Private Sub OnNUMREADSChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnNUMREADSChanged()
    End Sub
    Partial Private Sub OnNUMWRITESChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnNUMWRITESChanged()
    End Sub
    Partial Private Sub OnSQLSTMTChanging(value As String)
    End Sub
    Partial Private Sub OnSQLSTMTChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLTRACEID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SQLTRACEID() As Integer
		Get
			Return Me._SQLTRACEID
		End Get
		Set
			If ((Me._SQLTRACEID = value)  _
						= false) Then
				Me.OnSQLTRACEIDChanging(value)
				Me.SendPropertyChanging
				Me._SQLTRACEID = value
				Me.SendPropertyChanged("SQLTRACEID")
				Me.OnSQLTRACEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTNAME", DbType:="VarChar(64)")>  _
	Public Property OBJECTNAME() As String
		Get
			Return Me._OBJECTNAME
		End Get
		Set
			If (String.Equals(Me._OBJECTNAME, value) = false) Then
				Me.OnOBJECTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._OBJECTNAME = value
				Me.SendPropertyChanged("OBJECTNAME")
				Me.OnOBJECTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MISC_INFO", DbType:="NVarChar(2048)")>  _
	Public Property MISC_INFO() As String
		Get
			Return Me._MISC_INFO
		End Get
		Set
			If (String.Equals(Me._MISC_INFO, value) = false) Then
				Me.OnMISC_INFOChanging(value)
				Me.SendPropertyChanging
				Me._MISC_INFO = value
				Me.SendPropertyChanged("MISC_INFO")
				Me.OnMISC_INFOChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STMT_TIME", DbType:="DateTime NOT NULL")>  _
	Public Property STMT_TIME() As Date
		Get
			Return Me._STMT_TIME
		End Get
		Set
			If ((Me._STMT_TIME = value)  _
						= false) Then
				Me.OnSTMT_TIMEChanging(value)
				Me.SendPropertyChanging
				Me._STMT_TIME = value
				Me.SendPropertyChanged("STMT_TIME")
				Me.OnSTMT_TIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SPID", DbType:="Int NOT NULL")>  _
	Public Property SPID() As Integer
		Get
			Return Me._SPID
		End Get
		Set
			If ((Me._SPID = value)  _
						= false) Then
				Me.OnSPIDChanging(value)
				Me.SendPropertyChanging
				Me._SPID = value
				Me.SendPropertyChanged("SPID")
				Me.OnSPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQL_LOGIN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property SQL_LOGIN() As String
		Get
			Return Me._SQL_LOGIN
		End Get
		Set
			If (String.Equals(Me._SQL_LOGIN, value) = false) Then
				Me.OnSQL_LOGINChanging(value)
				Me.SendPropertyChanging
				Me._SQL_LOGIN = value
				Me.SendPropertyChanged("SQL_LOGIN")
				Me.OnSQL_LOGINChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENTMACHINE", DbType:="NVarChar(64)")>  _
	Public Property CLIENTMACHINE() As String
		Get
			Return Me._CLIENTMACHINE
		End Get
		Set
			If (String.Equals(Me._CLIENTMACHINE, value) = false) Then
				Me.OnCLIENTMACHINEChanging(value)
				Me.SendPropertyChanging
				Me._CLIENTMACHINE = value
				Me.SendPropertyChanged("CLIENTMACHINE")
				Me.OnCLIENTMACHINEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENTADDRESS", DbType:="NVarChar(48)")>  _
	Public Property CLIENTADDRESS() As String
		Get
			Return Me._CLIENTADDRESS
		End Get
		Set
			If (String.Equals(Me._CLIENTADDRESS, value) = false) Then
				Me.OnCLIENTADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._CLIENTADDRESS = value
				Me.SendPropertyChanged("CLIENTADDRESS")
				Me.OnCLIENTADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMREADS", DbType:="Int")>  _
	Public Property NUMREADS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMREADS
		End Get
		Set
			If (Me._NUMREADS.Equals(value) = false) Then
				Me.OnNUMREADSChanging(value)
				Me.SendPropertyChanging
				Me._NUMREADS = value
				Me.SendPropertyChanged("NUMREADS")
				Me.OnNUMREADSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMWRITES", DbType:="Int")>  _
	Public Property NUMWRITES() As System.Nullable(Of Integer)
		Get
			Return Me._NUMWRITES
		End Get
		Set
			If (Me._NUMWRITES.Equals(value) = false) Then
				Me.OnNUMWRITESChanging(value)
				Me.SendPropertyChanging
				Me._NUMWRITES = value
				Me.SendPropertyChanged("NUMWRITES")
				Me.OnNUMWRITESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLSTMT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SQLSTMT() As String
		Get
			Return Me._SQLSTMT
		End Get
		Set
			If (String.Equals(Me._SQLSTMT, value) = false) Then
				Me.OnSQLSTMTChanging(value)
				Me.SendPropertyChanging
				Me._SQLSTMT = value
				Me.SendPropertyChanged("SQLSTMT")
				Me.OnSQLSTMTChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNC_DEVICETABLE")>  _
Partial Public Class CTL_SYNC_DEVICETABLE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDB_TYPENUM As Byte
	
	Private _TABLELUID As Short
	
	Private _TBL_SYNCDBTYPE As EntityRef(Of TBL_SYNCDBTYPE)
	
	Private _CTL_SYNCTABLE As EntityRef(Of CTL_SYNCTABLE)
	
    #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 OnSYNCDB_TYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSYNCDB_TYPENUMChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCDBTYPE = CType(Nothing, EntityRef(Of TBL_SYNCDBTYPE))
		Me._CTL_SYNCTABLE = CType(Nothing, EntityRef(Of CTL_SYNCTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDB_TYPENUM", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDB_TYPENUM() As Byte
		Get
			Return Me._SYNCDB_TYPENUM
		End Get
		Set
			If ((Me._SYNCDB_TYPENUM = value)  _
						= false) Then
				If Me._TBL_SYNCDBTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDB_TYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDB_TYPENUM = value
				Me.SendPropertyChanged("SYNCDB_TYPENUM")
				Me.OnSYNCDB_TYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				If Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNC_DEVICETABLE_SYNCDB_TYPENUM_FK", Storage:="_TBL_SYNCDBTYPE", ThisKey:="SYNCDB_TYPENUM", OtherKey:="TYPENUM", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCDBTYPE() As TBL_SYNCDBTYPE
		Get
			Return Me._TBL_SYNCDBTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCDBTYPE = Me._TBL_SYNCDBTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCDBTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCDBTYPE.Entity = Nothing
					previousValue.CTL_SYNC_DEVICETABLE.Remove(Me)
				End If
				Me._TBL_SYNCDBTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNC_DEVICETABLE.Add(Me)
					Me._SYNCDB_TYPENUM = value.TYPENUM
				Else
					Me._SYNCDB_TYPENUM = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYNCDBTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNC_DEVICETABLE_TABLELUID_FK", Storage:="_CTL_SYNCTABLE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCTABLE() As CTL_SYNCTABLE
		Get
			Return Me._CTL_SYNCTABLE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCTABLE = Me._CTL_SYNCTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCTABLE.Entity = Nothing
					previousValue.CTL_SYNC_DEVICETABLE.Remove(Me)
				End If
				Me._CTL_SYNCTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNC_DEVICETABLE.Add(Me)
					Me._TABLELUID = value.TABLELUID
				Else
					Me._TABLELUID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCTABLE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNC_INITIALIZE_ROWDATA")>  _
Partial Public Class CTL_SYNC_INITIALIZE_ROWDATA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ORDINAL As System.Data.Linq.Binary
	
	Private _SYNCDBMAPID As Short
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _STATUS As String
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
    #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 OnORDINALChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", AutoSync:=AutoSync.OnInsert, DbType:="rowversion NOT NULL", CanBeNull:=false, IsPrimaryKey:=true, IsDbGenerated:=true, IsVersion:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ORDINAL() As System.Data.Linq.Binary
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Object.Equals(Me._ORDINAL, value) = false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNC_INITIALIZE_ROWSCHEMA")>  _
Partial Public Class CTL_SYNC_INITIALIZE_ROWSCHEMA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ORDINAL As System.Data.Linq.Binary
	
	Private _SYNCDBMAPID As Short
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _STATUS As String
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
    #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 OnORDINALChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", AutoSync:=AutoSync.OnInsert, DbType:="rowversion NOT NULL", CanBeNull:=false, IsPrimaryKey:=true, IsDbGenerated:=true, IsVersion:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ORDINAL() As System.Data.Linq.Binary
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Object.Equals(Me._ORDINAL, value) = false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCACCESSOR")>  _
Partial Public Class CTL_SYNCACCESSOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSORLUID As Short
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _CTL_SYNCROW_ADD As EntitySet(Of CTL_SYNCROW_ADD)
	
	Private _CTL_SYNCROW_DELETE As EntitySet(Of CTL_SYNCROW_DELETE)
	
	Private _CTL_SYNCROW_UPDATECOLUMN As EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)
	
    #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 OnACCESSORLUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnACCESSORLUIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._CTL_SYNCROW_ADD = New EntitySet(Of CTL_SYNCROW_ADD)(AddressOf Me.attach_CTL_SYNCROW_ADD, AddressOf Me.detach_CTL_SYNCROW_ADD)
		Me._CTL_SYNCROW_DELETE = New EntitySet(Of CTL_SYNCROW_DELETE)(AddressOf Me.attach_CTL_SYNCROW_DELETE, AddressOf Me.detach_CTL_SYNCROW_DELETE)
		Me._CTL_SYNCROW_UPDATECOLUMN = New EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)(AddressOf Me.attach_CTL_SYNCROW_UPDATECOLUMN, AddressOf Me.detach_CTL_SYNCROW_UPDATECOLUMN)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", AutoSync:=AutoSync.OnInsert, DbType:="SmallInt NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ACCESSORLUID() As Short
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If ((Me._ACCESSORLUID = value)  _
						= false) Then
				Me.OnACCESSORLUIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORLUID = value
				Me.SendPropertyChanged("ACCESSORLUID")
				Me.OnACCESSORLUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCACCESSOR_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.CTL_SYNCACCESSOR = Nothing
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCACCESSOR = Me
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_ADD_ACCESSORLUID_FK", Storage:="_CTL_SYNCROW_ADD", ThisKey:="ACCESSORLUID", OtherKey:="ACCESSORLUID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_SYNCROW_ADD() As EntitySet(Of CTL_SYNCROW_ADD)
		Get
			Return Me._CTL_SYNCROW_ADD
		End Get
		Set
			Me._CTL_SYNCROW_ADD.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_DELETE_ACCESSORLUID_FK", Storage:="_CTL_SYNCROW_DELETE", ThisKey:="ACCESSORLUID", OtherKey:="ACCESSORLUID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_SYNCROW_DELETE() As EntitySet(Of CTL_SYNCROW_DELETE)
		Get
			Return Me._CTL_SYNCROW_DELETE
		End Get
		Set
			Me._CTL_SYNCROW_DELETE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATECOLUMN_ACCESSORLUID_FK", Storage:="_CTL_SYNCROW_UPDATECOLUMN", ThisKey:="ACCESSORLUID", OtherKey:="ACCESSORLUID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_SYNCROW_UPDATECOLUMN() As EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)
		Get
			Return Me._CTL_SYNCROW_UPDATECOLUMN
		End Get
		Set
			Me._CTL_SYNCROW_UPDATECOLUMN.Assign(value)
		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
	
	Private Sub attach_CTL_SYNCROW_ADD(ByVal entity As CTL_SYNCROW_ADD)
		Me.SendPropertyChanging
		entity.CTL_SYNCACCESSOR = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_ADD(ByVal entity As CTL_SYNCROW_ADD)
		Me.SendPropertyChanging
		entity.CTL_SYNCACCESSOR = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_DELETE(ByVal entity As CTL_SYNCROW_DELETE)
		Me.SendPropertyChanging
		entity.CTL_SYNCACCESSOR = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_DELETE(ByVal entity As CTL_SYNCROW_DELETE)
		Me.SendPropertyChanging
		entity.CTL_SYNCACCESSOR = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_UPDATECOLUMN(ByVal entity As CTL_SYNCROW_UPDATECOLUMN)
		Me.SendPropertyChanging
		entity.CTL_SYNCACCESSOR = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_UPDATECOLUMN(ByVal entity As CTL_SYNCROW_UPDATECOLUMN)
		Me.SendPropertyChanging
		entity.CTL_SYNCACCESSOR = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCCOLUMN")>  _
Partial Public Class CTL_SYNCCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COLUMNLUID As Short
	
	Private _COLUMNID As System.Guid
	
	Private _CTL_SYNCROW_UPDATECOLUMN As EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)
	
    #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 OnCOLUMNLUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnCOLUMNLUIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCROW_UPDATECOLUMN = New EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)(AddressOf Me.attach_CTL_SYNCROW_UPDATECOLUMN, AddressOf Me.detach_CTL_SYNCROW_UPDATECOLUMN)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", AutoSync:=AutoSync.OnInsert, DbType:="SmallInt NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property COLUMNLUID() As Short
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If ((Me._COLUMNLUID = value)  _
						= false) Then
				Me.OnCOLUMNLUIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNLUID = value
				Me.SendPropertyChanged("COLUMNLUID")
				Me.OnCOLUMNLUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATECOLUMN_COLUMNLUID_FK", Storage:="_CTL_SYNCROW_UPDATECOLUMN", ThisKey:="COLUMNLUID", OtherKey:="COLUMNLUID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_UPDATECOLUMN() As EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)
		Get
			Return Me._CTL_SYNCROW_UPDATECOLUMN
		End Get
		Set
			Me._CTL_SYNCROW_UPDATECOLUMN.Assign(value)
		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
	
	Private Sub attach_CTL_SYNCROW_UPDATECOLUMN(ByVal entity As CTL_SYNCROW_UPDATECOLUMN)
		Me.SendPropertyChanging
		entity.CTL_SYNCCOLUMN = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_UPDATECOLUMN(ByVal entity As CTL_SYNCROW_UPDATECOLUMN)
		Me.SendPropertyChanging
		entity.CTL_SYNCCOLUMN = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDB")>  _
Partial Public Class CTL_SYNCDB
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBID As Short
	
	Private _SYNCDBGUID As System.Guid
	
    #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 OnSYNCDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBIDChanged()
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBID", AutoSync:=AutoSync.OnInsert, DbType:="SmallInt NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCDBID() As Short
		Get
			Return Me._SYNCDBID
		End Get
		Set
			If ((Me._SYNCDBID = value)  _
						= false) Then
				Me.OnSYNCDBIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBID = value
				Me.SendPropertyChanged("SYNCDBID")
				Me.OnSYNCDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBGUID() As System.Guid
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If ((Me._SYNCDBGUID = value)  _
						= false) Then
				Me.OnSYNCDBGUIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBGUID = value
				Me.SendPropertyChanged("SYNCDBGUID")
				Me.OnSYNCDBGUIDChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP")>  _
Partial Public Class CTL_SYNCDBMAP
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPID As Short
	
	Private _PUBDBID As Short
	
	Private _SUBDBID As Short
	
	Private _CTL_SYNCDBMAP_SESSION As EntitySet(Of CTL_SYNCDBMAP_SESSION)
	
	Private _CTL_SYNCDBMAPINFO_HISTORY As EntitySet(Of CTL_SYNCDBMAPINFO_HISTORY)
	
	Private _CTL_SYNCDBMAPINFO As EntityRef(Of CTL_SYNCDBMAPINFO)
	
	Private _CTL_SYNCROW_EXCEPTION As EntitySet(Of CTL_SYNCROW_EXCEPTION)
	
    #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 OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnPUBDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnPUBDBIDChanged()
    End Sub
    Partial Private Sub OnSUBDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSUBDBIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP_SESSION = New EntitySet(Of CTL_SYNCDBMAP_SESSION)(AddressOf Me.attach_CTL_SYNCDBMAP_SESSION, AddressOf Me.detach_CTL_SYNCDBMAP_SESSION)
		Me._CTL_SYNCDBMAPINFO_HISTORY = New EntitySet(Of CTL_SYNCDBMAPINFO_HISTORY)(AddressOf Me.attach_CTL_SYNCDBMAPINFO_HISTORY, AddressOf Me.detach_CTL_SYNCDBMAPINFO_HISTORY)
		Me._CTL_SYNCDBMAPINFO = CType(Nothing, EntityRef(Of CTL_SYNCDBMAPINFO))
		Me._CTL_SYNCROW_EXCEPTION = New EntitySet(Of CTL_SYNCROW_EXCEPTION)(AddressOf Me.attach_CTL_SYNCROW_EXCEPTION, AddressOf Me.detach_CTL_SYNCROW_EXCEPTION)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", AutoSync:=AutoSync.OnInsert, DbType:="SmallInt NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property PUBDBID() As Short
		Get
			Return Me._PUBDBID
		End Get
		Set
			If ((Me._PUBDBID = value)  _
						= false) Then
				Me.OnPUBDBIDChanging(value)
				Me.SendPropertyChanging
				Me._PUBDBID = value
				Me.SendPropertyChanged("PUBDBID")
				Me.OnPUBDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SUBDBID() As Short
		Get
			Return Me._SUBDBID
		End Get
		Set
			If ((Me._SUBDBID = value)  _
						= false) Then
				Me.OnSUBDBIDChanging(value)
				Me.SendPropertyChanging
				Me._SUBDBID = value
				Me.SendPropertyChanged("SUBDBID")
				Me.OnSUBDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_SESSION_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAP_SESSION", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCDBMAP_SESSION() As EntitySet(Of CTL_SYNCDBMAP_SESSION)
		Get
			Return Me._CTL_SYNCDBMAP_SESSION
		End Get
		Set
			Me._CTL_SYNCDBMAP_SESSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAPINFO_HISTORY_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAPINFO_HISTORY", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCDBMAPINFO_HISTORY() As EntitySet(Of CTL_SYNCDBMAPINFO_HISTORY)
		Get
			Return Me._CTL_SYNCDBMAPINFO_HISTORY
		End Get
		Set
			Me._CTL_SYNCDBMAPINFO_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAPINFO_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAPINFO", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCDBMAPINFO() As CTL_SYNCDBMAPINFO
		Get
			Return Me._CTL_SYNCDBMAPINFO.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCDBMAPINFO = Me._CTL_SYNCDBMAPINFO.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCDBMAPINFO.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCDBMAPINFO.Entity = Nothing
					previousValue.CTL_SYNCDBMAP = Nothing
				End If
				Me._CTL_SYNCDBMAPINFO.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.CTL_SYNCDBMAP = Me
				End If
				Me.SendPropertyChanged("CTL_SYNCDBMAPINFO")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_EXCEPTION_SYNCDBMAPID_FK", Storage:="_CTL_SYNCROW_EXCEPTION", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_EXCEPTION() As EntitySet(Of CTL_SYNCROW_EXCEPTION)
		Get
			Return Me._CTL_SYNCROW_EXCEPTION
		End Get
		Set
			Me._CTL_SYNCROW_EXCEPTION.Assign(value)
		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
	
	Private Sub attach_CTL_SYNCDBMAP_SESSION(ByVal entity As CTL_SYNCDBMAP_SESSION)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP = Me
	End Sub
	
	Private Sub detach_CTL_SYNCDBMAP_SESSION(ByVal entity As CTL_SYNCDBMAP_SESSION)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCDBMAPINFO_HISTORY(ByVal entity As CTL_SYNCDBMAPINFO_HISTORY)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP = Me
	End Sub
	
	Private Sub detach_CTL_SYNCDBMAPINFO_HISTORY(ByVal entity As CTL_SYNCDBMAPINFO_HISTORY)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_EXCEPTION(ByVal entity As CTL_SYNCROW_EXCEPTION)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_EXCEPTION(ByVal entity As CTL_SYNCROW_EXCEPTION)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_ROWCOMPLETED")>  _
Partial Public Class CTL_SYNCDBMAP_ROWCOMPLETED
	
	Private _SYNCDBMAPID As Short
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_ROWDATA")>  _
Partial Public Class CTL_SYNCDBMAP_ROWDATA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPID As Short
	
	Private _ORDINAL As Integer
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
    #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 OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Integer)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ORDINAL() As Integer
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_ROWEXCEPTION")>  _
Partial Public Class CTL_SYNCDBMAP_ROWEXCEPTION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ORDINAL As Integer
	
	Private _ROWEXCEPTIONID As Integer
	
	Private _SYNCDBMAPID As Short
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _CTL_SYNCROW_EXCEPTION As EntityRef(Of CTL_SYNCROW_EXCEPTION)
	
    #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 OnORDINALChanging(value As Integer)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnROWEXCEPTIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnROWEXCEPTIONIDChanged()
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCROW_EXCEPTION = CType(Nothing, EntityRef(Of CTL_SYNCROW_EXCEPTION))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ORDINAL() As Integer
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWEXCEPTIONID", DbType:="Int NOT NULL")>  _
	Public Property ROWEXCEPTIONID() As Integer
		Get
			Return Me._ROWEXCEPTIONID
		End Get
		Set
			If ((Me._ROWEXCEPTIONID = value)  _
						= false) Then
				If Me._CTL_SYNCROW_EXCEPTION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnROWEXCEPTIONIDChanging(value)
				Me.SendPropertyChanging
				Me._ROWEXCEPTIONID = value
				Me.SendPropertyChanged("ROWEXCEPTIONID")
				Me.OnROWEXCEPTIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_ROWEXCEPTION_ROWEXCEPTIONID_FK", Storage:="_CTL_SYNCROW_EXCEPTION", ThisKey:="ROWEXCEPTIONID", OtherKey:="ROWEXCEPTIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCROW_EXCEPTION() As CTL_SYNCROW_EXCEPTION
		Get
			Return Me._CTL_SYNCROW_EXCEPTION.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCROW_EXCEPTION = Me._CTL_SYNCROW_EXCEPTION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCROW_EXCEPTION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCROW_EXCEPTION.Entity = Nothing
					previousValue.CTL_SYNCDBMAP_ROWEXCEPTION.Remove(Me)
				End If
				Me._CTL_SYNCROW_EXCEPTION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCDBMAP_ROWEXCEPTION.Add(Me)
					Me._ROWEXCEPTIONID = value.ROWEXCEPTIONID
				Else
					Me._ROWEXCEPTIONID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_SYNCROW_EXCEPTION")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_ROWFILE")>  _
Partial Public Class CTL_SYNCDBMAP_ROWFILE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ORDINAL As Integer
	
	Private _SYNCDBMAPID As Short
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _FILENAME As String
	
	Private _FOLDERID As Byte
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _TBL_FOLDER As EntityRef(Of TBL_FOLDER)
	
    #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 OnORDINALChanging(value As Integer)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnFILENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFILENAMEChanged()
    End Sub
    Partial Private Sub OnFOLDERIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnFOLDERIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_FOLDER = CType(Nothing, EntityRef(Of TBL_FOLDER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ORDINAL() As Integer
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512) NOT NULL", CanBeNull:=false)>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me.OnFILENAMEChanging(value)
				Me.SendPropertyChanging
				Me._FILENAME = value
				Me.SendPropertyChanged("FILENAME")
				Me.OnFILENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt NOT NULL")>  _
	Public Property FOLDERID() As Byte
		Get
			Return Me._FOLDERID
		End Get
		Set
			If ((Me._FOLDERID = value)  _
						= false) Then
				If Me._TBL_FOLDER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnFOLDERIDChanging(value)
				Me.SendPropertyChanging
				Me._FOLDERID = value
				Me.SendPropertyChanged("FOLDERID")
				Me.OnFOLDERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_ROWFILE_FOLDERID_FK", Storage:="_TBL_FOLDER", ThisKey:="FOLDERID", OtherKey:="FOLDERID", IsForeignKey:=true)>  _
	Public Property TBL_FOLDER() As TBL_FOLDER
		Get
			Return Me._TBL_FOLDER.Entity
		End Get
		Set
			Dim previousValue As TBL_FOLDER = Me._TBL_FOLDER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_FOLDER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_FOLDER.Entity = Nothing
					previousValue.CTL_SYNCDBMAP_ROWFILE.Remove(Me)
				End If
				Me._TBL_FOLDER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCDBMAP_ROWFILE.Add(Me)
					Me._FOLDERID = value.FOLDERID
				Else
					Me._FOLDERID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_FOLDER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_ROWSCHEMA")>  _
Partial Public Class CTL_SYNCDBMAP_ROWSCHEMA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPID As Short
	
	Private _ORDINAL As Integer
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _STATUS As String
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
    #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 OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Integer)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ORDINAL() As Integer
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_SESSION")>  _
Partial Public Class CTL_SYNCDBMAP_SESSION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPID As Short
	
	Private _SESSIONID As Integer
	
	Private _SESSIONDATE As Date
	
	Private _NUM_NEWROW As Integer
	
	Private _NUM_NEWMEMBER As Integer
	
	Private _NUM_DELETEDROW As Integer
	
	Private _NUM_DELETEDMEMBER As Integer
	
	Private _NUM_ACTIVEMEMBER As Integer
	
	Private _ATTACHMENT_ACCESS As System.Xml.Linq.XElement
	
	Private _SYNC_USER As System.Xml.Linq.XElement
	
	Private _CTL_SYNCDBMAP As EntityRef(Of CTL_SYNCDBMAP)
	
	Private _CTL_SYNCDBMAP_SESSIONROW As EntitySet(Of CTL_SYNCDBMAP_SESSIONROW)
	
    #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 OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnSESSIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSESSIONIDChanged()
    End Sub
    Partial Private Sub OnSESSIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnSESSIONDATEChanged()
    End Sub
    Partial Private Sub OnNUM_NEWROWChanging(value As Integer)
    End Sub
    Partial Private Sub OnNUM_NEWROWChanged()
    End Sub
    Partial Private Sub OnNUM_NEWMEMBERChanging(value As Integer)
    End Sub
    Partial Private Sub OnNUM_NEWMEMBERChanged()
    End Sub
    Partial Private Sub OnNUM_DELETEDROWChanging(value As Integer)
    End Sub
    Partial Private Sub OnNUM_DELETEDROWChanged()
    End Sub
    Partial Private Sub OnNUM_DELETEDMEMBERChanging(value As Integer)
    End Sub
    Partial Private Sub OnNUM_DELETEDMEMBERChanged()
    End Sub
    Partial Private Sub OnNUM_ACTIVEMEMBERChanging(value As Integer)
    End Sub
    Partial Private Sub OnNUM_ACTIVEMEMBERChanged()
    End Sub
    Partial Private Sub OnATTACHMENT_ACCESSChanging(value As System.Xml.Linq.XElement)
    End Sub
    Partial Private Sub OnATTACHMENT_ACCESSChanged()
    End Sub
    Partial Private Sub OnSYNC_USERChanging(value As System.Xml.Linq.XElement)
    End Sub
    Partial Private Sub OnSYNC_USERChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP = CType(Nothing, EntityRef(Of CTL_SYNCDBMAP))
		Me._CTL_SYNCDBMAP_SESSIONROW = New EntitySet(Of CTL_SYNCDBMAP_SESSIONROW)(AddressOf Me.attach_CTL_SYNCDBMAP_SESSIONROW, AddressOf Me.detach_CTL_SYNCDBMAP_SESSIONROW)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				If Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SESSIONID() As Integer
		Get
			Return Me._SESSIONID
		End Get
		Set
			If ((Me._SESSIONID = value)  _
						= false) Then
				Me.OnSESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._SESSIONID = value
				Me.SendPropertyChanged("SESSIONID")
				Me.OnSESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property SESSIONDATE() As Date
		Get
			Return Me._SESSIONDATE
		End Get
		Set
			If ((Me._SESSIONDATE = value)  _
						= false) Then
				Me.OnSESSIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._SESSIONDATE = value
				Me.SendPropertyChanged("SESSIONDATE")
				Me.OnSESSIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUM_NEWROW", DbType:="Int NOT NULL")>  _
	Public Property NUM_NEWROW() As Integer
		Get
			Return Me._NUM_NEWROW
		End Get
		Set
			If ((Me._NUM_NEWROW = value)  _
						= false) Then
				Me.OnNUM_NEWROWChanging(value)
				Me.SendPropertyChanging
				Me._NUM_NEWROW = value
				Me.SendPropertyChanged("NUM_NEWROW")
				Me.OnNUM_NEWROWChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUM_NEWMEMBER", DbType:="Int NOT NULL")>  _
	Public Property NUM_NEWMEMBER() As Integer
		Get
			Return Me._NUM_NEWMEMBER
		End Get
		Set
			If ((Me._NUM_NEWMEMBER = value)  _
						= false) Then
				Me.OnNUM_NEWMEMBERChanging(value)
				Me.SendPropertyChanging
				Me._NUM_NEWMEMBER = value
				Me.SendPropertyChanged("NUM_NEWMEMBER")
				Me.OnNUM_NEWMEMBERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUM_DELETEDROW", DbType:="Int NOT NULL")>  _
	Public Property NUM_DELETEDROW() As Integer
		Get
			Return Me._NUM_DELETEDROW
		End Get
		Set
			If ((Me._NUM_DELETEDROW = value)  _
						= false) Then
				Me.OnNUM_DELETEDROWChanging(value)
				Me.SendPropertyChanging
				Me._NUM_DELETEDROW = value
				Me.SendPropertyChanged("NUM_DELETEDROW")
				Me.OnNUM_DELETEDROWChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUM_DELETEDMEMBER", DbType:="Int NOT NULL")>  _
	Public Property NUM_DELETEDMEMBER() As Integer
		Get
			Return Me._NUM_DELETEDMEMBER
		End Get
		Set
			If ((Me._NUM_DELETEDMEMBER = value)  _
						= false) Then
				Me.OnNUM_DELETEDMEMBERChanging(value)
				Me.SendPropertyChanging
				Me._NUM_DELETEDMEMBER = value
				Me.SendPropertyChanged("NUM_DELETEDMEMBER")
				Me.OnNUM_DELETEDMEMBERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUM_ACTIVEMEMBER", DbType:="Int NOT NULL")>  _
	Public Property NUM_ACTIVEMEMBER() As Integer
		Get
			Return Me._NUM_ACTIVEMEMBER
		End Get
		Set
			If ((Me._NUM_ACTIVEMEMBER = value)  _
						= false) Then
				Me.OnNUM_ACTIVEMEMBERChanging(value)
				Me.SendPropertyChanging
				Me._NUM_ACTIVEMEMBER = value
				Me.SendPropertyChanged("NUM_ACTIVEMEMBER")
				Me.OnNUM_ACTIVEMEMBERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENT_ACCESS", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ATTACHMENT_ACCESS() As System.Xml.Linq.XElement
		Get
			Return Me._ATTACHMENT_ACCESS
		End Get
		Set
			If (Object.Equals(Me._ATTACHMENT_ACCESS, value) = false) Then
				Me.OnATTACHMENT_ACCESSChanging(value)
				Me.SendPropertyChanging
				Me._ATTACHMENT_ACCESS = value
				Me.SendPropertyChanged("ATTACHMENT_ACCESS")
				Me.OnATTACHMENT_ACCESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_USER", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNC_USER() As System.Xml.Linq.XElement
		Get
			Return Me._SYNC_USER
		End Get
		Set
			If (Object.Equals(Me._SYNC_USER, value) = false) Then
				Me.OnSYNC_USERChanging(value)
				Me.SendPropertyChanging
				Me._SYNC_USER = value
				Me.SendPropertyChanged("SYNC_USER")
				Me.OnSYNC_USERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_SESSION_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAP", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCDBMAP() As CTL_SYNCDBMAP
		Get
			Return Me._CTL_SYNCDBMAP.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCDBMAP = Me._CTL_SYNCDBMAP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCDBMAP.Entity = Nothing
					previousValue.CTL_SYNCDBMAP_SESSION.Remove(Me)
				End If
				Me._CTL_SYNCDBMAP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCDBMAP_SESSION.Add(Me)
					Me._SYNCDBMAPID = value.SYNCDBMAPID
				Else
					Me._SYNCDBMAPID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCDBMAP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_SESSIONROW_FK", Storage:="_CTL_SYNCDBMAP_SESSIONROW", ThisKey:="SYNCDBMAPID,SESSIONID", OtherKey:="SYNCDBMAPID,SESSIONID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCDBMAP_SESSIONROW() As EntitySet(Of CTL_SYNCDBMAP_SESSIONROW)
		Get
			Return Me._CTL_SYNCDBMAP_SESSIONROW
		End Get
		Set
			Me._CTL_SYNCDBMAP_SESSIONROW.Assign(value)
		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
	
	Private Sub attach_CTL_SYNCDBMAP_SESSIONROW(ByVal entity As CTL_SYNCDBMAP_SESSIONROW)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP_SESSION = Me
	End Sub
	
	Private Sub detach_CTL_SYNCDBMAP_SESSIONROW(ByVal entity As CTL_SYNCDBMAP_SESSIONROW)
		Me.SendPropertyChanging
		entity.CTL_SYNCDBMAP_SESSION = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAP_SESSIONROW")>  _
Partial Public Class CTL_SYNCDBMAP_SESSIONROW
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPID As Short
	
	Private _CONTACTID As System.Guid
	
	Private _SESSIONID As Integer
	
	Private _STATUSNUM As Byte
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _CTL_SYNCDBMAP_SESSION As EntityRef(Of CTL_SYNCDBMAP_SESSION)
	
    #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 OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnSESSIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSESSIONIDChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP_SESSION = CType(Nothing, EntityRef(Of CTL_SYNCDBMAP_SESSION))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				If Me._CTL_SYNCDBMAP_SESSION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int NOT NULL")>  _
	Public Property SESSIONID() As Integer
		Get
			Return Me._SESSIONID
		End Get
		Set
			If ((Me._SESSIONID = value)  _
						= false) Then
				If Me._CTL_SYNCDBMAP_SESSION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._SESSIONID = value
				Me.SendPropertyChanged("SESSIONID")
				Me.OnSESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me.OnORIGIN_SYNCDBIDChanging(value)
				Me.SendPropertyChanging
				Me._ORIGIN_SYNCDBID = value
				Me.SendPropertyChanged("ORIGIN_SYNCDBID")
				Me.OnORIGIN_SYNCDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_SESSIONROW_FK", Storage:="_CTL_SYNCDBMAP_SESSION", ThisKey:="SYNCDBMAPID,SESSIONID", OtherKey:="SYNCDBMAPID,SESSIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCDBMAP_SESSION() As CTL_SYNCDBMAP_SESSION
		Get
			Return Me._CTL_SYNCDBMAP_SESSION.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCDBMAP_SESSION = Me._CTL_SYNCDBMAP_SESSION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCDBMAP_SESSION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCDBMAP_SESSION.Entity = Nothing
					previousValue.CTL_SYNCDBMAP_SESSIONROW.Remove(Me)
				End If
				Me._CTL_SYNCDBMAP_SESSION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCDBMAP_SESSIONROW.Add(Me)
					Me._SYNCDBMAPID = value.SYNCDBMAPID
					Me._SESSIONID = value.SESSIONID
				Else
					Me._SYNCDBMAPID = CType(Nothing, Short)
					Me._SESSIONID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_SYNCDBMAP_SESSION")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAPINFO")>  _
Partial Public Class CTL_SYNCDBMAPINFO
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPID As Short
	
	Private _LAST_SNAPSHOTDATE As Date
	
	Private _LAST_ATTEMPTDATE As Date
	
	Private _LAST_SUCCESSDATE As Date
	
	Private _LAST_SESSIONID As Integer
	
	Private _LAST_RESULT As Integer
	
	Private _ISREPLAY As Boolean
	
	Private _LAST_ADDSYNCROWID As Integer
	
	Private _LAST_DELSYNCROWID As Integer
	
	Private _LAST_UPDSENDDATE As Date
	
	Private _NEXT_ADDSYNCROWID As Integer
	
	Private _NEXT_DELSYNCROWID As Integer
	
	Private _NEXT_UPDSENDDATE As Date
	
	Private _RECV_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _RECV_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _RECV_SESSIONID As System.Nullable(Of Integer)
	
	Private _RECV_RESULT As System.Nullable(Of Integer)
	
	Private _RECV_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _RECV_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _RECV_UPDDATE As System.Nullable(Of Date)
	
	Private _LAST_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _RECV_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _CTL_SYNCDBMAP As EntityRef(Of CTL_SYNCDBMAP)
	
    #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 OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnLAST_SNAPSHOTDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_SNAPSHOTDATEChanged()
    End Sub
    Partial Private Sub OnLAST_ATTEMPTDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_ATTEMPTDATEChanged()
    End Sub
    Partial Private Sub OnLAST_SUCCESSDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_SUCCESSDATEChanged()
    End Sub
    Partial Private Sub OnLAST_SESSIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_SESSIONIDChanged()
    End Sub
    Partial Private Sub OnLAST_RESULTChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_RESULTChanged()
    End Sub
    Partial Private Sub OnISREPLAYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISREPLAYChanged()
    End Sub
    Partial Private Sub OnLAST_ADDSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_ADDSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnLAST_DELSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_DELSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnLAST_UPDSENDDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_UPDSENDDATEChanged()
    End Sub
    Partial Private Sub OnNEXT_ADDSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnNEXT_ADDSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnNEXT_DELSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnNEXT_DELSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnNEXT_UPDSENDDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnNEXT_UPDSENDDATEChanged()
    End Sub
    Partial Private Sub OnRECV_ATTEMPTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_ATTEMPTDATEChanged()
    End Sub
    Partial Private Sub OnRECV_SUCCESSDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_SUCCESSDATEChanged()
    End Sub
    Partial Private Sub OnRECV_SESSIONIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_SESSIONIDChanged()
    End Sub
    Partial Private Sub OnRECV_RESULTChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_RESULTChanged()
    End Sub
    Partial Private Sub OnRECV_ADDSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_ADDSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnRECV_DELSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_DELSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnRECV_UPDDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_UPDDATEChanged()
    End Sub
    Partial Private Sub OnLAST_COMPLETEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLAST_COMPLETEDATEChanged()
    End Sub
    Partial Private Sub OnRECV_COMPLETEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_COMPLETEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP = CType(Nothing, EntityRef(Of CTL_SYNCDBMAP))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				If Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SNAPSHOTDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_SNAPSHOTDATE() As Date
		Get
			Return Me._LAST_SNAPSHOTDATE
		End Get
		Set
			If ((Me._LAST_SNAPSHOTDATE = value)  _
						= false) Then
				Me.OnLAST_SNAPSHOTDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_SNAPSHOTDATE = value
				Me.SendPropertyChanged("LAST_SNAPSHOTDATE")
				Me.OnLAST_SNAPSHOTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ATTEMPTDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_ATTEMPTDATE() As Date
		Get
			Return Me._LAST_ATTEMPTDATE
		End Get
		Set
			If ((Me._LAST_ATTEMPTDATE = value)  _
						= false) Then
				Me.OnLAST_ATTEMPTDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_ATTEMPTDATE = value
				Me.SendPropertyChanged("LAST_ATTEMPTDATE")
				Me.OnLAST_ATTEMPTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_SUCCESSDATE() As Date
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If ((Me._LAST_SUCCESSDATE = value)  _
						= false) Then
				Me.OnLAST_SUCCESSDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_SUCCESSDATE = value
				Me.SendPropertyChanged("LAST_SUCCESSDATE")
				Me.OnLAST_SUCCESSDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SESSIONID", DbType:="Int NOT NULL")>  _
	Public Property LAST_SESSIONID() As Integer
		Get
			Return Me._LAST_SESSIONID
		End Get
		Set
			If ((Me._LAST_SESSIONID = value)  _
						= false) Then
				Me.OnLAST_SESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_SESSIONID = value
				Me.SendPropertyChanged("LAST_SESSIONID")
				Me.OnLAST_SESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_RESULT", DbType:="Int NOT NULL")>  _
	Public Property LAST_RESULT() As Integer
		Get
			Return Me._LAST_RESULT
		End Get
		Set
			If ((Me._LAST_RESULT = value)  _
						= false) Then
				Me.OnLAST_RESULTChanging(value)
				Me.SendPropertyChanging
				Me._LAST_RESULT = value
				Me.SendPropertyChanged("LAST_RESULT")
				Me.OnLAST_RESULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREPLAY", DbType:="Bit NOT NULL")>  _
	Public Property ISREPLAY() As Boolean
		Get
			Return Me._ISREPLAY
		End Get
		Set
			If ((Me._ISREPLAY = value)  _
						= false) Then
				Me.OnISREPLAYChanging(value)
				Me.SendPropertyChanging
				Me._ISREPLAY = value
				Me.SendPropertyChanged("ISREPLAY")
				Me.OnISREPLAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ADDSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property LAST_ADDSYNCROWID() As Integer
		Get
			Return Me._LAST_ADDSYNCROWID
		End Get
		Set
			If ((Me._LAST_ADDSYNCROWID = value)  _
						= false) Then
				Me.OnLAST_ADDSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_ADDSYNCROWID = value
				Me.SendPropertyChanged("LAST_ADDSYNCROWID")
				Me.OnLAST_ADDSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_DELSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property LAST_DELSYNCROWID() As Integer
		Get
			Return Me._LAST_DELSYNCROWID
		End Get
		Set
			If ((Me._LAST_DELSYNCROWID = value)  _
						= false) Then
				Me.OnLAST_DELSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_DELSYNCROWID = value
				Me.SendPropertyChanged("LAST_DELSYNCROWID")
				Me.OnLAST_DELSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_UPDSENDDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_UPDSENDDATE() As Date
		Get
			Return Me._LAST_UPDSENDDATE
		End Get
		Set
			If ((Me._LAST_UPDSENDDATE = value)  _
						= false) Then
				Me.OnLAST_UPDSENDDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_UPDSENDDATE = value
				Me.SendPropertyChanged("LAST_UPDSENDDATE")
				Me.OnLAST_UPDSENDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADDSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property NEXT_ADDSYNCROWID() As Integer
		Get
			Return Me._NEXT_ADDSYNCROWID
		End Get
		Set
			If ((Me._NEXT_ADDSYNCROWID = value)  _
						= false) Then
				Me.OnNEXT_ADDSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._NEXT_ADDSYNCROWID = value
				Me.SendPropertyChanged("NEXT_ADDSYNCROWID")
				Me.OnNEXT_ADDSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property NEXT_DELSYNCROWID() As Integer
		Get
			Return Me._NEXT_DELSYNCROWID
		End Get
		Set
			If ((Me._NEXT_DELSYNCROWID = value)  _
						= false) Then
				Me.OnNEXT_DELSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._NEXT_DELSYNCROWID = value
				Me.SendPropertyChanged("NEXT_DELSYNCROWID")
				Me.OnNEXT_DELSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDSENDDATE", DbType:="DateTime NOT NULL")>  _
	Public Property NEXT_UPDSENDDATE() As Date
		Get
			Return Me._NEXT_UPDSENDDATE
		End Get
		Set
			If ((Me._NEXT_UPDSENDDATE = value)  _
						= false) Then
				Me.OnNEXT_UPDSENDDATEChanging(value)
				Me.SendPropertyChanging
				Me._NEXT_UPDSENDDATE = value
				Me.SendPropertyChanged("NEXT_UPDSENDDATE")
				Me.OnNEXT_UPDSENDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property RECV_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_ATTEMPTDATE
		End Get
		Set
			If (Me._RECV_ATTEMPTDATE.Equals(value) = false) Then
				Me.OnRECV_ATTEMPTDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_ATTEMPTDATE = value
				Me.SendPropertyChanged("RECV_ATTEMPTDATE")
				Me.OnRECV_ATTEMPTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property RECV_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_SUCCESSDATE
		End Get
		Set
			If (Me._RECV_SUCCESSDATE.Equals(value) = false) Then
				Me.OnRECV_SUCCESSDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_SUCCESSDATE = value
				Me.SendPropertyChanged("RECV_SUCCESSDATE")
				Me.OnRECV_SUCCESSDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_SESSIONID", DbType:="Int")>  _
	Public Property RECV_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_SESSIONID
		End Get
		Set
			If (Me._RECV_SESSIONID.Equals(value) = false) Then
				Me.OnRECV_SESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._RECV_SESSIONID = value
				Me.SendPropertyChanged("RECV_SESSIONID")
				Me.OnRECV_SESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_RESULT", DbType:="Int")>  _
	Public Property RECV_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_RESULT
		End Get
		Set
			If (Me._RECV_RESULT.Equals(value) = false) Then
				Me.OnRECV_RESULTChanging(value)
				Me.SendPropertyChanging
				Me._RECV_RESULT = value
				Me.SendPropertyChanged("RECV_RESULT")
				Me.OnRECV_RESULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_ADDSYNCROWID", DbType:="Int")>  _
	Public Property RECV_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_ADDSYNCROWID
		End Get
		Set
			If (Me._RECV_ADDSYNCROWID.Equals(value) = false) Then
				Me.OnRECV_ADDSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._RECV_ADDSYNCROWID = value
				Me.SendPropertyChanged("RECV_ADDSYNCROWID")
				Me.OnRECV_ADDSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_DELSYNCROWID", DbType:="Int")>  _
	Public Property RECV_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_DELSYNCROWID
		End Get
		Set
			If (Me._RECV_DELSYNCROWID.Equals(value) = false) Then
				Me.OnRECV_DELSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._RECV_DELSYNCROWID = value
				Me.SendPropertyChanged("RECV_DELSYNCROWID")
				Me.OnRECV_DELSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_UPDDATE", DbType:="DateTime")>  _
	Public Property RECV_UPDDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_UPDDATE
		End Get
		Set
			If (Me._RECV_UPDDATE.Equals(value) = false) Then
				Me.OnRECV_UPDDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_UPDDATE = value
				Me.SendPropertyChanged("RECV_UPDDATE")
				Me.OnRECV_UPDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property LAST_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_COMPLETEDATE
		End Get
		Set
			If (Me._LAST_COMPLETEDATE.Equals(value) = false) Then
				Me.OnLAST_COMPLETEDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_COMPLETEDATE = value
				Me.SendPropertyChanged("LAST_COMPLETEDATE")
				Me.OnLAST_COMPLETEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property RECV_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_COMPLETEDATE
		End Get
		Set
			If (Me._RECV_COMPLETEDATE.Equals(value) = false) Then
				Me.OnRECV_COMPLETEDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_COMPLETEDATE = value
				Me.SendPropertyChanged("RECV_COMPLETEDATE")
				Me.OnRECV_COMPLETEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAPINFO_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAP", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCDBMAP() As CTL_SYNCDBMAP
		Get
			Return Me._CTL_SYNCDBMAP.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCDBMAP = Me._CTL_SYNCDBMAP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCDBMAP.Entity = Nothing
					previousValue.CTL_SYNCDBMAPINFO = Nothing
				End If
				Me._CTL_SYNCDBMAP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCDBMAPINFO = Me
					Me._SYNCDBMAPID = value.SYNCDBMAPID
				Else
					Me._SYNCDBMAPID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCDBMAP")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCDBMAPINFO_HISTORY")>  _
Partial Public Class CTL_SYNCDBMAPINFO_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBMAPINFO_HISTORYID As Integer
	
	Private _SYNCDBMAPID As Short
	
	Private _LAST_SNAPSHOTDATE As Date
	
	Private _LAST_ATTEMPTDATE As Date
	
	Private _LAST_SUCCESSDATE As Date
	
	Private _LAST_SESSIONID As Integer
	
	Private _LAST_RESULT As Integer
	
	Private _ISREPLAY As Boolean
	
	Private _LAST_ADDSYNCROWID As Integer
	
	Private _LAST_DELSYNCROWID As Integer
	
	Private _LAST_UPDSENDDATE As Date
	
	Private _NEXT_ADDSYNCROWID As Integer
	
	Private _NEXT_DELSYNCROWID As Integer
	
	Private _NEXT_UPDSENDDATE As Date
	
	Private _RECV_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _RECV_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _RECV_SESSIONID As System.Nullable(Of Integer)
	
	Private _RECV_RESULT As System.Nullable(Of Integer)
	
	Private _RECV_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _RECV_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _RECV_UPDDATE As System.Nullable(Of Date)
	
	Private _LAST_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _RECV_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _CTL_SYNCDBMAP As EntityRef(Of CTL_SYNCDBMAP)
	
    #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 OnSYNCDBMAPINFO_HISTORYIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSYNCDBMAPINFO_HISTORYIDChanged()
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnLAST_SNAPSHOTDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_SNAPSHOTDATEChanged()
    End Sub
    Partial Private Sub OnLAST_ATTEMPTDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_ATTEMPTDATEChanged()
    End Sub
    Partial Private Sub OnLAST_SUCCESSDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_SUCCESSDATEChanged()
    End Sub
    Partial Private Sub OnLAST_SESSIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_SESSIONIDChanged()
    End Sub
    Partial Private Sub OnLAST_RESULTChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_RESULTChanged()
    End Sub
    Partial Private Sub OnISREPLAYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISREPLAYChanged()
    End Sub
    Partial Private Sub OnLAST_ADDSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_ADDSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnLAST_DELSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAST_DELSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnLAST_UPDSENDDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLAST_UPDSENDDATEChanged()
    End Sub
    Partial Private Sub OnNEXT_ADDSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnNEXT_ADDSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnNEXT_DELSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnNEXT_DELSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnNEXT_UPDSENDDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnNEXT_UPDSENDDATEChanged()
    End Sub
    Partial Private Sub OnRECV_ATTEMPTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_ATTEMPTDATEChanged()
    End Sub
    Partial Private Sub OnRECV_SUCCESSDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_SUCCESSDATEChanged()
    End Sub
    Partial Private Sub OnRECV_SESSIONIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_SESSIONIDChanged()
    End Sub
    Partial Private Sub OnRECV_RESULTChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_RESULTChanged()
    End Sub
    Partial Private Sub OnRECV_ADDSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_ADDSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnRECV_DELSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnRECV_DELSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnRECV_UPDDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_UPDDATEChanged()
    End Sub
    Partial Private Sub OnLAST_COMPLETEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLAST_COMPLETEDATEChanged()
    End Sub
    Partial Private Sub OnRECV_COMPLETEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnRECV_COMPLETEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP = CType(Nothing, EntityRef(Of CTL_SYNCDBMAP))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPINFO_HISTORYID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCDBMAPINFO_HISTORYID() As Integer
		Get
			Return Me._SYNCDBMAPINFO_HISTORYID
		End Get
		Set
			If ((Me._SYNCDBMAPINFO_HISTORYID = value)  _
						= false) Then
				Me.OnSYNCDBMAPINFO_HISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPINFO_HISTORYID = value
				Me.SendPropertyChanged("SYNCDBMAPINFO_HISTORYID")
				Me.OnSYNCDBMAPINFO_HISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				If Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SNAPSHOTDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_SNAPSHOTDATE() As Date
		Get
			Return Me._LAST_SNAPSHOTDATE
		End Get
		Set
			If ((Me._LAST_SNAPSHOTDATE = value)  _
						= false) Then
				Me.OnLAST_SNAPSHOTDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_SNAPSHOTDATE = value
				Me.SendPropertyChanged("LAST_SNAPSHOTDATE")
				Me.OnLAST_SNAPSHOTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ATTEMPTDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_ATTEMPTDATE() As Date
		Get
			Return Me._LAST_ATTEMPTDATE
		End Get
		Set
			If ((Me._LAST_ATTEMPTDATE = value)  _
						= false) Then
				Me.OnLAST_ATTEMPTDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_ATTEMPTDATE = value
				Me.SendPropertyChanged("LAST_ATTEMPTDATE")
				Me.OnLAST_ATTEMPTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_SUCCESSDATE() As Date
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If ((Me._LAST_SUCCESSDATE = value)  _
						= false) Then
				Me.OnLAST_SUCCESSDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_SUCCESSDATE = value
				Me.SendPropertyChanged("LAST_SUCCESSDATE")
				Me.OnLAST_SUCCESSDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SESSIONID", DbType:="Int NOT NULL")>  _
	Public Property LAST_SESSIONID() As Integer
		Get
			Return Me._LAST_SESSIONID
		End Get
		Set
			If ((Me._LAST_SESSIONID = value)  _
						= false) Then
				Me.OnLAST_SESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_SESSIONID = value
				Me.SendPropertyChanged("LAST_SESSIONID")
				Me.OnLAST_SESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_RESULT", DbType:="Int NOT NULL")>  _
	Public Property LAST_RESULT() As Integer
		Get
			Return Me._LAST_RESULT
		End Get
		Set
			If ((Me._LAST_RESULT = value)  _
						= false) Then
				Me.OnLAST_RESULTChanging(value)
				Me.SendPropertyChanging
				Me._LAST_RESULT = value
				Me.SendPropertyChanged("LAST_RESULT")
				Me.OnLAST_RESULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREPLAY", DbType:="Bit NOT NULL")>  _
	Public Property ISREPLAY() As Boolean
		Get
			Return Me._ISREPLAY
		End Get
		Set
			If ((Me._ISREPLAY = value)  _
						= false) Then
				Me.OnISREPLAYChanging(value)
				Me.SendPropertyChanging
				Me._ISREPLAY = value
				Me.SendPropertyChanged("ISREPLAY")
				Me.OnISREPLAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ADDSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property LAST_ADDSYNCROWID() As Integer
		Get
			Return Me._LAST_ADDSYNCROWID
		End Get
		Set
			If ((Me._LAST_ADDSYNCROWID = value)  _
						= false) Then
				Me.OnLAST_ADDSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_ADDSYNCROWID = value
				Me.SendPropertyChanged("LAST_ADDSYNCROWID")
				Me.OnLAST_ADDSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_DELSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property LAST_DELSYNCROWID() As Integer
		Get
			Return Me._LAST_DELSYNCROWID
		End Get
		Set
			If ((Me._LAST_DELSYNCROWID = value)  _
						= false) Then
				Me.OnLAST_DELSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_DELSYNCROWID = value
				Me.SendPropertyChanged("LAST_DELSYNCROWID")
				Me.OnLAST_DELSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_UPDSENDDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_UPDSENDDATE() As Date
		Get
			Return Me._LAST_UPDSENDDATE
		End Get
		Set
			If ((Me._LAST_UPDSENDDATE = value)  _
						= false) Then
				Me.OnLAST_UPDSENDDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_UPDSENDDATE = value
				Me.SendPropertyChanged("LAST_UPDSENDDATE")
				Me.OnLAST_UPDSENDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADDSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property NEXT_ADDSYNCROWID() As Integer
		Get
			Return Me._NEXT_ADDSYNCROWID
		End Get
		Set
			If ((Me._NEXT_ADDSYNCROWID = value)  _
						= false) Then
				Me.OnNEXT_ADDSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._NEXT_ADDSYNCROWID = value
				Me.SendPropertyChanged("NEXT_ADDSYNCROWID")
				Me.OnNEXT_ADDSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property NEXT_DELSYNCROWID() As Integer
		Get
			Return Me._NEXT_DELSYNCROWID
		End Get
		Set
			If ((Me._NEXT_DELSYNCROWID = value)  _
						= false) Then
				Me.OnNEXT_DELSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._NEXT_DELSYNCROWID = value
				Me.SendPropertyChanged("NEXT_DELSYNCROWID")
				Me.OnNEXT_DELSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDSENDDATE", DbType:="DateTime NOT NULL")>  _
	Public Property NEXT_UPDSENDDATE() As Date
		Get
			Return Me._NEXT_UPDSENDDATE
		End Get
		Set
			If ((Me._NEXT_UPDSENDDATE = value)  _
						= false) Then
				Me.OnNEXT_UPDSENDDATEChanging(value)
				Me.SendPropertyChanging
				Me._NEXT_UPDSENDDATE = value
				Me.SendPropertyChanged("NEXT_UPDSENDDATE")
				Me.OnNEXT_UPDSENDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property RECV_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_ATTEMPTDATE
		End Get
		Set
			If (Me._RECV_ATTEMPTDATE.Equals(value) = false) Then
				Me.OnRECV_ATTEMPTDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_ATTEMPTDATE = value
				Me.SendPropertyChanged("RECV_ATTEMPTDATE")
				Me.OnRECV_ATTEMPTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property RECV_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_SUCCESSDATE
		End Get
		Set
			If (Me._RECV_SUCCESSDATE.Equals(value) = false) Then
				Me.OnRECV_SUCCESSDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_SUCCESSDATE = value
				Me.SendPropertyChanged("RECV_SUCCESSDATE")
				Me.OnRECV_SUCCESSDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_SESSIONID", DbType:="Int")>  _
	Public Property RECV_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_SESSIONID
		End Get
		Set
			If (Me._RECV_SESSIONID.Equals(value) = false) Then
				Me.OnRECV_SESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._RECV_SESSIONID = value
				Me.SendPropertyChanged("RECV_SESSIONID")
				Me.OnRECV_SESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_RESULT", DbType:="Int")>  _
	Public Property RECV_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_RESULT
		End Get
		Set
			If (Me._RECV_RESULT.Equals(value) = false) Then
				Me.OnRECV_RESULTChanging(value)
				Me.SendPropertyChanging
				Me._RECV_RESULT = value
				Me.SendPropertyChanged("RECV_RESULT")
				Me.OnRECV_RESULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_ADDSYNCROWID", DbType:="Int")>  _
	Public Property RECV_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_ADDSYNCROWID
		End Get
		Set
			If (Me._RECV_ADDSYNCROWID.Equals(value) = false) Then
				Me.OnRECV_ADDSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._RECV_ADDSYNCROWID = value
				Me.SendPropertyChanged("RECV_ADDSYNCROWID")
				Me.OnRECV_ADDSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_DELSYNCROWID", DbType:="Int")>  _
	Public Property RECV_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECV_DELSYNCROWID
		End Get
		Set
			If (Me._RECV_DELSYNCROWID.Equals(value) = false) Then
				Me.OnRECV_DELSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._RECV_DELSYNCROWID = value
				Me.SendPropertyChanged("RECV_DELSYNCROWID")
				Me.OnRECV_DELSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_UPDDATE", DbType:="DateTime")>  _
	Public Property RECV_UPDDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_UPDDATE
		End Get
		Set
			If (Me._RECV_UPDDATE.Equals(value) = false) Then
				Me.OnRECV_UPDDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_UPDDATE = value
				Me.SendPropertyChanged("RECV_UPDDATE")
				Me.OnRECV_UPDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property LAST_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_COMPLETEDATE
		End Get
		Set
			If (Me._LAST_COMPLETEDATE.Equals(value) = false) Then
				Me.OnLAST_COMPLETEDATEChanging(value)
				Me.SendPropertyChanging
				Me._LAST_COMPLETEDATE = value
				Me.SendPropertyChanged("LAST_COMPLETEDATE")
				Me.OnLAST_COMPLETEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECV_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property RECV_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._RECV_COMPLETEDATE
		End Get
		Set
			If (Me._RECV_COMPLETEDATE.Equals(value) = false) Then
				Me.OnRECV_COMPLETEDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECV_COMPLETEDATE = value
				Me.SendPropertyChanged("RECV_COMPLETEDATE")
				Me.OnRECV_COMPLETEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAPINFO_HISTORY_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAP", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCDBMAP() As CTL_SYNCDBMAP
		Get
			Return Me._CTL_SYNCDBMAP.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCDBMAP = Me._CTL_SYNCDBMAP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCDBMAP.Entity = Nothing
					previousValue.CTL_SYNCDBMAPINFO_HISTORY.Remove(Me)
				End If
				Me._CTL_SYNCDBMAP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCDBMAPINFO_HISTORY.Add(Me)
					Me._SYNCDBMAPID = value.SYNCDBMAPID
				Else
					Me._SYNCDBMAPID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCDBMAP")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCROW_ADD")>  _
Partial Public Class CTL_SYNCROW_ADD
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCROWID As Integer
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _ACTIONDATE As Date
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _CTL_SYNCACCESSOR As EntityRef(Of CTL_SYNCACCESSOR)
	
	Private _CTL_SYNCTABLE As EntityRef(Of CTL_SYNCTABLE)
	
    #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 OnSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnACCESSORLUIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnACCESSORLUIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCACCESSOR = CType(Nothing, EntityRef(Of CTL_SYNCACCESSOR))
		Me._CTL_SYNCTABLE = CType(Nothing, EntityRef(Of CTL_SYNCTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				If Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me.OnORIGIN_SYNCDBIDChanging(value)
				Me.SendPropertyChanging
				Me._ORIGIN_SYNCDBID = value
				Me.SendPropertyChanged("ORIGIN_SYNCDBID")
				Me.OnORIGIN_SYNCDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				If Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORLUIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORLUID = value
				Me.SendPropertyChanged("ACCESSORLUID")
				Me.OnACCESSORLUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_ADD_ACCESSORLUID_FK", Storage:="_CTL_SYNCACCESSOR", ThisKey:="ACCESSORLUID", OtherKey:="ACCESSORLUID", IsForeignKey:=true)>  _
	Public Property CTL_SYNCACCESSOR() As CTL_SYNCACCESSOR
		Get
			Return Me._CTL_SYNCACCESSOR.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCACCESSOR = Me._CTL_SYNCACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCACCESSOR.Entity = Nothing
					previousValue.CTL_SYNCROW_ADD.Remove(Me)
				End If
				Me._CTL_SYNCACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_ADD.Add(Me)
					Me._ACCESSORLUID = value.ACCESSORLUID
				Else
					Me._ACCESSORLUID = CType(Nothing, Nullable(Of Short))
				End If
				Me.SendPropertyChanged("CTL_SYNCACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_ADD_TABLELUID_FK", Storage:="_CTL_SYNCTABLE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCTABLE() As CTL_SYNCTABLE
		Get
			Return Me._CTL_SYNCTABLE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCTABLE = Me._CTL_SYNCTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCTABLE.Entity = Nothing
					previousValue.CTL_SYNCROW_ADD.Remove(Me)
				End If
				Me._CTL_SYNCTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_ADD.Add(Me)
					Me._TABLELUID = value.TABLELUID
				Else
					Me._TABLELUID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCTABLE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCROW_DELETE")>  _
Partial Public Class CTL_SYNCROW_DELETE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCROWID As Integer
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _ACTIONDATE As Date
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _TYPEID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ROWINFO As String
	
	Private _CTL_SYNCACCESSOR As EntityRef(Of CTL_SYNCACCESSOR)
	
	Private _CTL_SYNCTABLE As EntityRef(Of CTL_SYNCTABLE)
	
    #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 OnSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnACCESSORLUIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnACCESSORLUIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnGROUPIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnTYPEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnTYPEIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnNOTEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    Partial Private Sub OnHISTORYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnROWINFOChanging(value As String)
    End Sub
    Partial Private Sub OnROWINFOChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCACCESSOR = CType(Nothing, EntityRef(Of CTL_SYNCACCESSOR))
		Me._CTL_SYNCTABLE = CType(Nothing, EntityRef(Of CTL_SYNCTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				If Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me.OnORIGIN_SYNCDBIDChanging(value)
				Me.SendPropertyChanging
				Me._ORIGIN_SYNCDBID = value
				Me.SendPropertyChanged("ORIGIN_SYNCDBID")
				Me.OnORIGIN_SYNCDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				If Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORLUIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORLUID = value
				Me.SendPropertyChanged("ACCESSORLUID")
				Me.OnACCESSORLUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TYPEID
		End Get
		Set
			If (Me._TYPEID.Equals(value) = false) Then
				Me.OnTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._TYPEID = value
				Me.SendPropertyChanged("TYPEID")
				Me.OnTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWINFO", DbType:="NVarChar(512)")>  _
	Public Property ROWINFO() As String
		Get
			Return Me._ROWINFO
		End Get
		Set
			If (String.Equals(Me._ROWINFO, value) = false) Then
				Me.OnROWINFOChanging(value)
				Me.SendPropertyChanging
				Me._ROWINFO = value
				Me.SendPropertyChanged("ROWINFO")
				Me.OnROWINFOChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_DELETE_ACCESSORLUID_FK", Storage:="_CTL_SYNCACCESSOR", ThisKey:="ACCESSORLUID", OtherKey:="ACCESSORLUID", IsForeignKey:=true)>  _
	Public Property CTL_SYNCACCESSOR() As CTL_SYNCACCESSOR
		Get
			Return Me._CTL_SYNCACCESSOR.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCACCESSOR = Me._CTL_SYNCACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCACCESSOR.Entity = Nothing
					previousValue.CTL_SYNCROW_DELETE.Remove(Me)
				End If
				Me._CTL_SYNCACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_DELETE.Add(Me)
					Me._ACCESSORLUID = value.ACCESSORLUID
				Else
					Me._ACCESSORLUID = CType(Nothing, Nullable(Of Short))
				End If
				Me.SendPropertyChanged("CTL_SYNCACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_DELETE_TABLELUID_FK", Storage:="_CTL_SYNCTABLE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", IsForeignKey:=true)>  _
	Public Property CTL_SYNCTABLE() As CTL_SYNCTABLE
		Get
			Return Me._CTL_SYNCTABLE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCTABLE = Me._CTL_SYNCTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCTABLE.Entity = Nothing
					previousValue.CTL_SYNCROW_DELETE.Remove(Me)
				End If
				Me._CTL_SYNCTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_DELETE.Add(Me)
					Me._TABLELUID = value.TABLELUID
				Else
					Me._TABLELUID = CType(Nothing, Nullable(Of Short))
				End If
				Me.SendPropertyChanged("CTL_SYNCTABLE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCROW_EXCEPTION")>  _
Partial Public Class CTL_SYNCROW_EXCEPTION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ROWEXCEPTIONID As Integer
	
	Private _SYNCDBMAPID As Short
	
	Private _SESSIONID As Integer
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _DETAILS As String
	
	Private _STATUSNUM As Byte
	
	Private _DB_ERRORNUM As System.Nullable(Of Integer)
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _REF_ROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Private _CTL_SYNCDBMAP_ROWEXCEPTION As EntitySet(Of CTL_SYNCDBMAP_ROWEXCEPTION)
	
	Private _CTL_SYNCDBMAP As EntityRef(Of CTL_SYNCDBMAP)
	
	Private _CTL_SYNCTABLE As EntityRef(Of CTL_SYNCTABLE)
	
    #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 OnROWEXCEPTIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnROWEXCEPTIONIDChanged()
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnSYNCDBMAPIDChanged()
    End Sub
    Partial Private Sub OnSESSIONIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSESSIONIDChanged()
    End Sub
    Partial Private Sub OnSYNCROWIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    Partial Private Sub OnDETAILSChanging(value As String)
    End Sub
    Partial Private Sub OnDETAILSChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnDB_ERRORNUMChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnDB_ERRORNUMChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnREF_ROWEXCEPTIONIDChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnREF_ROWEXCEPTIONIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP_ROWEXCEPTION = New EntitySet(Of CTL_SYNCDBMAP_ROWEXCEPTION)(AddressOf Me.attach_CTL_SYNCDBMAP_ROWEXCEPTION, AddressOf Me.detach_CTL_SYNCDBMAP_ROWEXCEPTION)
		Me._CTL_SYNCDBMAP = CType(Nothing, EntityRef(Of CTL_SYNCDBMAP))
		Me._CTL_SYNCTABLE = CType(Nothing, EntityRef(Of CTL_SYNCTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWEXCEPTIONID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property ROWEXCEPTIONID() As Integer
		Get
			Return Me._ROWEXCEPTIONID
		End Get
		Set
			If ((Me._ROWEXCEPTIONID = value)  _
						= false) Then
				Me.OnROWEXCEPTIONIDChanging(value)
				Me.SendPropertyChanging
				Me._ROWEXCEPTIONID = value
				Me.SendPropertyChanged("ROWEXCEPTIONID")
				Me.OnROWEXCEPTIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				If Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBMAPIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBMAPID = value
				Me.SendPropertyChanged("SYNCDBMAPID")
				Me.OnSYNCDBMAPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int NOT NULL")>  _
	Public Property SESSIONID() As Integer
		Get
			Return Me._SESSIONID
		End Get
		Set
			If ((Me._SESSIONID = value)  _
						= false) Then
				Me.OnSESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._SESSIONID = value
				Me.SendPropertyChanged("SESSIONID")
				Me.OnSESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				If Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1000)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me.OnDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._DETAILS = value
				Me.SendPropertyChanged("DETAILS")
				Me.OnDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DB_ERRORNUM", DbType:="Int")>  _
	Public Property DB_ERRORNUM() As System.Nullable(Of Integer)
		Get
			Return Me._DB_ERRORNUM
		End Get
		Set
			If (Me._DB_ERRORNUM.Equals(value) = false) Then
				Me.OnDB_ERRORNUMChanging(value)
				Me.SendPropertyChanging
				Me._DB_ERRORNUM = value
				Me.SendPropertyChanged("DB_ERRORNUM")
				Me.OnDB_ERRORNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_ROWEXCEPTIONID", DbType:="Int")>  _
	Public Property REF_ROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._REF_ROWEXCEPTIONID
		End Get
		Set
			If (Me._REF_ROWEXCEPTIONID.Equals(value) = false) Then
				Me.OnREF_ROWEXCEPTIONIDChanging(value)
				Me.SendPropertyChanging
				Me._REF_ROWEXCEPTIONID = value
				Me.SendPropertyChanged("REF_ROWEXCEPTIONID")
				Me.OnREF_ROWEXCEPTIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_ROWEXCEPTION_ROWEXCEPTIONID_FK", Storage:="_CTL_SYNCDBMAP_ROWEXCEPTION", ThisKey:="ROWEXCEPTIONID", OtherKey:="ROWEXCEPTIONID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCDBMAP_ROWEXCEPTION() As EntitySet(Of CTL_SYNCDBMAP_ROWEXCEPTION)
		Get
			Return Me._CTL_SYNCDBMAP_ROWEXCEPTION
		End Get
		Set
			Me._CTL_SYNCDBMAP_ROWEXCEPTION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_EXCEPTION_SYNCDBMAPID_FK", Storage:="_CTL_SYNCDBMAP", ThisKey:="SYNCDBMAPID", OtherKey:="SYNCDBMAPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCDBMAP() As CTL_SYNCDBMAP
		Get
			Return Me._CTL_SYNCDBMAP.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCDBMAP = Me._CTL_SYNCDBMAP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCDBMAP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCDBMAP.Entity = Nothing
					previousValue.CTL_SYNCROW_EXCEPTION.Remove(Me)
				End If
				Me._CTL_SYNCDBMAP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_EXCEPTION.Add(Me)
					Me._SYNCDBMAPID = value.SYNCDBMAPID
				Else
					Me._SYNCDBMAPID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCDBMAP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_EXCEPTION_TABLELUID_FK", Storage:="_CTL_SYNCTABLE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCTABLE() As CTL_SYNCTABLE
		Get
			Return Me._CTL_SYNCTABLE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCTABLE = Me._CTL_SYNCTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCTABLE.Entity = Nothing
					previousValue.CTL_SYNCROW_EXCEPTION.Remove(Me)
				End If
				Me._CTL_SYNCTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_EXCEPTION.Add(Me)
					Me._TABLELUID = value.TABLELUID
				Else
					Me._TABLELUID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCTABLE")
			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
	
	Private Sub attach_CTL_SYNCDBMAP_ROWEXCEPTION(ByVal entity As CTL_SYNCDBMAP_ROWEXCEPTION)
		Me.SendPropertyChanging
		entity.CTL_SYNCROW_EXCEPTION = Me
	End Sub
	
	Private Sub detach_CTL_SYNCDBMAP_ROWEXCEPTION(ByVal entity As CTL_SYNCDBMAP_ROWEXCEPTION)
		Me.SendPropertyChanging
		entity.CTL_SYNCROW_EXCEPTION = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCROW_FILE")>  _
Partial Public Class CTL_SYNCROW_FILE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCROWID As Integer
	
	Private _FOLDERID As Byte
	
	Private _ACTIONCODE As String
	
	Private _FILENAME As String
	
	Private _ACTIONDATE As Date
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _FILEHASH As String
	
	Private _FILEID As System.Nullable(Of System.Guid)
	
	Private _APPLYDATE As Date
	
	Private _TBL_FOLDER As EntityRef(Of TBL_FOLDER)
	
    #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 OnSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnFOLDERIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnFOLDERIDChanged()
    End Sub
    Partial Private Sub OnACTIONCODEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIONCODEChanged()
    End Sub
    Partial Private Sub OnFILENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFILENAMEChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanged()
    End Sub
    Partial Private Sub OnFILEHASHChanging(value As String)
    End Sub
    Partial Private Sub OnFILEHASHChanged()
    End Sub
    Partial Private Sub OnFILEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnFILEIDChanged()
    End Sub
    Partial Private Sub OnAPPLYDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnAPPLYDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_FOLDER = CType(Nothing, EntityRef(Of TBL_FOLDER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt NOT NULL")>  _
	Public Property FOLDERID() As Byte
		Get
			Return Me._FOLDERID
		End Get
		Set
			If ((Me._FOLDERID = value)  _
						= false) Then
				If Me._TBL_FOLDER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnFOLDERIDChanging(value)
				Me.SendPropertyChanging
				Me._FOLDERID = value
				Me.SendPropertyChanged("FOLDERID")
				Me.OnFOLDERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="NVarChar(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me.OnACTIONCODEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONCODE = value
				Me.SendPropertyChanged("ACTIONCODE")
				Me.OnACTIONCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512) NOT NULL", CanBeNull:=false)>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me.OnFILENAMEChanging(value)
				Me.SendPropertyChanging
				Me._FILENAME = value
				Me.SendPropertyChanged("FILENAME")
				Me.OnFILENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me.OnORIGIN_SYNCDBIDChanging(value)
				Me.SendPropertyChanging
				Me._ORIGIN_SYNCDBID = value
				Me.SendPropertyChanged("ORIGIN_SYNCDBID")
				Me.OnORIGIN_SYNCDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEHASH", DbType:="Char(34)")>  _
	Public Property FILEHASH() As String
		Get
			Return Me._FILEHASH
		End Get
		Set
			If (String.Equals(Me._FILEHASH, value) = false) Then
				Me.OnFILEHASHChanging(value)
				Me.SendPropertyChanging
				Me._FILEHASH = value
				Me.SendPropertyChanged("FILEHASH")
				Me.OnFILEHASHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEID", DbType:="UniqueIdentifier")>  _
	Public Property FILEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FILEID
		End Get
		Set
			If (Me._FILEID.Equals(value) = false) Then
				Me.OnFILEIDChanging(value)
				Me.SendPropertyChanging
				Me._FILEID = value
				Me.SendPropertyChanged("FILEID")
				Me.OnFILEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLYDATE() As Date
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If ((Me._APPLYDATE = value)  _
						= false) Then
				Me.OnAPPLYDATEChanging(value)
				Me.SendPropertyChanging
				Me._APPLYDATE = value
				Me.SendPropertyChanged("APPLYDATE")
				Me.OnAPPLYDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_FILE_FOLDERID_FK", Storage:="_TBL_FOLDER", ThisKey:="FOLDERID", OtherKey:="FOLDERID", IsForeignKey:=true)>  _
	Public Property TBL_FOLDER() As TBL_FOLDER
		Get
			Return Me._TBL_FOLDER.Entity
		End Get
		Set
			Dim previousValue As TBL_FOLDER = Me._TBL_FOLDER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_FOLDER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_FOLDER.Entity = Nothing
					previousValue.CTL_SYNCROW_FILE.Remove(Me)
				End If
				Me._TBL_FOLDER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_FILE.Add(Me)
					Me._FOLDERID = value.FOLDERID
				Else
					Me._FOLDERID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_FOLDER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCROW_UPDATE")>  _
Partial Public Class CTL_SYNCROW_UPDATE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCROWID As Integer
	
	Private _TABLELUID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _CTL_SYNCTABLE As EntityRef(Of CTL_SYNCTABLE)
	
	Private _CTL_SYNCROW_UPDATECOLUMN As EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)
	
    #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 OnSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnROWID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnROWID1Changed()
    End Sub
    Partial Private Sub OnROWID2Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID2Changed()
    End Sub
    Partial Private Sub OnROWID3Changing(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnROWID3Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCTABLE = CType(Nothing, EntityRef(Of CTL_SYNCTABLE))
		Me._CTL_SYNCROW_UPDATECOLUMN = New EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)(AddressOf Me.attach_CTL_SYNCROW_UPDATECOLUMN, AddressOf Me.detach_CTL_SYNCROW_UPDATECOLUMN)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", AutoSync:=AutoSync.OnInsert, DbType:="Int NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				If Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me.OnROWID1Changing(value)
				Me.SendPropertyChanging
				Me._ROWID1 = value
				Me.SendPropertyChanged("ROWID1")
				Me.OnROWID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me.OnROWID2Changing(value)
				Me.SendPropertyChanging
				Me._ROWID2 = value
				Me.SendPropertyChanged("ROWID2")
				Me.OnROWID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me.OnROWID3Changing(value)
				Me.SendPropertyChanging
				Me._ROWID3 = value
				Me.SendPropertyChanged("ROWID3")
				Me.OnROWID3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATE_TABLELUID_FK", Storage:="_CTL_SYNCTABLE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCTABLE() As CTL_SYNCTABLE
		Get
			Return Me._CTL_SYNCTABLE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCTABLE = Me._CTL_SYNCTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCTABLE.Entity = Nothing
					previousValue.CTL_SYNCROW_UPDATE.Remove(Me)
				End If
				Me._CTL_SYNCTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_UPDATE.Add(Me)
					Me._TABLELUID = value.TABLELUID
				Else
					Me._TABLELUID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATECOLUMN_SYNCROWID_FK", Storage:="_CTL_SYNCROW_UPDATECOLUMN", ThisKey:="SYNCROWID", OtherKey:="SYNCROWID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_UPDATECOLUMN() As EntitySet(Of CTL_SYNCROW_UPDATECOLUMN)
		Get
			Return Me._CTL_SYNCROW_UPDATECOLUMN
		End Get
		Set
			Me._CTL_SYNCROW_UPDATECOLUMN.Assign(value)
		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
	
	Private Sub attach_CTL_SYNCROW_UPDATECOLUMN(ByVal entity As CTL_SYNCROW_UPDATECOLUMN)
		Me.SendPropertyChanging
		entity.CTL_SYNCROW_UPDATE = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_UPDATECOLUMN(ByVal entity As CTL_SYNCROW_UPDATECOLUMN)
		Me.SendPropertyChanging
		entity.CTL_SYNCROW_UPDATE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCROW_UPDATECOLUMN")>  _
Partial Public Class CTL_SYNCROW_UPDATECOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCROWID As Integer
	
	Private _COLUMNLUID As Short
	
	Private _ACTIONDATE As Date
	
	Private _APPLYDATE As Date
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _COLUMNVALUE As String
	
	Private _CTL_SYNCACCESSOR As EntityRef(Of CTL_SYNCACCESSOR)
	
	Private _CTL_SYNCCOLUMN As EntityRef(Of CTL_SYNCCOLUMN)
	
	Private _CTL_SYNCROW_UPDATE As EntityRef(Of CTL_SYNCROW_UPDATE)
	
    #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 OnSYNCROWIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnSYNCROWIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNLUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnCOLUMNLUIDChanged()
    End Sub
    Partial Private Sub OnACTIONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnACTIONDATEChanged()
    End Sub
    Partial Private Sub OnAPPLYDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnAPPLYDATEChanged()
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanging(value As Short)
    End Sub
    Partial Private Sub OnORIGIN_SYNCDBIDChanged()
    End Sub
    Partial Private Sub OnACCESSORLUIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnACCESSORLUIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnCOLUMNVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCACCESSOR = CType(Nothing, EntityRef(Of CTL_SYNCACCESSOR))
		Me._CTL_SYNCCOLUMN = CType(Nothing, EntityRef(Of CTL_SYNCCOLUMN))
		Me._CTL_SYNCROW_UPDATE = CType(Nothing, EntityRef(Of CTL_SYNCROW_UPDATE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				If Me._CTL_SYNCROW_UPDATE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCROWIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCROWID = value
				Me.SendPropertyChanged("SYNCROWID")
				Me.OnSYNCROWIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNLUID() As Short
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If ((Me._COLUMNLUID = value)  _
						= false) Then
				If Me._CTL_SYNCCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNLUIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNLUID = value
				Me.SendPropertyChanged("COLUMNLUID")
				Me.OnCOLUMNLUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me.OnACTIONDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONDATE = value
				Me.SendPropertyChanged("ACTIONDATE")
				Me.OnACTIONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLYDATE() As Date
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If ((Me._APPLYDATE = value)  _
						= false) Then
				Me.OnAPPLYDATEChanging(value)
				Me.SendPropertyChanging
				Me._APPLYDATE = value
				Me.SendPropertyChanged("APPLYDATE")
				Me.OnAPPLYDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me.OnORIGIN_SYNCDBIDChanging(value)
				Me.SendPropertyChanging
				Me._ORIGIN_SYNCDBID = value
				Me.SendPropertyChanged("ORIGIN_SYNCDBID")
				Me.OnORIGIN_SYNCDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				If Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORLUIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORLUID = value
				Me.SendPropertyChanged("ACCESSORLUID")
				Me.OnACCESSORLUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNVALUE", DbType:="NVarChar(500)")>  _
	Public Property COLUMNVALUE() As String
		Get
			Return Me._COLUMNVALUE
		End Get
		Set
			If (String.Equals(Me._COLUMNVALUE, value) = false) Then
				Me.OnCOLUMNVALUEChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNVALUE = value
				Me.SendPropertyChanged("COLUMNVALUE")
				Me.OnCOLUMNVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATECOLUMN_ACCESSORLUID_FK", Storage:="_CTL_SYNCACCESSOR", ThisKey:="ACCESSORLUID", OtherKey:="ACCESSORLUID", IsForeignKey:=true)>  _
	Public Property CTL_SYNCACCESSOR() As CTL_SYNCACCESSOR
		Get
			Return Me._CTL_SYNCACCESSOR.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCACCESSOR = Me._CTL_SYNCACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCACCESSOR.Entity = Nothing
					previousValue.CTL_SYNCROW_UPDATECOLUMN.Remove(Me)
				End If
				Me._CTL_SYNCACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_UPDATECOLUMN.Add(Me)
					Me._ACCESSORLUID = value.ACCESSORLUID
				Else
					Me._ACCESSORLUID = CType(Nothing, Nullable(Of Short))
				End If
				Me.SendPropertyChanged("CTL_SYNCACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATECOLUMN_COLUMNLUID_FK", Storage:="_CTL_SYNCCOLUMN", ThisKey:="COLUMNLUID", OtherKey:="COLUMNLUID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCCOLUMN() As CTL_SYNCCOLUMN
		Get
			Return Me._CTL_SYNCCOLUMN.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCCOLUMN = Me._CTL_SYNCCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCCOLUMN.Entity = Nothing
					previousValue.CTL_SYNCROW_UPDATECOLUMN.Remove(Me)
				End If
				Me._CTL_SYNCCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_UPDATECOLUMN.Add(Me)
					Me._COLUMNLUID = value.COLUMNLUID
				Else
					Me._COLUMNLUID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("CTL_SYNCCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATECOLUMN_SYNCROWID_FK", Storage:="_CTL_SYNCROW_UPDATE", ThisKey:="SYNCROWID", OtherKey:="SYNCROWID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property CTL_SYNCROW_UPDATE() As CTL_SYNCROW_UPDATE
		Get
			Return Me._CTL_SYNCROW_UPDATE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCROW_UPDATE = Me._CTL_SYNCROW_UPDATE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCROW_UPDATE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCROW_UPDATE.Entity = Nothing
					previousValue.CTL_SYNCROW_UPDATECOLUMN.Remove(Me)
				End If
				Me._CTL_SYNCROW_UPDATE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCROW_UPDATECOLUMN.Add(Me)
					Me._SYNCROWID = value.SYNCROWID
				Else
					Me._SYNCROWID = CType(Nothing, Integer)
				End If
				Me.SendPropertyChanged("CTL_SYNCROW_UPDATE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCSETTYPE")>  _
Partial Public Class CTL_SYNCSETTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TYPENUM As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _TBL_SYNCSET As EntitySet(Of TBL_SYNCSET)
	
    #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 OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCSET = New EntitySet(Of TBL_SYNCSET)(AddressOf Me.attach_TBL_SYNCSET, AddressOf Me.detach_TBL_SYNCSET)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(312) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSET_TYPENUM_FK", Storage:="_TBL_SYNCSET", ThisKey:="TYPENUM", OtherKey:="TYPENUM", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYNCSET() As EntitySet(Of TBL_SYNCSET)
		Get
			Return Me._TBL_SYNCSET
		End Get
		Set
			Me._TBL_SYNCSET.Assign(value)
		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
	
	Private Sub attach_TBL_SYNCSET(ByVal entity As TBL_SYNCSET)
		Me.SendPropertyChanging
		entity.CTL_SYNCSETTYPE = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSET(ByVal entity As TBL_SYNCSET)
		Me.SendPropertyChanging
		entity.CTL_SYNCSETTYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYNCTABLE")>  _
Partial Public Class CTL_SYNCTABLE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLELUID As Short
	
	Private _TABLEID As System.Guid
	
	Private _CTL_SYNC_DEVICETABLE As EntitySet(Of CTL_SYNC_DEVICETABLE)
	
	Private _CTL_SYNCROW_ADD As EntitySet(Of CTL_SYNCROW_ADD)
	
	Private _CTL_SYNCROW_DELETE As EntitySet(Of CTL_SYNCROW_DELETE)
	
	Private _CTL_SYNCROW_EXCEPTION As EntitySet(Of CTL_SYNCROW_EXCEPTION)
	
	Private _CTL_SYNCROW_UPDATE As EntitySet(Of CTL_SYNCROW_UPDATE)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
    #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 OnTABLELUIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTABLELUIDChanged()
    End Sub
    Partial Private Sub OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNC_DEVICETABLE = New EntitySet(Of CTL_SYNC_DEVICETABLE)(AddressOf Me.attach_CTL_SYNC_DEVICETABLE, AddressOf Me.detach_CTL_SYNC_DEVICETABLE)
		Me._CTL_SYNCROW_ADD = New EntitySet(Of CTL_SYNCROW_ADD)(AddressOf Me.attach_CTL_SYNCROW_ADD, AddressOf Me.detach_CTL_SYNCROW_ADD)
		Me._CTL_SYNCROW_DELETE = New EntitySet(Of CTL_SYNCROW_DELETE)(AddressOf Me.attach_CTL_SYNCROW_DELETE, AddressOf Me.detach_CTL_SYNCROW_DELETE)
		Me._CTL_SYNCROW_EXCEPTION = New EntitySet(Of CTL_SYNCROW_EXCEPTION)(AddressOf Me.attach_CTL_SYNCROW_EXCEPTION, AddressOf Me.detach_CTL_SYNCROW_EXCEPTION)
		Me._CTL_SYNCROW_UPDATE = New EntitySet(Of CTL_SYNCROW_UPDATE)(AddressOf Me.attach_CTL_SYNCROW_UPDATE, AddressOf Me.detach_CTL_SYNCROW_UPDATE)
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", AutoSync:=AutoSync.OnInsert, DbType:="SmallInt NOT NULL IDENTITY", IsPrimaryKey:=true, IsDbGenerated:=true)>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me.OnTABLELUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLELUID = value
				Me.SendPropertyChanged("TABLELUID")
				Me.OnTABLELUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNC_DEVICETABLE_TABLELUID_FK", Storage:="_CTL_SYNC_DEVICETABLE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNC_DEVICETABLE() As EntitySet(Of CTL_SYNC_DEVICETABLE)
		Get
			Return Me._CTL_SYNC_DEVICETABLE
		End Get
		Set
			Me._CTL_SYNC_DEVICETABLE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_ADD_TABLELUID_FK", Storage:="_CTL_SYNCROW_ADD", ThisKey:="TABLELUID", OtherKey:="TABLELUID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_ADD() As EntitySet(Of CTL_SYNCROW_ADD)
		Get
			Return Me._CTL_SYNCROW_ADD
		End Get
		Set
			Me._CTL_SYNCROW_ADD.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_DELETE_TABLELUID_FK", Storage:="_CTL_SYNCROW_DELETE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_DELETE() As EntitySet(Of CTL_SYNCROW_DELETE)
		Get
			Return Me._CTL_SYNCROW_DELETE
		End Get
		Set
			Me._CTL_SYNCROW_DELETE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_EXCEPTION_TABLELUID_FK", Storage:="_CTL_SYNCROW_EXCEPTION", ThisKey:="TABLELUID", OtherKey:="TABLELUID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_EXCEPTION() As EntitySet(Of CTL_SYNCROW_EXCEPTION)
		Get
			Return Me._CTL_SYNCROW_EXCEPTION
		End Get
		Set
			Me._CTL_SYNCROW_EXCEPTION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_UPDATE_TABLELUID_FK", Storage:="_CTL_SYNCROW_UPDATE", ThisKey:="TABLELUID", OtherKey:="TABLELUID", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCROW_UPDATE() As EntitySet(Of CTL_SYNCROW_UPDATE)
		Get
			Return Me._CTL_SYNCROW_UPDATE
		End Get
		Set
			Me._CTL_SYNCROW_UPDATE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCTABLE_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.CTL_SYNCTABLE = Nothing
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYNCTABLE = Me
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			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
	
	Private Sub attach_CTL_SYNC_DEVICETABLE(ByVal entity As CTL_SYNC_DEVICETABLE)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Me
	End Sub
	
	Private Sub detach_CTL_SYNC_DEVICETABLE(ByVal entity As CTL_SYNC_DEVICETABLE)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_ADD(ByVal entity As CTL_SYNCROW_ADD)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_ADD(ByVal entity As CTL_SYNCROW_ADD)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_DELETE(ByVal entity As CTL_SYNCROW_DELETE)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_DELETE(ByVal entity As CTL_SYNCROW_DELETE)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_EXCEPTION(ByVal entity As CTL_SYNCROW_EXCEPTION)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_EXCEPTION(ByVal entity As CTL_SYNCROW_EXCEPTION)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_UPDATE(ByVal entity As CTL_SYNCROW_UPDATE)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_UPDATE(ByVal entity As CTL_SYNCROW_UPDATE)
		Me.SendPropertyChanging
		entity.CTL_SYNCTABLE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_SYSTABLEORDER")>  _
Partial Public Class CTL_SYSTABLEORDER
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLENAME As String
	
	Private _TABLESEGMENT As String
	
	Private _ORDINAL As Short
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
    #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 OnTABLENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnTABLENAMEChanged()
    End Sub
    Partial Private Sub OnTABLESEGMENTChanging(value As String)
    End Sub
    Partial Private Sub OnTABLESEGMENTChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLENAMEChanging(value)
				Me.SendPropertyChanging
				Me._TABLENAME = value
				Me.SendPropertyChanged("TABLENAME")
				Me.OnTABLENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLESEGMENT", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLESEGMENT() As String
		Get
			Return Me._TABLESEGMENT
		End Get
		Set
			If (String.Equals(Me._TABLESEGMENT, value) = false) Then
				Me.OnTABLESEGMENTChanging(value)
				Me.SendPropertyChanging
				Me._TABLESEGMENT = value
				Me.SendPropertyChanged("TABLESEGMENT")
				Me.OnTABLESEGMENTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEORDER_TABLENAME_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLENAME", OtherKey:="TABLENAME", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.CTL_SYSTABLEORDER = Nothing
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_SYSTABLEORDER = Me
					Me._TABLENAME = value.TABLENAME
				Else
					Me._TABLENAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_USER_COLUMNACCESS")>  _
Partial Public Class CTL_USER_COLUMNACCESS
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As System.Guid
	
	Private _COLUMNID As System.Guid
	
	Private _ACCESSLEVEL As Byte
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnACCESSLEVELChanging(value As Byte)
    End Sub
    Partial Private Sub OnACCESSLEVELChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSLEVEL", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSLEVEL() As Byte
		Get
			Return Me._ACCESSLEVEL
		End Get
		Set
			If ((Me._ACCESSLEVEL = value)  _
						= false) Then
				Me.OnACCESSLEVELChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSLEVEL = value
				Me.SendPropertyChanged("ACCESSLEVEL")
				Me.OnACCESSLEVELChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_COLUMNACCESS_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.CTL_USER_COLUMNACCESS.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_USER_COLUMNACCESS.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_COLUMNACCESS_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.CTL_USER_COLUMNACCESS.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_USER_COLUMNACCESS.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_USERCOLUMN_CHANGED_TRIGGER")>  _
Partial Public Class CTL_USERCOLUMN_CHANGED_TRIGGER
	
	Private _RECORDID As System.Guid
	
	Private _CONTEXTID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property RECORDID() As System.Guid
		Get
			Return Me._RECORDID
		End Get
		Set
			If ((Me._RECORDID = value)  _
						= false) Then
				Me._RECORDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTEXTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTEXTID() As System.Guid
		Get
			Return Me._CONTEXTID
		End Get
		Set
			If ((Me._CONTEXTID = value)  _
						= false) Then
				Me._CONTEXTID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_USERPASSWORD_RESET")>  _
Partial Public Class CTL_USERPASSWORD_RESET
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _RESETID As System.Guid
	
	Private _CREATEDATE As Date
	
    #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 OnRESETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnRESETIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESETID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property RESETID() As System.Guid
		Get
			Return Me._RESETID
		End Get
		Set
			If ((Me._RESETID = value)  _
						= false) Then
				Me.OnRESETIDChanging(value)
				Me.SendPropertyChanging
				Me._RESETID = value
				Me.SendPropertyChanged("RESETID")
				Me.OnRESETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_USERSESSION")>  _
Partial Public Class CTL_USERSESSION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERSESSIONID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _HOSTNAME As String
	
	Private _APPLICATION As String
	
	Private _LOGIN_TIME As Date
	
	Private _PING_TIME As Date
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
    #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 OnUSERSESSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERSESSIONIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnHOSTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnHOSTNAMEChanged()
    End Sub
    Partial Private Sub OnAPPLICATIONChanging(value As String)
    End Sub
    Partial Private Sub OnAPPLICATIONChanged()
    End Sub
    Partial Private Sub OnLOGIN_TIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnLOGIN_TIMEChanged()
    End Sub
    Partial Private Sub OnPING_TIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnPING_TIMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERSESSIONID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERSESSIONID() As System.Guid
		Get
			Return Me._USERSESSIONID
		End Get
		Set
			If ((Me._USERSESSIONID = value)  _
						= false) Then
				Me.OnUSERSESSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._USERSESSIONID = value
				Me.SendPropertyChanged("USERSESSIONID")
				Me.OnUSERSESSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOSTNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HOSTNAME() As String
		Get
			Return Me._HOSTNAME
		End Get
		Set
			If (String.Equals(Me._HOSTNAME, value) = false) Then
				Me.OnHOSTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._HOSTNAME = value
				Me.SendPropertyChanged("HOSTNAME")
				Me.OnHOSTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property APPLICATION() As String
		Get
			Return Me._APPLICATION
		End Get
		Set
			If (String.Equals(Me._APPLICATION, value) = false) Then
				Me.OnAPPLICATIONChanging(value)
				Me.SendPropertyChanging
				Me._APPLICATION = value
				Me.SendPropertyChanged("APPLICATION")
				Me.OnAPPLICATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGIN_TIME", DbType:="DateTime NOT NULL")>  _
	Public Property LOGIN_TIME() As Date
		Get
			Return Me._LOGIN_TIME
		End Get
		Set
			If ((Me._LOGIN_TIME = value)  _
						= false) Then
				Me.OnLOGIN_TIMEChanging(value)
				Me.SendPropertyChanging
				Me._LOGIN_TIME = value
				Me.SendPropertyChanged("LOGIN_TIME")
				Me.OnLOGIN_TIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PING_TIME", DbType:="DateTime NOT NULL")>  _
	Public Property PING_TIME() As Date
		Get
			Return Me._PING_TIME
		End Get
		Set
			If ((Me._PING_TIME = value)  _
						= false) Then
				Me.OnPING_TIMEChanging(value)
				Me.SendPropertyChanging
				Me._PING_TIME = value
				Me.SendPropertyChanged("PING_TIME")
				Me.OnPING_TIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USERSESSION_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.CTL_USERSESSION.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_USERSESSION.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_WF_COMPLETEDSCOPE")>  _
Partial Public Class CTL_WF_COMPLETEDSCOPE
	
	Private _INSTANCESTATEID As System.Guid
	
	Private _COMPLETEDSCOPEID As System.Guid
	
	Private _STATE As System.Data.Linq.Binary
	
	Private _EDITDATE As Date
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCESTATEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property INSTANCESTATEID() As System.Guid
		Get
			Return Me._INSTANCESTATEID
		End Get
		Set
			If ((Me._INSTANCESTATEID = value)  _
						= false) Then
				Me._INSTANCESTATEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPLETEDSCOPEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPLETEDSCOPEID() As System.Guid
		Get
			Return Me._COMPLETEDSCOPEID
		End Get
		Set
			If ((Me._COMPLETEDSCOPEID = value)  _
						= false) Then
				Me._COMPLETEDSCOPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="VarBinary(MAX) NOT NULL", CanBeNull:=false, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property STATE() As System.Data.Linq.Binary
		Get
			Return Me._STATE
		End Get
		Set
			If (Object.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime NOT NULL")>  _
	Public Property EDITDATE() As Date
		Get
			Return Me._EDITDATE
		End Get
		Set
			If ((Me._EDITDATE = value)  _
						= false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.CTL_WF_INSTANCESTATE")>  _
Partial Public Class CTL_WF_INSTANCESTATE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _INSTANCESTATEID As System.Guid
	
	Private _STATE As System.Data.Linq.Binary
	
	Private _STATUSNUM As System.Nullable(Of Integer)
	
	Private _ISUNLOCKED As Boolean
	
	Private _ISBLOCKED As Boolean
	
	Private _INFO As String
	
	Private _EDITDATE As Date
	
	Private _OWNERID As System.Nullable(Of System.Guid)
	
	Private _OWNEDUNTIL As System.Nullable(Of Date)
	
	Private _NEXTTIMER As System.Nullable(Of Date)
	
	Private _USERID As System.Guid
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnINSTANCESTATEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnINSTANCESTATEIDChanged()
    End Sub
    Partial Private Sub OnSTATEChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnSTATEChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnISUNLOCKEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISUNLOCKEDChanged()
    End Sub
    Partial Private Sub OnISBLOCKEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISBLOCKEDChanged()
    End Sub
    Partial Private Sub OnINFOChanging(value As String)
    End Sub
    Partial Private Sub OnINFOChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnOWNERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnOWNERIDChanged()
    End Sub
    Partial Private Sub OnOWNEDUNTILChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnOWNEDUNTILChanged()
    End Sub
    Partial Private Sub OnNEXTTIMERChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnNEXTTIMERChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCESTATEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property INSTANCESTATEID() As System.Guid
		Get
			Return Me._INSTANCESTATEID
		End Get
		Set
			If ((Me._INSTANCESTATEID = value)  _
						= false) Then
				Me.OnINSTANCESTATEIDChanging(value)
				Me.SendPropertyChanging
				Me._INSTANCESTATEID = value
				Me.SendPropertyChanged("INSTANCESTATEID")
				Me.OnINSTANCESTATEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property STATE() As System.Data.Linq.Binary
		Get
			Return Me._STATE
		End Get
		Set
			If (Object.Equals(Me._STATE, value) = false) Then
				Me.OnSTATEChanging(value)
				Me.SendPropertyChanging
				Me._STATE = value
				Me.SendPropertyChanged("STATE")
				Me.OnSTATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="Int")>  _
	Public Property STATUSNUM() As System.Nullable(Of Integer)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISUNLOCKED", DbType:="Bit NOT NULL")>  _
	Public Property ISUNLOCKED() As Boolean
		Get
			Return Me._ISUNLOCKED
		End Get
		Set
			If ((Me._ISUNLOCKED = value)  _
						= false) Then
				Me.OnISUNLOCKEDChanging(value)
				Me.SendPropertyChanging
				Me._ISUNLOCKED = value
				Me.SendPropertyChanged("ISUNLOCKED")
				Me.OnISUNLOCKEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISBLOCKED", DbType:="Bit NOT NULL")>  _
	Public Property ISBLOCKED() As Boolean
		Get
			Return Me._ISBLOCKED
		End Get
		Set
			If ((Me._ISBLOCKED = value)  _
						= false) Then
				Me.OnISBLOCKEDChanging(value)
				Me.SendPropertyChanging
				Me._ISBLOCKED = value
				Me.SendPropertyChanged("ISBLOCKED")
				Me.OnISBLOCKEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INFO", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property INFO() As String
		Get
			Return Me._INFO
		End Get
		Set
			If (String.Equals(Me._INFO, value) = false) Then
				Me.OnINFOChanging(value)
				Me.SendPropertyChanging
				Me._INFO = value
				Me.SendPropertyChanged("INFO")
				Me.OnINFOChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime NOT NULL")>  _
	Public Property EDITDATE() As Date
		Get
			Return Me._EDITDATE
		End Get
		Set
			If ((Me._EDITDATE = value)  _
						= false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OWNERID", DbType:="UniqueIdentifier")>  _
	Public Property OWNERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OWNERID
		End Get
		Set
			If (Me._OWNERID.Equals(value) = false) Then
				Me.OnOWNERIDChanging(value)
				Me.SendPropertyChanging
				Me._OWNERID = value
				Me.SendPropertyChanged("OWNERID")
				Me.OnOWNERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OWNEDUNTIL", DbType:="DateTime")>  _
	Public Property OWNEDUNTIL() As System.Nullable(Of Date)
		Get
			Return Me._OWNEDUNTIL
		End Get
		Set
			If (Me._OWNEDUNTIL.Equals(value) = false) Then
				Me.OnOWNEDUNTILChanging(value)
				Me.SendPropertyChanging
				Me._OWNEDUNTIL = value
				Me.SendPropertyChanged("OWNEDUNTIL")
				Me.OnOWNEDUNTILChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXTTIMER", DbType:="DateTime")>  _
	Public Property NEXTTIMER() As System.Nullable(Of Date)
		Get
			Return Me._NEXTTIMER
		End Get
		Set
			If (Me._NEXTTIMER.Equals(value) = false) Then
				Me.OnNEXTTIMERChanging(value)
				Me.SendPropertyChanging
				Me._NEXTTIMER = value
				Me.SendPropertyChanged("NEXTTIMER")
				Me.OnNEXTTIMERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WF_INSTANCESTATE_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.CTL_WF_INSTANCESTATE.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CTL_WF_INSTANCESTATE.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.GROUP")>  _
Partial Public Class [GROUP]
	
	Private _GROUPID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _CITY As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As Date
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _GROUP_DESCRIPTION As String
	
	Private _GROUP_NAME As String
	
	Private _HAS_SUBGROUPS As Boolean
	
	Private _HIERARCHY_LEVEL As System.Nullable(Of Integer)
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _PARENTGROUPID As System.Nullable(Of System.Guid)
	
	Private _IS_PRIVATE As Boolean
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _STATE As String
	
	Private _ZIP_CODE As String
	
	Private _SUBGROUPS As String
	
	Private _PRIVATE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUP_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property GROUP_DESCRIPTION() As String
		Get
			Return Me._GROUP_DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._GROUP_DESCRIPTION, value) = false) Then
				Me._GROUP_DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUP_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property GROUP_NAME() As String
		Get
			Return Me._GROUP_NAME
		End Get
		Set
			If (String.Equals(Me._GROUP_NAME, value) = false) Then
				Me._GROUP_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HAS_SUBGROUPS", DbType:="Bit NOT NULL")>  _
	Public Property HAS_SUBGROUPS() As Boolean
		Get
			Return Me._HAS_SUBGROUPS
		End Get
		Set
			If ((Me._HAS_SUBGROUPS = value)  _
						= false) Then
				Me._HAS_SUBGROUPS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERARCHY_LEVEL", DbType:="Int")>  _
	Public Property HIERARCHY_LEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERARCHY_LEVEL
		End Get
		Set
			If (Me._HIERARCHY_LEVEL.Equals(value) = false) Then
				Me._HIERARCHY_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTGROUPID
		End Get
		Set
			If (Me._PARENTGROUPID.Equals(value) = false) Then
				Me._PARENTGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property IS_PRIVATE() As Boolean
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBGROUPS", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property SUBGROUPS() As String
		Get
			Return Me._SUBGROUPS
		End Get
		Set
			If (String.Equals(Me._SUBGROUPS, value) = false) Then
				Me._SUBGROUPS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.GROUP_ACTIVITY")>  _
Partial Public Class GROUP_ACTIVITY
	
	Private _GROUPID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.GROUP_CONTACT")>  _
Partial Public Class GROUP_CONTACT
	
	Private _GROUPID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.GROUP_HISTORY")>  _
Partial Public Class GROUP_HISTORY
	
	Private _GROUPID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.GROUP_NOTE")>  _
Partial Public Class GROUP_NOTE
	
	Private _GROUPID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.GROUP_OPPORTUNITY")>  _
Partial Public Class GROUP_OPPORTUNITY
	
	Private _GROUPID As System.Guid
	
	Private _OPPORTUNITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.HISTORY")>  _
Partial Public Class HISTORY
	
	Private _HISTORYID As System.Guid
	
	Private _ACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As Date
	
	Private _DETAILS As String
	
	Private _DURATION As System.Nullable(Of Integer)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _END_DATE_TIME As Date
	
	Private _HISTORYTYPEID As Short
	
	Private _LAST_EDITED_BY As String
	
	Private _IS_PRIVATE As Byte
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REGARDING As String
	
	Private _START_DATE_TIME As Date
	
	Private _PRIVATE As String
	
	Private _HISTORY_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._ACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._ACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", DbType:="Int")>  _
	Public Property DURATION() As System.Nullable(Of Integer)
		Get
			Return Me._DURATION
		End Get
		Set
			If (Me._DURATION.Equals(value) = false) Then
				Me._DURATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_END_DATE_TIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property END_DATE_TIME() As Date
		Get
			Return Me._END_DATE_TIME
		End Get
		Set
			If ((Me._END_DATE_TIME = value)  _
						= false) Then
				Me._END_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="TinyInt NOT NULL")>  _
	Public Property IS_PRIVATE() As Byte
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me._REGARDING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_START_DATE_TIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property START_DATE_TIME() As Date
		Get
			Return Me._START_DATE_TIME
		End Get
		Set
			If ((Me._START_DATE_TIME = value)  _
						= false) Then
				Me._START_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORY_TYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORY_TYPE() As String
		Get
			Return Me._HISTORY_TYPE
		End Get
		Set
			If (String.Equals(Me._HISTORY_TYPE, value) = false) Then
				Me._HISTORY_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.HISTORY_TYPE")>  _
Partial Public Class HISTORY_TYPE
	
	Private _HISTORYTYPEGUID As System.Guid
	
	Private _ACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _CREATE_DATE As Date
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _HISTORY_TYPE1 As String
	
	Private _HISTORYTYPEGROUPID As Short
	
	Private _HISTORYTYPEID As Short
	
	Private _IS_ACTIVE As Boolean
	
	Private _IS_CUSTOM As Boolean
	
	Private _IS_DEFAULT As Boolean
	
	Private _IS_USER_RECORDABLE As Boolean
	
	Private _ACTIVE As String
	
	Private _CUSTOM As String
	
	Private _DEFAULT As String
	
	Private _USER_RECORDABLE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYTYPEGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEGUID
		End Get
		Set
			If ((Me._HISTORYTYPEGUID = value)  _
						= false) Then
				Me._HISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEID.Equals(value) = false) Then
				Me._ACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY_TYPE", Storage:="_HISTORY_TYPE1", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORY_TYPE1() As String
		Get
			Return Me._HISTORY_TYPE1
		End Get
		Set
			If (String.Equals(Me._HISTORY_TYPE1, value) = false) Then
				Me._HISTORY_TYPE1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEGROUPID = value)  _
						= false) Then
				Me._HISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property IS_ACTIVE() As Boolean
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If ((Me._IS_ACTIVE = value)  _
						= false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property IS_CUSTOM() As Boolean
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If ((Me._IS_CUSTOM = value)  _
						= false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property IS_DEFAULT() As Boolean
		Get
			Return Me._IS_DEFAULT
		End Get
		Set
			If ((Me._IS_DEFAULT = value)  _
						= false) Then
				Me._IS_DEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USER_RECORDABLE", DbType:="Bit NOT NULL")>  _
	Public Property IS_USER_RECORDABLE() As Boolean
		Get
			Return Me._IS_USER_RECORDABLE
		End Get
		Set
			If ((Me._IS_USER_RECORDABLE = value)  _
						= false) Then
				Me._IS_USER_RECORDABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIVE() As String
		Get
			Return Me._ACTIVE
		End Get
		Set
			If (String.Equals(Me._ACTIVE, value) = false) Then
				Me._ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUSTOM", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property CUSTOM() As String
		Get
			Return Me._CUSTOM
		End Get
		Set
			If (String.Equals(Me._CUSTOM, value) = false) Then
				Me._CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DEFAULT", Storage:="_DEFAULT", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [DEFAULT]() As String
		Get
			Return Me._DEFAULT
		End Get
		Set
			If (String.Equals(Me._DEFAULT, value) = false) Then
				Me._DEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER_RECORDABLE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property USER_RECORDABLE() As String
		Get
			Return Me._USER_RECORDABLE
		End Get
		Set
			If (String.Equals(Me._USER_RECORDABLE, value) = false) Then
				Me._USER_RECORDABLE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.LOGON_HISTORY")>  _
Partial Public Class LOGON_HISTORY
	
	Private _USERID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _IS_ALLOW_PASSWORD_CHANGE As Boolean
	
	Private _IS_CASE_SENSITIVE_PASSWORD As Boolean
	
	Private _IS_FORCE_PASSWORD_CHANGE As Boolean
	
	Private _IS_PASSWORD_NEVER_EXPIRES As Boolean
	
	Private _IS_USEPERSONALFILES As Boolean
	
	Private _IS_VERIFIED As Boolean
	
	Private _LAST_LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _LOGIN As String
	
	Private _ROLEID As System.Guid
	
	Private _UTC_OFFSET As System.Nullable(Of Short)
	
	Private _LOGONHISTORYID As System.Guid
	
	Private _APPLICATION_NAME As String
	
	Private _APPLICATION_VERSION As String
	
	Private _CLIENT_IP_ADDRESS As String
	
	Private _CLIENT_MACHINE As String
	
	Private _CLIENT_USERNAME As String
	
	Private _DATABASE_NAME As String
	
	Private _DATABASE_SERVER As String
	
	Private _LOGOFF_DATE As System.Nullable(Of Date)
	
	Private _LOGON_DATE As Date
	
	Private _LOGONHISTORY_USERID As System.Guid
	
	Private _STATUSNUM As Byte
	
	Private _STATUS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALLOW_PASSWORD_CHANGE", DbType:="Bit NOT NULL")>  _
	Public Property IS_ALLOW_PASSWORD_CHANGE() As Boolean
		Get
			Return Me._IS_ALLOW_PASSWORD_CHANGE
		End Get
		Set
			If ((Me._IS_ALLOW_PASSWORD_CHANGE = value)  _
						= false) Then
				Me._IS_ALLOW_PASSWORD_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CASE_SENSITIVE_PASSWORD", DbType:="Bit NOT NULL")>  _
	Public Property IS_CASE_SENSITIVE_PASSWORD() As Boolean
		Get
			Return Me._IS_CASE_SENSITIVE_PASSWORD
		End Get
		Set
			If ((Me._IS_CASE_SENSITIVE_PASSWORD = value)  _
						= false) Then
				Me._IS_CASE_SENSITIVE_PASSWORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_FORCE_PASSWORD_CHANGE", DbType:="Bit NOT NULL")>  _
	Public Property IS_FORCE_PASSWORD_CHANGE() As Boolean
		Get
			Return Me._IS_FORCE_PASSWORD_CHANGE
		End Get
		Set
			If ((Me._IS_FORCE_PASSWORD_CHANGE = value)  _
						= false) Then
				Me._IS_FORCE_PASSWORD_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PASSWORD_NEVER_EXPIRES", DbType:="Bit NOT NULL")>  _
	Public Property IS_PASSWORD_NEVER_EXPIRES() As Boolean
		Get
			Return Me._IS_PASSWORD_NEVER_EXPIRES
		End Get
		Set
			If ((Me._IS_PASSWORD_NEVER_EXPIRES = value)  _
						= false) Then
				Me._IS_PASSWORD_NEVER_EXPIRES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USEPERSONALFILES", DbType:="Bit NOT NULL")>  _
	Public Property IS_USEPERSONALFILES() As Boolean
		Get
			Return Me._IS_USEPERSONALFILES
		End Get
		Set
			If ((Me._IS_USEPERSONALFILES = value)  _
						= false) Then
				Me._IS_USEPERSONALFILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_VERIFIED", DbType:="Bit NOT NULL")>  _
	Public Property IS_VERIFIED() As Boolean
		Get
			Return Me._IS_VERIFIED
		End Get
		Set
			If ((Me._IS_VERIFIED = value)  _
						= false) Then
				Me._IS_VERIFIED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property LAST_LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LAST_LOGONHISTORYID
		End Get
		Set
			If (Me._LAST_LOGONHISTORYID.Equals(value) = false) Then
				Me._LAST_LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property LOGIN() As String
		Get
			Return Me._LOGIN
		End Get
		Set
			If (String.Equals(Me._LOGIN, value) = false) Then
				Me._LOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROLEID() As System.Guid
		Get
			Return Me._ROLEID
		End Get
		Set
			If ((Me._ROLEID = value)  _
						= false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UTC_OFFSET", DbType:="SmallInt")>  _
	Public Property UTC_OFFSET() As System.Nullable(Of Short)
		Get
			Return Me._UTC_OFFSET
		End Get
		Set
			If (Me._UTC_OFFSET.Equals(value) = false) Then
				Me._UTC_OFFSET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LOGONHISTORYID() As System.Guid
		Get
			Return Me._LOGONHISTORYID
		End Get
		Set
			If ((Me._LOGONHISTORYID = value)  _
						= false) Then
				Me._LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property APPLICATION_NAME() As String
		Get
			Return Me._APPLICATION_NAME
		End Get
		Set
			If (String.Equals(Me._APPLICATION_NAME, value) = false) Then
				Me._APPLICATION_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION_VERSION", DbType:="NVarChar(64)")>  _
	Public Property APPLICATION_VERSION() As String
		Get
			Return Me._APPLICATION_VERSION
		End Get
		Set
			If (String.Equals(Me._APPLICATION_VERSION, value) = false) Then
				Me._APPLICATION_VERSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_IP_ADDRESS", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_IP_ADDRESS() As String
		Get
			Return Me._CLIENT_IP_ADDRESS
		End Get
		Set
			If (String.Equals(Me._CLIENT_IP_ADDRESS, value) = false) Then
				Me._CLIENT_IP_ADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_MACHINE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property CLIENT_MACHINE() As String
		Get
			Return Me._CLIENT_MACHINE
		End Get
		Set
			If (String.Equals(Me._CLIENT_MACHINE, value) = false) Then
				Me._CLIENT_MACHINE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_USERNAME", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_USERNAME() As String
		Get
			Return Me._CLIENT_USERNAME
		End Get
		Set
			If (String.Equals(Me._CLIENT_USERNAME, value) = false) Then
				Me._CLIENT_USERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASE_NAME() As String
		Get
			Return Me._DATABASE_NAME
		End Get
		Set
			If (String.Equals(Me._DATABASE_NAME, value) = false) Then
				Me._DATABASE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_SERVER", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASE_SERVER() As String
		Get
			Return Me._DATABASE_SERVER
		End Get
		Set
			If (String.Equals(Me._DATABASE_SERVER, value) = false) Then
				Me._DATABASE_SERVER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGOFF_DATE", DbType:="DateTime")>  _
	Public Property LOGOFF_DATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGOFF_DATE
		End Get
		Set
			If (Me._LOGOFF_DATE.Equals(value) = false) Then
				Me._LOGOFF_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGON_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property LOGON_DATE() As Date
		Get
			Return Me._LOGON_DATE
		End Get
		Set
			If ((Me._LOGON_DATE = value)  _
						= false) Then
				Me._LOGON_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONHISTORY_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LOGONHISTORY_USERID() As System.Guid
		Get
			Return Me._LOGONHISTORY_USERID
		End Get
		Set
			If ((Me._LOGONHISTORY_USERID = value)  _
						= false) Then
				Me._LOGONHISTORY_USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(12) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.MY_RECORD_CONTACT")>  _
Partial Public Class MY_RECORD_CONTACT
	
	Private _CONTACTID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _ALTERNATE_EXTENSION As String
	
	Private _ALTERNATE_PHONE As String
	
	Private _BIRTH_DATE As System.Nullable(Of Date)
	
	Private _CITY As String
	
	Private _COMPANY As String
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACT As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As Date
	
	Private _CustomerID As String
	
	Private _DEPARTMENT As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _E_MAIL As String
	
	Private _EmailPermission As String
	
	Private _EXTENSION As String
	
	Private _FAX_EXTENSION As String
	
	Private _FAX_PHONE As String
	
	Private _FIRST_NAME As String
	
	Private _FirstPurchase As System.Nullable(Of Date)
	
	Private _HOME_ADDRESS_1 As String
	
	Private _HOME_ADDRESS_2 As String
	
	Private _HOME_ADDRESS_3 As String
	
	Private _HOME_CITY As String
	
	Private _HOME_COUNTRY As String
	
	Private _HOME_EXTENSION As String
	
	Private _HOME_PHONE As String
	
	Private _HOME_STATE As String
	
	Private _HOME_ZIP_CODE As String
	
	Private _ID_STATUS As String
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _IS_IMPORTED As Boolean
	
	Private _IS_USER As System.Nullable(Of Boolean)
	
	Private _KeyContact As Boolean
	
	Private _LAST_ATTEMPT As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _LAST_E_MAIL As System.Nullable(Of Date)
	
	Private _LAST_MEETING As System.Nullable(Of Date)
	
	Private _LAST_NAME As String
	
	Private _LAST_REACH As System.Nullable(Of Date)
	
	Private _LAST_RESULTS As String
	
	Private _LastYrsPurchases As System.Nullable(Of Decimal)
	
	Private _LETTER_DATE As System.Nullable(Of Date)
	
	Private _MESSENGER_ID As String
	
	Private _MIDDLE_NAME As String
	
	Private _MOBILE_EXTENSION As String
	
	Private _MOBILE_PHONE As String
	
	Private _NAME_PREFIX As String
	
	Private _NAME_SUFFIX As String
	
	Private _PAGER_EXTENSION As String
	
	Private _PAGER_PHONE As String
	
	Private _PERSONAL_E_MAIL As String
	
	Private _PHONE As String
	
	Private _Photo As System.Data.Linq.Binary
	
	Private _IS_PRIVATE As Boolean
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _SALUTATION As String
	
	Private _SnapshotContactGrade As String
	
	Private _SnapshotContactRank As System.Nullable(Of Integer)
	
	Private _SnapshotFavorites As String
	
	Private _SnapshotWhoIs As String
	
	Private _SPOUSE As String
	
	Private _STATE As String
	
	Private _TITLE As String
	
	Private _Trivia As String
	
	Private _USER1 As String
	
	Private _USER10 As String
	
	Private _USER2 As String
	
	Private _USER3 As String
	
	Private _USER4 As String
	
	Private _USER5 As String
	
	Private _USER6 As String
	
	Private _USER7 As String
	
	Private _USER8 As String
	
	Private _USER9 As String
	
	Private _WEB_SITE As String
	
	Private _ZIP_CODE As String
	
	Private _IMPORTED As String
	
	Private _USER As String
	
	Private _PRIVATE As String
	
	Private _USERID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALTERNATE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property ALTERNATE_EXTENSION() As String
		Get
			Return Me._ALTERNATE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._ALTERNATE_EXTENSION, value) = false) Then
				Me._ALTERNATE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALTERNATE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property ALTERNATE_PHONE() As String
		Get
			Return Me._ALTERNATE_PHONE
		End Get
		Set
			If (String.Equals(Me._ALTERNATE_PHONE, value) = false) Then
				Me._ALTERNATE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BIRTH_DATE", DbType:="DateTime")>  _
	Public Property BIRTH_DATE() As System.Nullable(Of Date)
		Get
			Return Me._BIRTH_DATE
		End Get
		Set
			If (Me._BIRTH_DATE.Equals(value) = false) Then
				Me._BIRTH_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT", DbType:="NVarChar(128)")>  _
	Public Property CONTACT() As String
		Get
			Return Me._CONTACT
		End Get
		Set
			If (String.Equals(Me._CONTACT, value) = false) Then
				Me._CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Customer ID", Storage:="_CustomerID", DbType:="NVarChar(8)")>  _
	Public Property CustomerID() As String
		Get
			Return Me._CustomerID
		End Get
		Set
			If (String.Equals(Me._CustomerID, value) = false) Then
				Me._CustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPARTMENT", DbType:="NVarChar(128)")>  _
	Public Property DEPARTMENT() As String
		Get
			Return Me._DEPARTMENT
		End Get
		Set
			If (String.Equals(Me._DEPARTMENT, value) = false) Then
				Me._DEPARTMENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="E-MAIL", Storage:="_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property E_MAIL() As String
		Get
			Return Me._E_MAIL
		End Get
		Set
			If (String.Equals(Me._E_MAIL, value) = false) Then
				Me._E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Email Permission", Storage:="_EmailPermission", DbType:="NVarChar(20)")>  _
	Public Property EmailPermission() As String
		Get
			Return Me._EmailPermission
		End Get
		Set
			If (String.Equals(Me._EmailPermission, value) = false) Then
				Me._EmailPermission = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property EXTENSION() As String
		Get
			Return Me._EXTENSION
		End Get
		Set
			If (String.Equals(Me._EXTENSION, value) = false) Then
				Me._EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property FAX_EXTENSION() As String
		Get
			Return Me._FAX_EXTENSION
		End Get
		Set
			If (String.Equals(Me._FAX_EXTENSION, value) = false) Then
				Me._FAX_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property FAX_PHONE() As String
		Get
			Return Me._FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._FAX_PHONE, value) = false) Then
				Me._FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRST_NAME", DbType:="NVarChar(64)")>  _
	Public Property FIRST_NAME() As String
		Get
			Return Me._FIRST_NAME
		End Get
		Set
			If (String.Equals(Me._FIRST_NAME, value) = false) Then
				Me._FIRST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="First Purchase", Storage:="_FirstPurchase", DbType:="DateTime")>  _
	Public Property FirstPurchase() As System.Nullable(Of Date)
		Get
			Return Me._FirstPurchase
		End Get
		Set
			If (Me._FirstPurchase.Equals(value) = false) Then
				Me._FirstPurchase = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_1() As String
		Get
			Return Me._HOME_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_1, value) = false) Then
				Me._HOME_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_2() As String
		Get
			Return Me._HOME_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_2, value) = false) Then
				Me._HOME_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_3() As String
		Get
			Return Me._HOME_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_3, value) = false) Then
				Me._HOME_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_CITY", DbType:="NVarChar(256)")>  _
	Public Property HOME_CITY() As String
		Get
			Return Me._HOME_CITY
		End Get
		Set
			If (String.Equals(Me._HOME_CITY, value) = false) Then
				Me._HOME_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property HOME_COUNTRY() As String
		Get
			Return Me._HOME_COUNTRY
		End Get
		Set
			If (String.Equals(Me._HOME_COUNTRY, value) = false) Then
				Me._HOME_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property HOME_EXTENSION() As String
		Get
			Return Me._HOME_EXTENSION
		End Get
		Set
			If (String.Equals(Me._HOME_EXTENSION, value) = false) Then
				Me._HOME_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_PHONE", DbType:="NVarChar(32)")>  _
	Public Property HOME_PHONE() As String
		Get
			Return Me._HOME_PHONE
		End Get
		Set
			If (String.Equals(Me._HOME_PHONE, value) = false) Then
				Me._HOME_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_STATE", DbType:="NVarChar(256)")>  _
	Public Property HOME_STATE() As String
		Get
			Return Me._HOME_STATE
		End Get
		Set
			If (String.Equals(Me._HOME_STATE, value) = false) Then
				Me._HOME_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property HOME_ZIP_CODE() As String
		Get
			Return Me._HOME_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._HOME_ZIP_CODE, value) = false) Then
				Me._HOME_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ID/STATUS", Storage:="_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property ID_STATUS() As String
		Get
			Return Me._ID_STATUS
		End Get
		Set
			If (String.Equals(Me._ID_STATUS, value) = false) Then
				Me._ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_IMPORTED", DbType:="Bit NOT NULL")>  _
	Public Property IS_IMPORTED() As Boolean
		Get
			Return Me._IS_IMPORTED
		End Get
		Set
			If ((Me._IS_IMPORTED = value)  _
						= false) Then
				Me._IS_IMPORTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USER", DbType:="Bit")>  _
	Public Property IS_USER() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_USER
		End Get
		Set
			If (Me._IS_USER.Equals(value) = false) Then
				Me._IS_USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Key Contact", Storage:="_KeyContact", DbType:="Bit NOT NULL")>  _
	Public Property KeyContact() As Boolean
		Get
			Return Me._KeyContact
		End Get
		Set
			If ((Me._KeyContact = value)  _
						= false) Then
				Me._KeyContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ATTEMPT", DbType:="DateTime")>  _
	Public Property LAST_ATTEMPT() As System.Nullable(Of Date)
		Get
			Return Me._LAST_ATTEMPT
		End Get
		Set
			If (Me._LAST_ATTEMPT.Equals(value) = false) Then
				Me._LAST_ATTEMPT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LAST_E-MAIL", Storage:="_LAST_E_MAIL", DbType:="DateTime")>  _
	Public Property LAST_E_MAIL() As System.Nullable(Of Date)
		Get
			Return Me._LAST_E_MAIL
		End Get
		Set
			If (Me._LAST_E_MAIL.Equals(value) = false) Then
				Me._LAST_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_MEETING", DbType:="DateTime")>  _
	Public Property LAST_MEETING() As System.Nullable(Of Date)
		Get
			Return Me._LAST_MEETING
		End Get
		Set
			If (Me._LAST_MEETING.Equals(value) = false) Then
				Me._LAST_MEETING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_NAME", DbType:="NVarChar(128)")>  _
	Public Property LAST_NAME() As String
		Get
			Return Me._LAST_NAME
		End Get
		Set
			If (String.Equals(Me._LAST_NAME, value) = false) Then
				Me._LAST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_REACH", DbType:="DateTime")>  _
	Public Property LAST_REACH() As System.Nullable(Of Date)
		Get
			Return Me._LAST_REACH
		End Get
		Set
			If (Me._LAST_REACH.Equals(value) = false) Then
				Me._LAST_REACH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_RESULTS", DbType:="NVarChar(128)")>  _
	Public Property LAST_RESULTS() As String
		Get
			Return Me._LAST_RESULTS
		End Get
		Set
			If (String.Equals(Me._LAST_RESULTS, value) = false) Then
				Me._LAST_RESULTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Last Yrs Purchases", Storage:="_LastYrsPurchases", DbType:="Decimal(7,0)")>  _
	Public Property LastYrsPurchases() As System.Nullable(Of Decimal)
		Get
			Return Me._LastYrsPurchases
		End Get
		Set
			If (Me._LastYrsPurchases.Equals(value) = false) Then
				Me._LastYrsPurchases = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LETTER_DATE", DbType:="DateTime")>  _
	Public Property LETTER_DATE() As System.Nullable(Of Date)
		Get
			Return Me._LETTER_DATE
		End Get
		Set
			If (Me._LETTER_DATE.Equals(value) = false) Then
				Me._LETTER_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MESSENGER_ID", DbType:="NVarChar(16)")>  _
	Public Property MESSENGER_ID() As String
		Get
			Return Me._MESSENGER_ID
		End Get
		Set
			If (String.Equals(Me._MESSENGER_ID, value) = false) Then
				Me._MESSENGER_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIDDLE_NAME", DbType:="NVarChar(64)")>  _
	Public Property MIDDLE_NAME() As String
		Get
			Return Me._MIDDLE_NAME
		End Get
		Set
			If (String.Equals(Me._MIDDLE_NAME, value) = false) Then
				Me._MIDDLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MOBILE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property MOBILE_EXTENSION() As String
		Get
			Return Me._MOBILE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._MOBILE_EXTENSION, value) = false) Then
				Me._MOBILE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MOBILE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property MOBILE_PHONE() As String
		Get
			Return Me._MOBILE_PHONE
		End Get
		Set
			If (String.Equals(Me._MOBILE_PHONE, value) = false) Then
				Me._MOBILE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME_PREFIX", DbType:="NVarChar(32)")>  _
	Public Property NAME_PREFIX() As String
		Get
			Return Me._NAME_PREFIX
		End Get
		Set
			If (String.Equals(Me._NAME_PREFIX, value) = false) Then
				Me._NAME_PREFIX = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME_SUFFIX", DbType:="NVarChar(32)")>  _
	Public Property NAME_SUFFIX() As String
		Get
			Return Me._NAME_SUFFIX
		End Get
		Set
			If (String.Equals(Me._NAME_SUFFIX, value) = false) Then
				Me._NAME_SUFFIX = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PAGER_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property PAGER_EXTENSION() As String
		Get
			Return Me._PAGER_EXTENSION
		End Get
		Set
			If (String.Equals(Me._PAGER_EXTENSION, value) = false) Then
				Me._PAGER_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PAGER_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PAGER_PHONE() As String
		Get
			Return Me._PAGER_PHONE
		End Get
		Set
			If (String.Equals(Me._PAGER_PHONE, value) = false) Then
				Me._PAGER_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERSONAL_E-MAIL", Storage:="_PERSONAL_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property PERSONAL_E_MAIL() As String
		Get
			Return Me._PERSONAL_E_MAIL
		End Get
		Set
			If (String.Equals(Me._PERSONAL_E_MAIL, value) = false) Then
				Me._PERSONAL_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PHONE() As String
		Get
			Return Me._PHONE
		End Get
		Set
			If (String.Equals(Me._PHONE, value) = false) Then
				Me._PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Photo", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property Photo() As System.Data.Linq.Binary
		Get
			Return Me._Photo
		End Get
		Set
			If (Object.Equals(Me._Photo, value) = false) Then
				Me._Photo = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property IS_PRIVATE() As Boolean
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SALUTATION", DbType:="NVarChar(32)")>  _
	Public Property SALUTATION() As String
		Get
			Return Me._SALUTATION
		End Get
		Set
			If (String.Equals(Me._SALUTATION, value) = false) Then
				Me._SALUTATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Contact Grade", Storage:="_SnapshotContactGrade", DbType:="NVarChar(50)")>  _
	Public Property SnapshotContactGrade() As String
		Get
			Return Me._SnapshotContactGrade
		End Get
		Set
			If (String.Equals(Me._SnapshotContactGrade, value) = false) Then
				Me._SnapshotContactGrade = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Contact Rank", Storage:="_SnapshotContactRank", DbType:="Int")>  _
	Public Property SnapshotContactRank() As System.Nullable(Of Integer)
		Get
			Return Me._SnapshotContactRank
		End Get
		Set
			If (Me._SnapshotContactRank.Equals(value) = false) Then
				Me._SnapshotContactRank = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Favorites", Storage:="_SnapshotFavorites", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SnapshotFavorites() As String
		Get
			Return Me._SnapshotFavorites
		End Get
		Set
			If (String.Equals(Me._SnapshotFavorites, value) = false) Then
				Me._SnapshotFavorites = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot WhoIs", Storage:="_SnapshotWhoIs", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SnapshotWhoIs() As String
		Get
			Return Me._SnapshotWhoIs
		End Get
		Set
			If (String.Equals(Me._SnapshotWhoIs, value) = false) Then
				Me._SnapshotWhoIs = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SPOUSE", DbType:="NVarChar(64)")>  _
	Public Property SPOUSE() As String
		Get
			Return Me._SPOUSE
		End Get
		Set
			If (String.Equals(Me._SPOUSE, value) = false) Then
				Me._SPOUSE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TITLE", DbType:="NVarChar(128)")>  _
	Public Property TITLE() As String
		Get
			Return Me._TITLE
		End Get
		Set
			If (String.Equals(Me._TITLE, value) = false) Then
				Me._TITLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Trivia", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property Trivia() As String
		Get
			Return Me._Trivia
		End Get
		Set
			If (String.Equals(Me._Trivia, value) = false) Then
				Me._Trivia = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER1", DbType:="NVarChar(64)")>  _
	Public Property USER1() As String
		Get
			Return Me._USER1
		End Get
		Set
			If (String.Equals(Me._USER1, value) = false) Then
				Me._USER1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER10", DbType:="NVarChar(64)")>  _
	Public Property USER10() As String
		Get
			Return Me._USER10
		End Get
		Set
			If (String.Equals(Me._USER10, value) = false) Then
				Me._USER10 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER2", DbType:="NVarChar(64)")>  _
	Public Property USER2() As String
		Get
			Return Me._USER2
		End Get
		Set
			If (String.Equals(Me._USER2, value) = false) Then
				Me._USER2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER3", DbType:="NVarChar(64)")>  _
	Public Property USER3() As String
		Get
			Return Me._USER3
		End Get
		Set
			If (String.Equals(Me._USER3, value) = false) Then
				Me._USER3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER4", DbType:="NVarChar(64)")>  _
	Public Property USER4() As String
		Get
			Return Me._USER4
		End Get
		Set
			If (String.Equals(Me._USER4, value) = false) Then
				Me._USER4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER5", DbType:="NVarChar(64)")>  _
	Public Property USER5() As String
		Get
			Return Me._USER5
		End Get
		Set
			If (String.Equals(Me._USER5, value) = false) Then
				Me._USER5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER6", DbType:="NVarChar(64)")>  _
	Public Property USER6() As String
		Get
			Return Me._USER6
		End Get
		Set
			If (String.Equals(Me._USER6, value) = false) Then
				Me._USER6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER7", DbType:="NVarChar(75)")>  _
	Public Property USER7() As String
		Get
			Return Me._USER7
		End Get
		Set
			If (String.Equals(Me._USER7, value) = false) Then
				Me._USER7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER8", DbType:="NVarChar(75)")>  _
	Public Property USER8() As String
		Get
			Return Me._USER8
		End Get
		Set
			If (String.Equals(Me._USER8, value) = false) Then
				Me._USER8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER9", DbType:="NVarChar(75)")>  _
	Public Property USER9() As String
		Get
			Return Me._USER9
		End Get
		Set
			If (String.Equals(Me._USER9, value) = false) Then
				Me._USER9 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property WEB_SITE() As String
		Get
			Return Me._WEB_SITE
		End Get
		Set
			If (String.Equals(Me._WEB_SITE, value) = false) Then
				Me._WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORTED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property IMPORTED() As String
		Get
			Return Me._IMPORTED
		End Get
		Set
			If (String.Equals(Me._IMPORTED, value) = false) Then
				Me._IMPORTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property USER() As String
		Get
			Return Me._USER
		End Get
		Set
			If (String.Equals(Me._USER, value) = false) Then
				Me._USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.NOTE")>  _
Partial Public Class NOTE
	
	Private _NOTEID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _NOTE1 As String
	
	Private _NOTE_DATE As Date
	
	Private _NOTETYPEID As Short
	
	Private _IS_PRIVATE As Byte
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _PRIVATE As String
	
	Private _NOTE_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE", Storage:="_NOTE1", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property NOTE1() As String
		Get
			Return Me._NOTE1
		End Get
		Set
			If (String.Equals(Me._NOTE1, value) = false) Then
				Me._NOTE1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTE_DATE", DbType:="SmallDateTime NOT NULL")>  _
	Public Property NOTE_DATE() As Date
		Get
			Return Me._NOTE_DATE
		End Get
		Set
			If ((Me._NOTE_DATE = value)  _
						= false) Then
				Me._NOTE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPEID() As Short
		Get
			Return Me._NOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPEID = value)  _
						= false) Then
				Me._NOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="TinyInt NOT NULL")>  _
	Public Property IS_PRIVATE() As Byte
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTE_TYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTE_TYPE() As String
		Get
			Return Me._NOTE_TYPE
		End Get
		Set
			If (String.Equals(Me._NOTE_TYPE, value) = false) Then
				Me._NOTE_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.OPPORTUNITY")>  _
Partial Public Class OPPORTUNITY
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Private _ACTUAL_CLOSE_DATE As System.Nullable(Of Date)
	
	Private _ASSOCIATED_WITH As String
	
	Private _Budget As String
	
	Private _COMPANY As String
	
	Private _COMPETITOR As String
	
	Private _CONTACT As String
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As Date
	
	Private _CurrentlyUsing As String
	
	Private _DAYS_OPEN As System.Nullable(Of Integer)
	
	Private _DecisionBasedOn As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _ESTIMATED_CLOSE_DATE As Date
	
	Private _GROSS_MARGIN As System.Nullable(Of Decimal)
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _MajorObstacle As String
	
	Private _OPEN_DATE As Date
	
	Private _OPPORTUNITY_FIELD_1 As String
	
	Private _OPPORTUNITY_FIELD_2 As System.Nullable(Of Date)
	
	Private _OPPORTUNITY_FIELD_3 As String
	
	Private _OPPORTUNITY_FIELD_4 As String
	
	Private _OPPORTUNITY_FIELD_5 As String
	
	Private _OPPORTUNITY_FIELD_6 As String
	
	Private _OPPORTUNITY_FIELD_7 As String
	
	Private _OPPORTUNITY_FIELD_8 As String
	
	Private _OPPORTUNITY_NAME As String
	
	Private _IS_PRIVATE As Boolean
	
	Private _PROBABILITY_OF_CLOSE As Byte
	
	Private _PROCESS As String
	
	Private _REASON As String
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _STAGE As String
	
	Private _STAGEID As System.Guid
	
	Private _STATUSNUM As Byte
	
	Private _TOTAL As Decimal
	
	Private _WEIGHTED_TOTAL As Decimal
	
	Private _WhatIsTheirPain As String
	
	Private _PRIVATE As String
	
	Private _STATUS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTUAL_CLOSE_DATE", DbType:="DateTime")>  _
	Public Property ACTUAL_CLOSE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTUAL_CLOSE_DATE
		End Get
		Set
			If (Me._ACTUAL_CLOSE_DATE.Equals(value) = false) Then
				Me._ACTUAL_CLOSE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATED_WITH", DbType:="NVarChar(2000)")>  _
	Public Property ASSOCIATED_WITH() As String
		Get
			Return Me._ASSOCIATED_WITH
		End Get
		Set
			If (String.Equals(Me._ASSOCIATED_WITH, value) = false) Then
				Me._ASSOCIATED_WITH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Budget", DbType:="NVarChar(50)")>  _
	Public Property Budget() As String
		Get
			Return Me._Budget
		End Get
		Set
			If (String.Equals(Me._Budget, value) = false) Then
				Me._Budget = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(450)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPETITOR", DbType:="NVarChar(128)")>  _
	Public Property COMPETITOR() As String
		Get
			Return Me._COMPETITOR
		End Get
		Set
			If (String.Equals(Me._COMPETITOR, value) = false) Then
				Me._COMPETITOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT", DbType:="NVarChar(450)")>  _
	Public Property CONTACT() As String
		Get
			Return Me._CONTACT
		End Get
		Set
			If (String.Equals(Me._CONTACT, value) = false) Then
				Me._CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Currently Using", Storage:="_CurrentlyUsing", DbType:="NVarChar(50)")>  _
	Public Property CurrentlyUsing() As String
		Get
			Return Me._CurrentlyUsing
		End Get
		Set
			If (String.Equals(Me._CurrentlyUsing, value) = false) Then
				Me._CurrentlyUsing = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DAYS_OPEN", DbType:="Int")>  _
	Public Property DAYS_OPEN() As System.Nullable(Of Integer)
		Get
			Return Me._DAYS_OPEN
		End Get
		Set
			If (Me._DAYS_OPEN.Equals(value) = false) Then
				Me._DAYS_OPEN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Decision Based on", Storage:="_DecisionBasedOn", DbType:="NVarChar(70)")>  _
	Public Property DecisionBasedOn() As String
		Get
			Return Me._DecisionBasedOn
		End Get
		Set
			If (String.Equals(Me._DecisionBasedOn, value) = false) Then
				Me._DecisionBasedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ESTIMATED_CLOSE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ESTIMATED_CLOSE_DATE() As Date
		Get
			Return Me._ESTIMATED_CLOSE_DATE
		End Get
		Set
			If ((Me._ESTIMATED_CLOSE_DATE = value)  _
						= false) Then
				Me._ESTIMATED_CLOSE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROSS_MARGIN", DbType:="Decimal(17,2)")>  _
	Public Property GROSS_MARGIN() As System.Nullable(Of Decimal)
		Get
			Return Me._GROSS_MARGIN
		End Get
		Set
			If (Me._GROSS_MARGIN.Equals(value) = false) Then
				Me._GROSS_MARGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Major Obstacle", Storage:="_MajorObstacle", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property MajorObstacle() As String
		Get
			Return Me._MajorObstacle
		End Get
		Set
			If (String.Equals(Me._MajorObstacle, value) = false) Then
				Me._MajorObstacle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPEN_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property OPEN_DATE() As Date
		Get
			Return Me._OPEN_DATE
		End Get
		Set
			If ((Me._OPEN_DATE = value)  _
						= false) Then
				Me._OPEN_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_1", DbType:="NVarChar(10)")>  _
	Public Property OPPORTUNITY_FIELD_1() As String
		Get
			Return Me._OPPORTUNITY_FIELD_1
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_1, value) = false) Then
				Me._OPPORTUNITY_FIELD_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_2", DbType:="DateTime")>  _
	Public Property OPPORTUNITY_FIELD_2() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITY_FIELD_2
		End Get
		Set
			If (Me._OPPORTUNITY_FIELD_2.Equals(value) = false) Then
				Me._OPPORTUNITY_FIELD_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_3", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_3() As String
		Get
			Return Me._OPPORTUNITY_FIELD_3
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_3, value) = false) Then
				Me._OPPORTUNITY_FIELD_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_4", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_4() As String
		Get
			Return Me._OPPORTUNITY_FIELD_4
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_4, value) = false) Then
				Me._OPPORTUNITY_FIELD_4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_5", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_5() As String
		Get
			Return Me._OPPORTUNITY_FIELD_5
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_5, value) = false) Then
				Me._OPPORTUNITY_FIELD_5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_6", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_6() As String
		Get
			Return Me._OPPORTUNITY_FIELD_6
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_6, value) = false) Then
				Me._OPPORTUNITY_FIELD_6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_7", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_7() As String
		Get
			Return Me._OPPORTUNITY_FIELD_7
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_7, value) = false) Then
				Me._OPPORTUNITY_FIELD_7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_8", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_8() As String
		Get
			Return Me._OPPORTUNITY_FIELD_8
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_8, value) = false) Then
				Me._OPPORTUNITY_FIELD_8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_NAME", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_NAME() As String
		Get
			Return Me._OPPORTUNITY_NAME
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_NAME, value) = false) Then
				Me._OPPORTUNITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property IS_PRIVATE() As Boolean
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If ((Me._IS_PRIVATE = value)  _
						= false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROBABILITY_OF_CLOSE", DbType:="TinyInt NOT NULL")>  _
	Public Property PROBABILITY_OF_CLOSE() As Byte
		Get
			Return Me._PROBABILITY_OF_CLOSE
		End Get
		Set
			If ((Me._PROBABILITY_OF_CLOSE = value)  _
						= false) Then
				Me._PROBABILITY_OF_CLOSE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESS", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PROCESS() As String
		Get
			Return Me._PROCESS
		End Get
		Set
			If (String.Equals(Me._PROCESS, value) = false) Then
				Me._PROCESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REASON", DbType:="NVarChar(128)")>  _
	Public Property REASON() As String
		Get
			Return Me._REASON
		End Get
		Set
			If (String.Equals(Me._REASON, value) = false) Then
				Me._REASON = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property STAGE() As String
		Get
			Return Me._STAGE
		End Get
		Set
			If (String.Equals(Me._STAGE, value) = false) Then
				Me._STAGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property STAGEID() As System.Guid
		Get
			Return Me._STAGEID
		End Get
		Set
			If ((Me._STAGEID = value)  _
						= false) Then
				Me._STAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOTAL", DbType:="Decimal(17,2) NOT NULL")>  _
	Public Property TOTAL() As Decimal
		Get
			Return Me._TOTAL
		End Get
		Set
			If ((Me._TOTAL = value)  _
						= false) Then
				Me._TOTAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEIGHTED_TOTAL", DbType:="Decimal(17,2) NOT NULL")>  _
	Public Property WEIGHTED_TOTAL() As Decimal
		Get
			Return Me._WEIGHTED_TOTAL
		End Get
		Set
			If ((Me._WEIGHTED_TOTAL = value)  _
						= false) Then
				Me._WEIGHTED_TOTAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="What is their pain", Storage:="_WhatIsTheirPain", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property WhatIsTheirPain() As String
		Get
			Return Me._WhatIsTheirPain
		End Get
		Set
			If (String.Equals(Me._WhatIsTheirPain, value) = false) Then
				Me._WhatIsTheirPain = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRIVATE", Storage:="_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property [PRIVATE]() As String
		Get
			Return Me._PRIVATE
		End Get
		Set
			If (String.Equals(Me._PRIVATE, value) = false) Then
				Me._PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(13) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.OPPORTUNITY_ACTIVITY")>  _
Partial Public Class OPPORTUNITY_ACTIVITY
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.OPPORTUNITY_HISTORY")>  _
Partial Public Class OPPORTUNITY_HISTORY
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.OPPORTUNITY_NOTE")>  _
Partial Public Class OPPORTUNITY_NOTE
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.OPPORTUNITY_PRODUCTSERVICE")>  _
Partial Public Class OPPORTUNITY_PRODUCTSERVICE
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _PRODUCTSERVICEID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTSERVICEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PRODUCTSERVICEID() As System.Guid
		Get
			Return Me._PRODUCTSERVICEID
		End Get
		Set
			If ((Me._PRODUCTSERVICEID = value)  _
						= false) Then
				Me._PRODUCTSERVICEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.PICKLIST")>  _
Partial Public Class PICKLIST
	
	Private _PICKLISTID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _DATATYPEID As Byte
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_ADD_TO_LIST As Boolean
	
	Private _IS_AUTO_INSERT As Boolean
	
	Private _IS_CUSTOM As Boolean
	
	Private _NAME As String
	
	Private _TYPENUM As Byte
	
	Private _PICKLIST_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property DATATYPEID() As Byte
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If ((Me._DATATYPEID = value)  _
						= false) Then
				Me._DATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ADD_TO_LIST", DbType:="Bit NOT NULL")>  _
	Public Property IS_ADD_TO_LIST() As Boolean
		Get
			Return Me._IS_ADD_TO_LIST
		End Get
		Set
			If ((Me._IS_ADD_TO_LIST = value)  _
						= false) Then
				Me._IS_ADD_TO_LIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_AUTO_INSERT", DbType:="Bit NOT NULL")>  _
	Public Property IS_AUTO_INSERT() As Boolean
		Get
			Return Me._IS_AUTO_INSERT
		End Get
		Set
			If ((Me._IS_AUTO_INSERT = value)  _
						= false) Then
				Me._IS_AUTO_INSERT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property IS_CUSTOM() As Boolean
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If ((Me._IS_CUSTOM = value)  _
						= false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST_TYPE", DbType:="NVarChar(39) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLIST_TYPE() As String
		Get
			Return Me._PICKLIST_TYPE
		End Get
		Set
			If (String.Equals(Me._PICKLIST_TYPE, value) = false) Then
				Me._PICKLIST_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.PICKLIST_ITEM")>  _
Partial Public Class PICKLIST_ITEM
	
	Private _PICKLISTITEMID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_CUSTOM As Boolean
	
	Private _NAME As String
	
	Private _PICKLISTID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMID() As System.Guid
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If ((Me._PICKLISTITEMID = value)  _
						= false) Then
				Me._PICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property IS_CUSTOM() As Boolean
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If ((Me._IS_CUSTOM = value)  _
						= false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.PROCESS")>  _
Partial Public Class PROCESS
	
	Private _PROCESSID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _IS_ACTIVE As Boolean
	
	Private _PROCESS1 As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PROCESSID() As System.Guid
		Get
			Return Me._PROCESSID
		End Get
		Set
			If ((Me._PROCESSID = value)  _
						= false) Then
				Me._PROCESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property IS_ACTIVE() As Boolean
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If ((Me._IS_ACTIVE = value)  _
						= false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PROCESS", Storage:="_PROCESS1", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PROCESS1() As String
		Get
			Return Me._PROCESS1
		End Get
		Set
			If (String.Equals(Me._PROCESS1, value) = false) Then
				Me._PROCESS1 = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.PRODUCT")>  _
Partial Public Class PRODUCT
	
	Private _PRODUCTID As System.Guid
	
	Private _CODE As String
	
	Private _COST As Decimal
	
	Private _CREATE_DATE As Date
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _PRICE As Decimal
	
	Private _PRODUCT1 As String
	
	Private _TYPE As String
	
	Private _UNIT_OF_ISSUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PRODUCTID() As System.Guid
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If ((Me._PRODUCTID = value)  _
						= false) Then
				Me._PRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CODE", DbType:="NVarChar(64)")>  _
	Public Property CODE() As String
		Get
			Return Me._CODE
		End Get
		Set
			If (String.Equals(Me._CODE, value) = false) Then
				Me._CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COST", DbType:="Decimal(19,4) NOT NULL")>  _
	Public Property COST() As Decimal
		Get
			Return Me._COST
		End Get
		Set
			If ((Me._COST = value)  _
						= false) Then
				Me._COST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRICE", DbType:="Decimal(19,4) NOT NULL")>  _
	Public Property PRICE() As Decimal
		Get
			Return Me._PRICE
		End Get
		Set
			If ((Me._PRICE = value)  _
						= false) Then
				Me._PRICE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT", Storage:="_PRODUCT1", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property PRODUCT1() As String
		Get
			Return Me._PRODUCT1
		End Get
		Set
			If (String.Equals(Me._PRODUCT1, value) = false) Then
				Me._PRODUCT1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPE", DbType:="NVarChar(128)")>  _
	Public Property TYPE() As String
		Get
			Return Me._TYPE
		End Get
		Set
			If (String.Equals(Me._TYPE, value) = false) Then
				Me._TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_OF_ISSUE", DbType:="NVarChar(32)")>  _
	Public Property UNIT_OF_ISSUE() As String
		Get
			Return Me._UNIT_OF_ISSUE
		End Get
		Set
			If (String.Equals(Me._UNIT_OF_ISSUE, value) = false) Then
				Me._UNIT_OF_ISSUE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.PRODUCT_SERVICE")>  _
Partial Public Class PRODUCT_SERVICE
	
	Private _PRODUCTSERVICEID As System.Guid
	
	Private _DISCOUNT_PRICE As Decimal
	
	Private _UNIT_COST As Decimal
	
	Private _CREATE_DATE As Date
	
	Private _UNIT_DISCOUNT As Decimal
	
	Private _DISCOUNT_TYPE As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _ITEM_CODE As String
	
	Private _LAST_EDITED_BY As String
	
	Private _NAME As String
	
	Private _UNIT_PRICE As Decimal
	
	Private _PRODUCTID As System.Nullable(Of System.Guid)
	
	Private _QUANTITY As Decimal
	
	Private _RECORD_CREATOR As String
	
	Private _EXTENDED_AMT As Decimal
	
	Private _ITEM_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTSERVICEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PRODUCTSERVICEID() As System.Guid
		Get
			Return Me._PRODUCTSERVICEID
		End Get
		Set
			If ((Me._PRODUCTSERVICEID = value)  _
						= false) Then
				Me._PRODUCTSERVICEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNT_PRICE", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property DISCOUNT_PRICE() As Decimal
		Get
			Return Me._DISCOUNT_PRICE
		End Get
		Set
			If ((Me._DISCOUNT_PRICE = value)  _
						= false) Then
				Me._DISCOUNT_PRICE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_COST", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property UNIT_COST() As Decimal
		Get
			Return Me._UNIT_COST
		End Get
		Set
			If ((Me._UNIT_COST = value)  _
						= false) Then
				Me._UNIT_COST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_DISCOUNT", DbType:="Decimal(19,10) NOT NULL")>  _
	Public Property UNIT_DISCOUNT() As Decimal
		Get
			Return Me._UNIT_DISCOUNT
		End Get
		Set
			If ((Me._UNIT_DISCOUNT = value)  _
						= false) Then
				Me._UNIT_DISCOUNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNT_TYPE", DbType:="NVarChar(10) NOT NULL", CanBeNull:=false)>  _
	Public Property DISCOUNT_TYPE() As String
		Get
			Return Me._DISCOUNT_TYPE
		End Get
		Set
			If (String.Equals(Me._DISCOUNT_TYPE, value) = false) Then
				Me._DISCOUNT_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEM_CODE", DbType:="NVarChar(64)")>  _
	Public Property ITEM_CODE() As String
		Get
			Return Me._ITEM_CODE
		End Get
		Set
			If (String.Equals(Me._ITEM_CODE, value) = false) Then
				Me._ITEM_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(256)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_PRICE", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property UNIT_PRICE() As Decimal
		Get
			Return Me._UNIT_PRICE
		End Get
		Set
			If ((Me._UNIT_PRICE = value)  _
						= false) Then
				Me._UNIT_PRICE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If (Me._PRODUCTID.Equals(value) = false) Then
				Me._PRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUANTITY", DbType:="Decimal(16,2) NOT NULL")>  _
	Public Property QUANTITY() As Decimal
		Get
			Return Me._QUANTITY
		End Get
		Set
			If ((Me._QUANTITY = value)  _
						= false) Then
				Me._QUANTITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENDED_AMT", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property EXTENDED_AMT() As Decimal
		Get
			Return Me._EXTENDED_AMT
		End Get
		Set
			If ((Me._EXTENDED_AMT = value)  _
						= false) Then
				Me._EXTENDED_AMT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEM_TYPE", DbType:="NVarChar(128)")>  _
	Public Property ITEM_TYPE() As String
		Get
			Return Me._ITEM_TYPE
		End Get
		Set
			If (String.Equals(Me._ITEM_TYPE, value) = false) Then
				Me._ITEM_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.RESOURCE")>  _
Partial Public Class RESOURCE
	
	Private _ACCESSORID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _TYPENUM As Byte
	
	Private _STATUS As String
	
	Private _RESOURCEID As System.Guid
	
	Private _DESCRIPTION As String
	
	Private _RESOURCE_TYPENUM As Byte
	
	Private _RESOURCE_TYPE As String
	
	Private _RECORD_CREATOR As String
	
	Private _LAST_EDITED_BY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property RESOURCEID() As System.Guid
		Get
			Return Me._RESOURCEID
		End Get
		Set
			If ((Me._RESOURCEID = value)  _
						= false) Then
				Me._RESOURCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCE_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property RESOURCE_TYPENUM() As Byte
		Get
			Return Me._RESOURCE_TYPENUM
		End Get
		Set
			If ((Me._RESOURCE_TYPENUM = value)  _
						= false) Then
				Me._RESOURCE_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCE_TYPE", DbType:="NVarChar(9) NOT NULL", CanBeNull:=false)>  _
	Public Property RESOURCE_TYPE() As String
		Get
			Return Me._RESOURCE_TYPE
		End Get
		Set
			If (String.Equals(Me._RESOURCE_TYPE, value) = false) Then
				Me._RESOURCE_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SECONDARY_CONTACT")>  _
Partial Public Class SECONDARY_CONTACT
	
	Private _PRIMARY_CONTACTID As System.Guid
	
	Private _SECONDARY_ADDRESS_1 As String
	
	Private _SECONDARY_ADDRESS_2 As String
	
	Private _SECONDARY_ADDRESS_3 As String
	
	Private _SECONDARY_CITY As String
	
	Private _SECONDARY_COMPANY As String
	
	Private _SECONDARY_CONTACT1 As String
	
	Private _SECONDARY_CONTACTID As System.Guid
	
	Private _SECONDARY_COUNTRY As String
	
	Private _SECONDARY_E_MAIL As String
	
	Private _SECONDARY_FAX_PHONE As String
	
	Private _SECONDARY_FIRST_NAME As String
	
	Private _SECONDARY_ID_STATUS As String
	
	Private _SECONDARY_IS_PRIVATE As Boolean
	
	Private _SECONDARY_LAST_NAME As String
	
	Private _SECONDARY_MOBILE_PHONE As String
	
	Private _SECONDARY_PHONE As String
	
	Private _SECONDARY_PHONE_EXTENSION As String
	
	Private _SECONDARY_STATE As String
	
	Private _SECONDARY_TITLE As String
	
	Private _SECONDARY_WEB_SITE As String
	
	Private _SECONDARY_ZIP_CODE As String
	
	Private _SECONDARY_PRIVATE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIMARY_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PRIMARY_CONTACTID() As System.Guid
		Get
			Return Me._PRIMARY_CONTACTID
		End Get
		Set
			If ((Me._PRIMARY_CONTACTID = value)  _
						= false) Then
				Me._PRIMARY_CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_1() As String
		Get
			Return Me._SECONDARY_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_1, value) = false) Then
				Me._SECONDARY_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_2() As String
		Get
			Return Me._SECONDARY_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_2, value) = false) Then
				Me._SECONDARY_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_3() As String
		Get
			Return Me._SECONDARY_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_3, value) = false) Then
				Me._SECONDARY_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CITY", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_CITY() As String
		Get
			Return Me._SECONDARY_CITY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_CITY, value) = false) Then
				Me._SECONDARY_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_COMPANY() As String
		Get
			Return Me._SECONDARY_COMPANY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_COMPANY, value) = false) Then
				Me._SECONDARY_COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY_CONTACT", Storage:="_SECONDARY_CONTACT1", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_CONTACT1() As String
		Get
			Return Me._SECONDARY_CONTACT1
		End Get
		Set
			If (String.Equals(Me._SECONDARY_CONTACT1, value) = false) Then
				Me._SECONDARY_CONTACT1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SECONDARY_CONTACTID() As System.Guid
		Get
			Return Me._SECONDARY_CONTACTID
		End Get
		Set
			If ((Me._SECONDARY_CONTACTID = value)  _
						= false) Then
				Me._SECONDARY_CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_COUNTRY() As String
		Get
			Return Me._SECONDARY_COUNTRY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_COUNTRY, value) = false) Then
				Me._SECONDARY_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY_E-MAIL", Storage:="_SECONDARY_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_E_MAIL() As String
		Get
			Return Me._SECONDARY_E_MAIL
		End Get
		Set
			If (String.Equals(Me._SECONDARY_E_MAIL, value) = false) Then
				Me._SECONDARY_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_FAX_PHONE() As String
		Get
			Return Me._SECONDARY_FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_FAX_PHONE, value) = false) Then
				Me._SECONDARY_FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_FIRST_NAME", DbType:="NVarChar(64)")>  _
	Public Property SECONDARY_FIRST_NAME() As String
		Get
			Return Me._SECONDARY_FIRST_NAME
		End Get
		Set
			If (String.Equals(Me._SECONDARY_FIRST_NAME, value) = false) Then
				Me._SECONDARY_FIRST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY_ID/STATUS", Storage:="_SECONDARY_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_ID_STATUS() As String
		Get
			Return Me._SECONDARY_ID_STATUS
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ID_STATUS, value) = false) Then
				Me._SECONDARY_ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property SECONDARY_IS_PRIVATE() As Boolean
		Get
			Return Me._SECONDARY_IS_PRIVATE
		End Get
		Set
			If ((Me._SECONDARY_IS_PRIVATE = value)  _
						= false) Then
				Me._SECONDARY_IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_LAST_NAME", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_LAST_NAME() As String
		Get
			Return Me._SECONDARY_LAST_NAME
		End Get
		Set
			If (String.Equals(Me._SECONDARY_LAST_NAME, value) = false) Then
				Me._SECONDARY_LAST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_MOBILE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_MOBILE_PHONE() As String
		Get
			Return Me._SECONDARY_MOBILE_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_MOBILE_PHONE, value) = false) Then
				Me._SECONDARY_MOBILE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_PHONE() As String
		Get
			Return Me._SECONDARY_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PHONE, value) = false) Then
				Me._SECONDARY_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PHONE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_PHONE_EXTENSION() As String
		Get
			Return Me._SECONDARY_PHONE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PHONE_EXTENSION, value) = false) Then
				Me._SECONDARY_PHONE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_STATE", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_STATE() As String
		Get
			Return Me._SECONDARY_STATE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_STATE, value) = false) Then
				Me._SECONDARY_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_TITLE", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_TITLE() As String
		Get
			Return Me._SECONDARY_TITLE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_TITLE, value) = false) Then
				Me._SECONDARY_TITLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_WEB_SITE() As String
		Get
			Return Me._SECONDARY_WEB_SITE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_WEB_SITE, value) = false) Then
				Me._SECONDARY_WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ZIP_CODE() As String
		Get
			Return Me._SECONDARY_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ZIP_CODE, value) = false) Then
				Me._SECONDARY_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PRIVATE", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property SECONDARY_PRIVATE() As String
		Get
			Return Me._SECONDARY_PRIVATE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PRIVATE, value) = false) Then
				Me._SECONDARY_PRIVATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.STAGE")>  _
Partial Public Class STAGE
	
	Private _STAGEID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _PROCESSID As System.Guid
	
	Private _STAGE1 As String
	
	Private _STEP As Integer
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property STAGEID() As System.Guid
		Get
			Return Me._STAGEID
		End Get
		Set
			If ((Me._STAGEID = value)  _
						= false) Then
				Me._STAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PROCESSID() As System.Guid
		Get
			Return Me._PROCESSID
		End Get
		Set
			If ((Me._PROCESSID = value)  _
						= false) Then
				Me._PROCESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STAGE", Storage:="_STAGE1", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property STAGE1() As String
		Get
			Return Me._STAGE1
		End Get
		Set
			If (String.Equals(Me._STAGE1, value) = false) Then
				Me._STAGE1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STEP", Storage:="_STEP", DbType:="Int NOT NULL")>  _
	Public Property [STEP]() As Integer
		Get
			Return Me._STEP
		End Get
		Set
			If ((Me._STEP = value)  _
						= false) Then
				Me._STEP = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_DATABASE")>  _
Partial Public Class SYNC_DATABASE
	
	Private _SYNCDBGUID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _DATABASE_NAME As String
	
	Private _DATABASEID As System.Guid
	
	Private _DEVICE_SERIAL_NUMBER As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EXPIRE_DAYS As Short
	
	Private _IS_EXPIRED As Boolean
	
	Private _IS_INCLUDE_ATTACHMENTS As Boolean
	
	Private _IS_SYNC_ATTACHMENTS As Boolean
	
	Private _IS_SYNC_SUPPLEMENTAL_FILES As Boolean
	
	Private _LAST_EDITED_BY As String
	
	Private _MAX_ATTACH_BYTES As Integer
	
	Private _ORIGINAL_CREATE_DATE As Date
	
	Private _PUB_SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _RECORD_CREATOR As String
	
	Private _SERVER_NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _SYNC_SERVER_MACHINE_NAME As String
	
	Private _SYNC_SERVER_PORT As System.Nullable(Of Integer)
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _TYPENUM As Byte
	
	Private _WEB_SERVER_ADDRESS As String
	
	Private _SYNCDBID As Short
	
	Private _DATABASE_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBGUID() As System.Guid
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If ((Me._SYNCDBGUID = value)  _
						= false) Then
				Me._SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_NAME", DbType:="NVarChar(196) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASE_NAME() As String
		Get
			Return Me._DATABASE_NAME
		End Get
		Set
			If (String.Equals(Me._DATABASE_NAME, value) = false) Then
				Me._DATABASE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property DATABASEID() As System.Guid
		Get
			Return Me._DATABASEID
		End Get
		Set
			If ((Me._DATABASEID = value)  _
						= false) Then
				Me._DATABASEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEVICE_SERIAL_NUMBER", DbType:="NVarChar(64)")>  _
	Public Property DEVICE_SERIAL_NUMBER() As String
		Get
			Return Me._DEVICE_SERIAL_NUMBER
		End Get
		Set
			If (String.Equals(Me._DEVICE_SERIAL_NUMBER, value) = false) Then
				Me._DEVICE_SERIAL_NUMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIRE_DAYS", DbType:="SmallInt NOT NULL")>  _
	Public Property EXPIRE_DAYS() As Short
		Get
			Return Me._EXPIRE_DAYS
		End Get
		Set
			If ((Me._EXPIRE_DAYS = value)  _
						= false) Then
				Me._EXPIRE_DAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_EXPIRED", DbType:="Bit NOT NULL")>  _
	Public Property IS_EXPIRED() As Boolean
		Get
			Return Me._IS_EXPIRED
		End Get
		Set
			If ((Me._IS_EXPIRED = value)  _
						= false) Then
				Me._IS_EXPIRED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_INCLUDE_ATTACHMENTS", DbType:="Bit NOT NULL")>  _
	Public Property IS_INCLUDE_ATTACHMENTS() As Boolean
		Get
			Return Me._IS_INCLUDE_ATTACHMENTS
		End Get
		Set
			If ((Me._IS_INCLUDE_ATTACHMENTS = value)  _
						= false) Then
				Me._IS_INCLUDE_ATTACHMENTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_SYNC_ATTACHMENTS", DbType:="Bit NOT NULL")>  _
	Public Property IS_SYNC_ATTACHMENTS() As Boolean
		Get
			Return Me._IS_SYNC_ATTACHMENTS
		End Get
		Set
			If ((Me._IS_SYNC_ATTACHMENTS = value)  _
						= false) Then
				Me._IS_SYNC_ATTACHMENTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_SYNC_SUPPLEMENTAL_FILES", DbType:="Bit NOT NULL")>  _
	Public Property IS_SYNC_SUPPLEMENTAL_FILES() As Boolean
		Get
			Return Me._IS_SYNC_SUPPLEMENTAL_FILES
		End Get
		Set
			If ((Me._IS_SYNC_SUPPLEMENTAL_FILES = value)  _
						= false) Then
				Me._IS_SYNC_SUPPLEMENTAL_FILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MAX_ATTACH_BYTES", DbType:="Int NOT NULL")>  _
	Public Property MAX_ATTACH_BYTES() As Integer
		Get
			Return Me._MAX_ATTACH_BYTES
		End Get
		Set
			If ((Me._MAX_ATTACH_BYTES = value)  _
						= false) Then
				Me._MAX_ATTACH_BYTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGINAL_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ORIGINAL_CREATE_DATE() As Date
		Get
			Return Me._ORIGINAL_CREATE_DATE
		End Get
		Set
			If ((Me._ORIGINAL_CREATE_DATE = value)  _
						= false) Then
				Me._ORIGINAL_CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUB_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property PUB_SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PUB_SYNCDBGUID
		End Get
		Set
			If (Me._PUB_SYNCDBGUID.Equals(value) = false) Then
				Me._PUB_SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERVER_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SERVER_NAME() As String
		Get
			Return Me._SERVER_NAME
		End Get
		Set
			If (String.Equals(Me._SERVER_NAME, value) = false) Then
				Me._SERVER_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_MACHINE_NAME", DbType:="NVarChar(64)")>  _
	Public Property SYNC_SERVER_MACHINE_NAME() As String
		Get
			Return Me._SYNC_SERVER_MACHINE_NAME
		End Get
		Set
			If (String.Equals(Me._SYNC_SERVER_MACHINE_NAME, value) = false) Then
				Me._SYNC_SERVER_MACHINE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_PORT", DbType:="Int")>  _
	Public Property SYNC_SERVER_PORT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNC_SERVER_PORT
		End Get
		Set
			If (Me._SYNC_SERVER_PORT.Equals(value) = false) Then
				Me._SYNC_SERVER_PORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SERVER_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property WEB_SERVER_ADDRESS() As String
		Get
			Return Me._WEB_SERVER_ADDRESS
		End Get
		Set
			If (String.Equals(Me._WEB_SERVER_ADDRESS, value) = false) Then
				Me._WEB_SERVER_ADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBID() As Short
		Get
			Return Me._SYNCDBID
		End Get
		Set
			If ((Me._SYNCDBID = value)  _
						= false) Then
				Me._SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_TYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASE_TYPE() As String
		Get
			Return Me._DATABASE_TYPE
		End Get
		Set
			If (String.Equals(Me._DATABASE_TYPE, value) = false) Then
				Me._DATABASE_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_DBMAP_INFORMATION")>  _
Partial Public Class SYNC_DBMAP_INFORMATION
	
	Private _PUBDBID As Short
	
	Private _SUBDBID As Short
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _IS_REPLAY As System.Nullable(Of Boolean)
	
	Private _NEXT_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_RESULT As System.Nullable(Of Integer)
	
	Private _RECEIVE_SESSIONID As System.Nullable(Of Integer)
	
	Private _RECEIVE_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_UPDATE_DATE As System.Nullable(Of Date)
	
	Private _SEND_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _SEND_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _SEND_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_SESSIONID As System.Nullable(Of Integer)
	
	Private _SEND_SNAPSHOT_DATE As System.Nullable(Of Date)
	
	Private _SEND_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _SEND_SYNC_STATUS As System.Nullable(Of Integer)
	
	Private _SEND_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property PUBDBID() As Short
		Get
			Return Me._PUBDBID
		End Get
		Set
			If ((Me._PUBDBID = value)  _
						= false) Then
				Me._PUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SUBDBID() As Short
		Get
			Return Me._SUBDBID
		End Get
		Set
			If ((Me._SUBDBID = value)  _
						= false) Then
				Me._SUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_REPLAY", DbType:="Bit")>  _
	Public Property IS_REPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_REPLAY
		End Get
		Set
			If (Me._IS_REPLAY.Equals(value) = false) Then
				Me._IS_REPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_ADD_SYNCROWID
		End Get
		Set
			If (Me._NEXT_ADD_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_DELETE_SYNCROWID
		End Get
		Set
			If (Me._NEXT_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property NEXT_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._NEXT_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._NEXT_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._NEXT_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_ADD_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_ADD_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_ATTEMPT_DATE
		End Get
		Set
			If (Me._RECEIVE_ATTEMPT_DATE.Equals(value) = false) Then
				Me._RECEIVE_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_COMPLETE_DATE
		End Get
		Set
			If (Me._RECEIVE_COMPLETE_DATE.Equals(value) = false) Then
				Me._RECEIVE_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_DELETE_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_RESULT", DbType:="Int")>  _
	Public Property RECEIVE_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_RESULT
		End Get
		Set
			If (Me._RECEIVE_RESULT.Equals(value) = false) Then
				Me._RECEIVE_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SESSIONID", DbType:="Int")>  _
	Public Property RECEIVE_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_SESSIONID
		End Get
		Set
			If (Me._RECEIVE_SESSIONID.Equals(value) = false) Then
				Me._RECEIVE_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_SUCCESS_DATE
		End Get
		Set
			If (Me._RECEIVE_SUCCESS_DATE.Equals(value) = false) Then
				Me._RECEIVE_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_UPDATE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_UPDATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_UPDATE_DATE
		End Get
		Set
			If (Me._RECEIVE_UPDATE_DATE.Equals(value) = false) Then
				Me._RECEIVE_UPDATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_ADD_SYNCROWID
		End Get
		Set
			If (Me._SEND_ADD_SYNCROWID.Equals(value) = false) Then
				Me._SEND_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property SEND_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_ATTEMPT_DATE
		End Get
		Set
			If (Me._SEND_ATTEMPT_DATE.Equals(value) = false) Then
				Me._SEND_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property SEND_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_COMPLETE_DATE
		End Get
		Set
			If (Me._SEND_COMPLETE_DATE.Equals(value) = false) Then
				Me._SEND_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_DELETE_SYNCROWID
		End Get
		Set
			If (Me._SEND_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._SEND_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SESSIONID", DbType:="Int")>  _
	Public Property SEND_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_SESSIONID
		End Get
		Set
			If (Me._SEND_SESSIONID.Equals(value) = false) Then
				Me._SEND_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SNAPSHOT_DATE", DbType:="DateTime")>  _
	Public Property SEND_SNAPSHOT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SNAPSHOT_DATE
		End Get
		Set
			If (Me._SEND_SNAPSHOT_DATE.Equals(value) = false) Then
				Me._SEND_SNAPSHOT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property SEND_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SUCCESS_DATE
		End Get
		Set
			If (Me._SEND_SUCCESS_DATE.Equals(value) = false) Then
				Me._SEND_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SYNC_STATUS", DbType:="Int")>  _
	Public Property SEND_SYNC_STATUS() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_SYNC_STATUS
		End Get
		Set
			If (Me._SEND_SYNC_STATUS.Equals(value) = false) Then
				Me._SEND_SYNC_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property SEND_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._SEND_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._SEND_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_DBMAP_INFORMATION_HISTORY")>  _
Partial Public Class SYNC_DBMAP_INFORMATION_HISTORY
	
	Private _PUBDBID As Short
	
	Private _SUBDBID As Short
	
	Private _SYNCDBMAPINFO_HISTORYID As System.Nullable(Of Integer)
	
	Private _IS_REPLAY As System.Nullable(Of Boolean)
	
	Private _NEXT_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_RESULT As System.Nullable(Of Integer)
	
	Private _RECEIVE_SESSIONID As System.Nullable(Of Integer)
	
	Private _RECEIVE_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_UPDATE_DATE As System.Nullable(Of Date)
	
	Private _SEND_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _SEND_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _SEND_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_RESULT As System.Nullable(Of Integer)
	
	Private _SEND_SESSIONID As System.Nullable(Of Integer)
	
	Private _SEND_SNAPSHOT_DATE As System.Nullable(Of Date)
	
	Private _SEND_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _SEND_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property PUBDBID() As Short
		Get
			Return Me._PUBDBID
		End Get
		Set
			If ((Me._PUBDBID = value)  _
						= false) Then
				Me._PUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SUBDBID() As Short
		Get
			Return Me._SUBDBID
		End Get
		Set
			If ((Me._SUBDBID = value)  _
						= false) Then
				Me._SUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPINFO_HISTORYID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFO_HISTORYID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFO_HISTORYID
		End Get
		Set
			If (Me._SYNCDBMAPINFO_HISTORYID.Equals(value) = false) Then
				Me._SYNCDBMAPINFO_HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_REPLAY", DbType:="Bit")>  _
	Public Property IS_REPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_REPLAY
		End Get
		Set
			If (Me._IS_REPLAY.Equals(value) = false) Then
				Me._IS_REPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_ADD_SYNCROWID
		End Get
		Set
			If (Me._NEXT_ADD_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_DELETE_SYNCROWID
		End Get
		Set
			If (Me._NEXT_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property NEXT_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._NEXT_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._NEXT_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._NEXT_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_ADD_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_ADD_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_ATTEMPT_DATE
		End Get
		Set
			If (Me._RECEIVE_ATTEMPT_DATE.Equals(value) = false) Then
				Me._RECEIVE_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_COMPLETE_DATE
		End Get
		Set
			If (Me._RECEIVE_COMPLETE_DATE.Equals(value) = false) Then
				Me._RECEIVE_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_DELETE_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_RESULT", DbType:="Int")>  _
	Public Property RECEIVE_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_RESULT
		End Get
		Set
			If (Me._RECEIVE_RESULT.Equals(value) = false) Then
				Me._RECEIVE_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SESSIONID", DbType:="Int")>  _
	Public Property RECEIVE_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_SESSIONID
		End Get
		Set
			If (Me._RECEIVE_SESSIONID.Equals(value) = false) Then
				Me._RECEIVE_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_SUCCESS_DATE
		End Get
		Set
			If (Me._RECEIVE_SUCCESS_DATE.Equals(value) = false) Then
				Me._RECEIVE_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_UPDATE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_UPDATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_UPDATE_DATE
		End Get
		Set
			If (Me._RECEIVE_UPDATE_DATE.Equals(value) = false) Then
				Me._RECEIVE_UPDATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_ADD_SYNCROWID
		End Get
		Set
			If (Me._SEND_ADD_SYNCROWID.Equals(value) = false) Then
				Me._SEND_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property SEND_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_ATTEMPT_DATE
		End Get
		Set
			If (Me._SEND_ATTEMPT_DATE.Equals(value) = false) Then
				Me._SEND_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property SEND_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_COMPLETE_DATE
		End Get
		Set
			If (Me._SEND_COMPLETE_DATE.Equals(value) = false) Then
				Me._SEND_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_DELETE_SYNCROWID
		End Get
		Set
			If (Me._SEND_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._SEND_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_RESULT", DbType:="Int")>  _
	Public Property SEND_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_RESULT
		End Get
		Set
			If (Me._SEND_RESULT.Equals(value) = false) Then
				Me._SEND_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SESSIONID", DbType:="Int")>  _
	Public Property SEND_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_SESSIONID
		End Get
		Set
			If (Me._SEND_SESSIONID.Equals(value) = false) Then
				Me._SEND_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SNAPSHOT_DATE", DbType:="DateTime")>  _
	Public Property SEND_SNAPSHOT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SNAPSHOT_DATE
		End Get
		Set
			If (Me._SEND_SNAPSHOT_DATE.Equals(value) = false) Then
				Me._SEND_SNAPSHOT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property SEND_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SUCCESS_DATE
		End Get
		Set
			If (Me._SEND_SUCCESS_DATE.Equals(value) = false) Then
				Me._SEND_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property SEND_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._SEND_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._SEND_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_DBMAP_SESSION")>  _
Partial Public Class SYNC_DBMAP_SESSION
	
	Private _PUBDBID As Short
	
	Private _SUBDBID As Short
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _SESSIONID As System.Nullable(Of Integer)
	
	Private _ATTACHMENT_ACCESS As System.Xml.Linq.XElement
	
	Private _NUMBER_ACTIVE_MEMBERS As System.Nullable(Of Integer)
	
	Private _NUMBER_DELETED_MEMBERS As System.Nullable(Of Integer)
	
	Private _NUMBER_DELETED_ROWS As System.Nullable(Of Integer)
	
	Private _NUMBER_NEW_MEMBERS As System.Nullable(Of Integer)
	
	Private _NUMBER_NEW_ROWS As System.Nullable(Of Integer)
	
	Private _SESSION_DATE_TIME As System.Nullable(Of Date)
	
	Private _SYNC_USER As System.Xml.Linq.XElement
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property PUBDBID() As Short
		Get
			Return Me._PUBDBID
		End Get
		Set
			If ((Me._PUBDBID = value)  _
						= false) Then
				Me._PUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SUBDBID() As Short
		Get
			Return Me._SUBDBID
		End Get
		Set
			If ((Me._SUBDBID = value)  _
						= false) Then
				Me._SUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int")>  _
	Public Property SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SESSIONID
		End Get
		Set
			If (Me._SESSIONID.Equals(value) = false) Then
				Me._SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENT_ACCESS", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ATTACHMENT_ACCESS() As System.Xml.Linq.XElement
		Get
			Return Me._ATTACHMENT_ACCESS
		End Get
		Set
			If (Object.Equals(Me._ATTACHMENT_ACCESS, value) = false) Then
				Me._ATTACHMENT_ACCESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_ACTIVE_MEMBERS", DbType:="Int")>  _
	Public Property NUMBER_ACTIVE_MEMBERS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_ACTIVE_MEMBERS
		End Get
		Set
			If (Me._NUMBER_ACTIVE_MEMBERS.Equals(value) = false) Then
				Me._NUMBER_ACTIVE_MEMBERS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_DELETED_MEMBERS", DbType:="Int")>  _
	Public Property NUMBER_DELETED_MEMBERS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_DELETED_MEMBERS
		End Get
		Set
			If (Me._NUMBER_DELETED_MEMBERS.Equals(value) = false) Then
				Me._NUMBER_DELETED_MEMBERS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_DELETED_ROWS", DbType:="Int")>  _
	Public Property NUMBER_DELETED_ROWS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_DELETED_ROWS
		End Get
		Set
			If (Me._NUMBER_DELETED_ROWS.Equals(value) = false) Then
				Me._NUMBER_DELETED_ROWS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_NEW_MEMBERS", DbType:="Int")>  _
	Public Property NUMBER_NEW_MEMBERS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_NEW_MEMBERS
		End Get
		Set
			If (Me._NUMBER_NEW_MEMBERS.Equals(value) = false) Then
				Me._NUMBER_NEW_MEMBERS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_NEW_ROWS", DbType:="Int")>  _
	Public Property NUMBER_NEW_ROWS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_NEW_ROWS
		End Get
		Set
			If (Me._NUMBER_NEW_ROWS.Equals(value) = false) Then
				Me._NUMBER_NEW_ROWS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSION_DATE_TIME", DbType:="DateTime")>  _
	Public Property SESSION_DATE_TIME() As System.Nullable(Of Date)
		Get
			Return Me._SESSION_DATE_TIME
		End Get
		Set
			If (Me._SESSION_DATE_TIME.Equals(value) = false) Then
				Me._SESSION_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_USER", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNC_USER() As System.Xml.Linq.XElement
		Get
			Return Me._SYNC_USER
		End Get
		Set
			If (Object.Equals(Me._SYNC_USER, value) = false) Then
				Me._SYNC_USER = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_LOG_ADD")>  _
Partial Public Class SYNC_LOG_ADD
	
	Private _SYNCROWID As Integer
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _ACTION_DATE As Date
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As Short
	
	Private _TABLE_NAME As String
	
	Private _TABLE_DISPLAY As String
	
	Private _ENTITY_NAME As String
	
	Private _ENTITY_DISPLAY As String
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _USER_NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTION_DATE() As Date
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If ((Me._ACTION_DATE = value)  _
						= false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_NAME() As String
		Get
			Return Me._TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._TABLE_NAME, value) = false) Then
				Me._TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_DISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_DISPLAY() As String
		Get
			Return Me._TABLE_DISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLE_DISPLAY, value) = false) Then
				Me._TABLE_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_NAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_NAME() As String
		Get
			Return Me._ENTITY_NAME
		End Get
		Set
			If (String.Equals(Me._ENTITY_NAME, value) = false) Then
				Me._ENTITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_DISPLAY", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_DISPLAY() As String
		Get
			Return Me._ENTITY_DISPLAY
		End Get
		Set
			If (String.Equals(Me._ENTITY_DISPLAY, value) = false) Then
				Me._ENTITY_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER_NAME", DbType:="NVarChar(128)")>  _
	Public Property USER_NAME() As String
		Get
			Return Me._USER_NAME
		End Get
		Set
			If (String.Equals(Me._USER_NAME, value) = false) Then
				Me._USER_NAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_LOG_DELETE")>  _
Partial Public Class SYNC_LOG_DELETE
	
	Private _SYNCROWID As Integer
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _ACTION_DATE As Date
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _ROWINFO As String
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Private _TYPEID As System.Nullable(Of System.Guid)
	
	Private _TABLE_NAME As String
	
	Private _TABLE_DISPLAY As String
	
	Private _ENTITY_NAME As String
	
	Private _ENTITY_DISPLAY As String
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _USER_NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTION_DATE() As Date
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If ((Me._ACTION_DATE = value)  _
						= false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWINFO", DbType:="NVarChar(512)")>  _
	Public Property ROWINFO() As String
		Get
			Return Me._ROWINFO
		End Get
		Set
			If (String.Equals(Me._ROWINFO, value) = false) Then
				Me._ROWINFO = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TYPEID
		End Get
		Set
			If (Me._TYPEID.Equals(value) = false) Then
				Me._TYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_NAME() As String
		Get
			Return Me._TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._TABLE_NAME, value) = false) Then
				Me._TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_DISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_DISPLAY() As String
		Get
			Return Me._TABLE_DISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLE_DISPLAY, value) = false) Then
				Me._TABLE_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_NAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_NAME() As String
		Get
			Return Me._ENTITY_NAME
		End Get
		Set
			If (String.Equals(Me._ENTITY_NAME, value) = false) Then
				Me._ENTITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_DISPLAY", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_DISPLAY() As String
		Get
			Return Me._ENTITY_DISPLAY
		End Get
		Set
			If (String.Equals(Me._ENTITY_DISPLAY, value) = false) Then
				Me._ENTITY_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER_NAME", DbType:="NVarChar(128)")>  _
	Public Property USER_NAME() As String
		Get
			Return Me._USER_NAME
		End Get
		Set
			If (String.Equals(Me._USER_NAME, value) = false) Then
				Me._USER_NAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_LOG_EXCEPTION")>  _
Partial Public Class SYNC_LOG_EXCEPTION
	
	Private _ROWEXCEPTIONID As Integer
	
	Private _ACTION_CODE As String
	
	Private _ACTION_DATE As Date
	
	Private _DB_ERROR_NUM As System.Nullable(Of Integer)
	
	Private _DETAILS As String
	
	Private _REF_ROW_EXCEPTIONID As System.Nullable(Of Integer)
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _SESSIONID As Integer
	
	Private _STATUSNUM As Byte
	
	Private _SYNCDBMAPID As Short
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _TABLELUID As Short
	
	Private _TABLE_NAME As String
	
	Private _TABLE_DISPLAY As String
	
	Private _ENTITY_NAME As String
	
	Private _ENTITY_DISPLAY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWEXCEPTIONID", DbType:="Int NOT NULL")>  _
	Public Property ROWEXCEPTIONID() As Integer
		Get
			Return Me._ROWEXCEPTIONID
		End Get
		Set
			If ((Me._ROWEXCEPTIONID = value)  _
						= false) Then
				Me._ROWEXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_CODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTION_CODE() As String
		Get
			Return Me._ACTION_CODE
		End Get
		Set
			If (String.Equals(Me._ACTION_CODE, value) = false) Then
				Me._ACTION_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTION_DATE() As Date
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If ((Me._ACTION_DATE = value)  _
						= false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DB_ERROR_NUM", DbType:="Int")>  _
	Public Property DB_ERROR_NUM() As System.Nullable(Of Integer)
		Get
			Return Me._DB_ERROR_NUM
		End Get
		Set
			If (Me._DB_ERROR_NUM.Equals(value) = false) Then
				Me._DB_ERROR_NUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1000)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_ROW_EXCEPTIONID", DbType:="Int")>  _
	Public Property REF_ROW_EXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._REF_ROW_EXCEPTIONID
		End Get
		Set
			If (Me._REF_ROW_EXCEPTIONID.Equals(value) = false) Then
				Me._REF_ROW_EXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int NOT NULL")>  _
	Public Property SESSIONID() As Integer
		Get
			Return Me._SESSIONID
		End Get
		Set
			If ((Me._SESSIONID = value)  _
						= false) Then
				Me._SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_NAME() As String
		Get
			Return Me._TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._TABLE_NAME, value) = false) Then
				Me._TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_DISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_DISPLAY() As String
		Get
			Return Me._TABLE_DISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLE_DISPLAY, value) = false) Then
				Me._TABLE_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_NAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_NAME() As String
		Get
			Return Me._ENTITY_NAME
		End Get
		Set
			If (String.Equals(Me._ENTITY_NAME, value) = false) Then
				Me._ENTITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_DISPLAY", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_DISPLAY() As String
		Get
			Return Me._ENTITY_DISPLAY
		End Get
		Set
			If (String.Equals(Me._ENTITY_DISPLAY, value) = false) Then
				Me._ENTITY_DISPLAY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_LOG_FILE")>  _
Partial Public Class SYNC_LOG_FILE
	
	Private _SYNCROWID As Integer
	
	Private _ACTION_DATE As Date
	
	Private _ACTIONCODE As String
	
	Private _APPLY_DATE As Date
	
	Private _FILEHASH As String
	
	Private _FILEID As System.Nullable(Of System.Guid)
	
	Private _FILENAME As String
	
	Private _FOLDERID As Byte
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _PATH As String
	
	Private _EXTENSIONS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTION_DATE() As Date
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If ((Me._ACTION_DATE = value)  _
						= false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="NVarChar(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLY_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLY_DATE() As Date
		Get
			Return Me._APPLY_DATE
		End Get
		Set
			If ((Me._APPLY_DATE = value)  _
						= false) Then
				Me._APPLY_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEHASH", DbType:="Char(34)")>  _
	Public Property FILEHASH() As String
		Get
			Return Me._FILEHASH
		End Get
		Set
			If (String.Equals(Me._FILEHASH, value) = false) Then
				Me._FILEHASH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEID", DbType:="UniqueIdentifier")>  _
	Public Property FILEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FILEID
		End Get
		Set
			If (Me._FILEID.Equals(value) = false) Then
				Me._FILEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512) NOT NULL", CanBeNull:=false)>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me._FILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt NOT NULL")>  _
	Public Property FOLDERID() As Byte
		Get
			Return Me._FOLDERID
		End Get
		Set
			If ((Me._FOLDERID = value)  _
						= false) Then
				Me._FOLDERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PATH", DbType:="NVarChar(256)")>  _
	Public Property PATH() As String
		Get
			Return Me._PATH
		End Get
		Set
			If (String.Equals(Me._PATH, value) = false) Then
				Me._PATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSIONS", DbType:="NVarChar(1024)")>  _
	Public Property EXTENSIONS() As String
		Get
			Return Me._EXTENSIONS
		End Get
		Set
			If (String.Equals(Me._EXTENSIONS, value) = false) Then
				Me._EXTENSIONS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_LOG_UPDATE")>  _
Partial Public Class SYNC_LOG_UPDATE
	
	Private _SYNCROWID As Integer
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As Short
	
	Private _UPDATECOLUMN_SYNCROWID As Integer
	
	Private _COLUMNLUID As Short
	
	Private _ACTION_DATE As Date
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _APPLY_DATE As Date
	
	Private _COLUMNVALUE As String
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _TABLE_NAME As String
	
	Private _TABLE_DISPLAY As String
	
	Private _ENTITY_NAME As String
	
	Private _ENTITY_DISPLAY As String
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMN_NAME As String
	
	Private _COLUMN_DISPLAY As String
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _USER_NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UPDATECOLUMN_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property UPDATECOLUMN_SYNCROWID() As Integer
		Get
			Return Me._UPDATECOLUMN_SYNCROWID
		End Get
		Set
			If ((Me._UPDATECOLUMN_SYNCROWID = value)  _
						= false) Then
				Me._UPDATECOLUMN_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt NOT NULL")>  _
	Public Property COLUMNLUID() As Short
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If ((Me._COLUMNLUID = value)  _
						= false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTION_DATE() As Date
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If ((Me._ACTION_DATE = value)  _
						= false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLY_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLY_DATE() As Date
		Get
			Return Me._APPLY_DATE
		End Get
		Set
			If ((Me._APPLY_DATE = value)  _
						= false) Then
				Me._APPLY_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNVALUE", DbType:="NVarChar(500)")>  _
	Public Property COLUMNVALUE() As String
		Get
			Return Me._COLUMNVALUE
		End Get
		Set
			If (String.Equals(Me._COLUMNVALUE, value) = false) Then
				Me._COLUMNVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_NAME() As String
		Get
			Return Me._TABLE_NAME
		End Get
		Set
			If (String.Equals(Me._TABLE_NAME, value) = false) Then
				Me._TABLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_DISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLE_DISPLAY() As String
		Get
			Return Me._TABLE_DISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLE_DISPLAY, value) = false) Then
				Me._TABLE_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_NAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_NAME() As String
		Get
			Return Me._ENTITY_NAME
		End Get
		Set
			If (String.Equals(Me._ENTITY_NAME, value) = false) Then
				Me._ENTITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_DISPLAY", DbType:="NVarChar(64)")>  _
	Public Property ENTITY_DISPLAY() As String
		Get
			Return Me._ENTITY_DISPLAY
		End Get
		Set
			If (String.Equals(Me._ENTITY_DISPLAY, value) = false) Then
				Me._ENTITY_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMN_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMN_NAME() As String
		Get
			Return Me._COLUMN_NAME
		End Get
		Set
			If (String.Equals(Me._COLUMN_NAME, value) = false) Then
				Me._COLUMN_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMN_DISPLAY", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMN_DISPLAY() As String
		Get
			Return Me._COLUMN_DISPLAY
		End Get
		Set
			If (String.Equals(Me._COLUMN_DISPLAY, value) = false) Then
				Me._COLUMN_DISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER_NAME", DbType:="NVarChar(128)")>  _
	Public Property USER_NAME() As String
		Get
			Return Me._USER_NAME
		End Get
		Set
			If (String.Equals(Me._USER_NAME, value) = false) Then
				Me._USER_NAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNC_SUBSCRIPTION")>  _
Partial Public Class SYNC_SUBSCRIPTION
	
	Private _SYNCSETID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _SUBSCRIBE_BY_DBGUID As System.Nullable(Of System.Guid)
	
	Private _SUBSCRIBE_BY_USERID As System.Nullable(Of System.Guid)
	
	Private _SUBSCRIBE_DATE As System.Nullable(Of Date)
	
	Private _SUBSCRIBE_SOURCENUM As Byte
	
	Private _SUBSCRIBE_STATUSNUM As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_BY_DBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SUBSCRIBE_BY_DBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SUBSCRIBE_BY_DBGUID
		End Get
		Set
			If (Me._SUBSCRIBE_BY_DBGUID.Equals(value) = false) Then
				Me._SUBSCRIBE_BY_DBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_BY_USERID", DbType:="UniqueIdentifier")>  _
	Public Property SUBSCRIBE_BY_USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SUBSCRIBE_BY_USERID
		End Get
		Set
			If (Me._SUBSCRIBE_BY_USERID.Equals(value) = false) Then
				Me._SUBSCRIBE_BY_USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_DATE", DbType:="DateTime")>  _
	Public Property SUBSCRIBE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SUBSCRIBE_DATE
		End Get
		Set
			If (Me._SUBSCRIBE_DATE.Equals(value) = false) Then
				Me._SUBSCRIBE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_SOURCENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SUBSCRIBE_SOURCENUM() As Byte
		Get
			Return Me._SUBSCRIBE_SOURCENUM
		End Get
		Set
			If ((Me._SUBSCRIBE_SOURCENUM = value)  _
						= false) Then
				Me._SUBSCRIBE_SOURCENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SUBSCRIBE_STATUSNUM() As Byte
		Get
			Return Me._SUBSCRIBE_STATUSNUM
		End Get
		Set
			If ((Me._SUBSCRIBE_STATUSNUM = value)  _
						= false) Then
				Me._SUBSCRIBE_STATUSNUM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNCSET")>  _
Partial Public Class SYNCSET
	
	Private _SYNCSETID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_ALL_USER_SYNCSET As Boolean
	
	Private _LAST_EDITED_BY As String
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _TYPENUM As Byte
	
	Private _SYNCSET_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALL_USER_SYNCSET", DbType:="Bit NOT NULL")>  _
	Public Property IS_ALL_USER_SYNCSET() As Boolean
		Get
			Return Me._IS_ALL_USER_SYNCSET
		End Get
		Set
			If ((Me._IS_ALL_USER_SYNCSET = value)  _
						= false) Then
				Me._IS_ALL_USER_SYNCSET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me._MANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(312) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSET_TYPE", DbType:="NVarChar(312) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCSET_TYPE() As String
		Get
			Return Me._SYNCSET_TYPE
		End Get
		Set
			If (String.Equals(Me._SYNCSET_TYPE, value) = false) Then
				Me._SYNCSET_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.SYNCSET_ACCESSOR")>  _
Partial Public Class SYNCSET_ACCESSOR
	
	Private _SYNCSETID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _RECORD_CREATOR As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACCESSOR")>  _
Partial Public Class TBL_ACCESSOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSORID As System.Guid
	
	Private _NAME As String
	
	Private _TYPENUM As Byte
	
	Private _STATUSNUM As Byte
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CTL_ABL_CONNECTOR_ACCESSORCONFIG As EntitySet(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)
	
	Private _TBL_ACCESSOR_ACTIVITY As EntitySet(Of TBL_ACCESSOR_ACTIVITY)
	
	Private _CREATEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _ACCESSOR As EntitySet(Of TBL_ACCESSOR)
	
	Private _TBL_ACCESSOR_DELEGATE As EntitySet(Of TBL_ACCESSOR_DELEGATE)
	
	Private _ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK As EntitySet(Of TBL_ACCESSOR_DELEGATE)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _ACCESSOR_EDITUSERID_FK As EntitySet(Of TBL_ACCESSOR)
	
	Private _TBL_ACCESSOR_PREFERENCE As EntitySet(Of TBL_ACCESSOR_PREFERENCE)
	
	Private _TBL_ACCESSOR_SETTING As EntitySet(Of TBL_ACCESSOR_SETTING)
	
	Private _TBL_ACTIVITY As EntitySet(Of TBL_ACTIVITY)
	
	Private _ACTIVITY_EDITUSERID_FK As EntitySet(Of TBL_ACTIVITY)
	
	Private _ACTIVITY_ORGANIZEUSERID_FK As EntitySet(Of TBL_ACTIVITY)
	
	Private _TBL_ACTIVITYSERIESITEM As EntitySet(Of TBL_ACTIVITYSERIESITEM)
	
	Private _TBL_COMPANY_ACL As EntitySet(Of TBL_COMPANY_ACL)
	
	Private _TBL_COMPANY As EntitySet(Of TBL_COMPANY)
	
	Private _COMPANY_EDITUSERID_FK As EntitySet(Of TBL_COMPANY)
	
	Private _COMPANY_MANAGEUSERID_FK As EntitySet(Of TBL_COMPANY)
	
	Private _TBL_CONTACT_ACL As EntitySet(Of TBL_CONTACT_ACL)
	
	Private _TBL_CONTACT As EntitySet(Of TBL_CONTACT)
	
	Private _CONTACT_EDITUSERID_FK As EntitySet(Of TBL_CONTACT)
	
	Private _CONTACT_MANAGEUSERID_FK As EntitySet(Of TBL_CONTACT)
	
	Private _TBL_GROUP_ACL As EntitySet(Of TBL_GROUP_ACL)
	
	Private _TBL_GROUP As EntitySet(Of TBL_GROUP)
	
	Private _GROUP_EDITUSERID_FK As EntitySet(Of TBL_GROUP)
	
	Private _GROUP_MANAGEUSERID_FK As EntitySet(Of TBL_GROUP)
	
	Private _TBL_HISTORY As EntitySet(Of TBL_HISTORY)
	
	Private _HISTORY_EDITUSERID_FK As EntitySet(Of TBL_HISTORY)
	
	Private _HISTORY_MANAGEUSERID_FK As EntitySet(Of TBL_HISTORY)
	
	Private _TBL_NOTE As EntitySet(Of TBL_NOTE)
	
	Private _NOTE_MANAGEUSERID_FK As EntitySet(Of TBL_NOTE)
	
	Private _TBL_OPPORTUNITY_ACL As EntitySet(Of TBL_OPPORTUNITY_ACL)
	
	Private _TBL_OPPORTUNITY As EntitySet(Of TBL_OPPORTUNITY)
	
	Private _OPPORTUNITY_EDITUSERID_FK As EntitySet(Of TBL_OPPORTUNITY)
	
	Private _OPPORTUNITY_MANAGEUSERID_FK As EntitySet(Of TBL_OPPORTUNITY)
	
	Private _TBL_RESOURCE As EntityRef(Of TBL_RESOURCE)
	
	Private _CTL_SYNCACCESSOR As EntityRef(Of CTL_SYNCACCESSOR)
	
	Private _TBL_SYNCCONTACT_ACL As EntitySet(Of TBL_SYNCCONTACT_ACL)
	
	Private _TBL_SYNCSET_ACCESSOR As EntitySet(Of TBL_SYNCSET_ACCESSOR)
	
	Private _TBL_SYSCOLUMN_ACL As EntitySet(Of TBL_SYSCOLUMN_ACL)
	
	Private _TBL_TEAM As EntityRef(Of TBL_TEAM)
	
	Private _TBL_USER_ACCESSOR_ENUM As EntitySet(Of TBL_USER_ACCESSOR_ENUM)
	
	Private _TBL_USER_DEFAULT_ACL As EntitySet(Of TBL_USER_DEFAULT_ACL)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
	Private _CTL_USERSESSION As EntitySet(Of CTL_USERSESSION)
	
	Private _TBL_WORKFLOWDEF_ACL As EntitySet(Of TBL_WORKFLOWDEF_ACL)
	
    #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 OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ACCESSORCONFIG = New EntitySet(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)(AddressOf Me.attach_CTL_ABL_CONNECTOR_ACCESSORCONFIG, AddressOf Me.detach_CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Me._TBL_ACCESSOR_ACTIVITY = New EntitySet(Of TBL_ACCESSOR_ACTIVITY)(AddressOf Me.attach_TBL_ACCESSOR_ACTIVITY, AddressOf Me.detach_TBL_ACCESSOR_ACTIVITY)
		Me._CREATEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._ACCESSOR = New EntitySet(Of TBL_ACCESSOR)(AddressOf Me.attach_ACCESSOR, AddressOf Me.detach_ACCESSOR)
		Me._TBL_ACCESSOR_DELEGATE = New EntitySet(Of TBL_ACCESSOR_DELEGATE)(AddressOf Me.attach_TBL_ACCESSOR_DELEGATE, AddressOf Me.detach_TBL_ACCESSOR_DELEGATE)
		Me._ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK = New EntitySet(Of TBL_ACCESSOR_DELEGATE)(AddressOf Me.attach_ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK, AddressOf Me.detach_ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK)
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._ACCESSOR_EDITUSERID_FK = New EntitySet(Of TBL_ACCESSOR)(AddressOf Me.attach_ACCESSOR_EDITUSERID_FK, AddressOf Me.detach_ACCESSOR_EDITUSERID_FK)
		Me._TBL_ACCESSOR_PREFERENCE = New EntitySet(Of TBL_ACCESSOR_PREFERENCE)(AddressOf Me.attach_TBL_ACCESSOR_PREFERENCE, AddressOf Me.detach_TBL_ACCESSOR_PREFERENCE)
		Me._TBL_ACCESSOR_SETTING = New EntitySet(Of TBL_ACCESSOR_SETTING)(AddressOf Me.attach_TBL_ACCESSOR_SETTING, AddressOf Me.detach_TBL_ACCESSOR_SETTING)
		Me._TBL_ACTIVITY = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_TBL_ACTIVITY, AddressOf Me.detach_TBL_ACTIVITY)
		Me._ACTIVITY_EDITUSERID_FK = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_ACTIVITY_EDITUSERID_FK, AddressOf Me.detach_ACTIVITY_EDITUSERID_FK)
		Me._ACTIVITY_ORGANIZEUSERID_FK = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_ACTIVITY_ORGANIZEUSERID_FK, AddressOf Me.detach_ACTIVITY_ORGANIZEUSERID_FK)
		Me._TBL_ACTIVITYSERIESITEM = New EntitySet(Of TBL_ACTIVITYSERIESITEM)(AddressOf Me.attach_TBL_ACTIVITYSERIESITEM, AddressOf Me.detach_TBL_ACTIVITYSERIESITEM)
		Me._TBL_COMPANY_ACL = New EntitySet(Of TBL_COMPANY_ACL)(AddressOf Me.attach_TBL_COMPANY_ACL, AddressOf Me.detach_TBL_COMPANY_ACL)
		Me._TBL_COMPANY = New EntitySet(Of TBL_COMPANY)(AddressOf Me.attach_TBL_COMPANY, AddressOf Me.detach_TBL_COMPANY)
		Me._COMPANY_EDITUSERID_FK = New EntitySet(Of TBL_COMPANY)(AddressOf Me.attach_COMPANY_EDITUSERID_FK, AddressOf Me.detach_COMPANY_EDITUSERID_FK)
		Me._COMPANY_MANAGEUSERID_FK = New EntitySet(Of TBL_COMPANY)(AddressOf Me.attach_COMPANY_MANAGEUSERID_FK, AddressOf Me.detach_COMPANY_MANAGEUSERID_FK)
		Me._TBL_CONTACT_ACL = New EntitySet(Of TBL_CONTACT_ACL)(AddressOf Me.attach_TBL_CONTACT_ACL, AddressOf Me.detach_TBL_CONTACT_ACL)
		Me._TBL_CONTACT = New EntitySet(Of TBL_CONTACT)(AddressOf Me.attach_TBL_CONTACT, AddressOf Me.detach_TBL_CONTACT)
		Me._CONTACT_EDITUSERID_FK = New EntitySet(Of TBL_CONTACT)(AddressOf Me.attach_CONTACT_EDITUSERID_FK, AddressOf Me.detach_CONTACT_EDITUSERID_FK)
		Me._CONTACT_MANAGEUSERID_FK = New EntitySet(Of TBL_CONTACT)(AddressOf Me.attach_CONTACT_MANAGEUSERID_FK, AddressOf Me.detach_CONTACT_MANAGEUSERID_FK)
		Me._TBL_GROUP_ACL = New EntitySet(Of TBL_GROUP_ACL)(AddressOf Me.attach_TBL_GROUP_ACL, AddressOf Me.detach_TBL_GROUP_ACL)
		Me._TBL_GROUP = New EntitySet(Of TBL_GROUP)(AddressOf Me.attach_TBL_GROUP, AddressOf Me.detach_TBL_GROUP)
		Me._GROUP_EDITUSERID_FK = New EntitySet(Of TBL_GROUP)(AddressOf Me.attach_GROUP_EDITUSERID_FK, AddressOf Me.detach_GROUP_EDITUSERID_FK)
		Me._GROUP_MANAGEUSERID_FK = New EntitySet(Of TBL_GROUP)(AddressOf Me.attach_GROUP_MANAGEUSERID_FK, AddressOf Me.detach_GROUP_MANAGEUSERID_FK)
		Me._TBL_HISTORY = New EntitySet(Of TBL_HISTORY)(AddressOf Me.attach_TBL_HISTORY, AddressOf Me.detach_TBL_HISTORY)
		Me._HISTORY_EDITUSERID_FK = New EntitySet(Of TBL_HISTORY)(AddressOf Me.attach_HISTORY_EDITUSERID_FK, AddressOf Me.detach_HISTORY_EDITUSERID_FK)
		Me._HISTORY_MANAGEUSERID_FK = New EntitySet(Of TBL_HISTORY)(AddressOf Me.attach_HISTORY_MANAGEUSERID_FK, AddressOf Me.detach_HISTORY_MANAGEUSERID_FK)
		Me._TBL_NOTE = New EntitySet(Of TBL_NOTE)(AddressOf Me.attach_TBL_NOTE, AddressOf Me.detach_TBL_NOTE)
		Me._NOTE_MANAGEUSERID_FK = New EntitySet(Of TBL_NOTE)(AddressOf Me.attach_NOTE_MANAGEUSERID_FK, AddressOf Me.detach_NOTE_MANAGEUSERID_FK)
		Me._TBL_OPPORTUNITY_ACL = New EntitySet(Of TBL_OPPORTUNITY_ACL)(AddressOf Me.attach_TBL_OPPORTUNITY_ACL, AddressOf Me.detach_TBL_OPPORTUNITY_ACL)
		Me._TBL_OPPORTUNITY = New EntitySet(Of TBL_OPPORTUNITY)(AddressOf Me.attach_TBL_OPPORTUNITY, AddressOf Me.detach_TBL_OPPORTUNITY)
		Me._OPPORTUNITY_EDITUSERID_FK = New EntitySet(Of TBL_OPPORTUNITY)(AddressOf Me.attach_OPPORTUNITY_EDITUSERID_FK, AddressOf Me.detach_OPPORTUNITY_EDITUSERID_FK)
		Me._OPPORTUNITY_MANAGEUSERID_FK = New EntitySet(Of TBL_OPPORTUNITY)(AddressOf Me.attach_OPPORTUNITY_MANAGEUSERID_FK, AddressOf Me.detach_OPPORTUNITY_MANAGEUSERID_FK)
		Me._TBL_RESOURCE = CType(Nothing, EntityRef(Of TBL_RESOURCE))
		Me._CTL_SYNCACCESSOR = CType(Nothing, EntityRef(Of CTL_SYNCACCESSOR))
		Me._TBL_SYNCCONTACT_ACL = New EntitySet(Of TBL_SYNCCONTACT_ACL)(AddressOf Me.attach_TBL_SYNCCONTACT_ACL, AddressOf Me.detach_TBL_SYNCCONTACT_ACL)
		Me._TBL_SYNCSET_ACCESSOR = New EntitySet(Of TBL_SYNCSET_ACCESSOR)(AddressOf Me.attach_TBL_SYNCSET_ACCESSOR, AddressOf Me.detach_TBL_SYNCSET_ACCESSOR)
		Me._TBL_SYSCOLUMN_ACL = New EntitySet(Of TBL_SYSCOLUMN_ACL)(AddressOf Me.attach_TBL_SYSCOLUMN_ACL, AddressOf Me.detach_TBL_SYSCOLUMN_ACL)
		Me._TBL_TEAM = CType(Nothing, EntityRef(Of TBL_TEAM))
		Me._TBL_USER_ACCESSOR_ENUM = New EntitySet(Of TBL_USER_ACCESSOR_ENUM)(AddressOf Me.attach_TBL_USER_ACCESSOR_ENUM, AddressOf Me.detach_TBL_USER_ACCESSOR_ENUM)
		Me._TBL_USER_DEFAULT_ACL = New EntitySet(Of TBL_USER_DEFAULT_ACL)(AddressOf Me.attach_TBL_USER_DEFAULT_ACL, AddressOf Me.detach_TBL_USER_DEFAULT_ACL)
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		Me._CTL_USERSESSION = New EntitySet(Of CTL_USERSESSION)(AddressOf Me.attach_CTL_USERSESSION, AddressOf Me.detach_CTL_USERSESSION)
		Me._TBL_WORKFLOWDEF_ACL = New EntitySet(Of TBL_WORKFLOWDEF_ACL)(AddressOf Me.attach_TBL_WORKFLOWDEF_ACL, AddressOf Me.detach_TBL_WORKFLOWDEF_ACL)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._CREATEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ACCESSORCONFIG_ACCESSORID_FK", Storage:="_CTL_ABL_CONNECTOR_ACCESSORCONFIG", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_CONNECTOR_ACCESSORCONFIG() As EntitySet(Of CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Get
			Return Me._CTL_ABL_CONNECTOR_ACCESSORCONFIG
		End Get
		Set
			Me._CTL_ABL_CONNECTOR_ACCESSORCONFIG.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_ACCESSORID_FK", Storage:="_TBL_ACCESSOR_ACTIVITY", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACCESSOR_ACTIVITY() As EntitySet(Of TBL_ACCESSOR_ACTIVITY)
		Get
			Return Me._TBL_ACCESSOR_ACTIVITY
		End Get
		Set
			Me._TBL_ACCESSOR_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_CREATEUSERID_FK", Storage:="_CREATEUSER", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property CREATEUSER() As TBL_ACCESSOR
		Get
			Return Me._CREATEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._CREATEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CREATEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CREATEUSER.Entity = Nothing
					previousValue.ACCESSOR.Remove(Me)
				End If
				Me._CREATEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACCESSOR.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CREATEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_CREATEUSERID_FK", Storage:="_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property ACCESSOR() As EntitySet(Of TBL_ACCESSOR)
		Get
			Return Me._ACCESSOR
		End Get
		Set
			Me._ACCESSOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_DELEGATE_ACCESSORID_FK", Storage:="_TBL_ACCESSOR_DELEGATE", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_DELEGATE() As EntitySet(Of TBL_ACCESSOR_DELEGATE)
		Get
			Return Me._TBL_ACCESSOR_DELEGATE
		End Get
		Set
			Me._TBL_ACCESSOR_DELEGATE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK", ThisKey:="ACCESSORID", OtherKey:="GRANTTOACCESSORID", DeleteRule:="NO ACTION")>  _
	Public Property ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK() As EntitySet(Of TBL_ACCESSOR_DELEGATE)
		Get
			Return Me._ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK
		End Get
		Set
			Me._ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.ACCESSOR_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACCESSOR_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_ACCESSOR_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property ACCESSOR_EDITUSERID_FK() As EntitySet(Of TBL_ACCESSOR)
		Get
			Return Me._ACCESSOR_EDITUSERID_FK
		End Get
		Set
			Me._ACCESSOR_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_PREFERENCE_ACCESSORID_FK", Storage:="_TBL_ACCESSOR_PREFERENCE", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_PREFERENCE() As EntitySet(Of TBL_ACCESSOR_PREFERENCE)
		Get
			Return Me._TBL_ACCESSOR_PREFERENCE
		End Get
		Set
			Me._TBL_ACCESSOR_PREFERENCE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_SETTING_ACCESSORID_FK", Storage:="_TBL_ACCESSOR_SETTING", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_SETTING() As EntitySet(Of TBL_ACCESSOR_SETTING)
		Get
			Return Me._TBL_ACCESSOR_SETTING
		End Get
		Set
			Me._TBL_ACCESSOR_SETTING.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_CREATEUSERID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITY() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._TBL_ACTIVITY
		End Get
		Set
			Me._TBL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_ACTIVITY_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property ACTIVITY_EDITUSERID_FK() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._ACTIVITY_EDITUSERID_FK
		End Get
		Set
			Me._ACTIVITY_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_ACTIVITY_ORGANIZEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="ORGANIZEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property ACTIVITY_ORGANIZEUSERID_FK() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._ACTIVITY_ORGANIZEUSERID_FK
		End Get
		Set
			Me._ACTIVITY_ORGANIZEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ORGANIZEUSERID_FK", Storage:="_TBL_ACTIVITYSERIESITEM", ThisKey:="ACCESSORID", OtherKey:="ORGANIZEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITYSERIESITEM() As EntitySet(Of TBL_ACTIVITYSERIESITEM)
		Get
			Return Me._TBL_ACTIVITYSERIESITEM
		End Get
		Set
			Me._TBL_ACTIVITYSERIESITEM.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACL_ACCESSORID_FK", Storage:="_TBL_COMPANY_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_ACL() As EntitySet(Of TBL_COMPANY_ACL)
		Get
			Return Me._TBL_COMPANY_ACL
		End Get
		Set
			Me._TBL_COMPANY_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_CREATEUSERID_FK", Storage:="_TBL_COMPANY", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_COMPANY() As EntitySet(Of TBL_COMPANY)
		Get
			Return Me._TBL_COMPANY
		End Get
		Set
			Me._TBL_COMPANY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_COMPANY_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property COMPANY_EDITUSERID_FK() As EntitySet(Of TBL_COMPANY)
		Get
			Return Me._COMPANY_EDITUSERID_FK
		End Get
		Set
			Me._COMPANY_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_COMPANY_MANAGEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="MANAGEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property COMPANY_MANAGEUSERID_FK() As EntitySet(Of TBL_COMPANY)
		Get
			Return Me._COMPANY_MANAGEUSERID_FK
		End Get
		Set
			Me._COMPANY_MANAGEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACL_ACCESSORID_FK", Storage:="_TBL_CONTACT_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_ACL() As EntitySet(Of TBL_CONTACT_ACL)
		Get
			Return Me._TBL_CONTACT_ACL
		End Get
		Set
			Me._TBL_CONTACT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_CREATEUSERID_FK", Storage:="_TBL_CONTACT", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_CONTACT() As EntitySet(Of TBL_CONTACT)
		Get
			Return Me._TBL_CONTACT
		End Get
		Set
			Me._TBL_CONTACT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_CONTACT_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property CONTACT_EDITUSERID_FK() As EntitySet(Of TBL_CONTACT)
		Get
			Return Me._CONTACT_EDITUSERID_FK
		End Get
		Set
			Me._CONTACT_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_CONTACT_MANAGEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="MANAGEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property CONTACT_MANAGEUSERID_FK() As EntitySet(Of TBL_CONTACT)
		Get
			Return Me._CONTACT_MANAGEUSERID_FK
		End Get
		Set
			Me._CONTACT_MANAGEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACL_ACCESSORID_FK", Storage:="_TBL_GROUP_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_ACL() As EntitySet(Of TBL_GROUP_ACL)
		Get
			Return Me._TBL_GROUP_ACL
		End Get
		Set
			Me._TBL_GROUP_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_CREATEUSERID_FK", Storage:="_TBL_GROUP", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_GROUP() As EntitySet(Of TBL_GROUP)
		Get
			Return Me._TBL_GROUP
		End Get
		Set
			Me._TBL_GROUP.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_GROUP_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property GROUP_EDITUSERID_FK() As EntitySet(Of TBL_GROUP)
		Get
			Return Me._GROUP_EDITUSERID_FK
		End Get
		Set
			Me._GROUP_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_GROUP_MANAGEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="MANAGEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property GROUP_MANAGEUSERID_FK() As EntitySet(Of TBL_GROUP)
		Get
			Return Me._GROUP_MANAGEUSERID_FK
		End Get
		Set
			Me._GROUP_MANAGEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORY_CREATEUSERID_FK", Storage:="_TBL_HISTORY", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_HISTORY() As EntitySet(Of TBL_HISTORY)
		Get
			Return Me._TBL_HISTORY
		End Get
		Set
			Me._TBL_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_HISTORY_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property HISTORY_EDITUSERID_FK() As EntitySet(Of TBL_HISTORY)
		Get
			Return Me._HISTORY_EDITUSERID_FK
		End Get
		Set
			Me._HISTORY_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_HISTORY_MANAGEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="MANAGEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property HISTORY_MANAGEUSERID_FK() As EntitySet(Of TBL_HISTORY)
		Get
			Return Me._HISTORY_MANAGEUSERID_FK
		End Get
		Set
			Me._HISTORY_MANAGEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="NOTE_CREATEUSERID_FK", Storage:="_TBL_NOTE", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_NOTE() As EntitySet(Of TBL_NOTE)
		Get
			Return Me._TBL_NOTE
		End Get
		Set
			Me._TBL_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_NOTE_MANAGEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="MANAGEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property NOTE_MANAGEUSERID_FK() As EntitySet(Of TBL_NOTE)
		Get
			Return Me._NOTE_MANAGEUSERID_FK
		End Get
		Set
			Me._NOTE_MANAGEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACL_ACCESSORID_FK", Storage:="_TBL_OPPORTUNITY_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_ACL() As EntitySet(Of TBL_OPPORTUNITY_ACL)
		Get
			Return Me._TBL_OPPORTUNITY_ACL
		End Get
		Set
			Me._TBL_OPPORTUNITY_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_CREATEUSERID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="ACCESSORID", OtherKey:="CREATEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_OPPORTUNITY() As EntitySet(Of TBL_OPPORTUNITY)
		Get
			Return Me._TBL_OPPORTUNITY
		End Get
		Set
			Me._TBL_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_OPPORTUNITY_EDITUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="EDITUSERID", DeleteRule:="NO ACTION")>  _
	Public Property OPPORTUNITY_EDITUSERID_FK() As EntitySet(Of TBL_OPPORTUNITY)
		Get
			Return Me._OPPORTUNITY_EDITUSERID_FK
		End Get
		Set
			Me._OPPORTUNITY_EDITUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_OPPORTUNITY_MANAGEUSERID_FK", ThisKey:="ACCESSORID", OtherKey:="MANAGEUSERID", DeleteRule:="NO ACTION")>  _
	Public Property OPPORTUNITY_MANAGEUSERID_FK() As EntitySet(Of TBL_OPPORTUNITY)
		Get
			Return Me._OPPORTUNITY_MANAGEUSERID_FK
		End Get
		Set
			Me._OPPORTUNITY_MANAGEUSERID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="RESOURCE_RESOURCEID_FK", Storage:="_TBL_RESOURCE", ThisKey:="ACCESSORID", OtherKey:="RESOURCEID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="NO ACTION")>  _
	Public Property TBL_RESOURCE() As TBL_RESOURCE
		Get
			Return Me._TBL_RESOURCE.Entity
		End Get
		Set
			Dim previousValue As TBL_RESOURCE = Me._TBL_RESOURCE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_RESOURCE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_RESOURCE.Entity = Nothing
					previousValue.TBL_ACCESSOR = Nothing
				End If
				Me._TBL_RESOURCE.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_ACCESSOR = Me
				End If
				Me.SendPropertyChanged("TBL_RESOURCE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCACCESSOR_ACCESSORID_FK", Storage:="_CTL_SYNCACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCACCESSOR() As CTL_SYNCACCESSOR
		Get
			Return Me._CTL_SYNCACCESSOR.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCACCESSOR = Me._CTL_SYNCACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCACCESSOR.Entity = Nothing
					previousValue.TBL_ACCESSOR = Nothing
				End If
				Me._CTL_SYNCACCESSOR.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_ACCESSOR = Me
				End If
				Me.SendPropertyChanged("CTL_SYNCACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCCONTACT_ACL_ACCESSORID_FK", Storage:="_TBL_SYNCCONTACT_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCCONTACT_ACL() As EntitySet(Of TBL_SYNCCONTACT_ACL)
		Get
			Return Me._TBL_SYNCCONTACT_ACL
		End Get
		Set
			Me._TBL_SYNCCONTACT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSET_ACCESSOR_ACCESSORID_FK", Storage:="_TBL_SYNCSET_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCSET_ACCESSOR() As EntitySet(Of TBL_SYNCSET_ACCESSOR)
		Get
			Return Me._TBL_SYNCSET_ACCESSOR
		End Get
		Set
			Me._TBL_SYNCSET_ACCESSOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_ACL_ACCESSORID_FK", Storage:="_TBL_SYSCOLUMN_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSCOLUMN_ACL() As EntitySet(Of TBL_SYSCOLUMN_ACL)
		Get
			Return Me._TBL_SYSCOLUMN_ACL
		End Get
		Set
			Me._TBL_SYSCOLUMN_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TEAM_TEAMID_FK", Storage:="_TBL_TEAM", ThisKey:="ACCESSORID", OtherKey:="TEAMID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="NO ACTION")>  _
	Public Property TBL_TEAM() As TBL_TEAM
		Get
			Return Me._TBL_TEAM.Entity
		End Get
		Set
			Dim previousValue As TBL_TEAM = Me._TBL_TEAM.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_TEAM.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_TEAM.Entity = Nothing
					previousValue.TBL_ACCESSOR = Nothing
				End If
				Me._TBL_TEAM.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_ACCESSOR = Me
				End If
				Me.SendPropertyChanged("TBL_TEAM")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_ACCESSOR_ENUM_ACCESSORID_FK", Storage:="_TBL_USER_ACCESSOR_ENUM", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_ACCESSOR_ENUM() As EntitySet(Of TBL_USER_ACCESSOR_ENUM)
		Get
			Return Me._TBL_USER_ACCESSOR_ENUM
		End Get
		Set
			Me._TBL_USER_ACCESSOR_ENUM.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_DEFAULT_ACL_ACCESSORID_FK", Storage:="_TBL_USER_DEFAULT_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_DEFAULT_ACL() As EntitySet(Of TBL_USER_DEFAULT_ACL)
		Get
			Return Me._TBL_USER_DEFAULT_ACL
		End Get
		Set
			Me._TBL_USER_DEFAULT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_USERID_FK", Storage:="_TBL_USER", ThisKey:="ACCESSORID", OtherKey:="USERID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="NO ACTION")>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_ACCESSOR = Nothing
				End If
				Me._TBL_USER.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_ACCESSOR = Me
				End If
				Me.SendPropertyChanged("TBL_USER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USERSESSION_ACCESSORID_FK", Storage:="_CTL_USERSESSION", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property CTL_USERSESSION() As EntitySet(Of CTL_USERSESSION)
		Get
			Return Me._CTL_USERSESSION
		End Get
		Set
			Me._CTL_USERSESSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOWDEF_ACL_ACCESSORID_FK", Storage:="_TBL_WORKFLOWDEF_ACL", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOWDEF_ACL() As EntitySet(Of TBL_WORKFLOWDEF_ACL)
		Get
			Return Me._TBL_WORKFLOWDEF_ACL
		End Get
		Set
			Me._TBL_WORKFLOWDEF_ACL.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_CONNECTOR_ACCESSORCONFIG(ByVal entity As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR_ACCESSORCONFIG(ByVal entity As CTL_ABL_CONNECTOR_ACCESSORCONFIG)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_ACCESSOR_ACTIVITY(ByVal entity As TBL_ACCESSOR_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_ACTIVITY(ByVal entity As TBL_ACCESSOR_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_ACCESSOR(ByVal entity As TBL_ACCESSOR)
		Me.SendPropertyChanging
		entity.CREATEUSER = Me
	End Sub
	
	Private Sub detach_ACCESSOR(ByVal entity As TBL_ACCESSOR)
		Me.SendPropertyChanging
		entity.CREATEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_ACCESSOR_DELEGATE(ByVal entity As TBL_ACCESSOR_DELEGATE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_DELEGATE(ByVal entity As TBL_ACCESSOR_DELEGATE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK(ByVal entity As TBL_ACCESSOR_DELEGATE)
		Me.SendPropertyChanging
		entity.GRANTTOACCESSOR = Me
	End Sub
	
	Private Sub detach_ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK(ByVal entity As TBL_ACCESSOR_DELEGATE)
		Me.SendPropertyChanging
		entity.GRANTTOACCESSOR = Nothing
	End Sub
	
	Private Sub attach_ACCESSOR_EDITUSERID_FK(ByVal entity As TBL_ACCESSOR)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_ACCESSOR_EDITUSERID_FK(ByVal entity As TBL_ACCESSOR)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_ACCESSOR_PREFERENCE(ByVal entity As TBL_ACCESSOR_PREFERENCE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_PREFERENCE(ByVal entity As TBL_ACCESSOR_PREFERENCE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_ACCESSOR_SETTING(ByVal entity As TBL_ACCESSOR_SETTING)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_SETTING(ByVal entity As TBL_ACCESSOR_SETTING)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_ACTIVITY_EDITUSERID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_ACTIVITY_EDITUSERID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_ACTIVITY_ORGANIZEUSERID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.ORGANIZEUSER = Me
	End Sub
	
	Private Sub detach_ACTIVITY_ORGANIZEUSERID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.ORGANIZEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_ACL(ByVal entity As TBL_COMPANY_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_ACL(ByVal entity As TBL_COMPANY_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_COMPANY_EDITUSERID_FK(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_COMPANY_EDITUSERID_FK(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_COMPANY_MANAGEUSERID_FK(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Me
	End Sub
	
	Private Sub detach_COMPANY_MANAGEUSERID_FK(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_ACL(ByVal entity As TBL_CONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_ACL(ByVal entity As TBL_CONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_CONTACT_EDITUSERID_FK(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_CONTACT_EDITUSERID_FK(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_CONTACT_MANAGEUSERID_FK(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Me
	End Sub
	
	Private Sub detach_CONTACT_MANAGEUSERID_FK(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_ACL(ByVal entity As TBL_GROUP_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_ACL(ByVal entity As TBL_GROUP_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_GROUP(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_GROUP_EDITUSERID_FK(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_GROUP_EDITUSERID_FK(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_GROUP_MANAGEUSERID_FK(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Me
	End Sub
	
	Private Sub detach_GROUP_MANAGEUSERID_FK(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_HISTORY(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_HISTORY(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_HISTORY_EDITUSERID_FK(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_HISTORY_EDITUSERID_FK(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_HISTORY_MANAGEUSERID_FK(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Me
	End Sub
	
	Private Sub detach_HISTORY_MANAGEUSERID_FK(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_NOTE(ByVal entity As TBL_NOTE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_NOTE(ByVal entity As TBL_NOTE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_NOTE_MANAGEUSERID_FK(ByVal entity As TBL_NOTE)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Me
	End Sub
	
	Private Sub detach_NOTE_MANAGEUSERID_FK(ByVal entity As TBL_NOTE)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_ACL(ByVal entity As TBL_OPPORTUNITY_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_ACL(ByVal entity As TBL_OPPORTUNITY_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_OPPORTUNITY_EDITUSERID_FK(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.EDITUSER = Me
	End Sub
	
	Private Sub detach_OPPORTUNITY_EDITUSERID_FK(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.EDITUSER = Nothing
	End Sub
	
	Private Sub attach_OPPORTUNITY_MANAGEUSERID_FK(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Me
	End Sub
	
	Private Sub detach_OPPORTUNITY_MANAGEUSERID_FK(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.MANAGEUSER = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCCONTACT_ACL(ByVal entity As TBL_SYNCCONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_SYNCCONTACT_ACL(ByVal entity As TBL_SYNCCONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSET_ACCESSOR(ByVal entity As TBL_SYNCSET_ACCESSOR)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSET_ACCESSOR(ByVal entity As TBL_SYNCSET_ACCESSOR)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSCOLUMN_ACL(ByVal entity As TBL_SYSCOLUMN_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_SYSCOLUMN_ACL(ByVal entity As TBL_SYSCOLUMN_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_ACCESSOR_ENUM(ByVal entity As TBL_USER_ACCESSOR_ENUM)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_USER_ACCESSOR_ENUM(ByVal entity As TBL_USER_ACCESSOR_ENUM)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_DEFAULT_ACL(ByVal entity As TBL_USER_DEFAULT_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_USER_DEFAULT_ACL(ByVal entity As TBL_USER_DEFAULT_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_CTL_USERSESSION(ByVal entity As CTL_USERSESSION)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_CTL_USERSESSION(ByVal entity As CTL_USERSESSION)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOWDEF_ACL(ByVal entity As TBL_WORKFLOWDEF_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOWDEF_ACL(ByVal entity As TBL_WORKFLOWDEF_ACL)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACCESSOR_ACTIVITY")>  _
Partial Public Class TBL_ACCESSOR_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSOR_ACTIVITYID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ISBASERECORD As Boolean
	
	Private _ISACKNOWLEDGED As Boolean
	
	Private _ACTIVITYPRIORITYID As Byte
	
	Private _ISALARMED As Boolean
	
	Private _LEADMINUTES As System.Nullable(Of Integer)
	
	Private _ISBANNER As Boolean
	
	Private _BANNERCOLOR As System.Nullable(Of Integer)
	
	Private _STATUSNUM As Byte
	
	Private _ALARMCLEARED_DATES As String
	
	Private _CLEARED_DATES As String
	
	Private _STATUSEXCEPTION_DATES As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _TBL_ACTIVITYPRIORITY As EntityRef(Of TBL_ACTIVITYPRIORITY)
	
	Private _TBL_ACCESSOR_ACTIVITY_CLEARED As EntitySet(Of TBL_ACCESSOR_ACTIVITY_CLEARED)
	
	Private _TBL_ALARMSNOOZE As EntitySet(Of TBL_ALARMSNOOZE)
	
    #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 OnACCESSOR_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnISBASERECORDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISBASERECORDChanged()
    End Sub
    Partial Private Sub OnISACKNOWLEDGEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACKNOWLEDGEDChanged()
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanged()
    End Sub
    Partial Private Sub OnISALARMEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALARMEDChanged()
    End Sub
    Partial Private Sub OnLEADMINUTESChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnLEADMINUTESChanged()
    End Sub
    Partial Private Sub OnISBANNERChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISBANNERChanged()
    End Sub
    Partial Private Sub OnBANNERCOLORChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnBANNERCOLORChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnALARMCLEARED_DATESChanging(value As String)
    End Sub
    Partial Private Sub OnALARMCLEARED_DATESChanged()
    End Sub
    Partial Private Sub OnCLEARED_DATESChanging(value As String)
    End Sub
    Partial Private Sub OnCLEARED_DATESChanged()
    End Sub
    Partial Private Sub OnSTATUSEXCEPTION_DATESChanging(value As String)
    End Sub
    Partial Private Sub OnSTATUSEXCEPTION_DATESChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._TBL_ACTIVITYPRIORITY = CType(Nothing, EntityRef(Of TBL_ACTIVITYPRIORITY))
		Me._TBL_ACCESSOR_ACTIVITY_CLEARED = New EntitySet(Of TBL_ACCESSOR_ACTIVITY_CLEARED)(AddressOf Me.attach_TBL_ACCESSOR_ACTIVITY_CLEARED, AddressOf Me.detach_TBL_ACCESSOR_ACTIVITY_CLEARED)
		Me._TBL_ALARMSNOOZE = New EntitySet(Of TBL_ALARMSNOOZE)(AddressOf Me.attach_TBL_ALARMSNOOZE, AddressOf Me.detach_TBL_ALARMSNOOZE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSOR_ACTIVITYID() As System.Guid
		Get
			Return Me._ACCESSOR_ACTIVITYID
		End Get
		Set
			If ((Me._ACCESSOR_ACTIVITYID = value)  _
						= false) Then
				Me.OnACCESSOR_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSOR_ACTIVITYID = value
				Me.SendPropertyChanged("ACCESSOR_ACTIVITYID")
				Me.OnACCESSOR_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISBASERECORD", DbType:="Bit NOT NULL")>  _
	Public Property ISBASERECORD() As Boolean
		Get
			Return Me._ISBASERECORD
		End Get
		Set
			If ((Me._ISBASERECORD = value)  _
						= false) Then
				Me.OnISBASERECORDChanging(value)
				Me.SendPropertyChanging
				Me._ISBASERECORD = value
				Me.SendPropertyChanged("ISBASERECORD")
				Me.OnISBASERECORDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACKNOWLEDGED", DbType:="Bit NOT NULL")>  _
	Public Property ISACKNOWLEDGED() As Boolean
		Get
			Return Me._ISACKNOWLEDGED
		End Get
		Set
			If ((Me._ISACKNOWLEDGED = value)  _
						= false) Then
				Me.OnISACKNOWLEDGEDChanging(value)
				Me.SendPropertyChanging
				Me._ISACKNOWLEDGED = value
				Me.SendPropertyChanged("ISACKNOWLEDGED")
				Me.OnISACKNOWLEDGEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIVITYPRIORITYID() As Byte
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITYPRIORITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYPRIORITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYPRIORITYID = value
				Me.SendPropertyChanged("ACTIVITYPRIORITYID")
				Me.OnACTIVITYPRIORITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALARMED", DbType:="Bit NOT NULL")>  _
	Public Property ISALARMED() As Boolean
		Get
			Return Me._ISALARMED
		End Get
		Set
			If ((Me._ISALARMED = value)  _
						= false) Then
				Me.OnISALARMEDChanging(value)
				Me.SendPropertyChanging
				Me._ISALARMED = value
				Me.SendPropertyChanged("ISALARMED")
				Me.OnISALARMEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEADMINUTES", DbType:="Int")>  _
	Public Property LEADMINUTES() As System.Nullable(Of Integer)
		Get
			Return Me._LEADMINUTES
		End Get
		Set
			If (Me._LEADMINUTES.Equals(value) = false) Then
				Me.OnLEADMINUTESChanging(value)
				Me.SendPropertyChanging
				Me._LEADMINUTES = value
				Me.SendPropertyChanged("LEADMINUTES")
				Me.OnLEADMINUTESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISBANNER", DbType:="Bit NOT NULL")>  _
	Public Property ISBANNER() As Boolean
		Get
			Return Me._ISBANNER
		End Get
		Set
			If ((Me._ISBANNER = value)  _
						= false) Then
				Me.OnISBANNERChanging(value)
				Me.SendPropertyChanging
				Me._ISBANNER = value
				Me.SendPropertyChanged("ISBANNER")
				Me.OnISBANNERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BANNERCOLOR", DbType:="Int")>  _
	Public Property BANNERCOLOR() As System.Nullable(Of Integer)
		Get
			Return Me._BANNERCOLOR
		End Get
		Set
			If (Me._BANNERCOLOR.Equals(value) = false) Then
				Me.OnBANNERCOLORChanging(value)
				Me.SendPropertyChanging
				Me._BANNERCOLOR = value
				Me.SendPropertyChanged("BANNERCOLOR")
				Me.OnBANNERCOLORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMCLEARED_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property ALARMCLEARED_DATES() As String
		Get
			Return Me._ALARMCLEARED_DATES
		End Get
		Set
			If (String.Equals(Me._ALARMCLEARED_DATES, value) = false) Then
				Me.OnALARMCLEARED_DATESChanging(value)
				Me.SendPropertyChanging
				Me._ALARMCLEARED_DATES = value
				Me.SendPropertyChanged("ALARMCLEARED_DATES")
				Me.OnALARMCLEARED_DATESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLEARED_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CLEARED_DATES() As String
		Get
			Return Me._CLEARED_DATES
		End Get
		Set
			If (String.Equals(Me._CLEARED_DATES, value) = false) Then
				Me.OnCLEARED_DATESChanging(value)
				Me.SendPropertyChanging
				Me._CLEARED_DATES = value
				Me.SendPropertyChanged("CLEARED_DATES")
				Me.OnCLEARED_DATESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSEXCEPTION_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property STATUSEXCEPTION_DATES() As String
		Get
			Return Me._STATUSEXCEPTION_DATES
		End Get
		Set
			If (String.Equals(Me._STATUSEXCEPTION_DATES, value) = false) Then
				Me.OnSTATUSEXCEPTION_DATESChanging(value)
				Me.SendPropertyChanging
				Me._STATUSEXCEPTION_DATES = value
				Me.SendPropertyChanged("STATUSEXCEPTION_DATES")
				Me.OnSTATUSEXCEPTION_DATESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_ACCESSOR_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_ACTIVITY.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.TBL_ACCESSOR_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_ACTIVITY.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_ACTIVITYPRIORITYID_FK", Storage:="_TBL_ACTIVITYPRIORITY", ThisKey:="ACTIVITYPRIORITYID", OtherKey:="ACTIVITYPRIORITYID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYPRIORITY() As TBL_ACTIVITYPRIORITY
		Get
			Return Me._TBL_ACTIVITYPRIORITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYPRIORITY = Me._TBL_ACTIVITYPRIORITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYPRIORITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYPRIORITY.Entity = Nothing
					previousValue.TBL_ACCESSOR_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITYPRIORITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_ACTIVITY.Add(Me)
					Me._ACTIVITYPRIORITYID = value.ACTIVITYPRIORITYID
				Else
					Me._ACTIVITYPRIORITYID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYPRIORITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_CLEARED_ACCESSOR_ACTIVITYID_FK", Storage:="_TBL_ACCESSOR_ACTIVITY_CLEARED", ThisKey:="ACCESSOR_ACTIVITYID", OtherKey:="ACCESSOR_ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_ACTIVITY_CLEARED() As EntitySet(Of TBL_ACCESSOR_ACTIVITY_CLEARED)
		Get
			Return Me._TBL_ACCESSOR_ACTIVITY_CLEARED
		End Get
		Set
			Me._TBL_ACCESSOR_ACTIVITY_CLEARED.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ALARMSNOOZE_ACCESSOR_ACTIVITYID_FK", Storage:="_TBL_ALARMSNOOZE", ThisKey:="ACCESSOR_ACTIVITYID", OtherKey:="ACCESSOR_ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ALARMSNOOZE() As EntitySet(Of TBL_ALARMSNOOZE)
		Get
			Return Me._TBL_ALARMSNOOZE
		End Get
		Set
			Me._TBL_ALARMSNOOZE.Assign(value)
		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
	
	Private Sub attach_TBL_ACCESSOR_ACTIVITY_CLEARED(ByVal entity As TBL_ACCESSOR_ACTIVITY_CLEARED)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_ACTIVITY_CLEARED(ByVal entity As TBL_ACCESSOR_ACTIVITY_CLEARED)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_TBL_ALARMSNOOZE(ByVal entity As TBL_ALARMSNOOZE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_ALARMSNOOZE(ByVal entity As TBL_ALARMSNOOZE)
		Me.SendPropertyChanging
		entity.TBL_ACCESSOR_ACTIVITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACCESSOR_ACTIVITY_CLEARED")>  _
Partial Public Class TBL_ACCESSOR_ACTIVITY_CLEARED
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSOR_ACTIVITY_CLEAREDID As System.Guid
	
	Private _ACCESSOR_ACTIVITYID As System.Guid
	
	Private _CLEARED_DATE As Date
	
	Private _ACTIVITYID As System.Guid
	
	Private _TBL_ACCESSOR_ACTIVITY As EntityRef(Of TBL_ACCESSOR_ACTIVITY)
	
    #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 OnACCESSOR_ACTIVITY_CLEAREDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITY_CLEAREDIDChanged()
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnCLEARED_DATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCLEARED_DATEChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACCESSOR_ACTIVITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSOR_ACTIVITY_CLEAREDID() As System.Guid
		Get
			Return Me._ACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If ((Me._ACCESSOR_ACTIVITY_CLEAREDID = value)  _
						= false) Then
				Me.OnACCESSOR_ACTIVITY_CLEAREDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSOR_ACTIVITY_CLEAREDID = value
				Me.SendPropertyChanged("ACCESSOR_ACTIVITY_CLEAREDID")
				Me.OnACCESSOR_ACTIVITY_CLEAREDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSOR_ACTIVITYID() As System.Guid
		Get
			Return Me._ACCESSOR_ACTIVITYID
		End Get
		Set
			If ((Me._ACCESSOR_ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSOR_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSOR_ACTIVITYID = value
				Me.SendPropertyChanged("ACCESSOR_ACTIVITYID")
				Me.OnACCESSOR_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLEARED_DATE", DbType:="SmallDateTime NOT NULL")>  _
	Public Property CLEARED_DATE() As Date
		Get
			Return Me._CLEARED_DATE
		End Get
		Set
			If ((Me._CLEARED_DATE = value)  _
						= false) Then
				Me.OnCLEARED_DATEChanging(value)
				Me.SendPropertyChanging
				Me._CLEARED_DATE = value
				Me.SendPropertyChanged("CLEARED_DATE")
				Me.OnCLEARED_DATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_CLEARED_ACCESSOR_ACTIVITYID_FK", Storage:="_TBL_ACCESSOR_ACTIVITY", ThisKey:="ACCESSOR_ACTIVITYID", OtherKey:="ACCESSOR_ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR_ACTIVITY() As TBL_ACCESSOR_ACTIVITY
		Get
			Return Me._TBL_ACCESSOR_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR_ACTIVITY = Me._TBL_ACCESSOR_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR_ACTIVITY.Entity = Nothing
					previousValue.TBL_ACCESSOR_ACTIVITY_CLEARED.Remove(Me)
				End If
				Me._TBL_ACCESSOR_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_ACTIVITY_CLEARED.Add(Me)
					Me._ACCESSOR_ACTIVITYID = value.ACCESSOR_ACTIVITYID
				Else
					Me._ACCESSOR_ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR_ACTIVITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACCESSOR_DELEGATE")>  _
Partial Public Class TBL_ACCESSOR_DELEGATE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSORID As System.Guid
	
	Private _GRANTTOACCESSORID As System.Guid
	
	Private _CALENDARLEVEL As Byte
	
	Private _ROWSOURCE As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _GRANTTOACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
    #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 OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnGRANTTOACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGRANTTOACCESSORIDChanged()
    End Sub
    Partial Private Sub OnCALENDARLEVELChanging(value As Byte)
    End Sub
    Partial Private Sub OnCALENDARLEVELChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._GRANTTOACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GRANTTOACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GRANTTOACCESSORID() As System.Guid
		Get
			Return Me._GRANTTOACCESSORID
		End Get
		Set
			If ((Me._GRANTTOACCESSORID = value)  _
						= false) Then
				If Me._GRANTTOACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGRANTTOACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._GRANTTOACCESSORID = value
				Me.SendPropertyChanged("GRANTTOACCESSORID")
				Me.OnGRANTTOACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARLEVEL", DbType:="TinyInt NOT NULL")>  _
	Public Property CALENDARLEVEL() As Byte
		Get
			Return Me._CALENDARLEVEL
		End Get
		Set
			If ((Me._CALENDARLEVEL = value)  _
						= false) Then
				Me.OnCALENDARLEVELChanging(value)
				Me.SendPropertyChanging
				Me._CALENDARLEVEL = value
				Me.SendPropertyChanged("CALENDARLEVEL")
				Me.OnCALENDARLEVELChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_DELEGATE_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_ACCESSOR_DELEGATE.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_DELEGATE.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK", Storage:="_GRANTTOACCESSOR", ThisKey:="GRANTTOACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property GRANTTOACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._GRANTTOACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._GRANTTOACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._GRANTTOACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._GRANTTOACCESSOR.Entity = Nothing
					previousValue.ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK.Remove(Me)
				End If
				Me._GRANTTOACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACCESSOR_DELEGATE_GRANTTOACCESSORID_FK.Add(Me)
					Me._GRANTTOACCESSORID = value.ACCESSORID
				Else
					Me._GRANTTOACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("GRANTTOACCESSOR")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACCESSOR_PREFERENCE")>  _
Partial Public Class TBL_ACCESSOR_PREFERENCE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSORID As System.Guid
	
	Private _PREFERENCEID As System.Guid
	
	Private _OBJECTBINARYVALUE As System.Data.Linq.Binary
	
	Private _OBJECTSTRINGVALUE As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_PREFERENCE As EntityRef(Of TBL_PREFERENCE)
	
    #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 OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnPREFERENCEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPREFERENCEIDChanged()
    End Sub
    Partial Private Sub OnOBJECTBINARYVALUEChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnOBJECTBINARYVALUEChanged()
    End Sub
    Partial Private Sub OnOBJECTSTRINGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnOBJECTSTRINGVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_PREFERENCE = CType(Nothing, EntityRef(Of TBL_PREFERENCE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PREFERENCEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PREFERENCEID() As System.Guid
		Get
			Return Me._PREFERENCEID
		End Get
		Set
			If ((Me._PREFERENCEID = value)  _
						= false) Then
				If Me._TBL_PREFERENCE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPREFERENCEIDChanging(value)
				Me.SendPropertyChanging
				Me._PREFERENCEID = value
				Me.SendPropertyChanged("PREFERENCEID")
				Me.OnPREFERENCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTBINARYVALUE", DbType:="VarBinary(6000)", CanBeNull:=true)>  _
	Public Property OBJECTBINARYVALUE() As System.Data.Linq.Binary
		Get
			Return Me._OBJECTBINARYVALUE
		End Get
		Set
			If (Object.Equals(Me._OBJECTBINARYVALUE, value) = false) Then
				Me.OnOBJECTBINARYVALUEChanging(value)
				Me.SendPropertyChanging
				Me._OBJECTBINARYVALUE = value
				Me.SendPropertyChanged("OBJECTBINARYVALUE")
				Me.OnOBJECTBINARYVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTSTRINGVALUE", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property OBJECTSTRINGVALUE() As String
		Get
			Return Me._OBJECTSTRINGVALUE
		End Get
		Set
			If (String.Equals(Me._OBJECTSTRINGVALUE, value) = false) Then
				Me.OnOBJECTSTRINGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._OBJECTSTRINGVALUE = value
				Me.SendPropertyChanged("OBJECTSTRINGVALUE")
				Me.OnOBJECTSTRINGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_PREFERENCE_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_ACCESSOR_PREFERENCE.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_PREFERENCE.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_PREFERENCE_PREFERENCEID_FK", Storage:="_TBL_PREFERENCE", ThisKey:="PREFERENCEID", OtherKey:="PREFERENCEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PREFERENCE() As TBL_PREFERENCE
		Get
			Return Me._TBL_PREFERENCE.Entity
		End Get
		Set
			Dim previousValue As TBL_PREFERENCE = Me._TBL_PREFERENCE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PREFERENCE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PREFERENCE.Entity = Nothing
					previousValue.TBL_ACCESSOR_PREFERENCE.Remove(Me)
				End If
				Me._TBL_PREFERENCE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_PREFERENCE.Add(Me)
					Me._PREFERENCEID = value.PREFERENCEID
				Else
					Me._PREFERENCEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PREFERENCE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACCESSOR_SETTING")>  _
Partial Public Class TBL_ACCESSOR_SETTING
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACCESSORID As System.Guid
	
	Private _SETTINGID As System.Guid
	
	Private _SETTINGSTRINGVALUE As String
	
	Private _EDITUSERID As System.Guid
	
	Private _EDITDATE As Date
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_SETTING As EntityRef(Of TBL_SETTING)
	
    #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 OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnSETTINGIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSETTINGIDChanged()
    End Sub
    Partial Private Sub OnSETTINGSTRINGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnSETTINGSTRINGVALUEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_SETTING = CType(Nothing, EntityRef(Of TBL_SETTING))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SETTINGID() As System.Guid
		Get
			Return Me._SETTINGID
		End Get
		Set
			If ((Me._SETTINGID = value)  _
						= false) Then
				If Me._TBL_SETTING.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSETTINGIDChanging(value)
				Me.SendPropertyChanging
				Me._SETTINGID = value
				Me.SendPropertyChanged("SETTINGID")
				Me.OnSETTINGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGSTRINGVALUE", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SETTINGSTRINGVALUE() As String
		Get
			Return Me._SETTINGSTRINGVALUE
		End Get
		Set
			If (String.Equals(Me._SETTINGSTRINGVALUE, value) = false) Then
				Me.OnSETTINGSTRINGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._SETTINGSTRINGVALUE = value
				Me.SendPropertyChanged("SETTINGSTRINGVALUE")
				Me.OnSETTINGSTRINGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property EDITUSERID() As System.Guid
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If ((Me._EDITUSERID = value)  _
						= false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime NOT NULL")>  _
	Public Property EDITDATE() As Date
		Get
			Return Me._EDITDATE
		End Get
		Set
			If ((Me._EDITDATE = value)  _
						= false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_SETTING_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_ACCESSOR_SETTING.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_SETTING.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_SETTING_SETTINGID_FK", Storage:="_TBL_SETTING", ThisKey:="SETTINGID", OtherKey:="SETTINGID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SETTING() As TBL_SETTING
		Get
			Return Me._TBL_SETTING.Entity
		End Get
		Set
			Dim previousValue As TBL_SETTING = Me._TBL_SETTING.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SETTING.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SETTING.Entity = Nothing
					previousValue.TBL_ACCESSOR_SETTING.Remove(Me)
				End If
				Me._TBL_SETTING.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACCESSOR_SETTING.Add(Me)
					Me._SETTINGID = value.SETTINGID
				Else
					Me._SETTINGID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SETTING")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACTIVITY")>  _
Partial Public Class TBL_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYID As System.Guid
	
	Private _ACTIVITYTYPEID As Short
	
	Private _ACTIVITYSERIESAPPLIEDID As System.Nullable(Of System.Guid)
	
	Private _REGARDING As String
	
	Private _STARTTIME As Date
	
	Private _ENDTIME As Date
	
	Private _ORIGINALTIME As Date
	
	Private _ISTIMELESS As Boolean
	
	Private _LOCATION As String
	
	Private _ISPRIVATE As Byte
	
	Private _ORGANIZEUSERID As System.Guid
	
	Private _DETAILS As String
	
	Private _MASTERACTIVITYID As System.Guid
	
	Private _PARENTACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _RECURSOURCEACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ISEVENT As Boolean
	
	Private _SOURCENUM As Byte
	
	Private _EXTERNALID As String
	
	Private _RECURPERIOD As Byte
	
	Private _RECURFREQ As System.Nullable(Of Byte)
	
	Private _RECURMODIFIER As System.Nullable(Of Byte)
	
	Private _RECURDAY As System.Nullable(Of Byte)
	
	Private _RECURDAYTYPE As System.Nullable(Of Byte)
	
	Private _RECURMONTH As System.Nullable(Of Byte)
	
	Private _RECURENDDATE As Date
	
	Private _ISRECURENDLESS As Boolean
	
	Private _ISDELETED As Boolean
	
	Private _DELETED_DATES As String
	
	Private _TZ_BIAS As Short
	
	Private _TZ_DAYLIGHT_BIAS As Short
	
	Private _TZ_STANDARD_BIAS As Short
	
	Private _TZ_DAYLIGHT_MONTH As Byte
	
	Private _TZ_DAYLIGHT_DOW As Byte
	
	Private _TZ_DAYLIGHT_DAY As Byte
	
	Private _TZ_DAYLIGHT_HOUR As Byte
	
	Private _TZ_DAYLIGHT_MINUTE As Byte
	
	Private _TZ_STANDARD_MONTH As Byte
	
	Private _TZ_STANDARD_DOW As Byte
	
	Private _TZ_STANDARD_DAY As Byte
	
	Private _TZ_STANDARD_HOUR As Byte
	
	Private _TZ_STANDARD_MINUTE As Byte
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DURATION As System.Nullable(Of Integer)
	
	Private _ISINVITATIONSENT As Boolean
	
	Private _WF_INSTANCEID As System.Nullable(Of System.Guid)
	
	Private _WF_CONTEXTID As System.Nullable(Of System.Guid)
	
	Private _TBL_ACCESSOR_ACTIVITY As EntitySet(Of TBL_ACCESSOR_ACTIVITY)
	
	Private _CTL_ACTIVITY_ABL_ACTIVITY As EntitySet(Of CTL_ACTIVITY_ABL_ACTIVITY)
	
	Private _TBL_ACTIVITYSERIESAPPLIED As EntityRef(Of TBL_ACTIVITYSERIESAPPLIED)
	
	Private _TBL_ACTIVITYTYPE As EntityRef(Of TBL_ACTIVITYTYPE)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _MASTERACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _ACTIVITY As EntitySet(Of TBL_ACTIVITY)
	
	Private _ORGANIZEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _PARENTACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _ACTIVITY_PARENTACTIVITYID_FK As EntitySet(Of TBL_ACTIVITY)
	
	Private _RECURSOURCEACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _ACTIVITY_RECURSOURCEACTIVITYID_FK As EntitySet(Of TBL_ACTIVITY)
	
	Private _TBL_ATTACHMENT As EntitySet(Of TBL_ATTACHMENT)
	
	Private _TBL_COMPANY_ACTIVITY As EntitySet(Of TBL_COMPANY_ACTIVITY)
	
	Private _TBL_CONTACT_ACTIVITY As EntitySet(Of TBL_CONTACT_ACTIVITY)
	
	Private _TBL_GROUP_ACTIVITY As EntitySet(Of TBL_GROUP_ACTIVITY)
	
	Private _TBL_OPPORTUNITY_ACTIVITY As EntitySet(Of TBL_OPPORTUNITY_ACTIVITY)
	
    #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 OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYSERIESAPPLIEDIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACTIVITYSERIESAPPLIEDIDChanged()
    End Sub
    Partial Private Sub OnREGARDINGChanging(value As String)
    End Sub
    Partial Private Sub OnREGARDINGChanged()
    End Sub
    Partial Private Sub OnSTARTTIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnSTARTTIMEChanged()
    End Sub
    Partial Private Sub OnENDTIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnENDTIMEChanged()
    End Sub
    Partial Private Sub OnORIGINALTIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnORIGINALTIMEChanged()
    End Sub
    Partial Private Sub OnISTIMELESSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISTIMELESSChanged()
    End Sub
    Partial Private Sub OnLOCATIONChanging(value As String)
    End Sub
    Partial Private Sub OnLOCATIONChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Byte)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanged()
    End Sub
    Partial Private Sub OnDETAILSChanging(value As String)
    End Sub
    Partial Private Sub OnDETAILSChanged()
    End Sub
    Partial Private Sub OnMASTERACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMASTERACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnPARENTACTIVITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnPARENTACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnRECURSOURCEACTIVITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnRECURSOURCEACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnISEVENTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISEVENTChanged()
    End Sub
    Partial Private Sub OnSOURCENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSOURCENUMChanged()
    End Sub
    Partial Private Sub OnEXTERNALIDChanging(value As String)
    End Sub
    Partial Private Sub OnEXTERNALIDChanged()
    End Sub
    Partial Private Sub OnRECURPERIODChanging(value As Byte)
    End Sub
    Partial Private Sub OnRECURPERIODChanged()
    End Sub
    Partial Private Sub OnRECURFREQChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnRECURFREQChanged()
    End Sub
    Partial Private Sub OnRECURMODIFIERChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnRECURMODIFIERChanged()
    End Sub
    Partial Private Sub OnRECURDAYChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnRECURDAYChanged()
    End Sub
    Partial Private Sub OnRECURDAYTYPEChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnRECURDAYTYPEChanged()
    End Sub
    Partial Private Sub OnRECURMONTHChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnRECURMONTHChanged()
    End Sub
    Partial Private Sub OnRECURENDDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnRECURENDDATEChanged()
    End Sub
    Partial Private Sub OnISRECURENDLESSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISRECURENDLESSChanged()
    End Sub
    Partial Private Sub OnISDELETEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDELETEDChanged()
    End Sub
    Partial Private Sub OnDELETED_DATESChanging(value As String)
    End Sub
    Partial Private Sub OnDELETED_DATESChanged()
    End Sub
    Partial Private Sub OnTZ_BIASChanging(value As Short)
    End Sub
    Partial Private Sub OnTZ_BIASChanged()
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_BIASChanging(value As Short)
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_BIASChanged()
    End Sub
    Partial Private Sub OnTZ_STANDARD_BIASChanging(value As Short)
    End Sub
    Partial Private Sub OnTZ_STANDARD_BIASChanged()
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_MONTHChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_MONTHChanged()
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_DOWChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_DOWChanged()
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_DAYChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_DAYChanged()
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_HOURChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_HOURChanged()
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_MINUTEChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_DAYLIGHT_MINUTEChanged()
    End Sub
    Partial Private Sub OnTZ_STANDARD_MONTHChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_STANDARD_MONTHChanged()
    End Sub
    Partial Private Sub OnTZ_STANDARD_DOWChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_STANDARD_DOWChanged()
    End Sub
    Partial Private Sub OnTZ_STANDARD_DAYChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_STANDARD_DAYChanged()
    End Sub
    Partial Private Sub OnTZ_STANDARD_HOURChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_STANDARD_HOURChanged()
    End Sub
    Partial Private Sub OnTZ_STANDARD_MINUTEChanging(value As Byte)
    End Sub
    Partial Private Sub OnTZ_STANDARD_MINUTEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDURATIONChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnDURATIONChanged()
    End Sub
    Partial Private Sub OnISINVITATIONSENTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISINVITATIONSENTChanged()
    End Sub
    Partial Private Sub OnWF_INSTANCEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnWF_INSTANCEIDChanged()
    End Sub
    Partial Private Sub OnWF_CONTEXTIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnWF_CONTEXTIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR_ACTIVITY = New EntitySet(Of TBL_ACCESSOR_ACTIVITY)(AddressOf Me.attach_TBL_ACCESSOR_ACTIVITY, AddressOf Me.detach_TBL_ACCESSOR_ACTIVITY)
		Me._CTL_ACTIVITY_ABL_ACTIVITY = New EntitySet(Of CTL_ACTIVITY_ABL_ACTIVITY)(AddressOf Me.attach_CTL_ACTIVITY_ABL_ACTIVITY, AddressOf Me.detach_CTL_ACTIVITY_ABL_ACTIVITY)
		Me._TBL_ACTIVITYSERIESAPPLIED = CType(Nothing, EntityRef(Of TBL_ACTIVITYSERIESAPPLIED))
		Me._TBL_ACTIVITYTYPE = CType(Nothing, EntityRef(Of TBL_ACTIVITYTYPE))
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._MASTERACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._ACTIVITY = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_ACTIVITY, AddressOf Me.detach_ACTIVITY)
		Me._ORGANIZEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._PARENTACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._ACTIVITY_PARENTACTIVITYID_FK = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_ACTIVITY_PARENTACTIVITYID_FK, AddressOf Me.detach_ACTIVITY_PARENTACTIVITYID_FK)
		Me._RECURSOURCEACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._ACTIVITY_RECURSOURCEACTIVITYID_FK = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_ACTIVITY_RECURSOURCEACTIVITYID_FK, AddressOf Me.detach_ACTIVITY_RECURSOURCEACTIVITYID_FK)
		Me._TBL_ATTACHMENT = New EntitySet(Of TBL_ATTACHMENT)(AddressOf Me.attach_TBL_ATTACHMENT, AddressOf Me.detach_TBL_ATTACHMENT)
		Me._TBL_COMPANY_ACTIVITY = New EntitySet(Of TBL_COMPANY_ACTIVITY)(AddressOf Me.attach_TBL_COMPANY_ACTIVITY, AddressOf Me.detach_TBL_COMPANY_ACTIVITY)
		Me._TBL_CONTACT_ACTIVITY = New EntitySet(Of TBL_CONTACT_ACTIVITY)(AddressOf Me.attach_TBL_CONTACT_ACTIVITY, AddressOf Me.detach_TBL_CONTACT_ACTIVITY)
		Me._TBL_GROUP_ACTIVITY = New EntitySet(Of TBL_GROUP_ACTIVITY)(AddressOf Me.attach_TBL_GROUP_ACTIVITY, AddressOf Me.detach_TBL_GROUP_ACTIVITY)
		Me._TBL_OPPORTUNITY_ACTIVITY = New EntitySet(Of TBL_OPPORTUNITY_ACTIVITY)(AddressOf Me.attach_TBL_OPPORTUNITY_ACTIVITY, AddressOf Me.detach_TBL_OPPORTUNITY_ACTIVITY)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property ACTIVITYTYPEID() As Short
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If ((Me._ACTIVITYTYPEID = value)  _
						= false) Then
				If Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEID = value
				Me.SendPropertyChanged("ACTIVITYTYPEID")
				Me.OnACTIVITYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESAPPLIEDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDID.Equals(value) = false) Then
				If Me._TBL_ACTIVITYSERIESAPPLIED.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYSERIESAPPLIEDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYSERIESAPPLIEDID = value
				Me.SendPropertyChanged("ACTIVITYSERIESAPPLIEDID")
				Me.OnACTIVITYSERIESAPPLIEDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me.OnREGARDINGChanging(value)
				Me.SendPropertyChanging
				Me._REGARDING = value
				Me.SendPropertyChanged("REGARDING")
				Me.OnREGARDINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STARTTIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property STARTTIME() As Date
		Get
			Return Me._STARTTIME
		End Get
		Set
			If ((Me._STARTTIME = value)  _
						= false) Then
				Me.OnSTARTTIMEChanging(value)
				Me.SendPropertyChanging
				Me._STARTTIME = value
				Me.SendPropertyChanged("STARTTIME")
				Me.OnSTARTTIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENDTIME", DbType:="SmallDateTime 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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGINALTIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property ORIGINALTIME() As Date
		Get
			Return Me._ORIGINALTIME
		End Get
		Set
			If ((Me._ORIGINALTIME = value)  _
						= false) Then
				Me.OnORIGINALTIMEChanging(value)
				Me.SendPropertyChanging
				Me._ORIGINALTIME = value
				Me.SendPropertyChanged("ORIGINALTIME")
				Me.OnORIGINALTIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISTIMELESS", DbType:="Bit NOT NULL")>  _
	Public Property ISTIMELESS() As Boolean
		Get
			Return Me._ISTIMELESS
		End Get
		Set
			If ((Me._ISTIMELESS = value)  _
						= false) Then
				Me.OnISTIMELESSChanging(value)
				Me.SendPropertyChanging
				Me._ISTIMELESS = value
				Me.SendPropertyChanged("ISTIMELESS")
				Me.OnISTIMELESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCATION", DbType:="NVarChar(128)")>  _
	Public Property LOCATION() As String
		Get
			Return Me._LOCATION
		End Get
		Set
			If (String.Equals(Me._LOCATION, value) = false) Then
				Me.OnLOCATIONChanging(value)
				Me.SendPropertyChanging
				Me._LOCATION = value
				Me.SendPropertyChanged("LOCATION")
				Me.OnLOCATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="TinyInt NOT NULL")>  _
	Public Property ISPRIVATE() As Byte
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ORGANIZEUSERID() As System.Guid
		Get
			Return Me._ORGANIZEUSERID
		End Get
		Set
			If ((Me._ORGANIZEUSERID = value)  _
						= false) Then
				If Me._ORGANIZEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnORGANIZEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._ORGANIZEUSERID = value
				Me.SendPropertyChanged("ORGANIZEUSERID")
				Me.OnORGANIZEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me.OnDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._DETAILS = value
				Me.SendPropertyChanged("DETAILS")
				Me.OnDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MASTERACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MASTERACTIVITYID() As System.Guid
		Get
			Return Me._MASTERACTIVITYID
		End Get
		Set
			If ((Me._MASTERACTIVITYID = value)  _
						= false) Then
				If Me._MASTERACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMASTERACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._MASTERACTIVITYID = value
				Me.SendPropertyChanged("MASTERACTIVITYID")
				Me.OnMASTERACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTACTIVITYID
		End Get
		Set
			If (Me._PARENTACTIVITYID.Equals(value) = false) Then
				If Me._PARENTACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPARENTACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._PARENTACTIVITYID = value
				Me.SendPropertyChanged("PARENTACTIVITYID")
				Me.OnPARENTACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURSOURCEACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property RECURSOURCEACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._RECURSOURCEACTIVITYID
		End Get
		Set
			If (Me._RECURSOURCEACTIVITYID.Equals(value) = false) Then
				If Me._RECURSOURCEACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnRECURSOURCEACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._RECURSOURCEACTIVITYID = value
				Me.SendPropertyChanged("RECURSOURCEACTIVITYID")
				Me.OnRECURSOURCEACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISEVENT", DbType:="Bit NOT NULL")>  _
	Public Property ISEVENT() As Boolean
		Get
			Return Me._ISEVENT
		End Get
		Set
			If ((Me._ISEVENT = value)  _
						= false) Then
				Me.OnISEVENTChanging(value)
				Me.SendPropertyChanging
				Me._ISEVENT = value
				Me.SendPropertyChanged("ISEVENT")
				Me.OnISEVENTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SOURCENUM() As Byte
		Get
			Return Me._SOURCENUM
		End Get
		Set
			If ((Me._SOURCENUM = value)  _
						= false) Then
				Me.OnSOURCENUMChanging(value)
				Me.SendPropertyChanging
				Me._SOURCENUM = value
				Me.SendPropertyChanged("SOURCENUM")
				Me.OnSOURCENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTERNALID", DbType:="VarChar(1024)")>  _
	Public Property EXTERNALID() As String
		Get
			Return Me._EXTERNALID
		End Get
		Set
			If (String.Equals(Me._EXTERNALID, value) = false) Then
				Me.OnEXTERNALIDChanging(value)
				Me.SendPropertyChanging
				Me._EXTERNALID = value
				Me.SendPropertyChanged("EXTERNALID")
				Me.OnEXTERNALIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURPERIOD", DbType:="TinyInt NOT NULL")>  _
	Public Property RECURPERIOD() As Byte
		Get
			Return Me._RECURPERIOD
		End Get
		Set
			If ((Me._RECURPERIOD = value)  _
						= false) Then
				Me.OnRECURPERIODChanging(value)
				Me.SendPropertyChanging
				Me._RECURPERIOD = value
				Me.SendPropertyChanged("RECURPERIOD")
				Me.OnRECURPERIODChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURFREQ", DbType:="TinyInt")>  _
	Public Property RECURFREQ() As System.Nullable(Of Byte)
		Get
			Return Me._RECURFREQ
		End Get
		Set
			If (Me._RECURFREQ.Equals(value) = false) Then
				Me.OnRECURFREQChanging(value)
				Me.SendPropertyChanging
				Me._RECURFREQ = value
				Me.SendPropertyChanged("RECURFREQ")
				Me.OnRECURFREQChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURMODIFIER", DbType:="TinyInt")>  _
	Public Property RECURMODIFIER() As System.Nullable(Of Byte)
		Get
			Return Me._RECURMODIFIER
		End Get
		Set
			If (Me._RECURMODIFIER.Equals(value) = false) Then
				Me.OnRECURMODIFIERChanging(value)
				Me.SendPropertyChanging
				Me._RECURMODIFIER = value
				Me.SendPropertyChanged("RECURMODIFIER")
				Me.OnRECURMODIFIERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURDAY", DbType:="TinyInt")>  _
	Public Property RECURDAY() As System.Nullable(Of Byte)
		Get
			Return Me._RECURDAY
		End Get
		Set
			If (Me._RECURDAY.Equals(value) = false) Then
				Me.OnRECURDAYChanging(value)
				Me.SendPropertyChanging
				Me._RECURDAY = value
				Me.SendPropertyChanged("RECURDAY")
				Me.OnRECURDAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURDAYTYPE", DbType:="TinyInt")>  _
	Public Property RECURDAYTYPE() As System.Nullable(Of Byte)
		Get
			Return Me._RECURDAYTYPE
		End Get
		Set
			If (Me._RECURDAYTYPE.Equals(value) = false) Then
				Me.OnRECURDAYTYPEChanging(value)
				Me.SendPropertyChanging
				Me._RECURDAYTYPE = value
				Me.SendPropertyChanged("RECURDAYTYPE")
				Me.OnRECURDAYTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURMONTH", DbType:="TinyInt")>  _
	Public Property RECURMONTH() As System.Nullable(Of Byte)
		Get
			Return Me._RECURMONTH
		End Get
		Set
			If (Me._RECURMONTH.Equals(value) = false) Then
				Me.OnRECURMONTHChanging(value)
				Me.SendPropertyChanging
				Me._RECURMONTH = value
				Me.SendPropertyChanged("RECURMONTH")
				Me.OnRECURMONTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURENDDATE", DbType:="DateTime NOT NULL")>  _
	Public Property RECURENDDATE() As Date
		Get
			Return Me._RECURENDDATE
		End Get
		Set
			If ((Me._RECURENDDATE = value)  _
						= false) Then
				Me.OnRECURENDDATEChanging(value)
				Me.SendPropertyChanging
				Me._RECURENDDATE = value
				Me.SendPropertyChanged("RECURENDDATE")
				Me.OnRECURENDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISRECURENDLESS", DbType:="Bit NOT NULL")>  _
	Public Property ISRECURENDLESS() As Boolean
		Get
			Return Me._ISRECURENDLESS
		End Get
		Set
			If ((Me._ISRECURENDLESS = value)  _
						= false) Then
				Me.OnISRECURENDLESSChanging(value)
				Me.SendPropertyChanging
				Me._ISRECURENDLESS = value
				Me.SendPropertyChanged("ISRECURENDLESS")
				Me.OnISRECURENDLESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDELETED", DbType:="Bit NOT NULL")>  _
	Public Property ISDELETED() As Boolean
		Get
			Return Me._ISDELETED
		End Get
		Set
			If ((Me._ISDELETED = value)  _
						= false) Then
				Me.OnISDELETEDChanging(value)
				Me.SendPropertyChanging
				Me._ISDELETED = value
				Me.SendPropertyChanged("ISDELETED")
				Me.OnISDELETEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETED_DATES", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DELETED_DATES() As String
		Get
			Return Me._DELETED_DATES
		End Get
		Set
			If (String.Equals(Me._DELETED_DATES, value) = false) Then
				Me.OnDELETED_DATESChanging(value)
				Me.SendPropertyChanging
				Me._DELETED_DATES = value
				Me.SendPropertyChanged("DELETED_DATES")
				Me.OnDELETED_DATESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_BIAS", DbType:="SmallInt NOT NULL")>  _
	Public Property TZ_BIAS() As Short
		Get
			Return Me._TZ_BIAS
		End Get
		Set
			If ((Me._TZ_BIAS = value)  _
						= false) Then
				Me.OnTZ_BIASChanging(value)
				Me.SendPropertyChanging
				Me._TZ_BIAS = value
				Me.SendPropertyChanged("TZ_BIAS")
				Me.OnTZ_BIASChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_BIAS", DbType:="SmallInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_BIAS() As Short
		Get
			Return Me._TZ_DAYLIGHT_BIAS
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_BIAS = value)  _
						= false) Then
				Me.OnTZ_DAYLIGHT_BIASChanging(value)
				Me.SendPropertyChanging
				Me._TZ_DAYLIGHT_BIAS = value
				Me.SendPropertyChanged("TZ_DAYLIGHT_BIAS")
				Me.OnTZ_DAYLIGHT_BIASChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_BIAS", DbType:="SmallInt NOT NULL")>  _
	Public Property TZ_STANDARD_BIAS() As Short
		Get
			Return Me._TZ_STANDARD_BIAS
		End Get
		Set
			If ((Me._TZ_STANDARD_BIAS = value)  _
						= false) Then
				Me.OnTZ_STANDARD_BIASChanging(value)
				Me.SendPropertyChanging
				Me._TZ_STANDARD_BIAS = value
				Me.SendPropertyChanged("TZ_STANDARD_BIAS")
				Me.OnTZ_STANDARD_BIASChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_MONTH", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_MONTH() As Byte
		Get
			Return Me._TZ_DAYLIGHT_MONTH
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_MONTH = value)  _
						= false) Then
				Me.OnTZ_DAYLIGHT_MONTHChanging(value)
				Me.SendPropertyChanging
				Me._TZ_DAYLIGHT_MONTH = value
				Me.SendPropertyChanged("TZ_DAYLIGHT_MONTH")
				Me.OnTZ_DAYLIGHT_MONTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_DOW", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_DOW() As Byte
		Get
			Return Me._TZ_DAYLIGHT_DOW
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_DOW = value)  _
						= false) Then
				Me.OnTZ_DAYLIGHT_DOWChanging(value)
				Me.SendPropertyChanging
				Me._TZ_DAYLIGHT_DOW = value
				Me.SendPropertyChanged("TZ_DAYLIGHT_DOW")
				Me.OnTZ_DAYLIGHT_DOWChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_DAY", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_DAY() As Byte
		Get
			Return Me._TZ_DAYLIGHT_DAY
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_DAY = value)  _
						= false) Then
				Me.OnTZ_DAYLIGHT_DAYChanging(value)
				Me.SendPropertyChanging
				Me._TZ_DAYLIGHT_DAY = value
				Me.SendPropertyChanged("TZ_DAYLIGHT_DAY")
				Me.OnTZ_DAYLIGHT_DAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_HOUR", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_HOUR() As Byte
		Get
			Return Me._TZ_DAYLIGHT_HOUR
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_HOUR = value)  _
						= false) Then
				Me.OnTZ_DAYLIGHT_HOURChanging(value)
				Me.SendPropertyChanging
				Me._TZ_DAYLIGHT_HOUR = value
				Me.SendPropertyChanged("TZ_DAYLIGHT_HOUR")
				Me.OnTZ_DAYLIGHT_HOURChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_MINUTE", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_DAYLIGHT_MINUTE() As Byte
		Get
			Return Me._TZ_DAYLIGHT_MINUTE
		End Get
		Set
			If ((Me._TZ_DAYLIGHT_MINUTE = value)  _
						= false) Then
				Me.OnTZ_DAYLIGHT_MINUTEChanging(value)
				Me.SendPropertyChanging
				Me._TZ_DAYLIGHT_MINUTE = value
				Me.SendPropertyChanged("TZ_DAYLIGHT_MINUTE")
				Me.OnTZ_DAYLIGHT_MINUTEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_MONTH", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_STANDARD_MONTH() As Byte
		Get
			Return Me._TZ_STANDARD_MONTH
		End Get
		Set
			If ((Me._TZ_STANDARD_MONTH = value)  _
						= false) Then
				Me.OnTZ_STANDARD_MONTHChanging(value)
				Me.SendPropertyChanging
				Me._TZ_STANDARD_MONTH = value
				Me.SendPropertyChanged("TZ_STANDARD_MONTH")
				Me.OnTZ_STANDARD_MONTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_DOW", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_STANDARD_DOW() As Byte
		Get
			Return Me._TZ_STANDARD_DOW
		End Get
		Set
			If ((Me._TZ_STANDARD_DOW = value)  _
						= false) Then
				Me.OnTZ_STANDARD_DOWChanging(value)
				Me.SendPropertyChanging
				Me._TZ_STANDARD_DOW = value
				Me.SendPropertyChanged("TZ_STANDARD_DOW")
				Me.OnTZ_STANDARD_DOWChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_DAY", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_STANDARD_DAY() As Byte
		Get
			Return Me._TZ_STANDARD_DAY
		End Get
		Set
			If ((Me._TZ_STANDARD_DAY = value)  _
						= false) Then
				Me.OnTZ_STANDARD_DAYChanging(value)
				Me.SendPropertyChanging
				Me._TZ_STANDARD_DAY = value
				Me.SendPropertyChanged("TZ_STANDARD_DAY")
				Me.OnTZ_STANDARD_DAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_HOUR", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_STANDARD_HOUR() As Byte
		Get
			Return Me._TZ_STANDARD_HOUR
		End Get
		Set
			If ((Me._TZ_STANDARD_HOUR = value)  _
						= false) Then
				Me.OnTZ_STANDARD_HOURChanging(value)
				Me.SendPropertyChanging
				Me._TZ_STANDARD_HOUR = value
				Me.SendPropertyChanged("TZ_STANDARD_HOUR")
				Me.OnTZ_STANDARD_HOURChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_MINUTE", DbType:="TinyInt NOT NULL")>  _
	Public Property TZ_STANDARD_MINUTE() As Byte
		Get
			Return Me._TZ_STANDARD_MINUTE
		End Get
		Set
			If ((Me._TZ_STANDARD_MINUTE = value)  _
						= false) Then
				Me.OnTZ_STANDARD_MINUTEChanging(value)
				Me.SendPropertyChanging
				Me._TZ_STANDARD_MINUTE = value
				Me.SendPropertyChanged("TZ_STANDARD_MINUTE")
				Me.OnTZ_STANDARD_MINUTEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", AutoSync:=AutoSync.Always, DbType:="Int", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(datediff(minute,[STARTTIME],[ENDTIME]))")>  _
	Public Property DURATION() As System.Nullable(Of Integer)
		Get
			Return Me._DURATION
		End Get
		Set
			If (Me._DURATION.Equals(value) = false) Then
				Me.OnDURATIONChanging(value)
				Me.SendPropertyChanging
				Me._DURATION = value
				Me.SendPropertyChanged("DURATION")
				Me.OnDURATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISINVITATIONSENT", DbType:="Bit NOT NULL")>  _
	Public Property ISINVITATIONSENT() As Boolean
		Get
			Return Me._ISINVITATIONSENT
		End Get
		Set
			If ((Me._ISINVITATIONSENT = value)  _
						= false) Then
				Me.OnISINVITATIONSENTChanging(value)
				Me.SendPropertyChanging
				Me._ISINVITATIONSENT = value
				Me.SendPropertyChanged("ISINVITATIONSENT")
				Me.OnISINVITATIONSENTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WF_INSTANCEID", DbType:="UniqueIdentifier")>  _
	Public Property WF_INSTANCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WF_INSTANCEID
		End Get
		Set
			If (Me._WF_INSTANCEID.Equals(value) = false) Then
				Me.OnWF_INSTANCEIDChanging(value)
				Me.SendPropertyChanging
				Me._WF_INSTANCEID = value
				Me.SendPropertyChanged("WF_INSTANCEID")
				Me.OnWF_INSTANCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WF_CONTEXTID", DbType:="UniqueIdentifier")>  _
	Public Property WF_CONTEXTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WF_CONTEXTID
		End Get
		Set
			If (Me._WF_CONTEXTID.Equals(value) = false) Then
				Me.OnWF_CONTEXTIDChanging(value)
				Me.SendPropertyChanging
				Me._WF_CONTEXTID = value
				Me.SendPropertyChanged("WF_CONTEXTID")
				Me.OnWF_CONTEXTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACCESSOR_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_ACTIVITY() As EntitySet(Of TBL_ACCESSOR_ACTIVITY)
		Get
			Return Me._TBL_ACCESSOR_ACTIVITY
		End Get
		Set
			Me._TBL_ACCESSOR_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ABL_ACTIVITY_ACTIVITYID_FK", Storage:="_CTL_ACTIVITY_ABL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ACTIVITY_ABL_ACTIVITY() As EntitySet(Of CTL_ACTIVITY_ABL_ACTIVITY)
		Get
			Return Me._CTL_ACTIVITY_ABL_ACTIVITY
		End Get
		Set
			Me._CTL_ACTIVITY_ABL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ACTIVITYSERIESAPPLIEDID_FK", Storage:="_TBL_ACTIVITYSERIESAPPLIED", ThisKey:="ACTIVITYSERIESAPPLIEDID", OtherKey:="ACTIVITYSERIESAPPLIEDID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYSERIESAPPLIED() As TBL_ACTIVITYSERIESAPPLIED
		Get
			Return Me._TBL_ACTIVITYSERIESAPPLIED.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYSERIESAPPLIED = Me._TBL_ACTIVITYSERIESAPPLIED.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYSERIESAPPLIED.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYSERIESAPPLIED.Entity = Nothing
					previousValue.TBL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITYSERIESAPPLIED.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITY.Add(Me)
					Me._ACTIVITYSERIESAPPLIEDID = value.ACTIVITYSERIESAPPLIEDID
				Else
					Me._ACTIVITYSERIESAPPLIEDID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYSERIESAPPLIED")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ACTIVITYTYPEID_FK", Storage:="_TBL_ACTIVITYTYPE", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYTYPE() As TBL_ACTIVITYTYPE
		Get
			Return Me._TBL_ACTIVITYTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYTYPE = Me._TBL_ACTIVITYTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYTYPE.Entity = Nothing
					previousValue.TBL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITYTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITY.Add(Me)
					Me._ACTIVITYTYPEID = value.ACTIVITYTYPEID
				Else
					Me._ACTIVITYTYPEID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITY.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.ACTIVITY_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACTIVITY_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_MASTERACTIVITYID_FK", Storage:="_MASTERACTIVITY", ThisKey:="MASTERACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true)>  _
	Public Property MASTERACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._MASTERACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._MASTERACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MASTERACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MASTERACTIVITY.Entity = Nothing
					previousValue.ACTIVITY.Remove(Me)
				End If
				Me._MASTERACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACTIVITY.Add(Me)
					Me._MASTERACTIVITYID = value.ACTIVITYID
				Else
					Me._MASTERACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MASTERACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_MASTERACTIVITYID_FK", Storage:="_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="MASTERACTIVITYID", DeleteRule:="NO ACTION")>  _
	Public Property ACTIVITY() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._ACTIVITY
		End Get
		Set
			Me._ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ORGANIZEUSERID_FK", Storage:="_ORGANIZEUSER", ThisKey:="ORGANIZEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property ORGANIZEUSER() As TBL_ACCESSOR
		Get
			Return Me._ORGANIZEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._ORGANIZEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._ORGANIZEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._ORGANIZEUSER.Entity = Nothing
					previousValue.ACTIVITY_ORGANIZEUSERID_FK.Remove(Me)
				End If
				Me._ORGANIZEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACTIVITY_ORGANIZEUSERID_FK.Add(Me)
					Me._ORGANIZEUSERID = value.ACCESSORID
				Else
					Me._ORGANIZEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("ORGANIZEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_PARENTACTIVITYID_FK", Storage:="_PARENTACTIVITY", ThisKey:="PARENTACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true)>  _
	Public Property PARENTACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._PARENTACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._PARENTACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._PARENTACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._PARENTACTIVITY.Entity = Nothing
					previousValue.ACTIVITY_PARENTACTIVITYID_FK.Remove(Me)
				End If
				Me._PARENTACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACTIVITY_PARENTACTIVITYID_FK.Add(Me)
					Me._PARENTACTIVITYID = value.ACTIVITYID
				Else
					Me._PARENTACTIVITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("PARENTACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_ACTIVITY_PARENTACTIVITYID_FK", ThisKey:="ACTIVITYID", OtherKey:="PARENTACTIVITYID", DeleteRule:="NO ACTION")>  _
	Public Property ACTIVITY_PARENTACTIVITYID_FK() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._ACTIVITY_PARENTACTIVITYID_FK
		End Get
		Set
			Me._ACTIVITY_PARENTACTIVITYID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_RECURSOURCEACTIVITYID_FK", Storage:="_RECURSOURCEACTIVITY", ThisKey:="RECURSOURCEACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true)>  _
	Public Property RECURSOURCEACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._RECURSOURCEACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._RECURSOURCEACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._RECURSOURCEACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._RECURSOURCEACTIVITY.Entity = Nothing
					previousValue.ACTIVITY_RECURSOURCEACTIVITYID_FK.Remove(Me)
				End If
				Me._RECURSOURCEACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.ACTIVITY_RECURSOURCEACTIVITYID_FK.Add(Me)
					Me._RECURSOURCEACTIVITYID = value.ACTIVITYID
				Else
					Me._RECURSOURCEACTIVITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("RECURSOURCEACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_ACTIVITY_RECURSOURCEACTIVITYID_FK", ThisKey:="ACTIVITYID", OtherKey:="RECURSOURCEACTIVITYID", DeleteRule:="NO ACTION")>  _
	Public Property ACTIVITY_RECURSOURCEACTIVITYID_FK() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._ACTIVITY_RECURSOURCEACTIVITYID_FK
		End Get
		Set
			Me._ACTIVITY_RECURSOURCEACTIVITYID_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_ACTIVITYID_FK", Storage:="_TBL_ATTACHMENT", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ATTACHMENT() As EntitySet(Of TBL_ATTACHMENT)
		Get
			Return Me._TBL_ATTACHMENT
		End Get
		Set
			Me._TBL_ATTACHMENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_COMPANY_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_ACTIVITY() As EntitySet(Of TBL_COMPANY_ACTIVITY)
		Get
			Return Me._TBL_COMPANY_ACTIVITY
		End Get
		Set
			Me._TBL_COMPANY_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_CONTACT_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_ACTIVITY() As EntitySet(Of TBL_CONTACT_ACTIVITY)
		Get
			Return Me._TBL_CONTACT_ACTIVITY
		End Get
		Set
			Me._TBL_CONTACT_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_GROUP_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_ACTIVITY() As EntitySet(Of TBL_GROUP_ACTIVITY)
		Get
			Return Me._TBL_GROUP_ACTIVITY
		End Get
		Set
			Me._TBL_GROUP_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_OPPORTUNITY_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_ACTIVITY() As EntitySet(Of TBL_OPPORTUNITY_ACTIVITY)
		Get
			Return Me._TBL_OPPORTUNITY_ACTIVITY
		End Get
		Set
			Me._TBL_OPPORTUNITY_ACTIVITY.Assign(value)
		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
	
	Private Sub attach_TBL_ACCESSOR_ACTIVITY(ByVal entity As TBL_ACCESSOR_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_ACTIVITY(ByVal entity As TBL_ACCESSOR_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ACTIVITY_ABL_ACTIVITY(ByVal entity As CTL_ACTIVITY_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_CTL_ACTIVITY_ABL_ACTIVITY(ByVal entity As CTL_ACTIVITY_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.MASTERACTIVITY = Me
	End Sub
	
	Private Sub detach_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.MASTERACTIVITY = Nothing
	End Sub
	
	Private Sub attach_ACTIVITY_PARENTACTIVITYID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.PARENTACTIVITY = Me
	End Sub
	
	Private Sub detach_ACTIVITY_PARENTACTIVITYID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.PARENTACTIVITY = Nothing
	End Sub
	
	Private Sub attach_ACTIVITY_RECURSOURCEACTIVITYID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.RECURSOURCEACTIVITY = Me
	End Sub
	
	Private Sub detach_ACTIVITY_RECURSOURCEACTIVITYID_FK(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.RECURSOURCEACTIVITY = Nothing
	End Sub
	
	Private Sub attach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_ACTIVITY(ByVal entity As TBL_COMPANY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_ACTIVITY(ByVal entity As TBL_COMPANY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_ACTIVITY(ByVal entity As TBL_CONTACT_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_ACTIVITY(ByVal entity As TBL_CONTACT_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_ACTIVITY(ByVal entity As TBL_GROUP_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_ACTIVITY(ByVal entity As TBL_GROUP_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_ACTIVITY(ByVal entity As TBL_OPPORTUNITY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_ACTIVITY(ByVal entity As TBL_OPPORTUNITY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACTIVITYPRIORITY")>  _
Partial Public Class TBL_ACTIVITYPRIORITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYPRIORITYGUID As System.Guid
	
	Private _ACTIVITYPRIORITYID As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISACTIVE As Boolean
	
	Private _ORDINAL As Byte
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CTL_ABL_ACTIVITY As EntitySet(Of CTL_ABL_ACTIVITY)
	
	Private _TBL_ACCESSOR_ACTIVITY As EntitySet(Of TBL_ACCESSOR_ACTIVITY)
	
	Private _TBL_ACTIVITYSERIESITEM As EntitySet(Of TBL_ACTIVITYSERIESITEM)
	
    #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 OnACTIVITYPRIORITYGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYGUIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Byte)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_ACTIVITY = New EntitySet(Of CTL_ABL_ACTIVITY)(AddressOf Me.attach_CTL_ABL_ACTIVITY, AddressOf Me.detach_CTL_ABL_ACTIVITY)
		Me._TBL_ACCESSOR_ACTIVITY = New EntitySet(Of TBL_ACCESSOR_ACTIVITY)(AddressOf Me.attach_TBL_ACCESSOR_ACTIVITY, AddressOf Me.detach_TBL_ACCESSOR_ACTIVITY)
		Me._TBL_ACTIVITYSERIESITEM = New EntitySet(Of TBL_ACTIVITYSERIESITEM)(AddressOf Me.attach_TBL_ACTIVITYSERIESITEM, AddressOf Me.detach_TBL_ACTIVITYSERIESITEM)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYPRIORITYGUID() As System.Guid
		Get
			Return Me._ACTIVITYPRIORITYGUID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYGUID = value)  _
						= false) Then
				Me.OnACTIVITYPRIORITYGUIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYPRIORITYGUID = value
				Me.SendPropertyChanged("ACTIVITYPRIORITYGUID")
				Me.OnACTIVITYPRIORITYGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIVITYPRIORITYID() As Byte
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYID = value)  _
						= false) Then
				Me.OnACTIVITYPRIORITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYPRIORITYID = value
				Me.SendPropertyChanged("ACTIVITYPRIORITYID")
				Me.OnACTIVITYPRIORITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(64)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="TinyInt NOT NULL")>  _
	Public Property ORDINAL() As Byte
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_ACTIVITY_ACTIVITYPRIORITYID_FK", Storage:="_CTL_ABL_ACTIVITY", ThisKey:="ACTIVITYPRIORITYID", OtherKey:="ACTIVITYPRIORITYID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_ACTIVITY() As EntitySet(Of CTL_ABL_ACTIVITY)
		Get
			Return Me._CTL_ABL_ACTIVITY
		End Get
		Set
			Me._CTL_ABL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_ACTIVITY_ACTIVITYPRIORITYID_FK", Storage:="_TBL_ACCESSOR_ACTIVITY", ThisKey:="ACTIVITYPRIORITYID", OtherKey:="ACTIVITYPRIORITYID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACCESSOR_ACTIVITY() As EntitySet(Of TBL_ACCESSOR_ACTIVITY)
		Get
			Return Me._TBL_ACCESSOR_ACTIVITY
		End Get
		Set
			Me._TBL_ACCESSOR_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ACTIVITYPRIORITYID_FK", Storage:="_TBL_ACTIVITYSERIESITEM", ThisKey:="ACTIVITYPRIORITYID", OtherKey:="ACTIVITYPRIORITYID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITYSERIESITEM() As EntitySet(Of TBL_ACTIVITYSERIESITEM)
		Get
			Return Me._TBL_ACTIVITYSERIESITEM
		End Get
		Set
			Me._TBL_ACTIVITYSERIESITEM.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_ACTIVITY(ByVal entity As CTL_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYPRIORITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_ACTIVITY(ByVal entity As CTL_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYPRIORITY = Nothing
	End Sub
	
	Private Sub attach_TBL_ACCESSOR_ACTIVITY(ByVal entity As TBL_ACCESSOR_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYPRIORITY = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_ACTIVITY(ByVal entity As TBL_ACCESSOR_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYPRIORITY = Nothing
	End Sub
	
	Private Sub attach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYPRIORITY = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYPRIORITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACTIVITYSERIES")>  _
Partial Public Class TBL_ACTIVITYSERIES
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYSERIESID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISPRIVATE As Boolean
	
	Private _MANAGEUSERID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_ACTIVITYSERIESAPPLIED As EntitySet(Of TBL_ACTIVITYSERIESAPPLIED)
	
	Private _TBL_ACTIVITYSERIESITEM As EntitySet(Of TBL_ACTIVITYSERIESITEM)
	
    #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 OnACTIVITYSERIESIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYSERIESIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITYSERIESAPPLIED = New EntitySet(Of TBL_ACTIVITYSERIESAPPLIED)(AddressOf Me.attach_TBL_ACTIVITYSERIESAPPLIED, AddressOf Me.detach_TBL_ACTIVITYSERIESAPPLIED)
		Me._TBL_ACTIVITYSERIESITEM = New EntitySet(Of TBL_ACTIVITYSERIESITEM)(AddressOf Me.attach_TBL_ACTIVITYSERIESITEM, AddressOf Me.detach_TBL_ACTIVITYSERIESITEM)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYSERIESID() As System.Guid
		Get
			Return Me._ACTIVITYSERIESID
		End Get
		Set
			If ((Me._ACTIVITYSERIESID = value)  _
						= false) Then
				Me.OnACTIVITYSERIESIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYSERIESID = value
				Me.SendPropertyChanged("ACTIVITYSERIESID")
				Me.OnACTIVITYSERIESIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESAPPLIED_ACTIVITYSERIESID_FK", Storage:="_TBL_ACTIVITYSERIESAPPLIED", ThisKey:="ACTIVITYSERIESID", OtherKey:="ACTIVITYSERIESID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACTIVITYSERIESAPPLIED() As EntitySet(Of TBL_ACTIVITYSERIESAPPLIED)
		Get
			Return Me._TBL_ACTIVITYSERIESAPPLIED
		End Get
		Set
			Me._TBL_ACTIVITYSERIESAPPLIED.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ACTIVITYSERIESID_FK", Storage:="_TBL_ACTIVITYSERIESITEM", ThisKey:="ACTIVITYSERIESID", OtherKey:="ACTIVITYSERIESID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACTIVITYSERIESITEM() As EntitySet(Of TBL_ACTIVITYSERIESITEM)
		Get
			Return Me._TBL_ACTIVITYSERIESITEM
		End Get
		Set
			Me._TBL_ACTIVITYSERIESITEM.Assign(value)
		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
	
	Private Sub attach_TBL_ACTIVITYSERIESAPPLIED(ByVal entity As TBL_ACTIVITYSERIESAPPLIED)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYSERIES = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITYSERIESAPPLIED(ByVal entity As TBL_ACTIVITYSERIESAPPLIED)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYSERIES = Nothing
	End Sub
	
	Private Sub attach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYSERIES = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYSERIES = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACTIVITYSERIESAPPLIED")>  _
Partial Public Class TBL_ACTIVITYSERIESAPPLIED
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYSERIESAPPLIEDID As System.Guid
	
	Private _NAME As String
	
	Private _ACTIVITYSERIESID As System.Nullable(Of System.Guid)
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_ACTIVITY As EntitySet(Of TBL_ACTIVITY)
	
	Private _TBL_ACTIVITYSERIES As EntityRef(Of TBL_ACTIVITYSERIES)
	
    #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 OnACTIVITYSERIESAPPLIEDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYSERIESAPPLIEDIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnACTIVITYSERIESIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACTIVITYSERIESIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITY = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_TBL_ACTIVITY, AddressOf Me.detach_TBL_ACTIVITY)
		Me._TBL_ACTIVITYSERIES = CType(Nothing, EntityRef(Of TBL_ACTIVITYSERIES))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYSERIESAPPLIEDID() As System.Guid
		Get
			Return Me._ACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If ((Me._ACTIVITYSERIESAPPLIEDID = value)  _
						= false) Then
				Me.OnACTIVITYSERIESAPPLIEDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYSERIESAPPLIEDID = value
				Me.SendPropertyChanged("ACTIVITYSERIESAPPLIEDID")
				Me.OnACTIVITYSERIESAPPLIEDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESID
		End Get
		Set
			If (Me._ACTIVITYSERIESID.Equals(value) = false) Then
				If Me._TBL_ACTIVITYSERIES.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYSERIESIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYSERIESID = value
				Me.SendPropertyChanged("ACTIVITYSERIESID")
				Me.OnACTIVITYSERIESIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ACTIVITYSERIESAPPLIEDID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYSERIESAPPLIEDID", OtherKey:="ACTIVITYSERIESAPPLIEDID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITY() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._TBL_ACTIVITY
		End Get
		Set
			Me._TBL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESAPPLIED_ACTIVITYSERIESID_FK", Storage:="_TBL_ACTIVITYSERIES", ThisKey:="ACTIVITYSERIESID", OtherKey:="ACTIVITYSERIESID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYSERIES() As TBL_ACTIVITYSERIES
		Get
			Return Me._TBL_ACTIVITYSERIES.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYSERIES = Me._TBL_ACTIVITYSERIES.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYSERIES.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYSERIES.Entity = Nothing
					previousValue.TBL_ACTIVITYSERIESAPPLIED.Remove(Me)
				End If
				Me._TBL_ACTIVITYSERIES.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITYSERIESAPPLIED.Add(Me)
					Me._ACTIVITYSERIESID = value.ACTIVITYSERIESID
				Else
					Me._ACTIVITYSERIESID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYSERIES")
			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
	
	Private Sub attach_TBL_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYSERIESAPPLIED = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYSERIESAPPLIED = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACTIVITYSERIESITEM")>  _
Partial Public Class TBL_ACTIVITYSERIESITEM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYSERIESITEMID As System.Guid
	
	Private _ACTIVITYSERIESID As System.Guid
	
	Private _ACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _ACTIVITYPRIORITYID As Byte
	
	Private _DURATION As Integer
	
	Private _ANCHOROFFSET As Short
	
	Private _ANCHOROFFSETPERIOD As Byte
	
	Private _REGARDING As String
	
	Private _ISALARMED As Boolean
	
	Private _LEADMINUTES As System.Nullable(Of Integer)
	
	Private _ISTIMELESS As Boolean
	
	Private _ISNOWEEKENDS As Boolean
	
	Private _BANNERCOLOR As System.Nullable(Of Integer)
	
	Private _ORGANIZEUSERID As System.Nullable(Of System.Guid)
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_ACTIVITYPRIORITY As EntityRef(Of TBL_ACTIVITYPRIORITY)
	
	Private _TBL_ACTIVITYSERIES As EntityRef(Of TBL_ACTIVITYSERIES)
	
	Private _TBL_ACTIVITYTYPE As EntityRef(Of TBL_ACTIVITYTYPE)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
    #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 OnACTIVITYSERIESITEMIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYSERIESITEMIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYSERIESIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYSERIESIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanged()
    End Sub
    Partial Private Sub OnDURATIONChanging(value As Integer)
    End Sub
    Partial Private Sub OnDURATIONChanged()
    End Sub
    Partial Private Sub OnANCHOROFFSETChanging(value As Short)
    End Sub
    Partial Private Sub OnANCHOROFFSETChanged()
    End Sub
    Partial Private Sub OnANCHOROFFSETPERIODChanging(value As Byte)
    End Sub
    Partial Private Sub OnANCHOROFFSETPERIODChanged()
    End Sub
    Partial Private Sub OnREGARDINGChanging(value As String)
    End Sub
    Partial Private Sub OnREGARDINGChanged()
    End Sub
    Partial Private Sub OnISALARMEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALARMEDChanged()
    End Sub
    Partial Private Sub OnLEADMINUTESChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnLEADMINUTESChanged()
    End Sub
    Partial Private Sub OnISTIMELESSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISTIMELESSChanged()
    End Sub
    Partial Private Sub OnISNOWEEKENDSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISNOWEEKENDSChanged()
    End Sub
    Partial Private Sub OnBANNERCOLORChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnBANNERCOLORChanged()
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITYPRIORITY = CType(Nothing, EntityRef(Of TBL_ACTIVITYPRIORITY))
		Me._TBL_ACTIVITYSERIES = CType(Nothing, EntityRef(Of TBL_ACTIVITYSERIES))
		Me._TBL_ACTIVITYTYPE = CType(Nothing, EntityRef(Of TBL_ACTIVITYTYPE))
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESITEMID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYSERIESITEMID() As System.Guid
		Get
			Return Me._ACTIVITYSERIESITEMID
		End Get
		Set
			If ((Me._ACTIVITYSERIESITEMID = value)  _
						= false) Then
				Me.OnACTIVITYSERIESITEMIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYSERIESITEMID = value
				Me.SendPropertyChanged("ACTIVITYSERIESITEMID")
				Me.OnACTIVITYSERIESITEMIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTIVITYSERIESID() As System.Guid
		Get
			Return Me._ACTIVITYSERIESID
		End Get
		Set
			If ((Me._ACTIVITYSERIESID = value)  _
						= false) Then
				If Me._TBL_ACTIVITYSERIES.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYSERIESIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYSERIESID = value
				Me.SendPropertyChanged("ACTIVITYSERIESID")
				Me.OnACTIVITYSERIESIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEID.Equals(value) = false) Then
				If Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEID = value
				Me.SendPropertyChanged("ACTIVITYTYPEID")
				Me.OnACTIVITYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIVITYPRIORITYID() As Byte
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITYPRIORITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYPRIORITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYPRIORITYID = value
				Me.SendPropertyChanged("ACTIVITYPRIORITYID")
				Me.OnACTIVITYPRIORITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", DbType:="Int NOT NULL")>  _
	Public Property DURATION() As Integer
		Get
			Return Me._DURATION
		End Get
		Set
			If ((Me._DURATION = value)  _
						= false) Then
				Me.OnDURATIONChanging(value)
				Me.SendPropertyChanging
				Me._DURATION = value
				Me.SendPropertyChanged("DURATION")
				Me.OnDURATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ANCHOROFFSET", DbType:="SmallInt NOT NULL")>  _
	Public Property ANCHOROFFSET() As Short
		Get
			Return Me._ANCHOROFFSET
		End Get
		Set
			If ((Me._ANCHOROFFSET = value)  _
						= false) Then
				Me.OnANCHOROFFSETChanging(value)
				Me.SendPropertyChanging
				Me._ANCHOROFFSET = value
				Me.SendPropertyChanged("ANCHOROFFSET")
				Me.OnANCHOROFFSETChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ANCHOROFFSETPERIOD", DbType:="TinyInt NOT NULL")>  _
	Public Property ANCHOROFFSETPERIOD() As Byte
		Get
			Return Me._ANCHOROFFSETPERIOD
		End Get
		Set
			If ((Me._ANCHOROFFSETPERIOD = value)  _
						= false) Then
				Me.OnANCHOROFFSETPERIODChanging(value)
				Me.SendPropertyChanging
				Me._ANCHOROFFSETPERIOD = value
				Me.SendPropertyChanged("ANCHOROFFSETPERIOD")
				Me.OnANCHOROFFSETPERIODChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me.OnREGARDINGChanging(value)
				Me.SendPropertyChanging
				Me._REGARDING = value
				Me.SendPropertyChanged("REGARDING")
				Me.OnREGARDINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALARMED", DbType:="Bit NOT NULL")>  _
	Public Property ISALARMED() As Boolean
		Get
			Return Me._ISALARMED
		End Get
		Set
			If ((Me._ISALARMED = value)  _
						= false) Then
				Me.OnISALARMEDChanging(value)
				Me.SendPropertyChanging
				Me._ISALARMED = value
				Me.SendPropertyChanged("ISALARMED")
				Me.OnISALARMEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEADMINUTES", DbType:="Int")>  _
	Public Property LEADMINUTES() As System.Nullable(Of Integer)
		Get
			Return Me._LEADMINUTES
		End Get
		Set
			If (Me._LEADMINUTES.Equals(value) = false) Then
				Me.OnLEADMINUTESChanging(value)
				Me.SendPropertyChanging
				Me._LEADMINUTES = value
				Me.SendPropertyChanged("LEADMINUTES")
				Me.OnLEADMINUTESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISTIMELESS", DbType:="Bit NOT NULL")>  _
	Public Property ISTIMELESS() As Boolean
		Get
			Return Me._ISTIMELESS
		End Get
		Set
			If ((Me._ISTIMELESS = value)  _
						= false) Then
				Me.OnISTIMELESSChanging(value)
				Me.SendPropertyChanging
				Me._ISTIMELESS = value
				Me.SendPropertyChanged("ISTIMELESS")
				Me.OnISTIMELESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISNOWEEKENDS", DbType:="Bit NOT NULL")>  _
	Public Property ISNOWEEKENDS() As Boolean
		Get
			Return Me._ISNOWEEKENDS
		End Get
		Set
			If ((Me._ISNOWEEKENDS = value)  _
						= false) Then
				Me.OnISNOWEEKENDSChanging(value)
				Me.SendPropertyChanging
				Me._ISNOWEEKENDS = value
				Me.SendPropertyChanged("ISNOWEEKENDS")
				Me.OnISNOWEEKENDSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BANNERCOLOR", DbType:="Int")>  _
	Public Property BANNERCOLOR() As System.Nullable(Of Integer)
		Get
			Return Me._BANNERCOLOR
		End Get
		Set
			If (Me._BANNERCOLOR.Equals(value) = false) Then
				Me.OnBANNERCOLORChanging(value)
				Me.SendPropertyChanging
				Me._BANNERCOLOR = value
				Me.SendPropertyChanged("BANNERCOLOR")
				Me.OnBANNERCOLORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ORGANIZEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ORGANIZEUSERID
		End Get
		Set
			If (Me._ORGANIZEUSERID.Equals(value) = false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnORGANIZEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._ORGANIZEUSERID = value
				Me.SendPropertyChanged("ORGANIZEUSERID")
				Me.OnORGANIZEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ACTIVITYPRIORITYID_FK", Storage:="_TBL_ACTIVITYPRIORITY", ThisKey:="ACTIVITYPRIORITYID", OtherKey:="ACTIVITYPRIORITYID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYPRIORITY() As TBL_ACTIVITYPRIORITY
		Get
			Return Me._TBL_ACTIVITYPRIORITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYPRIORITY = Me._TBL_ACTIVITYPRIORITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYPRIORITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYPRIORITY.Entity = Nothing
					previousValue.TBL_ACTIVITYSERIESITEM.Remove(Me)
				End If
				Me._TBL_ACTIVITYPRIORITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITYSERIESITEM.Add(Me)
					Me._ACTIVITYPRIORITYID = value.ACTIVITYPRIORITYID
				Else
					Me._ACTIVITYPRIORITYID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYPRIORITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ACTIVITYSERIESID_FK", Storage:="_TBL_ACTIVITYSERIES", ThisKey:="ACTIVITYSERIESID", OtherKey:="ACTIVITYSERIESID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITYSERIES() As TBL_ACTIVITYSERIES
		Get
			Return Me._TBL_ACTIVITYSERIES.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYSERIES = Me._TBL_ACTIVITYSERIES.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYSERIES.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYSERIES.Entity = Nothing
					previousValue.TBL_ACTIVITYSERIESITEM.Remove(Me)
				End If
				Me._TBL_ACTIVITYSERIES.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITYSERIESITEM.Add(Me)
					Me._ACTIVITYSERIESID = value.ACTIVITYSERIESID
				Else
					Me._ACTIVITYSERIESID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYSERIES")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ACTIVITYTYPEID_FK", Storage:="_TBL_ACTIVITYTYPE", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYTYPE() As TBL_ACTIVITYTYPE
		Get
			Return Me._TBL_ACTIVITYTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYTYPE = Me._TBL_ACTIVITYTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYTYPE.Entity = Nothing
					previousValue.TBL_ACTIVITYSERIESITEM.Remove(Me)
				End If
				Me._TBL_ACTIVITYTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITYSERIESITEM.Add(Me)
					Me._ACTIVITYTYPEID = value.ACTIVITYTYPEID
				Else
					Me._ACTIVITYTYPEID = CType(Nothing, Nullable(Of Short))
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ORGANIZEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ORGANIZEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_ACTIVITYSERIESITEM.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITYSERIESITEM.Add(Me)
					Me._ORGANIZEUSERID = value.ACCESSORID
				Else
					Me._ORGANIZEUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ACTIVITYTYPE")>  _
Partial Public Class TBL_ACTIVITYTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYTYPEGUID As System.Guid
	
	Private _ACTIVITYTYPEID As Short
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISACTIVE As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _REGARDING_PICKLISTID As System.Guid
	
	Private _TYPEIMAGE As System.Data.Linq.Binary
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CTL_ABL_ACTIVITY As EntitySet(Of CTL_ABL_ACTIVITY)
	
	Private _TBL_ACTIVITY As EntitySet(Of TBL_ACTIVITY)
	
	Private _TBL_ACTIVITYSERIESITEM As EntitySet(Of TBL_ACTIVITYSERIESITEM)
	
	Private _TBL_PICKLIST As EntityRef(Of TBL_PICKLIST)
	
	Private _TBL_HISTORYTYPE As EntitySet(Of TBL_HISTORYTYPE)
	
    #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 OnACTIVITYTYPEGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYTYPEGUIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnREGARDING_PICKLISTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnREGARDING_PICKLISTIDChanged()
    End Sub
    Partial Private Sub OnTYPEIMAGEChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnTYPEIMAGEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_ACTIVITY = New EntitySet(Of CTL_ABL_ACTIVITY)(AddressOf Me.attach_CTL_ABL_ACTIVITY, AddressOf Me.detach_CTL_ABL_ACTIVITY)
		Me._TBL_ACTIVITY = New EntitySet(Of TBL_ACTIVITY)(AddressOf Me.attach_TBL_ACTIVITY, AddressOf Me.detach_TBL_ACTIVITY)
		Me._TBL_ACTIVITYSERIESITEM = New EntitySet(Of TBL_ACTIVITYSERIESITEM)(AddressOf Me.attach_TBL_ACTIVITYSERIESITEM, AddressOf Me.detach_TBL_ACTIVITYSERIESITEM)
		Me._TBL_PICKLIST = CType(Nothing, EntityRef(Of TBL_PICKLIST))
		Me._TBL_HISTORYTYPE = New EntitySet(Of TBL_HISTORYTYPE)(AddressOf Me.attach_TBL_HISTORYTYPE, AddressOf Me.detach_TBL_HISTORYTYPE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYTYPEGUID() As System.Guid
		Get
			Return Me._ACTIVITYTYPEGUID
		End Get
		Set
			If ((Me._ACTIVITYTYPEGUID = value)  _
						= false) Then
				Me.OnACTIVITYTYPEGUIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEGUID = value
				Me.SendPropertyChanged("ACTIVITYTYPEGUID")
				Me.OnACTIVITYTYPEGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property ACTIVITYTYPEID() As Short
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If ((Me._ACTIVITYTYPEID = value)  _
						= false) Then
				Me.OnACTIVITYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEID = value
				Me.SendPropertyChanged("ACTIVITYTYPEID")
				Me.OnACTIVITYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property REGARDING_PICKLISTID() As System.Guid
		Get
			Return Me._REGARDING_PICKLISTID
		End Get
		Set
			If ((Me._REGARDING_PICKLISTID = value)  _
						= false) Then
				If Me._TBL_PICKLIST.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnREGARDING_PICKLISTIDChanging(value)
				Me.SendPropertyChanging
				Me._REGARDING_PICKLISTID = value
				Me.SendPropertyChanged("REGARDING_PICKLISTID")
				Me.OnREGARDING_PICKLISTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEIMAGE", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property TYPEIMAGE() As System.Data.Linq.Binary
		Get
			Return Me._TYPEIMAGE
		End Get
		Set
			If (Object.Equals(Me._TYPEIMAGE, value) = false) Then
				Me.OnTYPEIMAGEChanging(value)
				Me.SendPropertyChanging
				Me._TYPEIMAGE = value
				Me.SendPropertyChanged("TYPEIMAGE")
				Me.OnTYPEIMAGEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_ACTIVITY_ACTIVITYTYPEID_FK", Storage:="_CTL_ABL_ACTIVITY", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_ACTIVITY() As EntitySet(Of CTL_ABL_ACTIVITY)
		Get
			Return Me._CTL_ABL_ACTIVITY
		End Get
		Set
			Me._CTL_ABL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITY_ACTIVITYTYPEID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITY() As EntitySet(Of TBL_ACTIVITY)
		Get
			Return Me._TBL_ACTIVITY
		End Get
		Set
			Me._TBL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYSERIESITEM_ACTIVITYTYPEID_FK", Storage:="_TBL_ACTIVITYSERIESITEM", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITYSERIESITEM() As EntitySet(Of TBL_ACTIVITYSERIESITEM)
		Get
			Return Me._TBL_ACTIVITYSERIESITEM
		End Get
		Set
			Me._TBL_ACTIVITYSERIESITEM.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYTYPE_REGARDING_PICKLISTID_FK", Storage:="_TBL_PICKLIST", ThisKey:="REGARDING_PICKLISTID", OtherKey:="PICKLISTID", IsForeignKey:=true)>  _
	Public Property TBL_PICKLIST() As TBL_PICKLIST
		Get
			Return Me._TBL_PICKLIST.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLIST = Me._TBL_PICKLIST.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLIST.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLIST.Entity = Nothing
					previousValue.TBL_ACTIVITYTYPE.Remove(Me)
				End If
				Me._TBL_PICKLIST.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ACTIVITYTYPE.Add(Me)
					Me._REGARDING_PICKLISTID = value.PICKLISTID
				Else
					Me._REGARDING_PICKLISTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLIST")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORYTYPE_ACTIVITYTYPEID_FK", Storage:="_TBL_HISTORYTYPE", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_HISTORYTYPE() As EntitySet(Of TBL_HISTORYTYPE)
		Get
			Return Me._TBL_HISTORYTYPE
		End Get
		Set
			Me._TBL_HISTORYTYPE.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_ACTIVITY(ByVal entity As CTL_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Me
	End Sub
	
	Private Sub detach_CTL_ABL_ACTIVITY(ByVal entity As CTL_ABL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Nothing
	End Sub
	
	Private Sub attach_TBL_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITY(ByVal entity As TBL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Nothing
	End Sub
	
	Private Sub attach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITYSERIESITEM(ByVal entity As TBL_ACTIVITYSERIESITEM)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Nothing
	End Sub
	
	Private Sub attach_TBL_HISTORYTYPE(ByVal entity As TBL_HISTORYTYPE)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Me
	End Sub
	
	Private Sub detach_TBL_HISTORYTYPE(ByVal entity As TBL_HISTORYTYPE)
		Me.SendPropertyChanging
		entity.TBL_ACTIVITYTYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ADDRESS")>  _
Partial Public Class TBL_ADDRESS
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ADDRESSID As System.Guid
	
	Private _TYPEID As System.Guid
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _LINE1 As String
	
	Private _LINE2 As String
	
	Private _LINE3 As String
	
	Private _CITY As String
	
	Private _STATE As String
	
	Private _POSTALCODE As String
	
	Private _COUNTRYNAME As String
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
	Private _TBL_PICKLISTITEM As EntityRef(Of TBL_PICKLISTITEM)
	
    #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 OnADDRESSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnADDRESSIDChanged()
    End Sub
    Partial Private Sub OnTYPEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTYPEIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnGROUPIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnLINE1Changing(value As String)
    End Sub
    Partial Private Sub OnLINE1Changed()
    End Sub
    Partial Private Sub OnLINE2Changing(value As String)
    End Sub
    Partial Private Sub OnLINE2Changed()
    End Sub
    Partial Private Sub OnLINE3Changing(value As String)
    End Sub
    Partial Private Sub OnLINE3Changed()
    End Sub
    Partial Private Sub OnCITYChanging(value As String)
    End Sub
    Partial Private Sub OnCITYChanged()
    End Sub
    Partial Private Sub OnSTATEChanging(value As String)
    End Sub
    Partial Private Sub OnSTATEChanged()
    End Sub
    Partial Private Sub OnPOSTALCODEChanging(value As String)
    End Sub
    Partial Private Sub OnPOSTALCODEChanged()
    End Sub
    Partial Private Sub OnCOUNTRYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOUNTRYNAMEChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		Me._TBL_PICKLISTITEM = CType(Nothing, EntityRef(Of TBL_PICKLISTITEM))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESSID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ADDRESSID() As System.Guid
		Get
			Return Me._ADDRESSID
		End Get
		Set
			If ((Me._ADDRESSID = value)  _
						= false) Then
				Me.OnADDRESSIDChanging(value)
				Me.SendPropertyChanging
				Me._ADDRESSID = value
				Me.SendPropertyChanged("ADDRESSID")
				Me.OnADDRESSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TYPEID() As System.Guid
		Get
			Return Me._TYPEID
		End Get
		Set
			If ((Me._TYPEID = value)  _
						= false) Then
				If Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._TYPEID = value
				Me.SendPropertyChanged("TYPEID")
				Me.OnTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINE1", DbType:="NVarChar(256)")>  _
	Public Property LINE1() As String
		Get
			Return Me._LINE1
		End Get
		Set
			If (String.Equals(Me._LINE1, value) = false) Then
				Me.OnLINE1Changing(value)
				Me.SendPropertyChanging
				Me._LINE1 = value
				Me.SendPropertyChanged("LINE1")
				Me.OnLINE1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINE2", DbType:="NVarChar(256)")>  _
	Public Property LINE2() As String
		Get
			Return Me._LINE2
		End Get
		Set
			If (String.Equals(Me._LINE2, value) = false) Then
				Me.OnLINE2Changing(value)
				Me.SendPropertyChanging
				Me._LINE2 = value
				Me.SendPropertyChanged("LINE2")
				Me.OnLINE2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINE3", DbType:="NVarChar(256)")>  _
	Public Property LINE3() As String
		Get
			Return Me._LINE3
		End Get
		Set
			If (String.Equals(Me._LINE3, value) = false) Then
				Me.OnLINE3Changing(value)
				Me.SendPropertyChanging
				Me._LINE3 = value
				Me.SendPropertyChanged("LINE3")
				Me.OnLINE3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me.OnCITYChanging(value)
				Me.SendPropertyChanging
				Me._CITY = value
				Me.SendPropertyChanged("CITY")
				Me.OnCITYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me.OnSTATEChanging(value)
				Me.SendPropertyChanging
				Me._STATE = value
				Me.SendPropertyChanged("STATE")
				Me.OnSTATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_POSTALCODE", DbType:="NVarChar(256)")>  _
	Public Property POSTALCODE() As String
		Get
			Return Me._POSTALCODE
		End Get
		Set
			If (String.Equals(Me._POSTALCODE, value) = false) Then
				Me.OnPOSTALCODEChanging(value)
				Me.SendPropertyChanging
				Me._POSTALCODE = value
				Me.SendPropertyChanged("POSTALCODE")
				Me.OnPOSTALCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRYNAME", DbType:="NVarChar(256)")>  _
	Public Property COUNTRYNAME() As String
		Get
			Return Me._COUNTRYNAME
		End Get
		Set
			If (String.Equals(Me._COUNTRYNAME, value) = false) Then
				Me.OnCOUNTRYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COUNTRYNAME = value
				Me.SendPropertyChanged("COUNTRYNAME")
				Me.OnCOUNTRYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_ADDRESS.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ADDRESS.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_ADDRESS.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ADDRESS.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_ADDRESS.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ADDRESS.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_ADDRESS.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ADDRESS.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_TYPEID_FK", Storage:="_TBL_PICKLISTITEM", ThisKey:="TYPEID", OtherKey:="PICKLISTITEMID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PICKLISTITEM() As TBL_PICKLISTITEM
		Get
			Return Me._TBL_PICKLISTITEM.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLISTITEM = Me._TBL_PICKLISTITEM.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLISTITEM.Entity = Nothing
					previousValue.TBL_ADDRESS.Remove(Me)
				End If
				Me._TBL_PICKLISTITEM.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ADDRESS.Add(Me)
					Me._TYPEID = value.PICKLISTITEMID
				Else
					Me._TYPEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLISTITEM")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_ACTIVITY")>  _
Partial Public Class TBL_AL_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _AL_ACTIVITYID As System.Guid
	
	Private _LINKDRIVERCLSID As System.Guid
	
	Private _ISSELECTED As Boolean
	
	Private _QUERYVALUE As String
	
	Private _DRIVERACTIVITYTYPE As Integer
	
	Private _ACTIVITYTYPEID As Short
	
	Private _REGARDING As String
	
	Private _ACTIVITYPRIORITYID As Byte
	
	Private _ISALARMED As Boolean
	
	Private _ALARMLEADMINUTES As Integer
	
	Private _LAGDAYS As Integer
	
	Private _ORGANIZEUSERID As System.Guid
	
	Private _BANNERCOLOR As System.Nullable(Of Integer)
	
	Private _TBL_AL_DRIVERCONFIG As EntityRef(Of TBL_AL_DRIVERCONFIG)
	
	Private _TBL_AL_SCHEDULEDFOR As EntitySet(Of TBL_AL_SCHEDULEDFOR)
	
    #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 OnAL_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnAL_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanged()
    End Sub
    Partial Private Sub OnISSELECTEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSELECTEDChanged()
    End Sub
    Partial Private Sub OnQUERYVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnQUERYVALUEChanged()
    End Sub
    Partial Private Sub OnDRIVERACTIVITYTYPEChanging(value As Integer)
    End Sub
    Partial Private Sub OnDRIVERACTIVITYTYPEChanged()
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanged()
    End Sub
    Partial Private Sub OnREGARDINGChanging(value As String)
    End Sub
    Partial Private Sub OnREGARDINGChanged()
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnACTIVITYPRIORITYIDChanged()
    End Sub
    Partial Private Sub OnISALARMEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALARMEDChanged()
    End Sub
    Partial Private Sub OnALARMLEADMINUTESChanging(value As Integer)
    End Sub
    Partial Private Sub OnALARMLEADMINUTESChanged()
    End Sub
    Partial Private Sub OnLAGDAYSChanging(value As Integer)
    End Sub
    Partial Private Sub OnLAGDAYSChanged()
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnORGANIZEUSERIDChanged()
    End Sub
    Partial Private Sub OnBANNERCOLORChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnBANNERCOLORChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_AL_DRIVERCONFIG = CType(Nothing, EntityRef(Of TBL_AL_DRIVERCONFIG))
		Me._TBL_AL_SCHEDULEDFOR = New EntitySet(Of TBL_AL_SCHEDULEDFOR)(AddressOf Me.attach_TBL_AL_SCHEDULEDFOR, AddressOf Me.detach_TBL_AL_SCHEDULEDFOR)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AL_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property AL_ACTIVITYID() As System.Guid
		Get
			Return Me._AL_ACTIVITYID
		End Get
		Set
			If ((Me._AL_ACTIVITYID = value)  _
						= false) Then
				Me.OnAL_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._AL_ACTIVITYID = value
				Me.SendPropertyChanged("AL_ACTIVITYID")
				Me.OnAL_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKDRIVERCLSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LINKDRIVERCLSID() As System.Guid
		Get
			Return Me._LINKDRIVERCLSID
		End Get
		Set
			If ((Me._LINKDRIVERCLSID = value)  _
						= false) Then
				If Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKDRIVERCLSIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKDRIVERCLSID = value
				Me.SendPropertyChanged("LINKDRIVERCLSID")
				Me.OnLINKDRIVERCLSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSELECTED", DbType:="Bit NOT NULL")>  _
	Public Property ISSELECTED() As Boolean
		Get
			Return Me._ISSELECTED
		End Get
		Set
			If ((Me._ISSELECTED = value)  _
						= false) Then
				Me.OnISSELECTEDChanging(value)
				Me.SendPropertyChanging
				Me._ISSELECTED = value
				Me.SendPropertyChanged("ISSELECTED")
				Me.OnISSELECTEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVALUE", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property QUERYVALUE() As String
		Get
			Return Me._QUERYVALUE
		End Get
		Set
			If (String.Equals(Me._QUERYVALUE, value) = false) Then
				Me.OnQUERYVALUEChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVALUE = value
				Me.SendPropertyChanged("QUERYVALUE")
				Me.OnQUERYVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DRIVERACTIVITYTYPE", DbType:="Int NOT NULL")>  _
	Public Property DRIVERACTIVITYTYPE() As Integer
		Get
			Return Me._DRIVERACTIVITYTYPE
		End Get
		Set
			If ((Me._DRIVERACTIVITYTYPE = value)  _
						= false) Then
				Me.OnDRIVERACTIVITYTYPEChanging(value)
				Me.SendPropertyChanging
				Me._DRIVERACTIVITYTYPE = value
				Me.SendPropertyChanged("DRIVERACTIVITYTYPE")
				Me.OnDRIVERACTIVITYTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property ACTIVITYTYPEID() As Short
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If ((Me._ACTIVITYTYPEID = value)  _
						= false) Then
				Me.OnACTIVITYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEID = value
				Me.SendPropertyChanged("ACTIVITYTYPEID")
				Me.OnACTIVITYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me.OnREGARDINGChanging(value)
				Me.SendPropertyChanging
				Me._REGARDING = value
				Me.SendPropertyChanged("REGARDING")
				Me.OnREGARDINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIVITYPRIORITYID() As Byte
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If ((Me._ACTIVITYPRIORITYID = value)  _
						= false) Then
				Me.OnACTIVITYPRIORITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYPRIORITYID = value
				Me.SendPropertyChanged("ACTIVITYPRIORITYID")
				Me.OnACTIVITYPRIORITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALARMED", DbType:="Bit NOT NULL")>  _
	Public Property ISALARMED() As Boolean
		Get
			Return Me._ISALARMED
		End Get
		Set
			If ((Me._ISALARMED = value)  _
						= false) Then
				Me.OnISALARMEDChanging(value)
				Me.SendPropertyChanging
				Me._ISALARMED = value
				Me.SendPropertyChanged("ISALARMED")
				Me.OnISALARMEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMLEADMINUTES", DbType:="Int NOT NULL")>  _
	Public Property ALARMLEADMINUTES() As Integer
		Get
			Return Me._ALARMLEADMINUTES
		End Get
		Set
			If ((Me._ALARMLEADMINUTES = value)  _
						= false) Then
				Me.OnALARMLEADMINUTESChanging(value)
				Me.SendPropertyChanging
				Me._ALARMLEADMINUTES = value
				Me.SendPropertyChanged("ALARMLEADMINUTES")
				Me.OnALARMLEADMINUTESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAGDAYS", DbType:="Int NOT NULL")>  _
	Public Property LAGDAYS() As Integer
		Get
			Return Me._LAGDAYS
		End Get
		Set
			If ((Me._LAGDAYS = value)  _
						= false) Then
				Me.OnLAGDAYSChanging(value)
				Me.SendPropertyChanging
				Me._LAGDAYS = value
				Me.SendPropertyChanged("LAGDAYS")
				Me.OnLAGDAYSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ORGANIZEUSERID() As System.Guid
		Get
			Return Me._ORGANIZEUSERID
		End Get
		Set
			If ((Me._ORGANIZEUSERID = value)  _
						= false) Then
				Me.OnORGANIZEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._ORGANIZEUSERID = value
				Me.SendPropertyChanged("ORGANIZEUSERID")
				Me.OnORGANIZEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BANNERCOLOR", DbType:="Int")>  _
	Public Property BANNERCOLOR() As System.Nullable(Of Integer)
		Get
			Return Me._BANNERCOLOR
		End Get
		Set
			If (Me._BANNERCOLOR.Equals(value) = false) Then
				Me.OnBANNERCOLORChanging(value)
				Me.SendPropertyChanging
				Me._BANNERCOLOR = value
				Me.SendPropertyChanged("BANNERCOLOR")
				Me.OnBANNERCOLORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_ACTIVITY_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_DRIVERCONFIG", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", IsForeignKey:=true)>  _
	Public Property TBL_AL_DRIVERCONFIG() As TBL_AL_DRIVERCONFIG
		Get
			Return Me._TBL_AL_DRIVERCONFIG.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_DRIVERCONFIG = Me._TBL_AL_DRIVERCONFIG.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_DRIVERCONFIG.Entity = Nothing
					previousValue.TBL_AL_ACTIVITY.Remove(Me)
				End If
				Me._TBL_AL_DRIVERCONFIG.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_ACTIVITY.Add(Me)
					Me._LINKDRIVERCLSID = value.LINKDRIVERCLSID
				Else
					Me._LINKDRIVERCLSID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_DRIVERCONFIG")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SCHEDULEFOR_AL_ACTIVITYID_FK", Storage:="_TBL_AL_SCHEDULEDFOR", ThisKey:="AL_ACTIVITYID", OtherKey:="AL_ACTIVITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_SCHEDULEDFOR() As EntitySet(Of TBL_AL_SCHEDULEDFOR)
		Get
			Return Me._TBL_AL_SCHEDULEDFOR
		End Get
		Set
			Me._TBL_AL_SCHEDULEDFOR.Assign(value)
		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
	
	Private Sub attach_TBL_AL_SCHEDULEDFOR(ByVal entity As TBL_AL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.TBL_AL_ACTIVITY = Me
	End Sub
	
	Private Sub detach_TBL_AL_SCHEDULEDFOR(ByVal entity As TBL_AL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.TBL_AL_ACTIVITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_ACTIVITY_EXTERNALID")>  _
Partial Public Class TBL_AL_ACTIVITY_EXTERNALID
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACTIVITYID As System.Guid
	
	Private _EXTERNALID As String
	
	Private _CREATEDATE As Date
	
    #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 OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnEXTERNALIDChanging(value As String)
    End Sub
    Partial Private Sub OnEXTERNALIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTERNALID", DbType:="VarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property EXTERNALID() As String
		Get
			Return Me._EXTERNALID
		End Get
		Set
			If (String.Equals(Me._EXTERNALID, value) = false) Then
				Me.OnEXTERNALIDChanging(value)
				Me.SendPropertyChanging
				Me._EXTERNALID = value
				Me.SendPropertyChanged("EXTERNALID")
				Me.OnEXTERNALIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_DATAMAPPING")>  _
Partial Public Class TBL_AL_DATAMAPPING
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DATAMAPPINGID As System.Guid
	
	Private _LINKDRIVERCLSID As System.Guid
	
	Private _BACKOFFICETYPENUM As Byte
	
	Private _BACKOFFICEFIELD As String
	
	Private _FRONTOFFICETYPENUM As Byte
	
	Private _FRONTOFFICEFIELD As String
	
	Private _ISSYNCENABLED As Boolean
	
	Private _TBL_AL_DRIVERCONFIG As EntityRef(Of TBL_AL_DRIVERCONFIG)
	
	Private _TBL_AL_SYNCDATA As EntitySet(Of TBL_AL_SYNCDATA)
	
    #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 OnDATAMAPPINGIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnDATAMAPPINGIDChanged()
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanged()
    End Sub
    Partial Private Sub OnBACKOFFICETYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnBACKOFFICETYPENUMChanged()
    End Sub
    Partial Private Sub OnBACKOFFICEFIELDChanging(value As String)
    End Sub
    Partial Private Sub OnBACKOFFICEFIELDChanged()
    End Sub
    Partial Private Sub OnFRONTOFFICETYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnFRONTOFFICETYPENUMChanged()
    End Sub
    Partial Private Sub OnFRONTOFFICEFIELDChanging(value As String)
    End Sub
    Partial Private Sub OnFRONTOFFICEFIELDChanged()
    End Sub
    Partial Private Sub OnISSYNCENABLEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSYNCENABLEDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_AL_DRIVERCONFIG = CType(Nothing, EntityRef(Of TBL_AL_DRIVERCONFIG))
		Me._TBL_AL_SYNCDATA = New EntitySet(Of TBL_AL_SYNCDATA)(AddressOf Me.attach_TBL_AL_SYNCDATA, AddressOf Me.detach_TBL_AL_SYNCDATA)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATAMAPPINGID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DATAMAPPINGID() As System.Guid
		Get
			Return Me._DATAMAPPINGID
		End Get
		Set
			If ((Me._DATAMAPPINGID = value)  _
						= false) Then
				Me.OnDATAMAPPINGIDChanging(value)
				Me.SendPropertyChanging
				Me._DATAMAPPINGID = value
				Me.SendPropertyChanged("DATAMAPPINGID")
				Me.OnDATAMAPPINGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKDRIVERCLSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LINKDRIVERCLSID() As System.Guid
		Get
			Return Me._LINKDRIVERCLSID
		End Get
		Set
			If ((Me._LINKDRIVERCLSID = value)  _
						= false) Then
				If Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKDRIVERCLSIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKDRIVERCLSID = value
				Me.SendPropertyChanged("LINKDRIVERCLSID")
				Me.OnLINKDRIVERCLSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICETYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property BACKOFFICETYPENUM() As Byte
		Get
			Return Me._BACKOFFICETYPENUM
		End Get
		Set
			If ((Me._BACKOFFICETYPENUM = value)  _
						= false) Then
				Me.OnBACKOFFICETYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICETYPENUM = value
				Me.SendPropertyChanged("BACKOFFICETYPENUM")
				Me.OnBACKOFFICETYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICEFIELD", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property BACKOFFICEFIELD() As String
		Get
			Return Me._BACKOFFICEFIELD
		End Get
		Set
			If (String.Equals(Me._BACKOFFICEFIELD, value) = false) Then
				Me.OnBACKOFFICEFIELDChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICEFIELD = value
				Me.SendPropertyChanged("BACKOFFICEFIELD")
				Me.OnBACKOFFICEFIELDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FRONTOFFICETYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property FRONTOFFICETYPENUM() As Byte
		Get
			Return Me._FRONTOFFICETYPENUM
		End Get
		Set
			If ((Me._FRONTOFFICETYPENUM = value)  _
						= false) Then
				Me.OnFRONTOFFICETYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._FRONTOFFICETYPENUM = value
				Me.SendPropertyChanged("FRONTOFFICETYPENUM")
				Me.OnFRONTOFFICETYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FRONTOFFICEFIELD", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property FRONTOFFICEFIELD() As String
		Get
			Return Me._FRONTOFFICEFIELD
		End Get
		Set
			If (String.Equals(Me._FRONTOFFICEFIELD, value) = false) Then
				Me.OnFRONTOFFICEFIELDChanging(value)
				Me.SendPropertyChanging
				Me._FRONTOFFICEFIELD = value
				Me.SendPropertyChanged("FRONTOFFICEFIELD")
				Me.OnFRONTOFFICEFIELDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSYNCENABLED", DbType:="Bit NOT NULL")>  _
	Public Property ISSYNCENABLED() As Boolean
		Get
			Return Me._ISSYNCENABLED
		End Get
		Set
			If ((Me._ISSYNCENABLED = value)  _
						= false) Then
				Me.OnISSYNCENABLEDChanging(value)
				Me.SendPropertyChanging
				Me._ISSYNCENABLED = value
				Me.SendPropertyChanged("ISSYNCENABLED")
				Me.OnISSYNCENABLEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_DATAMAPPING_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_DRIVERCONFIG", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", IsForeignKey:=true)>  _
	Public Property TBL_AL_DRIVERCONFIG() As TBL_AL_DRIVERCONFIG
		Get
			Return Me._TBL_AL_DRIVERCONFIG.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_DRIVERCONFIG = Me._TBL_AL_DRIVERCONFIG.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_DRIVERCONFIG.Entity = Nothing
					previousValue.TBL_AL_DATAMAPPING.Remove(Me)
				End If
				Me._TBL_AL_DRIVERCONFIG.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_DATAMAPPING.Add(Me)
					Me._LINKDRIVERCLSID = value.LINKDRIVERCLSID
				Else
					Me._LINKDRIVERCLSID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_DRIVERCONFIG")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SYNCDATA_DATAMAPPINGID_FK", Storage:="_TBL_AL_SYNCDATA", ThisKey:="DATAMAPPINGID", OtherKey:="DATAMAPPINGID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_SYNCDATA() As EntitySet(Of TBL_AL_SYNCDATA)
		Get
			Return Me._TBL_AL_SYNCDATA
		End Get
		Set
			Me._TBL_AL_SYNCDATA.Assign(value)
		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
	
	Private Sub attach_TBL_AL_SYNCDATA(ByVal entity As TBL_AL_SYNCDATA)
		Me.SendPropertyChanging
		entity.TBL_AL_DATAMAPPING = Me
	End Sub
	
	Private Sub detach_TBL_AL_SYNCDATA(ByVal entity As TBL_AL_SYNCDATA)
		Me.SendPropertyChanging
		entity.TBL_AL_DATAMAPPING = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_DRIVERCONFIG")>  _
Partial Public Class TBL_AL_DRIVERCONFIG
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _LINKDRIVERCLSID As System.Guid
	
	Private _APPNAME As String
	
	Private _CONNECTSTRING As String
	
	Private _ISCURRENTDRIVER As Boolean
	
	Private _TBL_AL_ACTIVITY As EntitySet(Of TBL_AL_ACTIVITY)
	
	Private _TBL_AL_DATAMAPPING As EntitySet(Of TBL_AL_DATAMAPPING)
	
	Private _TBL_AL_LINK As EntitySet(Of TBL_AL_LINK)
	
	Private _TBL_AL_USERSETTING As EntitySet(Of TBL_AL_USERSETTING)
	
    #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 OnLINKDRIVERCLSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanged()
    End Sub
    Partial Private Sub OnAPPNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnAPPNAMEChanged()
    End Sub
    Partial Private Sub OnCONNECTSTRINGChanging(value As String)
    End Sub
    Partial Private Sub OnCONNECTSTRINGChanged()
    End Sub
    Partial Private Sub OnISCURRENTDRIVERChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCURRENTDRIVERChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_AL_ACTIVITY = New EntitySet(Of TBL_AL_ACTIVITY)(AddressOf Me.attach_TBL_AL_ACTIVITY, AddressOf Me.detach_TBL_AL_ACTIVITY)
		Me._TBL_AL_DATAMAPPING = New EntitySet(Of TBL_AL_DATAMAPPING)(AddressOf Me.attach_TBL_AL_DATAMAPPING, AddressOf Me.detach_TBL_AL_DATAMAPPING)
		Me._TBL_AL_LINK = New EntitySet(Of TBL_AL_LINK)(AddressOf Me.attach_TBL_AL_LINK, AddressOf Me.detach_TBL_AL_LINK)
		Me._TBL_AL_USERSETTING = New EntitySet(Of TBL_AL_USERSETTING)(AddressOf Me.attach_TBL_AL_USERSETTING, AddressOf Me.detach_TBL_AL_USERSETTING)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKDRIVERCLSID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property LINKDRIVERCLSID() As System.Guid
		Get
			Return Me._LINKDRIVERCLSID
		End Get
		Set
			If ((Me._LINKDRIVERCLSID = value)  _
						= false) Then
				Me.OnLINKDRIVERCLSIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKDRIVERCLSID = value
				Me.SendPropertyChanged("LINKDRIVERCLSID")
				Me.OnLINKDRIVERCLSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPNAME", DbType:="NVarChar(512)")>  _
	Public Property APPNAME() As String
		Get
			Return Me._APPNAME
		End Get
		Set
			If (String.Equals(Me._APPNAME, value) = false) Then
				Me.OnAPPNAMEChanging(value)
				Me.SendPropertyChanging
				Me._APPNAME = value
				Me.SendPropertyChanged("APPNAME")
				Me.OnAPPNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTSTRING", DbType:="NVarChar(512)")>  _
	Public Property CONNECTSTRING() As String
		Get
			Return Me._CONNECTSTRING
		End Get
		Set
			If (String.Equals(Me._CONNECTSTRING, value) = false) Then
				Me.OnCONNECTSTRINGChanging(value)
				Me.SendPropertyChanging
				Me._CONNECTSTRING = value
				Me.SendPropertyChanged("CONNECTSTRING")
				Me.OnCONNECTSTRINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCURRENTDRIVER", DbType:="Bit NOT NULL")>  _
	Public Property ISCURRENTDRIVER() As Boolean
		Get
			Return Me._ISCURRENTDRIVER
		End Get
		Set
			If ((Me._ISCURRENTDRIVER = value)  _
						= false) Then
				Me.OnISCURRENTDRIVERChanging(value)
				Me.SendPropertyChanging
				Me._ISCURRENTDRIVER = value
				Me.SendPropertyChanged("ISCURRENTDRIVER")
				Me.OnISCURRENTDRIVERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_ACTIVITY_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_ACTIVITY", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_AL_ACTIVITY() As EntitySet(Of TBL_AL_ACTIVITY)
		Get
			Return Me._TBL_AL_ACTIVITY
		End Get
		Set
			Me._TBL_AL_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_DATAMAPPING_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_DATAMAPPING", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_AL_DATAMAPPING() As EntitySet(Of TBL_AL_DATAMAPPING)
		Get
			Return Me._TBL_AL_DATAMAPPING
		End Get
		Set
			Me._TBL_AL_DATAMAPPING.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_LINK_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_LINK", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_AL_LINK() As EntitySet(Of TBL_AL_LINK)
		Get
			Return Me._TBL_AL_LINK
		End Get
		Set
			Me._TBL_AL_LINK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_USERSETTING_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_USERSETTING", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_USERSETTING() As EntitySet(Of TBL_AL_USERSETTING)
		Get
			Return Me._TBL_AL_USERSETTING
		End Get
		Set
			Me._TBL_AL_USERSETTING.Assign(value)
		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
	
	Private Sub attach_TBL_AL_ACTIVITY(ByVal entity As TBL_AL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Me
	End Sub
	
	Private Sub detach_TBL_AL_ACTIVITY(ByVal entity As TBL_AL_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Nothing
	End Sub
	
	Private Sub attach_TBL_AL_DATAMAPPING(ByVal entity As TBL_AL_DATAMAPPING)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Me
	End Sub
	
	Private Sub detach_TBL_AL_DATAMAPPING(ByVal entity As TBL_AL_DATAMAPPING)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Nothing
	End Sub
	
	Private Sub attach_TBL_AL_LINK(ByVal entity As TBL_AL_LINK)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Me
	End Sub
	
	Private Sub detach_TBL_AL_LINK(ByVal entity As TBL_AL_LINK)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Nothing
	End Sub
	
	Private Sub attach_TBL_AL_USERSETTING(ByVal entity As TBL_AL_USERSETTING)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Me
	End Sub
	
	Private Sub detach_TBL_AL_USERSETTING(ByVal entity As TBL_AL_USERSETTING)
		Me.SendPropertyChanging
		entity.TBL_AL_DRIVERCONFIG = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_LINK")>  _
Partial Public Class TBL_AL_LINK
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _LINKID As System.Guid
	
	Private _LINKDRIVERCLSID As System.Guid
	
	Private _BACKOFFICETYPENUM As Byte
	
	Private _BACKOFFICEID As String
	
	Private _CONTACTID As System.Guid
	
	Private _ISPRIMARYLINK As Boolean
	
	Private _BACKOFFICEHASH As String
	
	Private _FRONTOFFICEHASH As String
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_AL_DRIVERCONFIG As EntityRef(Of TBL_AL_DRIVERCONFIG)
	
	Private _TBL_AL_SYNCDATA As EntitySet(Of TBL_AL_SYNCDATA)
	
    #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 OnLINKIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKIDChanged()
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanged()
    End Sub
    Partial Private Sub OnBACKOFFICETYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnBACKOFFICETYPENUMChanged()
    End Sub
    Partial Private Sub OnBACKOFFICEIDChanging(value As String)
    End Sub
    Partial Private Sub OnBACKOFFICEIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnISPRIMARYLINKChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIMARYLINKChanged()
    End Sub
    Partial Private Sub OnBACKOFFICEHASHChanging(value As String)
    End Sub
    Partial Private Sub OnBACKOFFICEHASHChanged()
    End Sub
    Partial Private Sub OnFRONTOFFICEHASHChanging(value As String)
    End Sub
    Partial Private Sub OnFRONTOFFICEHASHChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_AL_DRIVERCONFIG = CType(Nothing, EntityRef(Of TBL_AL_DRIVERCONFIG))
		Me._TBL_AL_SYNCDATA = New EntitySet(Of TBL_AL_SYNCDATA)(AddressOf Me.attach_TBL_AL_SYNCDATA, AddressOf Me.detach_TBL_AL_SYNCDATA)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property LINKID() As System.Guid
		Get
			Return Me._LINKID
		End Get
		Set
			If ((Me._LINKID = value)  _
						= false) Then
				Me.OnLINKIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKID = value
				Me.SendPropertyChanged("LINKID")
				Me.OnLINKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKDRIVERCLSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LINKDRIVERCLSID() As System.Guid
		Get
			Return Me._LINKDRIVERCLSID
		End Get
		Set
			If ((Me._LINKDRIVERCLSID = value)  _
						= false) Then
				If Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKDRIVERCLSIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKDRIVERCLSID = value
				Me.SendPropertyChanged("LINKDRIVERCLSID")
				Me.OnLINKDRIVERCLSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICETYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property BACKOFFICETYPENUM() As Byte
		Get
			Return Me._BACKOFFICETYPENUM
		End Get
		Set
			If ((Me._BACKOFFICETYPENUM = value)  _
						= false) Then
				Me.OnBACKOFFICETYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICETYPENUM = value
				Me.SendPropertyChanged("BACKOFFICETYPENUM")
				Me.OnBACKOFFICETYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICEID", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property BACKOFFICEID() As String
		Get
			Return Me._BACKOFFICEID
		End Get
		Set
			If (String.Equals(Me._BACKOFFICEID, value) = false) Then
				Me.OnBACKOFFICEIDChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICEID = value
				Me.SendPropertyChanged("BACKOFFICEID")
				Me.OnBACKOFFICEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYLINK", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARYLINK() As Boolean
		Get
			Return Me._ISPRIMARYLINK
		End Get
		Set
			If ((Me._ISPRIMARYLINK = value)  _
						= false) Then
				Me.OnISPRIMARYLINKChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIMARYLINK = value
				Me.SendPropertyChanged("ISPRIMARYLINK")
				Me.OnISPRIMARYLINKChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICEHASH", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property BACKOFFICEHASH() As String
		Get
			Return Me._BACKOFFICEHASH
		End Get
		Set
			If (String.Equals(Me._BACKOFFICEHASH, value) = false) Then
				Me.OnBACKOFFICEHASHChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICEHASH = value
				Me.SendPropertyChanged("BACKOFFICEHASH")
				Me.OnBACKOFFICEHASHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FRONTOFFICEHASH", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FRONTOFFICEHASH() As String
		Get
			Return Me._FRONTOFFICEHASH
		End Get
		Set
			If (String.Equals(Me._FRONTOFFICEHASH, value) = false) Then
				Me.OnFRONTOFFICEHASHChanging(value)
				Me.SendPropertyChanging
				Me._FRONTOFFICEHASH = value
				Me.SendPropertyChanged("FRONTOFFICEHASH")
				Me.OnFRONTOFFICEHASHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_LINK_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_AL_LINK.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_LINK.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_LINK_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_DRIVERCONFIG", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", IsForeignKey:=true)>  _
	Public Property TBL_AL_DRIVERCONFIG() As TBL_AL_DRIVERCONFIG
		Get
			Return Me._TBL_AL_DRIVERCONFIG.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_DRIVERCONFIG = Me._TBL_AL_DRIVERCONFIG.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_DRIVERCONFIG.Entity = Nothing
					previousValue.TBL_AL_LINK.Remove(Me)
				End If
				Me._TBL_AL_DRIVERCONFIG.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_LINK.Add(Me)
					Me._LINKDRIVERCLSID = value.LINKDRIVERCLSID
				Else
					Me._LINKDRIVERCLSID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_DRIVERCONFIG")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SYNCDATA_LINKID_FK", Storage:="_TBL_AL_SYNCDATA", ThisKey:="LINKID", OtherKey:="LINKID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_SYNCDATA() As EntitySet(Of TBL_AL_SYNCDATA)
		Get
			Return Me._TBL_AL_SYNCDATA
		End Get
		Set
			Me._TBL_AL_SYNCDATA.Assign(value)
		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
	
	Private Sub attach_TBL_AL_SYNCDATA(ByVal entity As TBL_AL_SYNCDATA)
		Me.SendPropertyChanging
		entity.TBL_AL_LINK = Me
	End Sub
	
	Private Sub detach_TBL_AL_SYNCDATA(ByVal entity As TBL_AL_SYNCDATA)
		Me.SendPropertyChanging
		entity.TBL_AL_LINK = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_SCHEDULEDFOR")>  _
Partial Public Class TBL_AL_SCHEDULEDFOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _AL_ACTIVITYID As System.Guid
	
	Private _SCHEDULEDFORID As System.Guid
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
	Private _TBL_AL_ACTIVITY As EntityRef(Of TBL_AL_ACTIVITY)
	
    #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 OnAL_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnAL_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnSCHEDULEDFORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSCHEDULEDFORIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		Me._TBL_AL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_AL_ACTIVITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AL_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property AL_ACTIVITYID() As System.Guid
		Get
			Return Me._AL_ACTIVITYID
		End Get
		Set
			If ((Me._AL_ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_AL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnAL_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._AL_ACTIVITYID = value
				Me.SendPropertyChanged("AL_ACTIVITYID")
				Me.OnAL_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SCHEDULEDFORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SCHEDULEDFORID() As System.Guid
		Get
			Return Me._SCHEDULEDFORID
		End Get
		Set
			If ((Me._SCHEDULEDFORID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSCHEDULEDFORIDChanging(value)
				Me.SendPropertyChanging
				Me._SCHEDULEDFORID = value
				Me.SendPropertyChanged("SCHEDULEDFORID")
				Me.OnSCHEDULEDFORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SCHEDULEDFOR_SCHEDULEDFORID_FK", Storage:="_TBL_USER", ThisKey:="SCHEDULEDFORID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_AL_SCHEDULEDFOR.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_SCHEDULEDFOR.Add(Me)
					Me._SCHEDULEDFORID = value.USERID
				Else
					Me._SCHEDULEDFORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SCHEDULEFOR_AL_ACTIVITYID_FK", Storage:="_TBL_AL_ACTIVITY", ThisKey:="AL_ACTIVITYID", OtherKey:="AL_ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_AL_ACTIVITY() As TBL_AL_ACTIVITY
		Get
			Return Me._TBL_AL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_ACTIVITY = Me._TBL_AL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_ACTIVITY.Entity = Nothing
					previousValue.TBL_AL_SCHEDULEDFOR.Remove(Me)
				End If
				Me._TBL_AL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_SCHEDULEDFOR.Add(Me)
					Me._AL_ACTIVITYID = value.AL_ACTIVITYID
				Else
					Me._AL_ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_ACTIVITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_SYNCDATA")>  _
Partial Public Class TBL_AL_SYNCDATA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DATAMAPPINGID As System.Guid
	
	Private _LINKID As System.Guid
	
	Private _BACKOFFICEVALUE As String
	
	Private _FRONTOFFICEVALUE As String
	
	Private _TBL_AL_DATAMAPPING As EntityRef(Of TBL_AL_DATAMAPPING)
	
	Private _TBL_AL_LINK As EntityRef(Of TBL_AL_LINK)
	
    #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 OnDATAMAPPINGIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnDATAMAPPINGIDChanged()
    End Sub
    Partial Private Sub OnLINKIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKIDChanged()
    End Sub
    Partial Private Sub OnBACKOFFICEVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnBACKOFFICEVALUEChanged()
    End Sub
    Partial Private Sub OnFRONTOFFICEVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnFRONTOFFICEVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_AL_DATAMAPPING = CType(Nothing, EntityRef(Of TBL_AL_DATAMAPPING))
		Me._TBL_AL_LINK = CType(Nothing, EntityRef(Of TBL_AL_LINK))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATAMAPPINGID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DATAMAPPINGID() As System.Guid
		Get
			Return Me._DATAMAPPINGID
		End Get
		Set
			If ((Me._DATAMAPPINGID = value)  _
						= false) Then
				If Me._TBL_AL_DATAMAPPING.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDATAMAPPINGIDChanging(value)
				Me.SendPropertyChanging
				Me._DATAMAPPINGID = value
				Me.SendPropertyChanged("DATAMAPPINGID")
				Me.OnDATAMAPPINGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property LINKID() As System.Guid
		Get
			Return Me._LINKID
		End Get
		Set
			If ((Me._LINKID = value)  _
						= false) Then
				If Me._TBL_AL_LINK.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKID = value
				Me.SendPropertyChanged("LINKID")
				Me.OnLINKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BACKOFFICEVALUE", DbType:="NVarChar(512)")>  _
	Public Property BACKOFFICEVALUE() As String
		Get
			Return Me._BACKOFFICEVALUE
		End Get
		Set
			If (String.Equals(Me._BACKOFFICEVALUE, value) = false) Then
				Me.OnBACKOFFICEVALUEChanging(value)
				Me.SendPropertyChanging
				Me._BACKOFFICEVALUE = value
				Me.SendPropertyChanged("BACKOFFICEVALUE")
				Me.OnBACKOFFICEVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FRONTOFFICEVALUE", DbType:="NVarChar(512)")>  _
	Public Property FRONTOFFICEVALUE() As String
		Get
			Return Me._FRONTOFFICEVALUE
		End Get
		Set
			If (String.Equals(Me._FRONTOFFICEVALUE, value) = false) Then
				Me.OnFRONTOFFICEVALUEChanging(value)
				Me.SendPropertyChanging
				Me._FRONTOFFICEVALUE = value
				Me.SendPropertyChanged("FRONTOFFICEVALUE")
				Me.OnFRONTOFFICEVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SYNCDATA_DATAMAPPINGID_FK", Storage:="_TBL_AL_DATAMAPPING", ThisKey:="DATAMAPPINGID", OtherKey:="DATAMAPPINGID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_AL_DATAMAPPING() As TBL_AL_DATAMAPPING
		Get
			Return Me._TBL_AL_DATAMAPPING.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_DATAMAPPING = Me._TBL_AL_DATAMAPPING.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_DATAMAPPING.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_DATAMAPPING.Entity = Nothing
					previousValue.TBL_AL_SYNCDATA.Remove(Me)
				End If
				Me._TBL_AL_DATAMAPPING.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_SYNCDATA.Add(Me)
					Me._DATAMAPPINGID = value.DATAMAPPINGID
				Else
					Me._DATAMAPPINGID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_DATAMAPPING")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SYNCDATA_LINKID_FK", Storage:="_TBL_AL_LINK", ThisKey:="LINKID", OtherKey:="LINKID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_AL_LINK() As TBL_AL_LINK
		Get
			Return Me._TBL_AL_LINK.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_LINK = Me._TBL_AL_LINK.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_LINK.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_LINK.Entity = Nothing
					previousValue.TBL_AL_SYNCDATA.Remove(Me)
				End If
				Me._TBL_AL_LINK.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_SYNCDATA.Add(Me)
					Me._LINKID = value.LINKID
				Else
					Me._LINKID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_LINK")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_AL_USERSETTING")>  _
Partial Public Class TBL_AL_USERSETTING
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERSETTINGID As System.Guid
	
	Private _LINKDRIVERCLSID As System.Guid
	
	Private _ACTUSERID As System.Guid
	
	Private _SETTING As String
	
	Private _SETTINGVALUE As String
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
	Private _TBL_AL_DRIVERCONFIG As EntityRef(Of TBL_AL_DRIVERCONFIG)
	
    #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 OnUSERSETTINGIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERSETTINGIDChanged()
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLINKDRIVERCLSIDChanged()
    End Sub
    Partial Private Sub OnACTUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTUSERIDChanged()
    End Sub
    Partial Private Sub OnSETTINGChanging(value As String)
    End Sub
    Partial Private Sub OnSETTINGChanged()
    End Sub
    Partial Private Sub OnSETTINGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnSETTINGVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		Me._TBL_AL_DRIVERCONFIG = CType(Nothing, EntityRef(Of TBL_AL_DRIVERCONFIG))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERSETTINGID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERSETTINGID() As System.Guid
		Get
			Return Me._USERSETTINGID
		End Get
		Set
			If ((Me._USERSETTINGID = value)  _
						= false) Then
				Me.OnUSERSETTINGIDChanging(value)
				Me.SendPropertyChanging
				Me._USERSETTINGID = value
				Me.SendPropertyChanged("USERSETTINGID")
				Me.OnUSERSETTINGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKDRIVERCLSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LINKDRIVERCLSID() As System.Guid
		Get
			Return Me._LINKDRIVERCLSID
		End Get
		Set
			If ((Me._LINKDRIVERCLSID = value)  _
						= false) Then
				If Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnLINKDRIVERCLSIDChanging(value)
				Me.SendPropertyChanging
				Me._LINKDRIVERCLSID = value
				Me.SendPropertyChanged("LINKDRIVERCLSID")
				Me.OnLINKDRIVERCLSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACTUSERID() As System.Guid
		Get
			Return Me._ACTUSERID
		End Get
		Set
			If ((Me._ACTUSERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTUSERID = value
				Me.SendPropertyChanged("ACTUSERID")
				Me.OnACTUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTING", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property SETTING() As String
		Get
			Return Me._SETTING
		End Get
		Set
			If (String.Equals(Me._SETTING, value) = false) Then
				Me.OnSETTINGChanging(value)
				Me.SendPropertyChanging
				Me._SETTING = value
				Me.SendPropertyChanged("SETTING")
				Me.OnSETTINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGVALUE", DbType:="NVarChar(512)")>  _
	Public Property SETTINGVALUE() As String
		Get
			Return Me._SETTINGVALUE
		End Get
		Set
			If (String.Equals(Me._SETTINGVALUE, value) = false) Then
				Me.OnSETTINGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._SETTINGVALUE = value
				Me.SendPropertyChanged("SETTINGVALUE")
				Me.OnSETTINGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_USERSETTING_ACTUSERID_FK", Storage:="_TBL_USER", ThisKey:="ACTUSERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_AL_USERSETTING.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_USERSETTING.Add(Me)
					Me._ACTUSERID = value.USERID
				Else
					Me._ACTUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_USERSETTING_LINKDRIVERCLSID_FK", Storage:="_TBL_AL_DRIVERCONFIG", ThisKey:="LINKDRIVERCLSID", OtherKey:="LINKDRIVERCLSID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_AL_DRIVERCONFIG() As TBL_AL_DRIVERCONFIG
		Get
			Return Me._TBL_AL_DRIVERCONFIG.Entity
		End Get
		Set
			Dim previousValue As TBL_AL_DRIVERCONFIG = Me._TBL_AL_DRIVERCONFIG.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_AL_DRIVERCONFIG.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_AL_DRIVERCONFIG.Entity = Nothing
					previousValue.TBL_AL_USERSETTING.Remove(Me)
				End If
				Me._TBL_AL_DRIVERCONFIG.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_AL_USERSETTING.Add(Me)
					Me._LINKDRIVERCLSID = value.LINKDRIVERCLSID
				Else
					Me._LINKDRIVERCLSID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_AL_DRIVERCONFIG")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ALARMSNOOZE")>  _
Partial Public Class TBL_ALARMSNOOZE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ALARMSNOOZEID As System.Guid
	
	Private _ACCESSOR_ACTIVITYID As System.Guid
	
	Private _ACTIVITYDATE As String
	
	Private _ALARMSNOOZETIME As Date
	
	Private _TBL_ACCESSOR_ACTIVITY As EntityRef(Of TBL_ACCESSOR_ACTIVITY)
	
    #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 OnALARMSNOOZEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnALARMSNOOZEIDChanged()
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYDATEChanging(value As String)
    End Sub
    Partial Private Sub OnACTIVITYDATEChanged()
    End Sub
    Partial Private Sub OnALARMSNOOZETIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnALARMSNOOZETIMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACCESSOR_ACTIVITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMSNOOZEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ALARMSNOOZEID() As System.Guid
		Get
			Return Me._ALARMSNOOZEID
		End Get
		Set
			If ((Me._ALARMSNOOZEID = value)  _
						= false) Then
				Me.OnALARMSNOOZEIDChanging(value)
				Me.SendPropertyChanging
				Me._ALARMSNOOZEID = value
				Me.SendPropertyChanged("ALARMSNOOZEID")
				Me.OnALARMSNOOZEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSOR_ACTIVITYID() As System.Guid
		Get
			Return Me._ACCESSOR_ACTIVITYID
		End Get
		Set
			If ((Me._ACCESSOR_ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSOR_ACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSOR_ACTIVITYID = value
				Me.SendPropertyChanged("ACCESSOR_ACTIVITYID")
				Me.OnACCESSOR_ACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYDATE", DbType:="VarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIVITYDATE() As String
		Get
			Return Me._ACTIVITYDATE
		End Get
		Set
			If (String.Equals(Me._ACTIVITYDATE, value) = false) Then
				Me.OnACTIVITYDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYDATE = value
				Me.SendPropertyChanged("ACTIVITYDATE")
				Me.OnACTIVITYDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMSNOOZETIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property ALARMSNOOZETIME() As Date
		Get
			Return Me._ALARMSNOOZETIME
		End Get
		Set
			If ((Me._ALARMSNOOZETIME = value)  _
						= false) Then
				Me.OnALARMSNOOZETIMEChanging(value)
				Me.SendPropertyChanging
				Me._ALARMSNOOZETIME = value
				Me.SendPropertyChanged("ALARMSNOOZETIME")
				Me.OnALARMSNOOZETIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ALARMSNOOZE_ACCESSOR_ACTIVITYID_FK", Storage:="_TBL_ACCESSOR_ACTIVITY", ThisKey:="ACCESSOR_ACTIVITYID", OtherKey:="ACCESSOR_ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR_ACTIVITY() As TBL_ACCESSOR_ACTIVITY
		Get
			Return Me._TBL_ACCESSOR_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR_ACTIVITY = Me._TBL_ACCESSOR_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR_ACTIVITY.Entity = Nothing
					previousValue.TBL_ALARMSNOOZE.Remove(Me)
				End If
				Me._TBL_ACCESSOR_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ALARMSNOOZE.Add(Me)
					Me._ACCESSOR_ACTIVITYID = value.ACCESSOR_ACTIVITYID
				Else
					Me._ACCESSOR_ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR_ACTIVITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ATTACHMENT")>  _
Partial Public Class TBL_ATTACHMENT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ATTACHMENTID As System.Guid
	
	Private _FILENAME As String
	
	Private _DISPLAYNAME As String
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _MACHINENAME As String
	
	Private _FILEPATH As String
	
	Private _WORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _TBL_HISTORY As EntityRef(Of TBL_HISTORY)
	
	Private _TBL_NOTE As EntityRef(Of TBL_NOTE)
	
	Private _TBL_WORKFLOWDEF As EntityRef(Of TBL_WORKFLOWDEF)
	
    #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 OnATTACHMENTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnATTACHMENTIDChanged()
    End Sub
    Partial Private Sub OnFILENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFILENAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnNOTEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    Partial Private Sub OnHISTORYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    Partial Private Sub OnMACHINENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnMACHINENAMEChanged()
    End Sub
    Partial Private Sub OnFILEPATHChanging(value As String)
    End Sub
    Partial Private Sub OnFILEPATHChanged()
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._TBL_HISTORY = CType(Nothing, EntityRef(Of TBL_HISTORY))
		Me._TBL_NOTE = CType(Nothing, EntityRef(Of TBL_NOTE))
		Me._TBL_WORKFLOWDEF = CType(Nothing, EntityRef(Of TBL_WORKFLOWDEF))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ATTACHMENTID() As System.Guid
		Get
			Return Me._ATTACHMENTID
		End Get
		Set
			If ((Me._ATTACHMENTID = value)  _
						= false) Then
				Me.OnATTACHMENTIDChanging(value)
				Me.SendPropertyChanging
				Me._ATTACHMENTID = value
				Me.SendPropertyChanged("ATTACHMENTID")
				Me.OnATTACHMENTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(255) NOT NULL", CanBeNull:=false)>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me.OnFILENAMEChanging(value)
				Me.SendPropertyChanging
				Me._FILENAME = value
				Me.SendPropertyChanged("FILENAME")
				Me.OnFILENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(255) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				If Me._TBL_NOTE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				If Me._TBL_HISTORY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MACHINENAME", DbType:="NVarChar(255)")>  _
	Public Property MACHINENAME() As String
		Get
			Return Me._MACHINENAME
		End Get
		Set
			If (String.Equals(Me._MACHINENAME, value) = false) Then
				Me.OnMACHINENAMEChanging(value)
				Me.SendPropertyChanging
				Me._MACHINENAME = value
				Me.SendPropertyChanged("MACHINENAME")
				Me.OnMACHINENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEPATH", DbType:="NVarChar(2048)")>  _
	Public Property FILEPATH() As String
		Get
			Return Me._FILEPATH
		End Get
		Set
			If (String.Equals(Me._FILEPATH, value) = false) Then
				Me.OnFILEPATHChanging(value)
				Me.SendPropertyChanging
				Me._FILEPATH = value
				Me.SendPropertyChanged("FILEPATH")
				Me.OnFILEPATHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFID.Equals(value) = false) Then
				If Me._TBL_WORKFLOWDEF.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnWORKFLOWDEFIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOWDEFID = value
				Me.SendPropertyChanged("WORKFLOWDEFID")
				Me.OnWORKFLOWDEFIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.TBL_ATTACHMENT.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ATTACHMENT.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_HISTORYID_FK", Storage:="_TBL_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", IsForeignKey:=true)>  _
	Public Property TBL_HISTORY() As TBL_HISTORY
		Get
			Return Me._TBL_HISTORY.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORY = Me._TBL_HISTORY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORY.Entity = Nothing
					previousValue.TBL_ATTACHMENT.Remove(Me)
				End If
				Me._TBL_HISTORY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ATTACHMENT.Add(Me)
					Me._HISTORYID = value.HISTORYID
				Else
					Me._HISTORYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_HISTORY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_NOTEID_FK", Storage:="_TBL_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", IsForeignKey:=true)>  _
	Public Property TBL_NOTE() As TBL_NOTE
		Get
			Return Me._TBL_NOTE.Entity
		End Get
		Set
			Dim previousValue As TBL_NOTE = Me._TBL_NOTE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_NOTE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_NOTE.Entity = Nothing
					previousValue.TBL_ATTACHMENT.Remove(Me)
				End If
				Me._TBL_NOTE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ATTACHMENT.Add(Me)
					Me._NOTEID = value.NOTEID
				Else
					Me._NOTEID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_NOTE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_WORKFLOWDEFID_FK", Storage:="_TBL_WORKFLOWDEF", ThisKey:="WORKFLOWDEFID", OtherKey:="WORKFLOWDEFID", IsForeignKey:=true)>  _
	Public Property TBL_WORKFLOWDEF() As TBL_WORKFLOWDEF
		Get
			Return Me._TBL_WORKFLOWDEF.Entity
		End Get
		Set
			Dim previousValue As TBL_WORKFLOWDEF = Me._TBL_WORKFLOWDEF.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_WORKFLOWDEF.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_WORKFLOWDEF.Entity = Nothing
					previousValue.TBL_ATTACHMENT.Remove(Me)
				End If
				Me._TBL_WORKFLOWDEF.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ATTACHMENT.Add(Me)
					Me._WORKFLOWDEFID = value.WORKFLOWDEFID
				Else
					Me._WORKFLOWDEFID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_WORKFLOWDEF")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY")>  _
Partial Public Class TBL_COMPANY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CATEGORY As String
	
	Private _REFERREDBY As String
	
	Private _TICKERSYMBOL As String
	
	Private _NUMEMPLOYEES As System.Nullable(Of Integer)
	
	Private _INDUSTRY As String
	
	Private _SICCODE As String
	
	Private _REVENUE As System.Nullable(Of Decimal)
	
	Private _TERRITORY As String
	
	Private _REGION As String
	
	Private _DIVISION As String
	
	Private _WEBADDRESS As String
	
	Private _HIERLEVEL As System.Nullable(Of Integer)
	
	Private _HIERPATH As String
	
	Private _HASSUBCOMPANY As Boolean
	
	Private _CONTACTQUERYTEXT As String
	
	Private _OPPQUERYTEXT As String
	
	Private _QUERYVERSIONID As System.Guid
	
	Private _PARENTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _MANAGEUSERID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CUST_CustomerID_075514500 As String
	
	Private _ISPRIVATE As Boolean
	
	Private _IMPORTDATE As System.Nullable(Of Date)
	
	Private _TBL_ADDRESS As EntitySet(Of TBL_ADDRESS)
	
	Private _TBL_COMPANY_ACL As EntitySet(Of TBL_COMPANY_ACL)
	
	Private _TBL_COMPANY_ACTIVITY As EntitySet(Of TBL_COMPANY_ACTIVITY)
	
	Private _TBL_COMPANY_CONTACT As EntitySet(Of TBL_COMPANY_CONTACT)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_COMPANY_HISTORY As EntitySet(Of TBL_COMPANY_HISTORY)
	
	Private _MANAGEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_COMPANY_NOTE As EntitySet(Of TBL_COMPANY_NOTE)
	
	Private _TBL_COMPANY_OPPORTUNITY As EntitySet(Of TBL_COMPANY_OPPORTUNITY)
	
	Private _PARENTCOMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _COMPANY As EntitySet(Of TBL_COMPANY)
	
	Private _TBL_COMPANYQUERY As EntitySet(Of TBL_COMPANYQUERY)
	
	Private _TBL_CONTACT As EntitySet(Of TBL_CONTACT)
	
	Private _TBL_EMAIL As EntitySet(Of TBL_EMAIL)
	
	Private _TBL_PHONE As EntitySet(Of TBL_PHONE)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCATEGORYChanging(value As String)
    End Sub
    Partial Private Sub OnCATEGORYChanged()
    End Sub
    Partial Private Sub OnREFERREDBYChanging(value As String)
    End Sub
    Partial Private Sub OnREFERREDBYChanged()
    End Sub
    Partial Private Sub OnTICKERSYMBOLChanging(value As String)
    End Sub
    Partial Private Sub OnTICKERSYMBOLChanged()
    End Sub
    Partial Private Sub OnNUMEMPLOYEESChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnNUMEMPLOYEESChanged()
    End Sub
    Partial Private Sub OnINDUSTRYChanging(value As String)
    End Sub
    Partial Private Sub OnINDUSTRYChanged()
    End Sub
    Partial Private Sub OnSICCODEChanging(value As String)
    End Sub
    Partial Private Sub OnSICCODEChanged()
    End Sub
    Partial Private Sub OnREVENUEChanging(value As System.Nullable(Of Decimal))
    End Sub
    Partial Private Sub OnREVENUEChanged()
    End Sub
    Partial Private Sub OnTERRITORYChanging(value As String)
    End Sub
    Partial Private Sub OnTERRITORYChanged()
    End Sub
    Partial Private Sub OnREGIONChanging(value As String)
    End Sub
    Partial Private Sub OnREGIONChanged()
    End Sub
    Partial Private Sub OnDIVISIONChanging(value As String)
    End Sub
    Partial Private Sub OnDIVISIONChanged()
    End Sub
    Partial Private Sub OnWEBADDRESSChanging(value As String)
    End Sub
    Partial Private Sub OnWEBADDRESSChanged()
    End Sub
    Partial Private Sub OnHIERLEVELChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnHIERLEVELChanged()
    End Sub
    Partial Private Sub OnHIERPATHChanging(value As String)
    End Sub
    Partial Private Sub OnHIERPATHChanged()
    End Sub
    Partial Private Sub OnHASSUBCOMPANYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnHASSUBCOMPANYChanged()
    End Sub
    Partial Private Sub OnCONTACTQUERYTEXTChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACTQUERYTEXTChanged()
    End Sub
    Partial Private Sub OnOPPQUERYTEXTChanging(value As String)
    End Sub
    Partial Private Sub OnOPPQUERYTEXTChanged()
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanged()
    End Sub
    Partial Private Sub OnPARENTCOMPANYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnPARENTCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnCUST_CustomerID_075514500Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_CustomerID_075514500Changed()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnIMPORTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnIMPORTDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ADDRESS = New EntitySet(Of TBL_ADDRESS)(AddressOf Me.attach_TBL_ADDRESS, AddressOf Me.detach_TBL_ADDRESS)
		Me._TBL_COMPANY_ACL = New EntitySet(Of TBL_COMPANY_ACL)(AddressOf Me.attach_TBL_COMPANY_ACL, AddressOf Me.detach_TBL_COMPANY_ACL)
		Me._TBL_COMPANY_ACTIVITY = New EntitySet(Of TBL_COMPANY_ACTIVITY)(AddressOf Me.attach_TBL_COMPANY_ACTIVITY, AddressOf Me.detach_TBL_COMPANY_ACTIVITY)
		Me._TBL_COMPANY_CONTACT = New EntitySet(Of TBL_COMPANY_CONTACT)(AddressOf Me.attach_TBL_COMPANY_CONTACT, AddressOf Me.detach_TBL_COMPANY_CONTACT)
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_COMPANY_HISTORY = New EntitySet(Of TBL_COMPANY_HISTORY)(AddressOf Me.attach_TBL_COMPANY_HISTORY, AddressOf Me.detach_TBL_COMPANY_HISTORY)
		Me._MANAGEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_COMPANY_NOTE = New EntitySet(Of TBL_COMPANY_NOTE)(AddressOf Me.attach_TBL_COMPANY_NOTE, AddressOf Me.detach_TBL_COMPANY_NOTE)
		Me._TBL_COMPANY_OPPORTUNITY = New EntitySet(Of TBL_COMPANY_OPPORTUNITY)(AddressOf Me.attach_TBL_COMPANY_OPPORTUNITY, AddressOf Me.detach_TBL_COMPANY_OPPORTUNITY)
		Me._PARENTCOMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._COMPANY = New EntitySet(Of TBL_COMPANY)(AddressOf Me.attach_COMPANY, AddressOf Me.detach_COMPANY)
		Me._TBL_COMPANYQUERY = New EntitySet(Of TBL_COMPANYQUERY)(AddressOf Me.attach_TBL_COMPANYQUERY, AddressOf Me.detach_TBL_COMPANYQUERY)
		Me._TBL_CONTACT = New EntitySet(Of TBL_CONTACT)(AddressOf Me.attach_TBL_CONTACT, AddressOf Me.detach_TBL_CONTACT)
		Me._TBL_EMAIL = New EntitySet(Of TBL_EMAIL)(AddressOf Me.attach_TBL_EMAIL, AddressOf Me.detach_TBL_EMAIL)
		Me._TBL_PHONE = New EntitySet(Of TBL_PHONE)(AddressOf Me.attach_TBL_PHONE, AddressOf Me.detach_TBL_PHONE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CATEGORY", DbType:="NVarChar(128)")>  _
	Public Property CATEGORY() As String
		Get
			Return Me._CATEGORY
		End Get
		Set
			If (String.Equals(Me._CATEGORY, value) = false) Then
				Me.OnCATEGORYChanging(value)
				Me.SendPropertyChanging
				Me._CATEGORY = value
				Me.SendPropertyChanged("CATEGORY")
				Me.OnCATEGORYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERREDBY", DbType:="NVarChar(64)")>  _
	Public Property REFERREDBY() As String
		Get
			Return Me._REFERREDBY
		End Get
		Set
			If (String.Equals(Me._REFERREDBY, value) = false) Then
				Me.OnREFERREDBYChanging(value)
				Me.SendPropertyChanging
				Me._REFERREDBY = value
				Me.SendPropertyChanged("REFERREDBY")
				Me.OnREFERREDBYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TICKERSYMBOL", DbType:="NVarChar(12)")>  _
	Public Property TICKERSYMBOL() As String
		Get
			Return Me._TICKERSYMBOL
		End Get
		Set
			If (String.Equals(Me._TICKERSYMBOL, value) = false) Then
				Me.OnTICKERSYMBOLChanging(value)
				Me.SendPropertyChanging
				Me._TICKERSYMBOL = value
				Me.SendPropertyChanged("TICKERSYMBOL")
				Me.OnTICKERSYMBOLChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMEMPLOYEES", DbType:="Int")>  _
	Public Property NUMEMPLOYEES() As System.Nullable(Of Integer)
		Get
			Return Me._NUMEMPLOYEES
		End Get
		Set
			If (Me._NUMEMPLOYEES.Equals(value) = false) Then
				Me.OnNUMEMPLOYEESChanging(value)
				Me.SendPropertyChanging
				Me._NUMEMPLOYEES = value
				Me.SendPropertyChanged("NUMEMPLOYEES")
				Me.OnNUMEMPLOYEESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDUSTRY", DbType:="NVarChar(64)")>  _
	Public Property INDUSTRY() As String
		Get
			Return Me._INDUSTRY
		End Get
		Set
			If (String.Equals(Me._INDUSTRY, value) = false) Then
				Me.OnINDUSTRYChanging(value)
				Me.SendPropertyChanging
				Me._INDUSTRY = value
				Me.SendPropertyChanged("INDUSTRY")
				Me.OnINDUSTRYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SICCODE", DbType:="NVarChar(8)")>  _
	Public Property SICCODE() As String
		Get
			Return Me._SICCODE
		End Get
		Set
			If (String.Equals(Me._SICCODE, value) = false) Then
				Me.OnSICCODEChanging(value)
				Me.SendPropertyChanging
				Me._SICCODE = value
				Me.SendPropertyChanged("SICCODE")
				Me.OnSICCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REVENUE", DbType:="Decimal(18,2)")>  _
	Public Property REVENUE() As System.Nullable(Of Decimal)
		Get
			Return Me._REVENUE
		End Get
		Set
			If (Me._REVENUE.Equals(value) = false) Then
				Me.OnREVENUEChanging(value)
				Me.SendPropertyChanging
				Me._REVENUE = value
				Me.SendPropertyChanged("REVENUE")
				Me.OnREVENUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TERRITORY", DbType:="NVarChar(64)")>  _
	Public Property TERRITORY() As String
		Get
			Return Me._TERRITORY
		End Get
		Set
			If (String.Equals(Me._TERRITORY, value) = false) Then
				Me.OnTERRITORYChanging(value)
				Me.SendPropertyChanging
				Me._TERRITORY = value
				Me.SendPropertyChanged("TERRITORY")
				Me.OnTERRITORYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGION", DbType:="NVarChar(64)")>  _
	Public Property REGION() As String
		Get
			Return Me._REGION
		End Get
		Set
			If (String.Equals(Me._REGION, value) = false) Then
				Me.OnREGIONChanging(value)
				Me.SendPropertyChanging
				Me._REGION = value
				Me.SendPropertyChanged("REGION")
				Me.OnREGIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DIVISION", DbType:="NVarChar(64)")>  _
	Public Property DIVISION() As String
		Get
			Return Me._DIVISION
		End Get
		Set
			If (String.Equals(Me._DIVISION, value) = false) Then
				Me.OnDIVISIONChanging(value)
				Me.SendPropertyChanging
				Me._DIVISION = value
				Me.SendPropertyChanged("DIVISION")
				Me.OnDIVISIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEBADDRESS", DbType:="NVarChar(128)")>  _
	Public Property WEBADDRESS() As String
		Get
			Return Me._WEBADDRESS
		End Get
		Set
			If (String.Equals(Me._WEBADDRESS, value) = false) Then
				Me.OnWEBADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._WEBADDRESS = value
				Me.SendPropertyChanged("WEBADDRESS")
				Me.OnWEBADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERLEVEL", DbType:="Int")>  _
	Public Property HIERLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERLEVEL
		End Get
		Set
			If (Me._HIERLEVEL.Equals(value) = false) Then
				Me.OnHIERLEVELChanging(value)
				Me.SendPropertyChanging
				Me._HIERLEVEL = value
				Me.SendPropertyChanged("HIERLEVEL")
				Me.OnHIERLEVELChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERPATH", DbType:="VarChar(556)")>  _
	Public Property HIERPATH() As String
		Get
			Return Me._HIERPATH
		End Get
		Set
			If (String.Equals(Me._HIERPATH, value) = false) Then
				Me.OnHIERPATHChanging(value)
				Me.SendPropertyChanging
				Me._HIERPATH = value
				Me.SendPropertyChanged("HIERPATH")
				Me.OnHIERPATHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HASSUBCOMPANY", DbType:="Bit NOT NULL")>  _
	Public Property HASSUBCOMPANY() As Boolean
		Get
			Return Me._HASSUBCOMPANY
		End Get
		Set
			If ((Me._HASSUBCOMPANY = value)  _
						= false) Then
				Me.OnHASSUBCOMPANYChanging(value)
				Me.SendPropertyChanging
				Me._HASSUBCOMPANY = value
				Me.SendPropertyChanged("HASSUBCOMPANY")
				Me.OnHASSUBCOMPANYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTQUERYTEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTQUERYTEXT() As String
		Get
			Return Me._CONTACTQUERYTEXT
		End Get
		Set
			If (String.Equals(Me._CONTACTQUERYTEXT, value) = false) Then
				Me.OnCONTACTQUERYTEXTChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTQUERYTEXT = value
				Me.SendPropertyChanged("CONTACTQUERYTEXT")
				Me.OnCONTACTQUERYTEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPQUERYTEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property OPPQUERYTEXT() As String
		Get
			Return Me._OPPQUERYTEXT
		End Get
		Set
			If (String.Equals(Me._OPPQUERYTEXT, value) = false) Then
				Me.OnOPPQUERYTEXTChanging(value)
				Me.SendPropertyChanging
				Me._OPPQUERYTEXT = value
				Me.SendPropertyChanged("OPPQUERYTEXT")
				Me.OnOPPQUERYTEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property QUERYVERSIONID() As System.Guid
		Get
			Return Me._QUERYVERSIONID
		End Get
		Set
			If ((Me._QUERYVERSIONID = value)  _
						= false) Then
				Me.OnQUERYVERSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVERSIONID = value
				Me.SendPropertyChanged("QUERYVERSIONID")
				Me.OnQUERYVERSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTCOMPANYID
		End Get
		Set
			If (Me._PARENTCOMPANYID.Equals(value) = false) Then
				If Me._PARENTCOMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPARENTCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._PARENTCOMPANYID = value
				Me.SendPropertyChanged("PARENTCOMPANYID")
				Me.OnPARENTCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				If Me._MANAGEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_CustomerID_075514500", DbType:="NVarChar(8)")>  _
	Public Property CUST_CustomerID_075514500() As String
		Get
			Return Me._CUST_CustomerID_075514500
		End Get
		Set
			If (String.Equals(Me._CUST_CustomerID_075514500, value) = false) Then
				Me.OnCUST_CustomerID_075514500Changing(value)
				Me.SendPropertyChanging
				Me._CUST_CustomerID_075514500 = value
				Me.SendPropertyChanged("CUST_CustomerID_075514500")
				Me.OnCUST_CustomerID_075514500Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORTDATE", DbType:="DateTime")>  _
	Public Property IMPORTDATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORTDATE
		End Get
		Set
			If (Me._IMPORTDATE.Equals(value) = false) Then
				Me.OnIMPORTDATEChanging(value)
				Me.SendPropertyChanging
				Me._IMPORTDATE = value
				Me.SendPropertyChanged("IMPORTDATE")
				Me.OnIMPORTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_COMPANYID_FK", Storage:="_TBL_ADDRESS", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ADDRESS() As EntitySet(Of TBL_ADDRESS)
		Get
			Return Me._TBL_ADDRESS
		End Get
		Set
			Me._TBL_ADDRESS.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACL_COMPANYID_FK", Storage:="_TBL_COMPANY_ACL", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_ACL() As EntitySet(Of TBL_COMPANY_ACL)
		Get
			Return Me._TBL_COMPANY_ACL
		End Get
		Set
			Me._TBL_COMPANY_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACTIVITY_COMPANYID_FK", Storage:="_TBL_COMPANY_ACTIVITY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_ACTIVITY() As EntitySet(Of TBL_COMPANY_ACTIVITY)
		Get
			Return Me._TBL_COMPANY_ACTIVITY
		End Get
		Set
			Me._TBL_COMPANY_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_CONTACT_COMPANYID_FK", Storage:="_TBL_COMPANY_CONTACT", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_CONTACT() As EntitySet(Of TBL_COMPANY_CONTACT)
		Get
			Return Me._TBL_COMPANY_CONTACT
		End Get
		Set
			Me._TBL_COMPANY_CONTACT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_COMPANY.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.COMPANY_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.COMPANY_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_HISTORY_COMPANYID_FK", Storage:="_TBL_COMPANY_HISTORY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_HISTORY() As EntitySet(Of TBL_COMPANY_HISTORY)
		Get
			Return Me._TBL_COMPANY_HISTORY
		End Get
		Set
			Me._TBL_COMPANY_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_MANAGEUSERID_FK", Storage:="_MANAGEUSER", ThisKey:="MANAGEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property MANAGEUSER() As TBL_ACCESSOR
		Get
			Return Me._MANAGEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._MANAGEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MANAGEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MANAGEUSER.Entity = Nothing
					previousValue.COMPANY_MANAGEUSERID_FK.Remove(Me)
				End If
				Me._MANAGEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.COMPANY_MANAGEUSERID_FK.Add(Me)
					Me._MANAGEUSERID = value.ACCESSORID
				Else
					Me._MANAGEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MANAGEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_NOTE_COMPANYID_FK", Storage:="_TBL_COMPANY_NOTE", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_NOTE() As EntitySet(Of TBL_COMPANY_NOTE)
		Get
			Return Me._TBL_COMPANY_NOTE
		End Get
		Set
			Me._TBL_COMPANY_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_OPPORTUNITY_COMPANYID_FK", Storage:="_TBL_COMPANY_OPPORTUNITY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_OPPORTUNITY() As EntitySet(Of TBL_COMPANY_OPPORTUNITY)
		Get
			Return Me._TBL_COMPANY_OPPORTUNITY
		End Get
		Set
			Me._TBL_COMPANY_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_PARENTCOMPANYID_FK", Storage:="_PARENTCOMPANY", ThisKey:="PARENTCOMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true)>  _
	Public Property PARENTCOMPANY() As TBL_COMPANY
		Get
			Return Me._PARENTCOMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._PARENTCOMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._PARENTCOMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._PARENTCOMPANY.Entity = Nothing
					previousValue.COMPANY.Remove(Me)
				End If
				Me._PARENTCOMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.COMPANY.Add(Me)
					Me._PARENTCOMPANYID = value.COMPANYID
				Else
					Me._PARENTCOMPANYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("PARENTCOMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_PARENTCOMPANYID_FK", Storage:="_COMPANY", ThisKey:="COMPANYID", OtherKey:="PARENTCOMPANYID", DeleteRule:="NO ACTION")>  _
	Public Property COMPANY() As EntitySet(Of TBL_COMPANY)
		Get
			Return Me._COMPANY
		End Get
		Set
			Me._COMPANY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_COMPANYID_FK", Storage:="_TBL_COMPANYQUERY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANYQUERY() As EntitySet(Of TBL_COMPANYQUERY)
		Get
			Return Me._TBL_COMPANYQUERY
		End Get
		Set
			Me._TBL_COMPANYQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_COMPANYID_FK", Storage:="_TBL_CONTACT", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="SET NULL")>  _
	Public Property TBL_CONTACT() As EntitySet(Of TBL_CONTACT)
		Get
			Return Me._TBL_CONTACT
		End Get
		Set
			Me._TBL_CONTACT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_COMPANYID_FK", Storage:="_TBL_EMAIL", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_EMAIL() As EntitySet(Of TBL_EMAIL)
		Get
			Return Me._TBL_EMAIL
		End Get
		Set
			Me._TBL_EMAIL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_COMPANYID_FK", Storage:="_TBL_PHONE", ThisKey:="COMPANYID", OtherKey:="COMPANYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PHONE() As EntitySet(Of TBL_PHONE)
		Get
			Return Me._TBL_PHONE
		End Get
		Set
			Me._TBL_PHONE.Assign(value)
		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
	
	Private Sub attach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_ACL(ByVal entity As TBL_COMPANY_ACL)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_ACL(ByVal entity As TBL_COMPANY_ACL)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_ACTIVITY(ByVal entity As TBL_COMPANY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_ACTIVITY(ByVal entity As TBL_COMPANY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_CONTACT(ByVal entity As TBL_COMPANY_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_CONTACT(ByVal entity As TBL_COMPANY_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_HISTORY(ByVal entity As TBL_COMPANY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_HISTORY(ByVal entity As TBL_COMPANY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_NOTE(ByVal entity As TBL_COMPANY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_NOTE(ByVal entity As TBL_COMPANY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_OPPORTUNITY(ByVal entity As TBL_COMPANY_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_OPPORTUNITY(ByVal entity As TBL_COMPANY_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_COMPANY(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.PARENTCOMPANY = Me
	End Sub
	
	Private Sub detach_COMPANY(ByVal entity As TBL_COMPANY)
		Me.SendPropertyChanging
		entity.PARENTCOMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT(ByVal entity As TBL_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
	
	Private Sub attach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Me
	End Sub
	
	Private Sub detach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_COMPANY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY_ACL")>  _
Partial Public Class TBL_COMPANY_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_COMPANY_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACL_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANY_ACL.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_ACL.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY_ACTIVITY")>  _
Partial Public Class TBL_COMPANY_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.TBL_COMPANY_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_ACTIVITY.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_ACTIVITY_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANY_ACTIVITY.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_ACTIVITY.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY_CONTACT")>  _
Partial Public Class TBL_COMPANY_CONTACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_CONTACT_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANY_CONTACT.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_CONTACT.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_CONTACT_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_COMPANY_CONTACT.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_CONTACT.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY_HISTORY")>  _
Partial Public Class TBL_COMPANY_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_HISTORY As EntityRef(Of TBL_HISTORY)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_HISTORY = CType(Nothing, EntityRef(Of TBL_HISTORY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				If Me._TBL_HISTORY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_HISTORY_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANY_HISTORY.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_HISTORY.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_HISTORY_HISTORYID_FK", Storage:="_TBL_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_HISTORY() As TBL_HISTORY
		Get
			Return Me._TBL_HISTORY.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORY = Me._TBL_HISTORY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORY.Entity = Nothing
					previousValue.TBL_COMPANY_HISTORY.Remove(Me)
				End If
				Me._TBL_HISTORY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_HISTORY.Add(Me)
					Me._HISTORYID = value.HISTORYID
				Else
					Me._HISTORYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_HISTORY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY_NOTE")>  _
Partial Public Class TBL_COMPANY_NOTE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_NOTE As EntityRef(Of TBL_NOTE)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnNOTEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_NOTE = CType(Nothing, EntityRef(Of TBL_NOTE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				If Me._TBL_NOTE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_NOTE_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANY_NOTE.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_NOTE.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TBL_COMPANY_NOTE_NOTEID_FK", Storage:="_TBL_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_NOTE() As TBL_NOTE
		Get
			Return Me._TBL_NOTE.Entity
		End Get
		Set
			Dim previousValue As TBL_NOTE = Me._TBL_NOTE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_NOTE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_NOTE.Entity = Nothing
					previousValue.TBL_COMPANY_NOTE.Remove(Me)
				End If
				Me._TBL_NOTE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_NOTE.Add(Me)
					Me._NOTEID = value.NOTEID
				Else
					Me._NOTEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_NOTE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANY_OPPORTUNITY")>  _
Partial Public Class TBL_COMPANY_OPPORTUNITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYID As System.Guid
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ISMEMBER As Boolean
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnISMEMBERChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISMEMBERChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISMEMBER", DbType:="Bit NOT NULL")>  _
	Public Property ISMEMBER() As Boolean
		Get
			Return Me._ISMEMBER
		End Get
		Set
			If ((Me._ISMEMBER = value)  _
						= false) Then
				Me.OnISMEMBERChanging(value)
				Me.SendPropertyChanging
				Me._ISMEMBER = value
				Me.SendPropertyChanged("ISMEMBER")
				Me.OnISMEMBERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_OPPORTUNITY_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANY_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_OPPORTUNITY.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_OPPORTUNITY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_COMPANY_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANY_OPPORTUNITY.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANYCONTACT_MAP")>  _
Partial Public Class TBL_COMPANYCONTACT_MAP
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANY_COLUMNID As System.Guid
	
	Private _CONTACT_COLUMNID As System.Guid
	
	Private _ISCUSTOM As Boolean
	
	Private _ISACTIVE As Boolean
	
	Private _ISMANDATORY As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
    #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 OnCOMPANY_COLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANY_COLUMNIDChanged()
    End Sub
    Partial Private Sub OnCONTACT_COLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACT_COLUMNIDChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnISMANDATORYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISMANDATORYChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANY_COLUMNID() As System.Guid
		Get
			Return Me._COMPANY_COLUMNID
		End Get
		Set
			If ((Me._COMPANY_COLUMNID = value)  _
						= false) Then
				Me.OnCOMPANY_COLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANY_COLUMNID = value
				Me.SendPropertyChanged("COMPANY_COLUMNID")
				Me.OnCOMPANY_COLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACT_COLUMNID() As System.Guid
		Get
			Return Me._CONTACT_COLUMNID
		End Get
		Set
			If ((Me._CONTACT_COLUMNID = value)  _
						= false) Then
				Me.OnCONTACT_COLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACT_COLUMNID = value
				Me.SendPropertyChanged("CONTACT_COLUMNID")
				Me.OnCONTACT_COLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISMANDATORY", DbType:="Bit NOT NULL")>  _
	Public Property ISMANDATORY() As Boolean
		Get
			Return Me._ISMANDATORY
		End Get
		Set
			If ((Me._ISMANDATORY = value)  _
						= false) Then
				Me.OnISMANDATORYChanging(value)
				Me.SendPropertyChanging
				Me._ISMANDATORY = value
				Me.SendPropertyChanged("ISMANDATORY")
				Me.OnISMANDATORYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COMPANYQUERY")>  _
Partial Public Class TBL_COMPANYQUERY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COMPANYQUERYID As System.Guid
	
	Private _COMPANYID As System.Guid
	
	Private _QUERYVERSIONID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _LEFTPAREN As Byte
	
	Private _RIGHTPAREN As Byte
	
	Private _LOGICALOPERATOR As Byte
	
	Private _COLUMNID As System.Guid
	
	Private _OPERATORID As Byte
	
	Private _VALUEID1 As System.Nullable(Of Byte)
	
	Private _VALUEID2 As System.Nullable(Of Byte)
	
	Private _VALUESTRING1 As String
	
	Private _VALUESTRING2 As String
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_SYSOPERATOR As EntityRef(Of TBL_SYSOPERATOR)
	
	Private _TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
	Private _VALUEID2TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
    #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 OnCOMPANYQUERYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYQUERYIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnLEFTPARENChanging(value As Byte)
    End Sub
    Partial Private Sub OnLEFTPARENChanged()
    End Sub
    Partial Private Sub OnRIGHTPARENChanging(value As Byte)
    End Sub
    Partial Private Sub OnRIGHTPARENChanged()
    End Sub
    Partial Private Sub OnLOGICALOPERATORChanging(value As Byte)
    End Sub
    Partial Private Sub OnLOGICALOPERATORChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnOPERATORIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnOPERATORIDChanged()
    End Sub
    Partial Private Sub OnVALUEID1Changing(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnVALUEID1Changed()
    End Sub
    Partial Private Sub OnVALUEID2Changing(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnVALUEID2Changed()
    End Sub
    Partial Private Sub OnVALUESTRING1Changing(value As String)
    End Sub
    Partial Private Sub OnVALUESTRING1Changed()
    End Sub
    Partial Private Sub OnVALUESTRING2Changing(value As String)
    End Sub
    Partial Private Sub OnVALUESTRING2Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_SYSOPERATOR = CType(Nothing, EntityRef(Of TBL_SYSOPERATOR))
		Me._TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		Me._VALUEID2TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYQUERYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COMPANYQUERYID() As System.Guid
		Get
			Return Me._COMPANYQUERYID
		End Get
		Set
			If ((Me._COMPANYQUERYID = value)  _
						= false) Then
				Me.OnCOMPANYQUERYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYQUERYID = value
				Me.SendPropertyChanged("COMPANYQUERYID")
				Me.OnCOMPANYQUERYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property QUERYVERSIONID() As System.Guid
		Get
			Return Me._QUERYVERSIONID
		End Get
		Set
			If ((Me._QUERYVERSIONID = value)  _
						= false) Then
				Me.OnQUERYVERSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVERSIONID = value
				Me.SendPropertyChanged("QUERYVERSIONID")
				Me.OnQUERYVERSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEFTPAREN", DbType:="TinyInt NOT NULL")>  _
	Public Property LEFTPAREN() As Byte
		Get
			Return Me._LEFTPAREN
		End Get
		Set
			If ((Me._LEFTPAREN = value)  _
						= false) Then
				Me.OnLEFTPARENChanging(value)
				Me.SendPropertyChanging
				Me._LEFTPAREN = value
				Me.SendPropertyChanged("LEFTPAREN")
				Me.OnLEFTPARENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RIGHTPAREN", DbType:="TinyInt NOT NULL")>  _
	Public Property RIGHTPAREN() As Byte
		Get
			Return Me._RIGHTPAREN
		End Get
		Set
			If ((Me._RIGHTPAREN = value)  _
						= false) Then
				Me.OnRIGHTPARENChanging(value)
				Me.SendPropertyChanging
				Me._RIGHTPAREN = value
				Me.SendPropertyChanged("RIGHTPAREN")
				Me.OnRIGHTPARENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGICALOPERATOR", DbType:="TinyInt NOT NULL")>  _
	Public Property LOGICALOPERATOR() As Byte
		Get
			Return Me._LOGICALOPERATOR
		End Get
		Set
			If ((Me._LOGICALOPERATOR = value)  _
						= false) Then
				Me.OnLOGICALOPERATORChanging(value)
				Me.SendPropertyChanging
				Me._LOGICALOPERATOR = value
				Me.SendPropertyChanged("LOGICALOPERATOR")
				Me.OnLOGICALOPERATORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL")>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				If Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPERATORIDChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORID = value
				Me.SendPropertyChanged("OPERATORID")
				Me.OnOPERATORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID1", DbType:="TinyInt")>  _
	Public Property VALUEID1() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID1
		End Get
		Set
			If (Me._VALUEID1.Equals(value) = false) Then
				If Me._TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEID1Changing(value)
				Me.SendPropertyChanging
				Me._VALUEID1 = value
				Me.SendPropertyChanged("VALUEID1")
				Me.OnVALUEID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID2", DbType:="TinyInt")>  _
	Public Property VALUEID2() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID2
		End Get
		Set
			If (Me._VALUEID2.Equals(value) = false) Then
				If Me._VALUEID2TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEID2Changing(value)
				Me.SendPropertyChanging
				Me._VALUEID2 = value
				Me.SendPropertyChanged("VALUEID2")
				Me.OnVALUEID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUESTRING1", DbType:="NVarChar(500)")>  _
	Public Property VALUESTRING1() As String
		Get
			Return Me._VALUESTRING1
		End Get
		Set
			If (String.Equals(Me._VALUESTRING1, value) = false) Then
				Me.OnVALUESTRING1Changing(value)
				Me.SendPropertyChanging
				Me._VALUESTRING1 = value
				Me.SendPropertyChanged("VALUESTRING1")
				Me.OnVALUESTRING1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUESTRING2", DbType:="NVarChar(500)")>  _
	Public Property VALUESTRING2() As String
		Get
			Return Me._VALUESTRING2
		End Get
		Set
			If (String.Equals(Me._VALUESTRING2, value) = false) Then
				Me.OnVALUESTRING2Changing(value)
				Me.SendPropertyChanging
				Me._VALUESTRING2 = value
				Me.SendPropertyChanged("VALUESTRING2")
				Me.OnVALUESTRING2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_COMPANYQUERY.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANYQUERY.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_COMPANYQUERY.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANYQUERY.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_OPERATORID_FK", Storage:="_TBL_SYSOPERATOR", ThisKey:="OPERATORID", OtherKey:="OPERATORID", IsForeignKey:=true)>  _
	Public Property TBL_SYSOPERATOR() As TBL_SYSOPERATOR
		Get
			Return Me._TBL_SYSOPERATOR.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSOPERATOR = Me._TBL_SYSOPERATOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSOPERATOR.Entity = Nothing
					previousValue.TBL_COMPANYQUERY.Remove(Me)
				End If
				Me._TBL_SYSOPERATOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANYQUERY.Add(Me)
					Me._OPERATORID = value.OPERATORID
				Else
					Me._OPERATORID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSOPERATOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_VALUEID1_FK", Storage:="_TBL_SYSVALUE", ThisKey:="VALUEID1", OtherKey:="VALUEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSVALUE.Entity = Nothing
					previousValue.TBL_COMPANYQUERY.Remove(Me)
				End If
				Me._TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_COMPANYQUERY.Add(Me)
					Me._VALUEID1 = value.VALUEID
				Else
					Me._VALUEID1 = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("TBL_SYSVALUE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_VALUEID2_FK", Storage:="_VALUEID2TBL_SYSVALUE", ThisKey:="VALUEID2", OtherKey:="VALUEID", IsForeignKey:=true)>  _
	Public Property VALUEID2TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._VALUEID2TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._VALUEID2TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._VALUEID2TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._VALUEID2TBL_SYSVALUE.Entity = Nothing
					previousValue.VALUE.Remove(Me)
				End If
				Me._VALUEID2TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.VALUE.Add(Me)
					Me._VALUEID2 = value.VALUEID
				Else
					Me._VALUEID2 = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("VALUEID2TBL_SYSVALUE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT")>  _
Partial Public Class TBL_CONTACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _TYPENUM As Byte
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Private _MIDDLENAME As String
	
	Private _NAMEPREFIX As String
	
	Private _NAMESUFFIX As String
	
	Private _SALUTATION As String
	
	Private _FULLNAME As String
	
	Private _CATEGORY As String
	
	Private _ISPRIVATE As Boolean
	
	Private _ISIMPORTED As Boolean
	
	Private _JOBTITLE As String
	
	Private _DEPARTMENT As String
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYNAME As String
	
	Private _CONTACTWEBADDRESS As String
	
	Private _LASTMEETDATE As System.Nullable(Of Date)
	
	Private _LASTREACHDATE As System.Nullable(Of Date)
	
	Private _LASTATTEMPTDATE As System.Nullable(Of Date)
	
	Private _LASTLETTERDATE As System.Nullable(Of Date)
	
	Private _LASTRESULTS As String
	
	Private _LASTEMAILDATE As System.Nullable(Of Date)
	
	Private _REFERREDBY As String
	
	Private _SPOUSENAME As String
	
	Private _BIRTHDATE As System.Nullable(Of Date)
	
	Private _INSTANTMSGID As String
	
	Private _USER1 As String
	
	Private _USER2 As String
	
	Private _USER3 As String
	
	Private _USER4 As String
	
	Private _USER5 As String
	
	Private _USER6 As String
	
	Private _USER7 As String
	
	Private _USER8 As String
	
	Private _USER9 As String
	
	Private _USER10 As String
	
	Private _MANAGEUSERID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CUST_CustomerID_081052875 As String
	
	Private _CUST_LastYrsPurchases_081256484 As System.Nullable(Of Decimal)
	
	Private _CUST_Trivia_081318328 As String
	
	Private _CUST_Photo_081345796 As System.Data.Linq.Binary
	
	Private _CUST_KeyContact_081409640 As Boolean
	
	Private _CUST_FirstPurchase_081530453 As System.Nullable(Of Date)
	
	Private _ISUSER As System.Nullable(Of Boolean)
	
	Private _IMPORTDATE As System.Nullable(Of Date)
	
	Private _CUST_EmailPermission_060444292 As String
	
	Private _CUST_SnapshotContactRank_070520185 As System.Nullable(Of Integer)
	
	Private _CUST_SnapshotContactGrade_070613702 As String
	
	Private _CUST_SnapshotFavorites_071014955 As String
	
	Private _CUST_SnapshotWhoIs_071038693 As String
	
	Private _TBL_ADDRESS As EntitySet(Of TBL_ADDRESS)
	
	Private _TBL_AL_LINK As EntitySet(Of TBL_AL_LINK)
	
	Private _TBL_COMPANY_CONTACT As EntitySet(Of TBL_COMPANY_CONTACT)
	
	Private _TBL_CONTACT_ACL As EntitySet(Of TBL_CONTACT_ACL)
	
	Private _TBL_CONTACT_ACTIVITY As EntitySet(Of TBL_CONTACT_ACTIVITY)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_CONTACT_HISTORY As EntitySet(Of TBL_CONTACT_HISTORY)
	
	Private _MANAGEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_CONTACT_NOTE As EntitySet(Of TBL_CONTACT_NOTE)
	
	Private _TBL_CONTACT_OPPORTUNITY As EntitySet(Of TBL_CONTACT_OPPORTUNITY)
	
	Private _TBL_CONTACT_SOURCE As EntityRef(Of TBL_CONTACT_SOURCE)
	
	Private _TBL_EMAIL As EntitySet(Of TBL_EMAIL)
	
	Private _TBL_GROUP_CONTACT As EntitySet(Of TBL_GROUP_CONTACT)
	
	Private _TBL_PHONE As EntitySet(Of TBL_PHONE)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnLASTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnLASTNAMEChanged()
    End Sub
    Partial Private Sub OnFIRSTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFIRSTNAMEChanged()
    End Sub
    Partial Private Sub OnMIDDLENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnMIDDLENAMEChanged()
    End Sub
    Partial Private Sub OnNAMEPREFIXChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEPREFIXChanged()
    End Sub
    Partial Private Sub OnNAMESUFFIXChanging(value As String)
    End Sub
    Partial Private Sub OnNAMESUFFIXChanged()
    End Sub
    Partial Private Sub OnSALUTATIONChanging(value As String)
    End Sub
    Partial Private Sub OnSALUTATIONChanged()
    End Sub
    Partial Private Sub OnFULLNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFULLNAMEChanged()
    End Sub
    Partial Private Sub OnCATEGORYChanging(value As String)
    End Sub
    Partial Private Sub OnCATEGORYChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnISIMPORTEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISIMPORTEDChanged()
    End Sub
    Partial Private Sub OnJOBTITLEChanging(value As String)
    End Sub
    Partial Private Sub OnJOBTITLEChanged()
    End Sub
    Partial Private Sub OnDEPARTMENTChanging(value As String)
    End Sub
    Partial Private Sub OnDEPARTMENTChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOMPANYNAMEChanged()
    End Sub
    Partial Private Sub OnCONTACTWEBADDRESSChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACTWEBADDRESSChanged()
    End Sub
    Partial Private Sub OnLASTMEETDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLASTMEETDATEChanged()
    End Sub
    Partial Private Sub OnLASTREACHDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLASTREACHDATEChanged()
    End Sub
    Partial Private Sub OnLASTATTEMPTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLASTATTEMPTDATEChanged()
    End Sub
    Partial Private Sub OnLASTLETTERDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLASTLETTERDATEChanged()
    End Sub
    Partial Private Sub OnLASTRESULTSChanging(value As String)
    End Sub
    Partial Private Sub OnLASTRESULTSChanged()
    End Sub
    Partial Private Sub OnLASTEMAILDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLASTEMAILDATEChanged()
    End Sub
    Partial Private Sub OnREFERREDBYChanging(value As String)
    End Sub
    Partial Private Sub OnREFERREDBYChanged()
    End Sub
    Partial Private Sub OnSPOUSENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnSPOUSENAMEChanged()
    End Sub
    Partial Private Sub OnBIRTHDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnBIRTHDATEChanged()
    End Sub
    Partial Private Sub OnINSTANTMSGIDChanging(value As String)
    End Sub
    Partial Private Sub OnINSTANTMSGIDChanged()
    End Sub
    Partial Private Sub OnUSER1Changing(value As String)
    End Sub
    Partial Private Sub OnUSER1Changed()
    End Sub
    Partial Private Sub OnUSER2Changing(value As String)
    End Sub
    Partial Private Sub OnUSER2Changed()
    End Sub
    Partial Private Sub OnUSER3Changing(value As String)
    End Sub
    Partial Private Sub OnUSER3Changed()
    End Sub
    Partial Private Sub OnUSER4Changing(value As String)
    End Sub
    Partial Private Sub OnUSER4Changed()
    End Sub
    Partial Private Sub OnUSER5Changing(value As String)
    End Sub
    Partial Private Sub OnUSER5Changed()
    End Sub
    Partial Private Sub OnUSER6Changing(value As String)
    End Sub
    Partial Private Sub OnUSER6Changed()
    End Sub
    Partial Private Sub OnUSER7Changing(value As String)
    End Sub
    Partial Private Sub OnUSER7Changed()
    End Sub
    Partial Private Sub OnUSER8Changing(value As String)
    End Sub
    Partial Private Sub OnUSER8Changed()
    End Sub
    Partial Private Sub OnUSER9Changing(value As String)
    End Sub
    Partial Private Sub OnUSER9Changed()
    End Sub
    Partial Private Sub OnUSER10Changing(value As String)
    End Sub
    Partial Private Sub OnUSER10Changed()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnCUST_CustomerID_081052875Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_CustomerID_081052875Changed()
    End Sub
    Partial Private Sub OnCUST_LastYrsPurchases_081256484Changing(value As System.Nullable(Of Decimal))
    End Sub
    Partial Private Sub OnCUST_LastYrsPurchases_081256484Changed()
    End Sub
    Partial Private Sub OnCUST_Trivia_081318328Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_Trivia_081318328Changed()
    End Sub
    Partial Private Sub OnCUST_Photo_081345796Changing(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnCUST_Photo_081345796Changed()
    End Sub
    Partial Private Sub OnCUST_KeyContact_081409640Changing(value As Boolean)
    End Sub
    Partial Private Sub OnCUST_KeyContact_081409640Changed()
    End Sub
    Partial Private Sub OnCUST_FirstPurchase_081530453Changing(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnCUST_FirstPurchase_081530453Changed()
    End Sub
    Partial Private Sub OnISUSERChanging(value As System.Nullable(Of Boolean))
    End Sub
    Partial Private Sub OnISUSERChanged()
    End Sub
    Partial Private Sub OnIMPORTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnIMPORTDATEChanged()
    End Sub
    Partial Private Sub OnCUST_EmailPermission_060444292Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_EmailPermission_060444292Changed()
    End Sub
    Partial Private Sub OnCUST_SnapshotContactRank_070520185Changing(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnCUST_SnapshotContactRank_070520185Changed()
    End Sub
    Partial Private Sub OnCUST_SnapshotContactGrade_070613702Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_SnapshotContactGrade_070613702Changed()
    End Sub
    Partial Private Sub OnCUST_SnapshotFavorites_071014955Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_SnapshotFavorites_071014955Changed()
    End Sub
    Partial Private Sub OnCUST_SnapshotWhoIs_071038693Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_SnapshotWhoIs_071038693Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ADDRESS = New EntitySet(Of TBL_ADDRESS)(AddressOf Me.attach_TBL_ADDRESS, AddressOf Me.detach_TBL_ADDRESS)
		Me._TBL_AL_LINK = New EntitySet(Of TBL_AL_LINK)(AddressOf Me.attach_TBL_AL_LINK, AddressOf Me.detach_TBL_AL_LINK)
		Me._TBL_COMPANY_CONTACT = New EntitySet(Of TBL_COMPANY_CONTACT)(AddressOf Me.attach_TBL_COMPANY_CONTACT, AddressOf Me.detach_TBL_COMPANY_CONTACT)
		Me._TBL_CONTACT_ACL = New EntitySet(Of TBL_CONTACT_ACL)(AddressOf Me.attach_TBL_CONTACT_ACL, AddressOf Me.detach_TBL_CONTACT_ACL)
		Me._TBL_CONTACT_ACTIVITY = New EntitySet(Of TBL_CONTACT_ACTIVITY)(AddressOf Me.attach_TBL_CONTACT_ACTIVITY, AddressOf Me.detach_TBL_CONTACT_ACTIVITY)
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_CONTACT_HISTORY = New EntitySet(Of TBL_CONTACT_HISTORY)(AddressOf Me.attach_TBL_CONTACT_HISTORY, AddressOf Me.detach_TBL_CONTACT_HISTORY)
		Me._MANAGEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_CONTACT_NOTE = New EntitySet(Of TBL_CONTACT_NOTE)(AddressOf Me.attach_TBL_CONTACT_NOTE, AddressOf Me.detach_TBL_CONTACT_NOTE)
		Me._TBL_CONTACT_OPPORTUNITY = New EntitySet(Of TBL_CONTACT_OPPORTUNITY)(AddressOf Me.attach_TBL_CONTACT_OPPORTUNITY, AddressOf Me.detach_TBL_CONTACT_OPPORTUNITY)
		Me._TBL_CONTACT_SOURCE = CType(Nothing, EntityRef(Of TBL_CONTACT_SOURCE))
		Me._TBL_EMAIL = New EntitySet(Of TBL_EMAIL)(AddressOf Me.attach_TBL_EMAIL, AddressOf Me.detach_TBL_EMAIL)
		Me._TBL_GROUP_CONTACT = New EntitySet(Of TBL_GROUP_CONTACT)(AddressOf Me.attach_TBL_GROUP_CONTACT, AddressOf Me.detach_TBL_GROUP_CONTACT)
		Me._TBL_PHONE = New EntitySet(Of TBL_PHONE)(AddressOf Me.attach_TBL_PHONE, AddressOf Me.detach_TBL_PHONE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me.OnLASTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._LASTNAME = value
				Me.SendPropertyChanged("LASTNAME")
				Me.OnLASTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me.OnFIRSTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._FIRSTNAME = value
				Me.SendPropertyChanged("FIRSTNAME")
				Me.OnFIRSTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIDDLENAME", DbType:="NVarChar(64)")>  _
	Public Property MIDDLENAME() As String
		Get
			Return Me._MIDDLENAME
		End Get
		Set
			If (String.Equals(Me._MIDDLENAME, value) = false) Then
				Me.OnMIDDLENAMEChanging(value)
				Me.SendPropertyChanging
				Me._MIDDLENAME = value
				Me.SendPropertyChanged("MIDDLENAME")
				Me.OnMIDDLENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAMEPREFIX", DbType:="NVarChar(32)")>  _
	Public Property NAMEPREFIX() As String
		Get
			Return Me._NAMEPREFIX
		End Get
		Set
			If (String.Equals(Me._NAMEPREFIX, value) = false) Then
				Me.OnNAMEPREFIXChanging(value)
				Me.SendPropertyChanging
				Me._NAMEPREFIX = value
				Me.SendPropertyChanged("NAMEPREFIX")
				Me.OnNAMEPREFIXChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAMESUFFIX", DbType:="NVarChar(32)")>  _
	Public Property NAMESUFFIX() As String
		Get
			Return Me._NAMESUFFIX
		End Get
		Set
			If (String.Equals(Me._NAMESUFFIX, value) = false) Then
				Me.OnNAMESUFFIXChanging(value)
				Me.SendPropertyChanging
				Me._NAMESUFFIX = value
				Me.SendPropertyChanged("NAMESUFFIX")
				Me.OnNAMESUFFIXChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SALUTATION", DbType:="NVarChar(32)")>  _
	Public Property SALUTATION() As String
		Get
			Return Me._SALUTATION
		End Get
		Set
			If (String.Equals(Me._SALUTATION, value) = false) Then
				Me.OnSALUTATIONChanging(value)
				Me.SendPropertyChanging
				Me._SALUTATION = value
				Me.SendPropertyChanged("SALUTATION")
				Me.OnSALUTATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(128)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me.OnFULLNAMEChanging(value)
				Me.SendPropertyChanging
				Me._FULLNAME = value
				Me.SendPropertyChanged("FULLNAME")
				Me.OnFULLNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CATEGORY", DbType:="NVarChar(128)")>  _
	Public Property CATEGORY() As String
		Get
			Return Me._CATEGORY
		End Get
		Set
			If (String.Equals(Me._CATEGORY, value) = false) Then
				Me.OnCATEGORYChanging(value)
				Me.SendPropertyChanging
				Me._CATEGORY = value
				Me.SendPropertyChanged("CATEGORY")
				Me.OnCATEGORYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISIMPORTED", DbType:="Bit NOT NULL")>  _
	Public Property ISIMPORTED() As Boolean
		Get
			Return Me._ISIMPORTED
		End Get
		Set
			If ((Me._ISIMPORTED = value)  _
						= false) Then
				Me.OnISIMPORTEDChanging(value)
				Me.SendPropertyChanging
				Me._ISIMPORTED = value
				Me.SendPropertyChanged("ISIMPORTED")
				Me.OnISIMPORTEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_JOBTITLE", DbType:="NVarChar(128)")>  _
	Public Property JOBTITLE() As String
		Get
			Return Me._JOBTITLE
		End Get
		Set
			If (String.Equals(Me._JOBTITLE, value) = false) Then
				Me.OnJOBTITLEChanging(value)
				Me.SendPropertyChanging
				Me._JOBTITLE = value
				Me.SendPropertyChanged("JOBTITLE")
				Me.OnJOBTITLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPARTMENT", DbType:="NVarChar(128)")>  _
	Public Property DEPARTMENT() As String
		Get
			Return Me._DEPARTMENT
		End Get
		Set
			If (String.Equals(Me._DEPARTMENT, value) = false) Then
				Me.OnDEPARTMENTChanging(value)
				Me.SendPropertyChanging
				Me._DEPARTMENT = value
				Me.SendPropertyChanged("DEPARTMENT")
				Me.OnDEPARTMENTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(128)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me.OnCOMPANYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYNAME = value
				Me.SendPropertyChanged("COMPANYNAME")
				Me.OnCOMPANYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTWEBADDRESS", DbType:="NVarChar(128)")>  _
	Public Property CONTACTWEBADDRESS() As String
		Get
			Return Me._CONTACTWEBADDRESS
		End Get
		Set
			If (String.Equals(Me._CONTACTWEBADDRESS, value) = false) Then
				Me.OnCONTACTWEBADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTWEBADDRESS = value
				Me.SendPropertyChanged("CONTACTWEBADDRESS")
				Me.OnCONTACTWEBADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTMEETDATE", DbType:="DateTime")>  _
	Public Property LASTMEETDATE() As System.Nullable(Of Date)
		Get
			Return Me._LASTMEETDATE
		End Get
		Set
			If (Me._LASTMEETDATE.Equals(value) = false) Then
				Me.OnLASTMEETDATEChanging(value)
				Me.SendPropertyChanging
				Me._LASTMEETDATE = value
				Me.SendPropertyChanged("LASTMEETDATE")
				Me.OnLASTMEETDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTREACHDATE", DbType:="DateTime")>  _
	Public Property LASTREACHDATE() As System.Nullable(Of Date)
		Get
			Return Me._LASTREACHDATE
		End Get
		Set
			If (Me._LASTREACHDATE.Equals(value) = false) Then
				Me.OnLASTREACHDATEChanging(value)
				Me.SendPropertyChanging
				Me._LASTREACHDATE = value
				Me.SendPropertyChanged("LASTREACHDATE")
				Me.OnLASTREACHDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTATTEMPTDATE", DbType:="DateTime")>  _
	Public Property LASTATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._LASTATTEMPTDATE
		End Get
		Set
			If (Me._LASTATTEMPTDATE.Equals(value) = false) Then
				Me.OnLASTATTEMPTDATEChanging(value)
				Me.SendPropertyChanging
				Me._LASTATTEMPTDATE = value
				Me.SendPropertyChanged("LASTATTEMPTDATE")
				Me.OnLASTATTEMPTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTLETTERDATE", DbType:="DateTime")>  _
	Public Property LASTLETTERDATE() As System.Nullable(Of Date)
		Get
			Return Me._LASTLETTERDATE
		End Get
		Set
			If (Me._LASTLETTERDATE.Equals(value) = false) Then
				Me.OnLASTLETTERDATEChanging(value)
				Me.SendPropertyChanging
				Me._LASTLETTERDATE = value
				Me.SendPropertyChanged("LASTLETTERDATE")
				Me.OnLASTLETTERDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTRESULTS", DbType:="NVarChar(128)")>  _
	Public Property LASTRESULTS() As String
		Get
			Return Me._LASTRESULTS
		End Get
		Set
			If (String.Equals(Me._LASTRESULTS, value) = false) Then
				Me.OnLASTRESULTSChanging(value)
				Me.SendPropertyChanging
				Me._LASTRESULTS = value
				Me.SendPropertyChanged("LASTRESULTS")
				Me.OnLASTRESULTSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTEMAILDATE", DbType:="DateTime")>  _
	Public Property LASTEMAILDATE() As System.Nullable(Of Date)
		Get
			Return Me._LASTEMAILDATE
		End Get
		Set
			If (Me._LASTEMAILDATE.Equals(value) = false) Then
				Me.OnLASTEMAILDATEChanging(value)
				Me.SendPropertyChanging
				Me._LASTEMAILDATE = value
				Me.SendPropertyChanged("LASTEMAILDATE")
				Me.OnLASTEMAILDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERREDBY", DbType:="NVarChar(64)")>  _
	Public Property REFERREDBY() As String
		Get
			Return Me._REFERREDBY
		End Get
		Set
			If (String.Equals(Me._REFERREDBY, value) = false) Then
				Me.OnREFERREDBYChanging(value)
				Me.SendPropertyChanging
				Me._REFERREDBY = value
				Me.SendPropertyChanged("REFERREDBY")
				Me.OnREFERREDBYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SPOUSENAME", DbType:="NVarChar(64)")>  _
	Public Property SPOUSENAME() As String
		Get
			Return Me._SPOUSENAME
		End Get
		Set
			If (String.Equals(Me._SPOUSENAME, value) = false) Then
				Me.OnSPOUSENAMEChanging(value)
				Me.SendPropertyChanging
				Me._SPOUSENAME = value
				Me.SendPropertyChanged("SPOUSENAME")
				Me.OnSPOUSENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BIRTHDATE", DbType:="DateTime")>  _
	Public Property BIRTHDATE() As System.Nullable(Of Date)
		Get
			Return Me._BIRTHDATE
		End Get
		Set
			If (Me._BIRTHDATE.Equals(value) = false) Then
				Me.OnBIRTHDATEChanging(value)
				Me.SendPropertyChanging
				Me._BIRTHDATE = value
				Me.SendPropertyChanged("BIRTHDATE")
				Me.OnBIRTHDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANTMSGID", DbType:="NVarChar(16)")>  _
	Public Property INSTANTMSGID() As String
		Get
			Return Me._INSTANTMSGID
		End Get
		Set
			If (String.Equals(Me._INSTANTMSGID, value) = false) Then
				Me.OnINSTANTMSGIDChanging(value)
				Me.SendPropertyChanging
				Me._INSTANTMSGID = value
				Me.SendPropertyChanged("INSTANTMSGID")
				Me.OnINSTANTMSGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER1", DbType:="NVarChar(64)")>  _
	Public Property USER1() As String
		Get
			Return Me._USER1
		End Get
		Set
			If (String.Equals(Me._USER1, value) = false) Then
				Me.OnUSER1Changing(value)
				Me.SendPropertyChanging
				Me._USER1 = value
				Me.SendPropertyChanged("USER1")
				Me.OnUSER1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER2", DbType:="NVarChar(64)")>  _
	Public Property USER2() As String
		Get
			Return Me._USER2
		End Get
		Set
			If (String.Equals(Me._USER2, value) = false) Then
				Me.OnUSER2Changing(value)
				Me.SendPropertyChanging
				Me._USER2 = value
				Me.SendPropertyChanged("USER2")
				Me.OnUSER2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER3", DbType:="NVarChar(64)")>  _
	Public Property USER3() As String
		Get
			Return Me._USER3
		End Get
		Set
			If (String.Equals(Me._USER3, value) = false) Then
				Me.OnUSER3Changing(value)
				Me.SendPropertyChanging
				Me._USER3 = value
				Me.SendPropertyChanged("USER3")
				Me.OnUSER3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER4", DbType:="NVarChar(64)")>  _
	Public Property USER4() As String
		Get
			Return Me._USER4
		End Get
		Set
			If (String.Equals(Me._USER4, value) = false) Then
				Me.OnUSER4Changing(value)
				Me.SendPropertyChanging
				Me._USER4 = value
				Me.SendPropertyChanged("USER4")
				Me.OnUSER4Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER5", DbType:="NVarChar(64)")>  _
	Public Property USER5() As String
		Get
			Return Me._USER5
		End Get
		Set
			If (String.Equals(Me._USER5, value) = false) Then
				Me.OnUSER5Changing(value)
				Me.SendPropertyChanging
				Me._USER5 = value
				Me.SendPropertyChanged("USER5")
				Me.OnUSER5Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER6", DbType:="NVarChar(64)")>  _
	Public Property USER6() As String
		Get
			Return Me._USER6
		End Get
		Set
			If (String.Equals(Me._USER6, value) = false) Then
				Me.OnUSER6Changing(value)
				Me.SendPropertyChanging
				Me._USER6 = value
				Me.SendPropertyChanged("USER6")
				Me.OnUSER6Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER7", DbType:="NVarChar(75)")>  _
	Public Property USER7() As String
		Get
			Return Me._USER7
		End Get
		Set
			If (String.Equals(Me._USER7, value) = false) Then
				Me.OnUSER7Changing(value)
				Me.SendPropertyChanging
				Me._USER7 = value
				Me.SendPropertyChanged("USER7")
				Me.OnUSER7Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER8", DbType:="NVarChar(75)")>  _
	Public Property USER8() As String
		Get
			Return Me._USER8
		End Get
		Set
			If (String.Equals(Me._USER8, value) = false) Then
				Me.OnUSER8Changing(value)
				Me.SendPropertyChanging
				Me._USER8 = value
				Me.SendPropertyChanged("USER8")
				Me.OnUSER8Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER9", DbType:="NVarChar(75)")>  _
	Public Property USER9() As String
		Get
			Return Me._USER9
		End Get
		Set
			If (String.Equals(Me._USER9, value) = false) Then
				Me.OnUSER9Changing(value)
				Me.SendPropertyChanging
				Me._USER9 = value
				Me.SendPropertyChanged("USER9")
				Me.OnUSER9Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER10", DbType:="NVarChar(64)")>  _
	Public Property USER10() As String
		Get
			Return Me._USER10
		End Get
		Set
			If (String.Equals(Me._USER10, value) = false) Then
				Me.OnUSER10Changing(value)
				Me.SendPropertyChanging
				Me._USER10 = value
				Me.SendPropertyChanged("USER10")
				Me.OnUSER10Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				If Me._MANAGEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_CustomerID_081052875", DbType:="NVarChar(8)")>  _
	Public Property CUST_CustomerID_081052875() As String
		Get
			Return Me._CUST_CustomerID_081052875
		End Get
		Set
			If (String.Equals(Me._CUST_CustomerID_081052875, value) = false) Then
				Me.OnCUST_CustomerID_081052875Changing(value)
				Me.SendPropertyChanging
				Me._CUST_CustomerID_081052875 = value
				Me.SendPropertyChanged("CUST_CustomerID_081052875")
				Me.OnCUST_CustomerID_081052875Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_LastYrsPurchases_081256484", DbType:="Decimal(7,0)")>  _
	Public Property CUST_LastYrsPurchases_081256484() As System.Nullable(Of Decimal)
		Get
			Return Me._CUST_LastYrsPurchases_081256484
		End Get
		Set
			If (Me._CUST_LastYrsPurchases_081256484.Equals(value) = false) Then
				Me.OnCUST_LastYrsPurchases_081256484Changing(value)
				Me.SendPropertyChanging
				Me._CUST_LastYrsPurchases_081256484 = value
				Me.SendPropertyChanged("CUST_LastYrsPurchases_081256484")
				Me.OnCUST_LastYrsPurchases_081256484Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_Trivia_081318328", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CUST_Trivia_081318328() As String
		Get
			Return Me._CUST_Trivia_081318328
		End Get
		Set
			If (String.Equals(Me._CUST_Trivia_081318328, value) = false) Then
				Me.OnCUST_Trivia_081318328Changing(value)
				Me.SendPropertyChanging
				Me._CUST_Trivia_081318328 = value
				Me.SendPropertyChanged("CUST_Trivia_081318328")
				Me.OnCUST_Trivia_081318328Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_Photo_081345796", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CUST_Photo_081345796() As System.Data.Linq.Binary
		Get
			Return Me._CUST_Photo_081345796
		End Get
		Set
			If (Object.Equals(Me._CUST_Photo_081345796, value) = false) Then
				Me.OnCUST_Photo_081345796Changing(value)
				Me.SendPropertyChanging
				Me._CUST_Photo_081345796 = value
				Me.SendPropertyChanged("CUST_Photo_081345796")
				Me.OnCUST_Photo_081345796Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_KeyContact_081409640", DbType:="Bit NOT NULL")>  _
	Public Property CUST_KeyContact_081409640() As Boolean
		Get
			Return Me._CUST_KeyContact_081409640
		End Get
		Set
			If ((Me._CUST_KeyContact_081409640 = value)  _
						= false) Then
				Me.OnCUST_KeyContact_081409640Changing(value)
				Me.SendPropertyChanging
				Me._CUST_KeyContact_081409640 = value
				Me.SendPropertyChanged("CUST_KeyContact_081409640")
				Me.OnCUST_KeyContact_081409640Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_FirstPurchase_081530453", DbType:="DateTime")>  _
	Public Property CUST_FirstPurchase_081530453() As System.Nullable(Of Date)
		Get
			Return Me._CUST_FirstPurchase_081530453
		End Get
		Set
			If (Me._CUST_FirstPurchase_081530453.Equals(value) = false) Then
				Me.OnCUST_FirstPurchase_081530453Changing(value)
				Me.SendPropertyChanging
				Me._CUST_FirstPurchase_081530453 = value
				Me.SendPropertyChanged("CUST_FirstPurchase_081530453")
				Me.OnCUST_FirstPurchase_081530453Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISUSER", AutoSync:=AutoSync.Always, DbType:="Bit", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(CONVERT([bit],case [TYPENUM] when (1) then (1) else (0) end,(0)))")>  _
	Public Property ISUSER() As System.Nullable(Of Boolean)
		Get
			Return Me._ISUSER
		End Get
		Set
			If (Me._ISUSER.Equals(value) = false) Then
				Me.OnISUSERChanging(value)
				Me.SendPropertyChanging
				Me._ISUSER = value
				Me.SendPropertyChanged("ISUSER")
				Me.OnISUSERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORTDATE", DbType:="DateTime")>  _
	Public Property IMPORTDATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORTDATE
		End Get
		Set
			If (Me._IMPORTDATE.Equals(value) = false) Then
				Me.OnIMPORTDATEChanging(value)
				Me.SendPropertyChanging
				Me._IMPORTDATE = value
				Me.SendPropertyChanged("IMPORTDATE")
				Me.OnIMPORTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_EmailPermission_060444292", DbType:="NVarChar(20)")>  _
	Public Property CUST_EmailPermission_060444292() As String
		Get
			Return Me._CUST_EmailPermission_060444292
		End Get
		Set
			If (String.Equals(Me._CUST_EmailPermission_060444292, value) = false) Then
				Me.OnCUST_EmailPermission_060444292Changing(value)
				Me.SendPropertyChanging
				Me._CUST_EmailPermission_060444292 = value
				Me.SendPropertyChanged("CUST_EmailPermission_060444292")
				Me.OnCUST_EmailPermission_060444292Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_SnapshotContactRank_070520185", DbType:="Int")>  _
	Public Property CUST_SnapshotContactRank_070520185() As System.Nullable(Of Integer)
		Get
			Return Me._CUST_SnapshotContactRank_070520185
		End Get
		Set
			If (Me._CUST_SnapshotContactRank_070520185.Equals(value) = false) Then
				Me.OnCUST_SnapshotContactRank_070520185Changing(value)
				Me.SendPropertyChanging
				Me._CUST_SnapshotContactRank_070520185 = value
				Me.SendPropertyChanged("CUST_SnapshotContactRank_070520185")
				Me.OnCUST_SnapshotContactRank_070520185Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_SnapshotContactGrade_070613702", DbType:="NVarChar(50)")>  _
	Public Property CUST_SnapshotContactGrade_070613702() As String
		Get
			Return Me._CUST_SnapshotContactGrade_070613702
		End Get
		Set
			If (String.Equals(Me._CUST_SnapshotContactGrade_070613702, value) = false) Then
				Me.OnCUST_SnapshotContactGrade_070613702Changing(value)
				Me.SendPropertyChanging
				Me._CUST_SnapshotContactGrade_070613702 = value
				Me.SendPropertyChanged("CUST_SnapshotContactGrade_070613702")
				Me.OnCUST_SnapshotContactGrade_070613702Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_SnapshotFavorites_071014955", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CUST_SnapshotFavorites_071014955() As String
		Get
			Return Me._CUST_SnapshotFavorites_071014955
		End Get
		Set
			If (String.Equals(Me._CUST_SnapshotFavorites_071014955, value) = false) Then
				Me.OnCUST_SnapshotFavorites_071014955Changing(value)
				Me.SendPropertyChanging
				Me._CUST_SnapshotFavorites_071014955 = value
				Me.SendPropertyChanged("CUST_SnapshotFavorites_071014955")
				Me.OnCUST_SnapshotFavorites_071014955Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_SnapshotWhoIs_071038693", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CUST_SnapshotWhoIs_071038693() As String
		Get
			Return Me._CUST_SnapshotWhoIs_071038693
		End Get
		Set
			If (String.Equals(Me._CUST_SnapshotWhoIs_071038693, value) = false) Then
				Me.OnCUST_SnapshotWhoIs_071038693Changing(value)
				Me.SendPropertyChanging
				Me._CUST_SnapshotWhoIs_071038693 = value
				Me.SendPropertyChanged("CUST_SnapshotWhoIs_071038693")
				Me.OnCUST_SnapshotWhoIs_071038693Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_CONTACTID_FK", Storage:="_TBL_ADDRESS", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ADDRESS() As EntitySet(Of TBL_ADDRESS)
		Get
			Return Me._TBL_ADDRESS
		End Get
		Set
			Me._TBL_ADDRESS.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_LINK_CONTACTID_FK", Storage:="_TBL_AL_LINK", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_LINK() As EntitySet(Of TBL_AL_LINK)
		Get
			Return Me._TBL_AL_LINK
		End Get
		Set
			Me._TBL_AL_LINK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_CONTACT_CONTACTID_FK", Storage:="_TBL_COMPANY_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_CONTACT() As EntitySet(Of TBL_COMPANY_CONTACT)
		Get
			Return Me._TBL_COMPANY_CONTACT
		End Get
		Set
			Me._TBL_COMPANY_CONTACT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACL_CONTACTID_FK", Storage:="_TBL_CONTACT_ACL", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_ACL() As EntitySet(Of TBL_CONTACT_ACL)
		Get
			Return Me._TBL_CONTACT_ACL
		End Get
		Set
			Me._TBL_CONTACT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACTIVITY_CONTACTID_FK", Storage:="_TBL_CONTACT_ACTIVITY", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_ACTIVITY() As EntitySet(Of TBL_CONTACT_ACTIVITY)
		Get
			Return Me._TBL_CONTACT_ACTIVITY
		End Get
		Set
			Me._TBL_CONTACT_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_CONTACT.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_CONTACT.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.CONTACT_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CONTACT_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_HISTORY_CONTACTID_FK", Storage:="_TBL_CONTACT_HISTORY", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_HISTORY() As EntitySet(Of TBL_CONTACT_HISTORY)
		Get
			Return Me._TBL_CONTACT_HISTORY
		End Get
		Set
			Me._TBL_CONTACT_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_MANAGEUSERID_FK", Storage:="_MANAGEUSER", ThisKey:="MANAGEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property MANAGEUSER() As TBL_ACCESSOR
		Get
			Return Me._MANAGEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._MANAGEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MANAGEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MANAGEUSER.Entity = Nothing
					previousValue.CONTACT_MANAGEUSERID_FK.Remove(Me)
				End If
				Me._MANAGEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.CONTACT_MANAGEUSERID_FK.Add(Me)
					Me._MANAGEUSERID = value.ACCESSORID
				Else
					Me._MANAGEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MANAGEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_NOTE_CONTACTID_FK", Storage:="_TBL_CONTACT_NOTE", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_NOTE() As EntitySet(Of TBL_CONTACT_NOTE)
		Get
			Return Me._TBL_CONTACT_NOTE
		End Get
		Set
			Me._TBL_CONTACT_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_OPPORTUNITY_CONTACTID_FK", Storage:="_TBL_CONTACT_OPPORTUNITY", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_OPPORTUNITY() As EntitySet(Of TBL_CONTACT_OPPORTUNITY)
		Get
			Return Me._TBL_CONTACT_OPPORTUNITY
		End Get
		Set
			Me._TBL_CONTACT_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_SOURCE_CONTACTID_FK", Storage:="_TBL_CONTACT_SOURCE", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_SOURCE() As TBL_CONTACT_SOURCE
		Get
			Return Me._TBL_CONTACT_SOURCE.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT_SOURCE = Me._TBL_CONTACT_SOURCE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT_SOURCE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT_SOURCE.Entity = Nothing
					previousValue.TBL_CONTACT = Nothing
				End If
				Me._TBL_CONTACT_SOURCE.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_CONTACT = Me
				End If
				Me.SendPropertyChanged("TBL_CONTACT_SOURCE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_CONTACTID_FK", Storage:="_TBL_EMAIL", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_EMAIL() As EntitySet(Of TBL_EMAIL)
		Get
			Return Me._TBL_EMAIL
		End Get
		Set
			Me._TBL_EMAIL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_CONTACT_CONTACTID_FK", Storage:="_TBL_GROUP_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_CONTACT() As EntitySet(Of TBL_GROUP_CONTACT)
		Get
			Return Me._TBL_GROUP_CONTACT
		End Get
		Set
			Me._TBL_GROUP_CONTACT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_CONTACTID_FK", Storage:="_TBL_PHONE", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PHONE() As EntitySet(Of TBL_PHONE)
		Get
			Return Me._TBL_PHONE
		End Get
		Set
			Me._TBL_PHONE.Assign(value)
		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
	
	Private Sub attach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_AL_LINK(ByVal entity As TBL_AL_LINK)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_AL_LINK(ByVal entity As TBL_AL_LINK)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_CONTACT(ByVal entity As TBL_COMPANY_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_CONTACT(ByVal entity As TBL_COMPANY_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_ACL(ByVal entity As TBL_CONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_ACL(ByVal entity As TBL_CONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_ACTIVITY(ByVal entity As TBL_CONTACT_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_ACTIVITY(ByVal entity As TBL_CONTACT_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_HISTORY(ByVal entity As TBL_CONTACT_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_HISTORY(ByVal entity As TBL_CONTACT_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_NOTE(ByVal entity As TBL_CONTACT_NOTE)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_NOTE(ByVal entity As TBL_CONTACT_NOTE)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_OPPORTUNITY(ByVal entity As TBL_CONTACT_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_OPPORTUNITY(ByVal entity As TBL_CONTACT_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_CONTACT(ByVal entity As TBL_GROUP_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_CONTACT(ByVal entity As TBL_GROUP_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Me
	End Sub
	
	Private Sub detach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_CONTACT = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_ACL")>  _
Partial Public Class TBL_CONTACT_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_CONTACT_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACL_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_CONTACT_ACL.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_ACL.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_ACTIVITY")>  _
Partial Public Class TBL_CONTACT_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.TBL_CONTACT_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_ACTIVITY.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_ACTIVITY_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_CONTACT_ACTIVITY.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_ACTIVITY.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_CONTACT")>  _
Partial Public Class TBL_CONTACT_CONTACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID1 As System.Guid
	
	Private _CONTACTID2 As System.Guid
	
	Private _CONTACT1ROLE As String
	
	Private _CONTACT2ROLE As String
	
	Private _DETAILS As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
    #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 OnCONTACTID1Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTID1Changed()
    End Sub
    Partial Private Sub OnCONTACTID2Changing(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTID2Changed()
    End Sub
    Partial Private Sub OnCONTACT1ROLEChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACT1ROLEChanged()
    End Sub
    Partial Private Sub OnCONTACT2ROLEChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACT2ROLEChanged()
    End Sub
    Partial Private Sub OnDETAILSChanging(value As String)
    End Sub
    Partial Private Sub OnDETAILSChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID1", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID1() As System.Guid
		Get
			Return Me._CONTACTID1
		End Get
		Set
			If ((Me._CONTACTID1 = value)  _
						= false) Then
				Me.OnCONTACTID1Changing(value)
				Me.SendPropertyChanging
				Me._CONTACTID1 = value
				Me.SendPropertyChanged("CONTACTID1")
				Me.OnCONTACTID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID2", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID2() As System.Guid
		Get
			Return Me._CONTACTID2
		End Get
		Set
			If ((Me._CONTACTID2 = value)  _
						= false) Then
				Me.OnCONTACTID2Changing(value)
				Me.SendPropertyChanging
				Me._CONTACTID2 = value
				Me.SendPropertyChanged("CONTACTID2")
				Me.OnCONTACTID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT1ROLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT1ROLE() As String
		Get
			Return Me._CONTACT1ROLE
		End Get
		Set
			If (String.Equals(Me._CONTACT1ROLE, value) = false) Then
				Me.OnCONTACT1ROLEChanging(value)
				Me.SendPropertyChanging
				Me._CONTACT1ROLE = value
				Me.SendPropertyChanged("CONTACT1ROLE")
				Me.OnCONTACT1ROLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT2ROLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT2ROLE() As String
		Get
			Return Me._CONTACT2ROLE
		End Get
		Set
			If (String.Equals(Me._CONTACT2ROLE, value) = false) Then
				Me.OnCONTACT2ROLEChanging(value)
				Me.SendPropertyChanging
				Me._CONTACT2ROLE = value
				Me.SendPropertyChanged("CONTACT2ROLE")
				Me.OnCONTACT2ROLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me.OnDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._DETAILS = value
				Me.SendPropertyChanged("DETAILS")
				Me.OnDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_HISTORY")>  _
Partial Public Class TBL_CONTACT_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_HISTORY As EntityRef(Of TBL_HISTORY)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_HISTORY = CType(Nothing, EntityRef(Of TBL_HISTORY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				If Me._TBL_HISTORY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_HISTORY_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_CONTACT_HISTORY.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_HISTORY.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_HISTORY_HISTORYID_FK", Storage:="_TBL_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_HISTORY() As TBL_HISTORY
		Get
			Return Me._TBL_HISTORY.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORY = Me._TBL_HISTORY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORY.Entity = Nothing
					previousValue.TBL_CONTACT_HISTORY.Remove(Me)
				End If
				Me._TBL_HISTORY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_HISTORY.Add(Me)
					Me._HISTORYID = value.HISTORYID
				Else
					Me._HISTORYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_HISTORY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_NOTE")>  _
Partial Public Class TBL_CONTACT_NOTE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_NOTE As EntityRef(Of TBL_NOTE)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnNOTEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_NOTE = CType(Nothing, EntityRef(Of TBL_NOTE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				If Me._TBL_NOTE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_NOTE_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_CONTACT_NOTE.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_NOTE.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_NOTE_NOTEID_FK", Storage:="_TBL_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_NOTE() As TBL_NOTE
		Get
			Return Me._TBL_NOTE.Entity
		End Get
		Set
			Dim previousValue As TBL_NOTE = Me._TBL_NOTE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_NOTE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_NOTE.Entity = Nothing
					previousValue.TBL_CONTACT_NOTE.Remove(Me)
				End If
				Me._TBL_NOTE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_NOTE.Add(Me)
					Me._NOTEID = value.NOTEID
				Else
					Me._NOTEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_NOTE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_OPPORTUNITY")>  _
Partial Public Class TBL_CONTACT_OPPORTUNITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_OPPORTUNITY_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_CONTACT_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_OPPORTUNITY.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_OPPORTUNITY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_CONTACT_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_OPPORTUNITY.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_CONTACT_SOURCE")>  _
Partial Public Class TBL_CONTACT_SOURCE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _SOURCE As Short
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnSOURCEChanging(value As Short)
    End Sub
    Partial Private Sub OnSOURCEChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCE", DbType:="SmallInt NOT NULL")>  _
	Public Property SOURCE() As Short
		Get
			Return Me._SOURCE
		End Get
		Set
			If ((Me._SOURCE = value)  _
						= false) Then
				Me.OnSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._SOURCE = value
				Me.SendPropertyChanged("SOURCE")
				Me.OnSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_SOURCE_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_CONTACT_SOURCE = Nothing
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_SOURCE = Me
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_SOURCE_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_CONTACT_SOURCE.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_CONTACT_SOURCE.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_COUNTRY")>  _
Partial Public Class TBL_COUNTRY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COUNTRYID As System.Guid
	
	Private _NAME As String
	
	Private _TBL_PHONEMASK As EntitySet(Of TBL_PHONEMASK)
	
    #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 OnCOUNTRYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOUNTRYIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PHONEMASK = New EntitySet(Of TBL_PHONEMASK)(AddressOf Me.attach_TBL_PHONEMASK, AddressOf Me.detach_TBL_PHONEMASK)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COUNTRYID() As System.Guid
		Get
			Return Me._COUNTRYID
		End Get
		Set
			If ((Me._COUNTRYID = value)  _
						= false) Then
				Me.OnCOUNTRYIDChanging(value)
				Me.SendPropertyChanging
				Me._COUNTRYID = value
				Me.SendPropertyChanged("COUNTRYID")
				Me.OnCOUNTRYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONEMASK_COUNTRYID_FK", Storage:="_TBL_PHONEMASK", ThisKey:="COUNTRYID", OtherKey:="COUNTRYID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_PHONEMASK() As EntitySet(Of TBL_PHONEMASK)
		Get
			Return Me._TBL_PHONEMASK
		End Get
		Set
			Me._TBL_PHONEMASK.Assign(value)
		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
	
	Private Sub attach_TBL_PHONEMASK(ByVal entity As TBL_PHONEMASK)
		Me.SendPropertyChanging
		entity.TBL_COUNTRY = Me
	End Sub
	
	Private Sub detach_TBL_PHONEMASK(ByVal entity As TBL_PHONEMASK)
		Me.SendPropertyChanging
		entity.TBL_COUNTRY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_EMAIL")>  _
Partial Public Class TBL_EMAIL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _EMAILID As System.Guid
	
	Private _TYPEID As System.Guid
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _ADDRESS As String
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
	Private _TBL_PICKLISTITEM As EntityRef(Of TBL_PICKLISTITEM)
	
    #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 OnEMAILIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnEMAILIDChanged()
    End Sub
    Partial Private Sub OnTYPEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTYPEIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnGROUPIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnADDRESSChanging(value As String)
    End Sub
    Partial Private Sub OnADDRESSChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		Me._TBL_PICKLISTITEM = CType(Nothing, EntityRef(Of TBL_PICKLISTITEM))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EMAILID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property EMAILID() As System.Guid
		Get
			Return Me._EMAILID
		End Get
		Set
			If ((Me._EMAILID = value)  _
						= false) Then
				Me.OnEMAILIDChanging(value)
				Me.SendPropertyChanging
				Me._EMAILID = value
				Me.SendPropertyChanged("EMAILID")
				Me.OnEMAILIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TYPEID() As System.Guid
		Get
			Return Me._TYPEID
		End Get
		Set
			If ((Me._TYPEID = value)  _
						= false) Then
				If Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._TYPEID = value
				Me.SendPropertyChanged("TYPEID")
				Me.OnTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS() As String
		Get
			Return Me._ADDRESS
		End Get
		Set
			If (String.Equals(Me._ADDRESS, value) = false) Then
				Me.OnADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._ADDRESS = value
				Me.SendPropertyChanged("ADDRESS")
				Me.OnADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_EMAIL.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_EMAIL.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_EMAIL.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_EMAIL.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_EMAIL.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_EMAIL.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_EMAIL.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_EMAIL.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_TYPEID_FK", Storage:="_TBL_PICKLISTITEM", ThisKey:="TYPEID", OtherKey:="PICKLISTITEMID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PICKLISTITEM() As TBL_PICKLISTITEM
		Get
			Return Me._TBL_PICKLISTITEM.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLISTITEM = Me._TBL_PICKLISTITEM.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLISTITEM.Entity = Nothing
					previousValue.TBL_EMAIL.Remove(Me)
				End If
				Me._TBL_PICKLISTITEM.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_EMAIL.Add(Me)
					Me._TYPEID = value.PICKLISTITEMID
				Else
					Me._TYPEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLISTITEM")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_EVENTLOGTYPE")>  _
Partial Public Class TBL_EVENTLOGTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _EVENTLOGTYPEID As Byte
	
	Private _SECTION As String
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CTL_EVENTLOG As EntitySet(Of CTL_EVENTLOG)
	
    #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 OnEVENTLOGTYPEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnEVENTLOGTYPEIDChanged()
    End Sub
    Partial Private Sub OnSECTIONChanging(value As String)
    End Sub
    Partial Private Sub OnSECTIONChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_EVENTLOG = New EntitySet(Of CTL_EVENTLOG)(AddressOf Me.attach_CTL_EVENTLOG, AddressOf Me.detach_CTL_EVENTLOG)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGTYPEID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property EVENTLOGTYPEID() As Byte
		Get
			Return Me._EVENTLOGTYPEID
		End Get
		Set
			If ((Me._EVENTLOGTYPEID = value)  _
						= false) Then
				Me.OnEVENTLOGTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._EVENTLOGTYPEID = value
				Me.SendPropertyChanged("EVENTLOGTYPEID")
				Me.OnEVENTLOGTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECTION", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SECTION() As String
		Get
			Return Me._SECTION
		End Get
		Set
			If (String.Equals(Me._SECTION, value) = false) Then
				Me.OnSECTIONChanging(value)
				Me.SendPropertyChanging
				Me._SECTION = value
				Me.SendPropertyChanged("SECTION")
				Me.OnSECTIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EVENTLOG_EVENTLOGTYPEID_FK", Storage:="_CTL_EVENTLOG", ThisKey:="EVENTLOGTYPEID", OtherKey:="EVENTLOGTYPEID", DeleteRule:="CASCADE")>  _
	Public Property CTL_EVENTLOG() As EntitySet(Of CTL_EVENTLOG)
		Get
			Return Me._CTL_EVENTLOG
		End Get
		Set
			Me._CTL_EVENTLOG.Assign(value)
		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
	
	Private Sub attach_CTL_EVENTLOG(ByVal entity As CTL_EVENTLOG)
		Me.SendPropertyChanging
		entity.TBL_EVENTLOGTYPE = Me
	End Sub
	
	Private Sub detach_CTL_EVENTLOG(ByVal entity As CTL_EVENTLOG)
		Me.SendPropertyChanging
		entity.TBL_EVENTLOGTYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_EXTERNALMAP_SOURCE")>  _
Partial Public Class TBL_EXTERNALMAP_SOURCE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SOURCEID As System.Guid
	
	Private _NAME As String
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _TBL_IMPORT_HISTORY As EntitySet(Of TBL_IMPORT_HISTORY)
	
    #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 OnSOURCEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSOURCEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_IMPORT_HISTORY = New EntitySet(Of TBL_IMPORT_HISTORY)(AddressOf Me.attach_TBL_IMPORT_HISTORY, AddressOf Me.detach_TBL_IMPORT_HISTORY)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SOURCEID() As System.Guid
		Get
			Return Me._SOURCEID
		End Get
		Set
			If ((Me._SOURCEID = value)  _
						= false) Then
				Me.OnSOURCEIDChanging(value)
				Me.SendPropertyChanging
				Me._SOURCEID = value
				Me.SendPropertyChanged("SOURCEID")
				Me.OnSOURCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="IMPORT_HISTORY_SOURCEID_FK", Storage:="_TBL_IMPORT_HISTORY", ThisKey:="SOURCEID", OtherKey:="SOURCEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_IMPORT_HISTORY() As EntitySet(Of TBL_IMPORT_HISTORY)
		Get
			Return Me._TBL_IMPORT_HISTORY
		End Get
		Set
			Me._TBL_IMPORT_HISTORY.Assign(value)
		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
	
	Private Sub attach_TBL_IMPORT_HISTORY(ByVal entity As TBL_IMPORT_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_EXTERNALMAP_SOURCE = Me
	End Sub
	
	Private Sub detach_TBL_IMPORT_HISTORY(ByVal entity As TBL_IMPORT_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_EXTERNALMAP_SOURCE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_FEATURESET")>  _
Partial Public Class TBL_FEATURESET
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _FEATURESETID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DISPLAYNAME As String
	
	Private _ISCUSTOM As Boolean
	
	Private _TBL_PERMISSION As EntitySet(Of TBL_PERMISSION)
	
	Private _TBL_SYSENTITY As EntitySet(Of TBL_SYSENTITY)
	
    #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 OnFEATURESETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnFEATURESETIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PERMISSION = New EntitySet(Of TBL_PERMISSION)(AddressOf Me.attach_TBL_PERMISSION, AddressOf Me.detach_TBL_PERMISSION)
		Me._TBL_SYSENTITY = New EntitySet(Of TBL_SYSENTITY)(AddressOf Me.attach_TBL_SYSENTITY, AddressOf Me.detach_TBL_SYSENTITY)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESETID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property FEATURESETID() As System.Guid
		Get
			Return Me._FEATURESETID
		End Get
		Set
			If ((Me._FEATURESETID = value)  _
						= false) Then
				Me.OnFEATURESETIDChanging(value)
				Me.SendPropertyChanging
				Me._FEATURESETID = value
				Me.SendPropertyChanged("FEATURESETID")
				Me.OnFEATURESETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(96) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PERMISSION_FEATURESETID_FK", Storage:="_TBL_PERMISSION", ThisKey:="FEATURESETID", OtherKey:="FEATURESETID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PERMISSION() As EntitySet(Of TBL_PERMISSION)
		Get
			Return Me._TBL_PERMISSION
		End Get
		Set
			Me._TBL_PERMISSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSENTITY_FEATURESETID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="FEATURESETID", OtherKey:="FEATURESETID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSENTITY() As EntitySet(Of TBL_SYSENTITY)
		Get
			Return Me._TBL_SYSENTITY
		End Get
		Set
			Me._TBL_SYSENTITY.Assign(value)
		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
	
	Private Sub attach_TBL_PERMISSION(ByVal entity As TBL_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_FEATURESET = Me
	End Sub
	
	Private Sub detach_TBL_PERMISSION(ByVal entity As TBL_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_FEATURESET = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSENTITY(ByVal entity As TBL_SYSENTITY)
		Me.SendPropertyChanging
		entity.TBL_FEATURESET = Me
	End Sub
	
	Private Sub detach_TBL_SYSENTITY(ByVal entity As TBL_SYSENTITY)
		Me.SendPropertyChanging
		entity.TBL_FEATURESET = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_FOLDER")>  _
Partial Public Class TBL_FOLDER
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _FOLDERID As Byte
	
	Private _PATH As String
	
	Private _ISPRIVILEGED As Boolean
	
	Private _EXTENSIONS As String
	
	Private _TABLENAME As String
	
	Private _CTL_SYNCDBMAP_ROWFILE As EntitySet(Of CTL_SYNCDBMAP_ROWFILE)
	
	Private _CTL_SYNCROW_FILE As EntitySet(Of CTL_SYNCROW_FILE)
	
    #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 OnFOLDERIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnFOLDERIDChanged()
    End Sub
    Partial Private Sub OnPATHChanging(value As String)
    End Sub
    Partial Private Sub OnPATHChanged()
    End Sub
    Partial Private Sub OnISPRIVILEGEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVILEGEDChanged()
    End Sub
    Partial Private Sub OnEXTENSIONSChanging(value As String)
    End Sub
    Partial Private Sub OnEXTENSIONSChanged()
    End Sub
    Partial Private Sub OnTABLENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnTABLENAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNCDBMAP_ROWFILE = New EntitySet(Of CTL_SYNCDBMAP_ROWFILE)(AddressOf Me.attach_CTL_SYNCDBMAP_ROWFILE, AddressOf Me.detach_CTL_SYNCDBMAP_ROWFILE)
		Me._CTL_SYNCROW_FILE = New EntitySet(Of CTL_SYNCROW_FILE)(AddressOf Me.attach_CTL_SYNCROW_FILE, AddressOf Me.detach_CTL_SYNCROW_FILE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property FOLDERID() As Byte
		Get
			Return Me._FOLDERID
		End Get
		Set
			If ((Me._FOLDERID = value)  _
						= false) Then
				Me.OnFOLDERIDChanging(value)
				Me.SendPropertyChanging
				Me._FOLDERID = value
				Me.SendPropertyChanged("FOLDERID")
				Me.OnFOLDERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PATH", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property PATH() As String
		Get
			Return Me._PATH
		End Get
		Set
			If (String.Equals(Me._PATH, value) = false) Then
				Me.OnPATHChanging(value)
				Me.SendPropertyChanging
				Me._PATH = value
				Me.SendPropertyChanged("PATH")
				Me.OnPATHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVILEGED", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVILEGED() As Boolean
		Get
			Return Me._ISPRIVILEGED
		End Get
		Set
			If ((Me._ISPRIVILEGED = value)  _
						= false) Then
				Me.OnISPRIVILEGEDChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVILEGED = value
				Me.SendPropertyChanged("ISPRIVILEGED")
				Me.OnISPRIVILEGEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSIONS", DbType:="NVarChar(1024)")>  _
	Public Property EXTENSIONS() As String
		Get
			Return Me._EXTENSIONS
		End Get
		Set
			If (String.Equals(Me._EXTENSIONS, value) = false) Then
				Me.OnEXTENSIONSChanging(value)
				Me.SendPropertyChanging
				Me._EXTENSIONS = value
				Me.SendPropertyChanged("EXTENSIONS")
				Me.OnEXTENSIONSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me.OnTABLENAMEChanging(value)
				Me.SendPropertyChanging
				Me._TABLENAME = value
				Me.SendPropertyChanged("TABLENAME")
				Me.OnTABLENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDBMAP_ROWFILE_FOLDERID_FK", Storage:="_CTL_SYNCDBMAP_ROWFILE", ThisKey:="FOLDERID", OtherKey:="FOLDERID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_SYNCDBMAP_ROWFILE() As EntitySet(Of CTL_SYNCDBMAP_ROWFILE)
		Get
			Return Me._CTL_SYNCDBMAP_ROWFILE
		End Get
		Set
			Me._CTL_SYNCDBMAP_ROWFILE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCROW_FILE_FOLDERID_FK", Storage:="_CTL_SYNCROW_FILE", ThisKey:="FOLDERID", OtherKey:="FOLDERID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_SYNCROW_FILE() As EntitySet(Of CTL_SYNCROW_FILE)
		Get
			Return Me._CTL_SYNCROW_FILE
		End Get
		Set
			Me._CTL_SYNCROW_FILE.Assign(value)
		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
	
	Private Sub attach_CTL_SYNCDBMAP_ROWFILE(ByVal entity As CTL_SYNCDBMAP_ROWFILE)
		Me.SendPropertyChanging
		entity.TBL_FOLDER = Me
	End Sub
	
	Private Sub detach_CTL_SYNCDBMAP_ROWFILE(ByVal entity As CTL_SYNCDBMAP_ROWFILE)
		Me.SendPropertyChanging
		entity.TBL_FOLDER = Nothing
	End Sub
	
	Private Sub attach_CTL_SYNCROW_FILE(ByVal entity As CTL_SYNCROW_FILE)
		Me.SendPropertyChanging
		entity.TBL_FOLDER = Me
	End Sub
	
	Private Sub detach_CTL_SYNCROW_FILE(ByVal entity As CTL_SYNCROW_FILE)
		Me.SendPropertyChanging
		entity.TBL_FOLDER = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP")>  _
Partial Public Class TBL_GROUP
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _HIERLEVEL As System.Nullable(Of Integer)
	
	Private _HIERPATH As String
	
	Private _HASSUBGROUP As Boolean
	
	Private _CONTACTQUERYTEXT As String
	
	Private _OPPQUERYTEXT As String
	
	Private _QUERYVERSIONID As System.Guid
	
	Private _PARENTGROUPID As System.Nullable(Of System.Guid)
	
	Private _ISPRIVATE As Boolean
	
	Private _MANAGEUSERID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _IMPORTDATE As System.Nullable(Of Date)
	
	Private _TBL_ADDRESS As EntitySet(Of TBL_ADDRESS)
	
	Private _TBL_EMAIL As EntitySet(Of TBL_EMAIL)
	
	Private _TBL_GROUP_ACL As EntitySet(Of TBL_GROUP_ACL)
	
	Private _TBL_GROUP_ACTIVITY As EntitySet(Of TBL_GROUP_ACTIVITY)
	
	Private _TBL_GROUP_CONTACT As EntitySet(Of TBL_GROUP_CONTACT)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_GROUP_HISTORY As EntitySet(Of TBL_GROUP_HISTORY)
	
	Private _MANAGEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_GROUP_NOTE As EntitySet(Of TBL_GROUP_NOTE)
	
	Private _TBL_GROUP_OPPORTUNITY As EntitySet(Of TBL_GROUP_OPPORTUNITY)
	
	Private _PARENTGROUP As EntityRef(Of TBL_GROUP)
	
	Private _GROUP As EntitySet(Of TBL_GROUP)
	
	Private _TBL_GROUPQUERY As EntitySet(Of TBL_GROUPQUERY)
	
	Private _TBL_PHONE As EntitySet(Of TBL_PHONE)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnHIERLEVELChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnHIERLEVELChanged()
    End Sub
    Partial Private Sub OnHIERPATHChanging(value As String)
    End Sub
    Partial Private Sub OnHIERPATHChanged()
    End Sub
    Partial Private Sub OnHASSUBGROUPChanging(value As Boolean)
    End Sub
    Partial Private Sub OnHASSUBGROUPChanged()
    End Sub
    Partial Private Sub OnCONTACTQUERYTEXTChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACTQUERYTEXTChanged()
    End Sub
    Partial Private Sub OnOPPQUERYTEXTChanging(value As String)
    End Sub
    Partial Private Sub OnOPPQUERYTEXTChanged()
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanged()
    End Sub
    Partial Private Sub OnPARENTGROUPIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnPARENTGROUPIDChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnIMPORTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnIMPORTDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ADDRESS = New EntitySet(Of TBL_ADDRESS)(AddressOf Me.attach_TBL_ADDRESS, AddressOf Me.detach_TBL_ADDRESS)
		Me._TBL_EMAIL = New EntitySet(Of TBL_EMAIL)(AddressOf Me.attach_TBL_EMAIL, AddressOf Me.detach_TBL_EMAIL)
		Me._TBL_GROUP_ACL = New EntitySet(Of TBL_GROUP_ACL)(AddressOf Me.attach_TBL_GROUP_ACL, AddressOf Me.detach_TBL_GROUP_ACL)
		Me._TBL_GROUP_ACTIVITY = New EntitySet(Of TBL_GROUP_ACTIVITY)(AddressOf Me.attach_TBL_GROUP_ACTIVITY, AddressOf Me.detach_TBL_GROUP_ACTIVITY)
		Me._TBL_GROUP_CONTACT = New EntitySet(Of TBL_GROUP_CONTACT)(AddressOf Me.attach_TBL_GROUP_CONTACT, AddressOf Me.detach_TBL_GROUP_CONTACT)
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_GROUP_HISTORY = New EntitySet(Of TBL_GROUP_HISTORY)(AddressOf Me.attach_TBL_GROUP_HISTORY, AddressOf Me.detach_TBL_GROUP_HISTORY)
		Me._MANAGEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_GROUP_NOTE = New EntitySet(Of TBL_GROUP_NOTE)(AddressOf Me.attach_TBL_GROUP_NOTE, AddressOf Me.detach_TBL_GROUP_NOTE)
		Me._TBL_GROUP_OPPORTUNITY = New EntitySet(Of TBL_GROUP_OPPORTUNITY)(AddressOf Me.attach_TBL_GROUP_OPPORTUNITY, AddressOf Me.detach_TBL_GROUP_OPPORTUNITY)
		Me._PARENTGROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._GROUP = New EntitySet(Of TBL_GROUP)(AddressOf Me.attach_GROUP, AddressOf Me.detach_GROUP)
		Me._TBL_GROUPQUERY = New EntitySet(Of TBL_GROUPQUERY)(AddressOf Me.attach_TBL_GROUPQUERY, AddressOf Me.detach_TBL_GROUPQUERY)
		Me._TBL_PHONE = New EntitySet(Of TBL_PHONE)(AddressOf Me.attach_TBL_PHONE, AddressOf Me.detach_TBL_PHONE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERLEVEL", DbType:="Int")>  _
	Public Property HIERLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERLEVEL
		End Get
		Set
			If (Me._HIERLEVEL.Equals(value) = false) Then
				Me.OnHIERLEVELChanging(value)
				Me.SendPropertyChanging
				Me._HIERLEVEL = value
				Me.SendPropertyChanged("HIERLEVEL")
				Me.OnHIERLEVELChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERPATH", DbType:="VarChar(556)")>  _
	Public Property HIERPATH() As String
		Get
			Return Me._HIERPATH
		End Get
		Set
			If (String.Equals(Me._HIERPATH, value) = false) Then
				Me.OnHIERPATHChanging(value)
				Me.SendPropertyChanging
				Me._HIERPATH = value
				Me.SendPropertyChanged("HIERPATH")
				Me.OnHIERPATHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HASSUBGROUP", DbType:="Bit NOT NULL")>  _
	Public Property HASSUBGROUP() As Boolean
		Get
			Return Me._HASSUBGROUP
		End Get
		Set
			If ((Me._HASSUBGROUP = value)  _
						= false) Then
				Me.OnHASSUBGROUPChanging(value)
				Me.SendPropertyChanging
				Me._HASSUBGROUP = value
				Me.SendPropertyChanged("HASSUBGROUP")
				Me.OnHASSUBGROUPChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTQUERYTEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTQUERYTEXT() As String
		Get
			Return Me._CONTACTQUERYTEXT
		End Get
		Set
			If (String.Equals(Me._CONTACTQUERYTEXT, value) = false) Then
				Me.OnCONTACTQUERYTEXTChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTQUERYTEXT = value
				Me.SendPropertyChanged("CONTACTQUERYTEXT")
				Me.OnCONTACTQUERYTEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPQUERYTEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property OPPQUERYTEXT() As String
		Get
			Return Me._OPPQUERYTEXT
		End Get
		Set
			If (String.Equals(Me._OPPQUERYTEXT, value) = false) Then
				Me.OnOPPQUERYTEXTChanging(value)
				Me.SendPropertyChanging
				Me._OPPQUERYTEXT = value
				Me.SendPropertyChanged("OPPQUERYTEXT")
				Me.OnOPPQUERYTEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property QUERYVERSIONID() As System.Guid
		Get
			Return Me._QUERYVERSIONID
		End Get
		Set
			If ((Me._QUERYVERSIONID = value)  _
						= false) Then
				Me.OnQUERYVERSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVERSIONID = value
				Me.SendPropertyChanged("QUERYVERSIONID")
				Me.OnQUERYVERSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTGROUPID
		End Get
		Set
			If (Me._PARENTGROUPID.Equals(value) = false) Then
				If Me._PARENTGROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPARENTGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._PARENTGROUPID = value
				Me.SendPropertyChanged("PARENTGROUPID")
				Me.OnPARENTGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				If Me._MANAGEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORTDATE", DbType:="DateTime")>  _
	Public Property IMPORTDATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORTDATE
		End Get
		Set
			If (Me._IMPORTDATE.Equals(value) = false) Then
				Me.OnIMPORTDATEChanging(value)
				Me.SendPropertyChanging
				Me._IMPORTDATE = value
				Me.SendPropertyChanged("IMPORTDATE")
				Me.OnIMPORTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_GROUPID_FK", Storage:="_TBL_ADDRESS", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ADDRESS() As EntitySet(Of TBL_ADDRESS)
		Get
			Return Me._TBL_ADDRESS
		End Get
		Set
			Me._TBL_ADDRESS.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_GROUPID_FK", Storage:="_TBL_EMAIL", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_EMAIL() As EntitySet(Of TBL_EMAIL)
		Get
			Return Me._TBL_EMAIL
		End Get
		Set
			Me._TBL_EMAIL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACL_GROUPID_FK", Storage:="_TBL_GROUP_ACL", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_ACL() As EntitySet(Of TBL_GROUP_ACL)
		Get
			Return Me._TBL_GROUP_ACL
		End Get
		Set
			Me._TBL_GROUP_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACTIVITY_GROUPID_FK", Storage:="_TBL_GROUP_ACTIVITY", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_ACTIVITY() As EntitySet(Of TBL_GROUP_ACTIVITY)
		Get
			Return Me._TBL_GROUP_ACTIVITY
		End Get
		Set
			Me._TBL_GROUP_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_CONTACT_GROUPID_FK", Storage:="_TBL_GROUP_CONTACT", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_CONTACT() As EntitySet(Of TBL_GROUP_CONTACT)
		Get
			Return Me._TBL_GROUP_CONTACT
		End Get
		Set
			Me._TBL_GROUP_CONTACT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_GROUP.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.GROUP_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.GROUP_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_HISTORY_GROUPID_FK", Storage:="_TBL_GROUP_HISTORY", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_HISTORY() As EntitySet(Of TBL_GROUP_HISTORY)
		Get
			Return Me._TBL_GROUP_HISTORY
		End Get
		Set
			Me._TBL_GROUP_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_MANAGEUSERID_FK", Storage:="_MANAGEUSER", ThisKey:="MANAGEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property MANAGEUSER() As TBL_ACCESSOR
		Get
			Return Me._MANAGEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._MANAGEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MANAGEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MANAGEUSER.Entity = Nothing
					previousValue.GROUP_MANAGEUSERID_FK.Remove(Me)
				End If
				Me._MANAGEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.GROUP_MANAGEUSERID_FK.Add(Me)
					Me._MANAGEUSERID = value.ACCESSORID
				Else
					Me._MANAGEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MANAGEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_NOTE_GROUPID_FK", Storage:="_TBL_GROUP_NOTE", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_NOTE() As EntitySet(Of TBL_GROUP_NOTE)
		Get
			Return Me._TBL_GROUP_NOTE
		End Get
		Set
			Me._TBL_GROUP_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_OPPORTUNITY_GROUPID_FK", Storage:="_TBL_GROUP_OPPORTUNITY", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_OPPORTUNITY() As EntitySet(Of TBL_GROUP_OPPORTUNITY)
		Get
			Return Me._TBL_GROUP_OPPORTUNITY
		End Get
		Set
			Me._TBL_GROUP_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_PARENTGROUPID_FK", Storage:="_PARENTGROUP", ThisKey:="PARENTGROUPID", OtherKey:="GROUPID", IsForeignKey:=true)>  _
	Public Property PARENTGROUP() As TBL_GROUP
		Get
			Return Me._PARENTGROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._PARENTGROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._PARENTGROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._PARENTGROUP.Entity = Nothing
					previousValue.[GROUP].Remove(Me)
				End If
				Me._PARENTGROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.[GROUP].Add(Me)
					Me._PARENTGROUPID = value.GROUPID
				Else
					Me._PARENTGROUPID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("PARENTGROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_PARENTGROUPID_FK", Storage:="_GROUP", ThisKey:="GROUPID", OtherKey:="PARENTGROUPID", DeleteRule:="NO ACTION")>  _
	Public Property [GROUP]() As EntitySet(Of TBL_GROUP)
		Get
			Return Me._GROUP
		End Get
		Set
			Me._GROUP.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_GROUPID_FK", Storage:="_TBL_GROUPQUERY", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUPQUERY() As EntitySet(Of TBL_GROUPQUERY)
		Get
			Return Me._TBL_GROUPQUERY
		End Get
		Set
			Me._TBL_GROUPQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_GROUPID_FK", Storage:="_TBL_PHONE", ThisKey:="GROUPID", OtherKey:="GROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PHONE() As EntitySet(Of TBL_PHONE)
		Get
			Return Me._TBL_PHONE
		End Get
		Set
			Me._TBL_PHONE.Assign(value)
		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
	
	Private Sub attach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_ACL(ByVal entity As TBL_GROUP_ACL)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_ACL(ByVal entity As TBL_GROUP_ACL)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_ACTIVITY(ByVal entity As TBL_GROUP_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_ACTIVITY(ByVal entity As TBL_GROUP_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_CONTACT(ByVal entity As TBL_GROUP_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_CONTACT(ByVal entity As TBL_GROUP_CONTACT)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_HISTORY(ByVal entity As TBL_GROUP_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_HISTORY(ByVal entity As TBL_GROUP_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_NOTE(ByVal entity As TBL_GROUP_NOTE)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_NOTE(ByVal entity As TBL_GROUP_NOTE)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_OPPORTUNITY(ByVal entity As TBL_GROUP_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_OPPORTUNITY(ByVal entity As TBL_GROUP_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_GROUP(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.PARENTGROUP = Me
	End Sub
	
	Private Sub detach_GROUP(ByVal entity As TBL_GROUP)
		Me.SendPropertyChanging
		entity.PARENTGROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
	
	Private Sub attach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_GROUP = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP_ACL")>  _
Partial Public Class TBL_GROUP_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_GROUP_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACL_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUP_ACL.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_ACL.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP_ACTIVITY")>  _
Partial Public Class TBL_GROUP_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.TBL_GROUP_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_ACTIVITY.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_ACTIVITY_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUP_ACTIVITY.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_ACTIVITY.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP_CONTACT")>  _
Partial Public Class TBL_GROUP_CONTACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_CONTACT_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_GROUP_CONTACT.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_CONTACT.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_CONTACT_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUP_CONTACT.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_CONTACT.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP_HISTORY")>  _
Partial Public Class TBL_GROUP_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_HISTORY As EntityRef(Of TBL_HISTORY)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_HISTORY = CType(Nothing, EntityRef(Of TBL_HISTORY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				If Me._TBL_HISTORY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_HISTORY_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUP_HISTORY.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_HISTORY.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_HISTORY_HISTORYID_FK", Storage:="_TBL_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_HISTORY() As TBL_HISTORY
		Get
			Return Me._TBL_HISTORY.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORY = Me._TBL_HISTORY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORY.Entity = Nothing
					previousValue.TBL_GROUP_HISTORY.Remove(Me)
				End If
				Me._TBL_HISTORY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_HISTORY.Add(Me)
					Me._HISTORYID = value.HISTORYID
				Else
					Me._HISTORYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_HISTORY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP_NOTE")>  _
Partial Public Class TBL_GROUP_NOTE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_NOTE As EntityRef(Of TBL_NOTE)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnNOTEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_NOTE = CType(Nothing, EntityRef(Of TBL_NOTE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				If Me._TBL_NOTE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_NOTE_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUP_NOTE.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_NOTE.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_NOTE_NOTEID_FK", Storage:="_TBL_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_NOTE() As TBL_NOTE
		Get
			Return Me._TBL_NOTE.Entity
		End Get
		Set
			Dim previousValue As TBL_NOTE = Me._TBL_NOTE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_NOTE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_NOTE.Entity = Nothing
					previousValue.TBL_GROUP_NOTE.Remove(Me)
				End If
				Me._TBL_NOTE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_NOTE.Add(Me)
					Me._NOTEID = value.NOTEID
				Else
					Me._NOTEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_NOTE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUP_OPPORTUNITY")>  _
Partial Public Class TBL_GROUP_OPPORTUNITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPID As System.Guid
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ISMEMBER As Boolean
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnISMEMBERChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISMEMBERChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISMEMBER", DbType:="Bit NOT NULL")>  _
	Public Property ISMEMBER() As Boolean
		Get
			Return Me._ISMEMBER
		End Get
		Set
			If ((Me._ISMEMBER = value)  _
						= false) Then
				Me.OnISMEMBERChanging(value)
				Me.SendPropertyChanging
				Me._ISMEMBER = value
				Me.SendPropertyChanged("ISMEMBER")
				Me.OnISMEMBERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_OPPORTUNITY_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUP_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_OPPORTUNITY.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_OPPORTUNITY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_GROUP_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUP_OPPORTUNITY.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_GROUPQUERY")>  _
Partial Public Class TBL_GROUPQUERY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _GROUPQUERYID As System.Guid
	
	Private _GROUPID As System.Guid
	
	Private _QUERYVERSIONID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _LEFTPAREN As Byte
	
	Private _RIGHTPAREN As Byte
	
	Private _LOGICALOPERATOR As Byte
	
	Private _COLUMNID As System.Guid
	
	Private _OPERATORID As Byte
	
	Private _VALUEID1 As System.Nullable(Of Byte)
	
	Private _VALUEID2 As System.Nullable(Of Byte)
	
	Private _VALUESTRING1 As String
	
	Private _VALUESTRING2 As String
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_SYSOPERATOR As EntityRef(Of TBL_SYSOPERATOR)
	
	Private _TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
	Private _VALUEID2TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
    #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 OnGROUPQUERYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPQUERYIDChanged()
    End Sub
    Partial Private Sub OnGROUPIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnLEFTPARENChanging(value As Byte)
    End Sub
    Partial Private Sub OnLEFTPARENChanged()
    End Sub
    Partial Private Sub OnRIGHTPARENChanging(value As Byte)
    End Sub
    Partial Private Sub OnRIGHTPARENChanged()
    End Sub
    Partial Private Sub OnLOGICALOPERATORChanging(value As Byte)
    End Sub
    Partial Private Sub OnLOGICALOPERATORChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnOPERATORIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnOPERATORIDChanged()
    End Sub
    Partial Private Sub OnVALUEID1Changing(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnVALUEID1Changed()
    End Sub
    Partial Private Sub OnVALUEID2Changing(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnVALUEID2Changed()
    End Sub
    Partial Private Sub OnVALUESTRING1Changing(value As String)
    End Sub
    Partial Private Sub OnVALUESTRING1Changed()
    End Sub
    Partial Private Sub OnVALUESTRING2Changing(value As String)
    End Sub
    Partial Private Sub OnVALUESTRING2Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_SYSOPERATOR = CType(Nothing, EntityRef(Of TBL_SYSOPERATOR))
		Me._TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		Me._VALUEID2TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPQUERYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property GROUPQUERYID() As System.Guid
		Get
			Return Me._GROUPQUERYID
		End Get
		Set
			If ((Me._GROUPQUERYID = value)  _
						= false) Then
				Me.OnGROUPQUERYIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPQUERYID = value
				Me.SendPropertyChanged("GROUPQUERYID")
				Me.OnGROUPQUERYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property QUERYVERSIONID() As System.Guid
		Get
			Return Me._QUERYVERSIONID
		End Get
		Set
			If ((Me._QUERYVERSIONID = value)  _
						= false) Then
				Me.OnQUERYVERSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVERSIONID = value
				Me.SendPropertyChanged("QUERYVERSIONID")
				Me.OnQUERYVERSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEFTPAREN", DbType:="TinyInt NOT NULL")>  _
	Public Property LEFTPAREN() As Byte
		Get
			Return Me._LEFTPAREN
		End Get
		Set
			If ((Me._LEFTPAREN = value)  _
						= false) Then
				Me.OnLEFTPARENChanging(value)
				Me.SendPropertyChanging
				Me._LEFTPAREN = value
				Me.SendPropertyChanged("LEFTPAREN")
				Me.OnLEFTPARENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RIGHTPAREN", DbType:="TinyInt NOT NULL")>  _
	Public Property RIGHTPAREN() As Byte
		Get
			Return Me._RIGHTPAREN
		End Get
		Set
			If ((Me._RIGHTPAREN = value)  _
						= false) Then
				Me.OnRIGHTPARENChanging(value)
				Me.SendPropertyChanging
				Me._RIGHTPAREN = value
				Me.SendPropertyChanged("RIGHTPAREN")
				Me.OnRIGHTPARENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGICALOPERATOR", DbType:="TinyInt NOT NULL")>  _
	Public Property LOGICALOPERATOR() As Byte
		Get
			Return Me._LOGICALOPERATOR
		End Get
		Set
			If ((Me._LOGICALOPERATOR = value)  _
						= false) Then
				Me.OnLOGICALOPERATORChanging(value)
				Me.SendPropertyChanging
				Me._LOGICALOPERATOR = value
				Me.SendPropertyChanged("LOGICALOPERATOR")
				Me.OnLOGICALOPERATORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL")>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				If Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPERATORIDChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORID = value
				Me.SendPropertyChanged("OPERATORID")
				Me.OnOPERATORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID1", DbType:="TinyInt")>  _
	Public Property VALUEID1() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID1
		End Get
		Set
			If (Me._VALUEID1.Equals(value) = false) Then
				If Me._TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEID1Changing(value)
				Me.SendPropertyChanging
				Me._VALUEID1 = value
				Me.SendPropertyChanged("VALUEID1")
				Me.OnVALUEID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID2", DbType:="TinyInt")>  _
	Public Property VALUEID2() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID2
		End Get
		Set
			If (Me._VALUEID2.Equals(value) = false) Then
				If Me._VALUEID2TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEID2Changing(value)
				Me.SendPropertyChanging
				Me._VALUEID2 = value
				Me.SendPropertyChanged("VALUEID2")
				Me.OnVALUEID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUESTRING1", DbType:="NVarChar(500)")>  _
	Public Property VALUESTRING1() As String
		Get
			Return Me._VALUESTRING1
		End Get
		Set
			If (String.Equals(Me._VALUESTRING1, value) = false) Then
				Me.OnVALUESTRING1Changing(value)
				Me.SendPropertyChanging
				Me._VALUESTRING1 = value
				Me.SendPropertyChanged("VALUESTRING1")
				Me.OnVALUESTRING1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUESTRING2", DbType:="NVarChar(500)")>  _
	Public Property VALUESTRING2() As String
		Get
			Return Me._VALUESTRING2
		End Get
		Set
			If (String.Equals(Me._VALUESTRING2, value) = false) Then
				Me.OnVALUESTRING2Changing(value)
				Me.SendPropertyChanging
				Me._VALUESTRING2 = value
				Me.SendPropertyChanged("VALUESTRING2")
				Me.OnVALUESTRING2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_GROUPQUERY.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUPQUERY.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_GROUPQUERY.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUPQUERY.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_OPERATORID_FK", Storage:="_TBL_SYSOPERATOR", ThisKey:="OPERATORID", OtherKey:="OPERATORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSOPERATOR() As TBL_SYSOPERATOR
		Get
			Return Me._TBL_SYSOPERATOR.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSOPERATOR = Me._TBL_SYSOPERATOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSOPERATOR.Entity = Nothing
					previousValue.TBL_GROUPQUERY.Remove(Me)
				End If
				Me._TBL_SYSOPERATOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUPQUERY.Add(Me)
					Me._OPERATORID = value.OPERATORID
				Else
					Me._OPERATORID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSOPERATOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_VALUEID1_FK", Storage:="_TBL_SYSVALUE", ThisKey:="VALUEID1", OtherKey:="VALUEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSVALUE.Entity = Nothing
					previousValue.TBL_GROUPQUERY.Remove(Me)
				End If
				Me._TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_GROUPQUERY.Add(Me)
					Me._VALUEID1 = value.VALUEID
				Else
					Me._VALUEID1 = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("TBL_SYSVALUE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_VALUEID2_FK", Storage:="_VALUEID2TBL_SYSVALUE", ThisKey:="VALUEID2", OtherKey:="VALUEID", IsForeignKey:=true)>  _
	Public Property VALUEID2TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._VALUEID2TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._VALUEID2TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._VALUEID2TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._VALUEID2TBL_SYSVALUE.Entity = Nothing
					previousValue.GROUPQUERY_VALUEID2_FK.Remove(Me)
				End If
				Me._VALUEID2TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.GROUPQUERY_VALUEID2_FK.Add(Me)
					Me._VALUEID2 = value.VALUEID
				Else
					Me._VALUEID2 = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("VALUEID2TBL_SYSVALUE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_HISTORY")>  _
Partial Public Class TBL_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _HISTORYID As System.Guid
	
	Private _HISTORYTYPEID As Short
	
	Private _ISPRIVATE As Byte
	
	Private _STARTTIME As Date
	
	Private _ENDTIME As Date
	
	Private _REGARDING As String
	
	Private _DETAILS As String
	
	Private _ACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _MANAGEUSERID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DURATION As System.Nullable(Of Integer)
	
	Private _TBL_ATTACHMENT As EntitySet(Of TBL_ATTACHMENT)
	
	Private _TBL_COMPANY_HISTORY As EntitySet(Of TBL_COMPANY_HISTORY)
	
	Private _TBL_CONTACT_HISTORY As EntitySet(Of TBL_CONTACT_HISTORY)
	
	Private _TBL_GROUP_HISTORY As EntitySet(Of TBL_GROUP_HISTORY)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_HISTORYTYPE As EntityRef(Of TBL_HISTORYTYPE)
	
	Private _MANAGEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_OPPORTUNITY_HISTORY As EntitySet(Of TBL_OPPORTUNITY_HISTORY)
	
    #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 OnHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Byte)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnSTARTTIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnSTARTTIMEChanged()
    End Sub
    Partial Private Sub OnENDTIMEChanging(value As Date)
    End Sub
    Partial Private Sub OnENDTIMEChanged()
    End Sub
    Partial Private Sub OnREGARDINGChanging(value As String)
    End Sub
    Partial Private Sub OnREGARDINGChanged()
    End Sub
    Partial Private Sub OnDETAILSChanging(value As String)
    End Sub
    Partial Private Sub OnDETAILSChanged()
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITY_CLEAREDIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnACCESSOR_ACTIVITY_CLEAREDIDChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDURATIONChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnDURATIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ATTACHMENT = New EntitySet(Of TBL_ATTACHMENT)(AddressOf Me.attach_TBL_ATTACHMENT, AddressOf Me.detach_TBL_ATTACHMENT)
		Me._TBL_COMPANY_HISTORY = New EntitySet(Of TBL_COMPANY_HISTORY)(AddressOf Me.attach_TBL_COMPANY_HISTORY, AddressOf Me.detach_TBL_COMPANY_HISTORY)
		Me._TBL_CONTACT_HISTORY = New EntitySet(Of TBL_CONTACT_HISTORY)(AddressOf Me.attach_TBL_CONTACT_HISTORY, AddressOf Me.detach_TBL_CONTACT_HISTORY)
		Me._TBL_GROUP_HISTORY = New EntitySet(Of TBL_GROUP_HISTORY)(AddressOf Me.attach_TBL_GROUP_HISTORY, AddressOf Me.detach_TBL_GROUP_HISTORY)
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_HISTORYTYPE = CType(Nothing, EntityRef(Of TBL_HISTORYTYPE))
		Me._MANAGEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_OPPORTUNITY_HISTORY = New EntitySet(Of TBL_OPPORTUNITY_HISTORY)(AddressOf Me.attach_TBL_OPPORTUNITY_HISTORY, AddressOf Me.detach_TBL_OPPORTUNITY_HISTORY)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEID = value)  _
						= false) Then
				If Me._TBL_HISTORYTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEID = value
				Me.SendPropertyChanged("HISTORYTYPEID")
				Me.OnHISTORYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="TinyInt NOT NULL")>  _
	Public Property ISPRIVATE() As Byte
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STARTTIME", DbType:="SmallDateTime NOT NULL")>  _
	Public Property STARTTIME() As Date
		Get
			Return Me._STARTTIME
		End Get
		Set
			If ((Me._STARTTIME = value)  _
						= false) Then
				Me.OnSTARTTIMEChanging(value)
				Me.SendPropertyChanging
				Me._STARTTIME = value
				Me.SendPropertyChanged("STARTTIME")
				Me.OnSTARTTIMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENDTIME", DbType:="SmallDateTime 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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me.OnREGARDINGChanging(value)
				Me.SendPropertyChanging
				Me._REGARDING = value
				Me.SendPropertyChanged("REGARDING")
				Me.OnREGARDINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me.OnDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._DETAILS = value
				Me.SendPropertyChanged("DETAILS")
				Me.OnDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._ACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me.OnACCESSOR_ACTIVITY_CLEAREDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSOR_ACTIVITY_CLEAREDID = value
				Me.SendPropertyChanged("ACCESSOR_ACTIVITY_CLEAREDID")
				Me.OnACCESSOR_ACTIVITY_CLEAREDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				If Me._MANAGEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", AutoSync:=AutoSync.Always, DbType:="Int", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(datediff(minute,[STARTTIME],[ENDTIME]))")>  _
	Public Property DURATION() As System.Nullable(Of Integer)
		Get
			Return Me._DURATION
		End Get
		Set
			If (Me._DURATION.Equals(value) = false) Then
				Me.OnDURATIONChanging(value)
				Me.SendPropertyChanging
				Me._DURATION = value
				Me.SendPropertyChanged("DURATION")
				Me.OnDURATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_HISTORYID_FK", Storage:="_TBL_ATTACHMENT", ThisKey:="HISTORYID", OtherKey:="HISTORYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ATTACHMENT() As EntitySet(Of TBL_ATTACHMENT)
		Get
			Return Me._TBL_ATTACHMENT
		End Get
		Set
			Me._TBL_ATTACHMENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_HISTORY_HISTORYID_FK", Storage:="_TBL_COMPANY_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_HISTORY() As EntitySet(Of TBL_COMPANY_HISTORY)
		Get
			Return Me._TBL_COMPANY_HISTORY
		End Get
		Set
			Me._TBL_COMPANY_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_HISTORY_HISTORYID_FK", Storage:="_TBL_CONTACT_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_HISTORY() As EntitySet(Of TBL_CONTACT_HISTORY)
		Get
			Return Me._TBL_CONTACT_HISTORY
		End Get
		Set
			Me._TBL_CONTACT_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_HISTORY_HISTORYID_FK", Storage:="_TBL_GROUP_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_HISTORY() As EntitySet(Of TBL_GROUP_HISTORY)
		Get
			Return Me._TBL_GROUP_HISTORY
		End Get
		Set
			Me._TBL_GROUP_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORY_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_HISTORY.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_HISTORY.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORY_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.HISTORY_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.HISTORY_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORY_HISTORYTYPEID_FK", Storage:="_TBL_HISTORYTYPE", ThisKey:="HISTORYTYPEID", OtherKey:="HISTORYTYPEID", IsForeignKey:=true)>  _
	Public Property TBL_HISTORYTYPE() As TBL_HISTORYTYPE
		Get
			Return Me._TBL_HISTORYTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORYTYPE = Me._TBL_HISTORYTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORYTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORYTYPE.Entity = Nothing
					previousValue.TBL_HISTORY.Remove(Me)
				End If
				Me._TBL_HISTORYTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_HISTORY.Add(Me)
					Me._HISTORYTYPEID = value.HISTORYTYPEID
				Else
					Me._HISTORYTYPEID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("TBL_HISTORYTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORY_MANAGEUSERID_FK", Storage:="_MANAGEUSER", ThisKey:="MANAGEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property MANAGEUSER() As TBL_ACCESSOR
		Get
			Return Me._MANAGEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._MANAGEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MANAGEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MANAGEUSER.Entity = Nothing
					previousValue.HISTORY_MANAGEUSERID_FK.Remove(Me)
				End If
				Me._MANAGEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.HISTORY_MANAGEUSERID_FK.Add(Me)
					Me._MANAGEUSERID = value.ACCESSORID
				Else
					Me._MANAGEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MANAGEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_HISTORY_HISTORYID_FK", Storage:="_TBL_OPPORTUNITY_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_HISTORY() As EntitySet(Of TBL_OPPORTUNITY_HISTORY)
		Get
			Return Me._TBL_OPPORTUNITY_HISTORY
		End Get
		Set
			Me._TBL_OPPORTUNITY_HISTORY.Assign(value)
		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
	
	Private Sub attach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Me
	End Sub
	
	Private Sub detach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_HISTORY(ByVal entity As TBL_COMPANY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_HISTORY(ByVal entity As TBL_COMPANY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_HISTORY(ByVal entity As TBL_CONTACT_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_HISTORY(ByVal entity As TBL_CONTACT_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_HISTORY(ByVal entity As TBL_GROUP_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_HISTORY(ByVal entity As TBL_GROUP_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_HISTORY(ByVal entity As TBL_OPPORTUNITY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_HISTORY(ByVal entity As TBL_OPPORTUNITY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_HISTORYTYPE")>  _
Partial Public Class TBL_HISTORYTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _HISTORYTYPEGUID As System.Guid
	
	Private _HISTORYTYPEID As Short
	
	Private _ACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISACTIVE As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _ISUSERRECORDABLE As Boolean
	
	Private _ISDEFAULT As Boolean
	
	Private _CLEARTYPENUM As Byte
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _HISTORYTYPEGROUPID As Short
	
	Private _TBL_HISTORY As EntitySet(Of TBL_HISTORY)
	
	Private _TBL_ACTIVITYTYPE As EntityRef(Of TBL_ACTIVITYTYPE)
	
	Private _TBL_HISTORYTYPE_GROUP As EntityRef(Of TBL_HISTORYTYPE_GROUP)
	
    #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 OnHISTORYTYPEGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYTYPEGUIDChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnHISTORYTYPEIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnACTIVITYTYPEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnISUSERRECORDABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISUSERRECORDABLEChanged()
    End Sub
    Partial Private Sub OnISDEFAULTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDEFAULTChanged()
    End Sub
    Partial Private Sub OnCLEARTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnCLEARTYPENUMChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_HISTORY = New EntitySet(Of TBL_HISTORY)(AddressOf Me.attach_TBL_HISTORY, AddressOf Me.detach_TBL_HISTORY)
		Me._TBL_ACTIVITYTYPE = CType(Nothing, EntityRef(Of TBL_ACTIVITYTYPE))
		Me._TBL_HISTORYTYPE_GROUP = CType(Nothing, EntityRef(Of TBL_HISTORYTYPE_GROUP))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYTYPEGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEGUID
		End Get
		Set
			If ((Me._HISTORYTYPEGUID = value)  _
						= false) Then
				Me.OnHISTORYTYPEGUIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEGUID = value
				Me.SendPropertyChanged("HISTORYTYPEGUID")
				Me.OnHISTORYTYPEGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEID = value)  _
						= false) Then
				Me.OnHISTORYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEID = value
				Me.SendPropertyChanged("HISTORYTYPEID")
				Me.OnHISTORYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEID.Equals(value) = false) Then
				If Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYTYPEID = value
				Me.SendPropertyChanged("ACTIVITYTYPEID")
				Me.OnACTIVITYTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISUSERRECORDABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISUSERRECORDABLE() As Boolean
		Get
			Return Me._ISUSERRECORDABLE
		End Get
		Set
			If ((Me._ISUSERRECORDABLE = value)  _
						= false) Then
				Me.OnISUSERRECORDABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISUSERRECORDABLE = value
				Me.SendPropertyChanged("ISUSERRECORDABLE")
				Me.OnISUSERRECORDABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFAULT() As Boolean
		Get
			Return Me._ISDEFAULT
		End Get
		Set
			If ((Me._ISDEFAULT = value)  _
						= false) Then
				Me.OnISDEFAULTChanging(value)
				Me.SendPropertyChanging
				Me._ISDEFAULT = value
				Me.SendPropertyChanged("ISDEFAULT")
				Me.OnISDEFAULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLEARTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property CLEARTYPENUM() As Byte
		Get
			Return Me._CLEARTYPENUM
		End Get
		Set
			If ((Me._CLEARTYPENUM = value)  _
						= false) Then
				Me.OnCLEARTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._CLEARTYPENUM = value
				Me.SendPropertyChanged("CLEARTYPENUM")
				Me.OnCLEARTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEGROUPID = value)  _
						= false) Then
				If Me._TBL_HISTORYTYPE_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYTYPEGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEGROUPID = value
				Me.SendPropertyChanged("HISTORYTYPEGROUPID")
				Me.OnHISTORYTYPEGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORY_HISTORYTYPEID_FK", Storage:="_TBL_HISTORY", ThisKey:="HISTORYTYPEID", OtherKey:="HISTORYTYPEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_HISTORY() As EntitySet(Of TBL_HISTORY)
		Get
			Return Me._TBL_HISTORY
		End Get
		Set
			Me._TBL_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORYTYPE_ACTIVITYTYPEID_FK", Storage:="_TBL_ACTIVITYTYPE", ThisKey:="ACTIVITYTYPEID", OtherKey:="ACTIVITYTYPEID", IsForeignKey:=true)>  _
	Public Property TBL_ACTIVITYTYPE() As TBL_ACTIVITYTYPE
		Get
			Return Me._TBL_ACTIVITYTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITYTYPE = Me._TBL_ACTIVITYTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITYTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITYTYPE.Entity = Nothing
					previousValue.TBL_HISTORYTYPE.Remove(Me)
				End If
				Me._TBL_ACTIVITYTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_HISTORYTYPE.Add(Me)
					Me._ACTIVITYTYPEID = value.ACTIVITYTYPEID
				Else
					Me._ACTIVITYTYPEID = CType(Nothing, Nullable(Of Short))
				End If
				Me.SendPropertyChanged("TBL_ACTIVITYTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORYTYPE_HISTORYTYPEGROUPID_FK", Storage:="_TBL_HISTORYTYPE_GROUP", ThisKey:="HISTORYTYPEGROUPID", OtherKey:="HISTORYTYPEGROUPID", IsForeignKey:=true)>  _
	Public Property TBL_HISTORYTYPE_GROUP() As TBL_HISTORYTYPE_GROUP
		Get
			Return Me._TBL_HISTORYTYPE_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORYTYPE_GROUP = Me._TBL_HISTORYTYPE_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORYTYPE_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORYTYPE_GROUP.Entity = Nothing
					previousValue.TBL_HISTORYTYPE.Remove(Me)
				End If
				Me._TBL_HISTORYTYPE_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_HISTORYTYPE.Add(Me)
					Me._HISTORYTYPEGROUPID = value.HISTORYTYPEGROUPID
				Else
					Me._HISTORYTYPEGROUPID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("TBL_HISTORYTYPE_GROUP")
			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
	
	Private Sub attach_TBL_HISTORY(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORYTYPE = Me
	End Sub
	
	Private Sub detach_TBL_HISTORY(ByVal entity As TBL_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_HISTORYTYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_HISTORYTYPE_GROUP")>  _
Partial Public Class TBL_HISTORYTYPE_GROUP
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _HISTORYTYPEGROUPGUID As System.Guid
	
	Private _HISTORYTYPEGROUPID As Short
	
	Private _NAME As String
	
	Private _HISTORYTYPESUPERGROUPID As Short
	
	Private _TBL_HISTORYTYPE_SUPERGROUP As EntityRef(Of TBL_HISTORYTYPE_SUPERGROUP)
	
	Private _TBL_HISTORYTYPE As EntitySet(Of TBL_HISTORYTYPE)
	
    #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 OnHISTORYTYPEGROUPGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPGUIDChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnHISTORYTYPEGROUPIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_HISTORYTYPE_SUPERGROUP = CType(Nothing, EntityRef(Of TBL_HISTORYTYPE_SUPERGROUP))
		Me._TBL_HISTORYTYPE = New EntitySet(Of TBL_HISTORYTYPE)(AddressOf Me.attach_TBL_HISTORYTYPE, AddressOf Me.detach_TBL_HISTORYTYPE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYTYPEGROUPGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEGROUPGUID
		End Get
		Set
			If ((Me._HISTORYTYPEGROUPGUID = value)  _
						= false) Then
				Me.OnHISTORYTYPEGROUPGUIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEGROUPGUID = value
				Me.SendPropertyChanged("HISTORYTYPEGROUPGUID")
				Me.OnHISTORYTYPEGROUPGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEGROUPID = value)  _
						= false) Then
				Me.OnHISTORYTYPEGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPEGROUPID = value
				Me.SendPropertyChanged("HISTORYTYPEGROUPID")
				Me.OnHISTORYTYPEGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPESUPERGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPESUPERGROUPID() As Short
		Get
			Return Me._HISTORYTYPESUPERGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPESUPERGROUPID = value)  _
						= false) Then
				If Me._TBL_HISTORYTYPE_SUPERGROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYTYPESUPERGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPESUPERGROUPID = value
				Me.SendPropertyChanged("HISTORYTYPESUPERGROUPID")
				Me.OnHISTORYTYPESUPERGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORYTYPE_GROUP_HISTORYTYPESUPERGROUPID_FK", Storage:="_TBL_HISTORYTYPE_SUPERGROUP", ThisKey:="HISTORYTYPESUPERGROUPID", OtherKey:="HISTORYTYPESUPERGROUPID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_HISTORYTYPE_SUPERGROUP() As TBL_HISTORYTYPE_SUPERGROUP
		Get
			Return Me._TBL_HISTORYTYPE_SUPERGROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORYTYPE_SUPERGROUP = Me._TBL_HISTORYTYPE_SUPERGROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORYTYPE_SUPERGROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORYTYPE_SUPERGROUP.Entity = Nothing
					previousValue.TBL_HISTORYTYPE_GROUP.Remove(Me)
				End If
				Me._TBL_HISTORYTYPE_SUPERGROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_HISTORYTYPE_GROUP.Add(Me)
					Me._HISTORYTYPESUPERGROUPID = value.HISTORYTYPESUPERGROUPID
				Else
					Me._HISTORYTYPESUPERGROUPID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("TBL_HISTORYTYPE_SUPERGROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORYTYPE_HISTORYTYPEGROUPID_FK", Storage:="_TBL_HISTORYTYPE", ThisKey:="HISTORYTYPEGROUPID", OtherKey:="HISTORYTYPEGROUPID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_HISTORYTYPE() As EntitySet(Of TBL_HISTORYTYPE)
		Get
			Return Me._TBL_HISTORYTYPE
		End Get
		Set
			Me._TBL_HISTORYTYPE.Assign(value)
		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
	
	Private Sub attach_TBL_HISTORYTYPE(ByVal entity As TBL_HISTORYTYPE)
		Me.SendPropertyChanging
		entity.TBL_HISTORYTYPE_GROUP = Me
	End Sub
	
	Private Sub detach_TBL_HISTORYTYPE(ByVal entity As TBL_HISTORYTYPE)
		Me.SendPropertyChanging
		entity.TBL_HISTORYTYPE_GROUP = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_HISTORYTYPE_SUPERGROUP")>  _
Partial Public Class TBL_HISTORYTYPE_SUPERGROUP
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _HISTORYTYPESUPERGROUPGUID As System.Guid
	
	Private _HISTORYTYPESUPERGROUPID As Short
	
	Private _NAME As String
	
	Private _TBL_HISTORYTYPE_GROUP As EntitySet(Of TBL_HISTORYTYPE_GROUP)
	
    #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 OnHISTORYTYPESUPERGROUPGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPGUIDChanged()
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPIDChanging(value As Short)
    End Sub
    Partial Private Sub OnHISTORYTYPESUPERGROUPIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_HISTORYTYPE_GROUP = New EntitySet(Of TBL_HISTORYTYPE_GROUP)(AddressOf Me.attach_TBL_HISTORYTYPE_GROUP, AddressOf Me.detach_TBL_HISTORYTYPE_GROUP)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPESUPERGROUPGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYTYPESUPERGROUPGUID() As System.Guid
		Get
			Return Me._HISTORYTYPESUPERGROUPGUID
		End Get
		Set
			If ((Me._HISTORYTYPESUPERGROUPGUID = value)  _
						= false) Then
				Me.OnHISTORYTYPESUPERGROUPGUIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPESUPERGROUPGUID = value
				Me.SendPropertyChanged("HISTORYTYPESUPERGROUPGUID")
				Me.OnHISTORYTYPESUPERGROUPGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPESUPERGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPESUPERGROUPID() As Short
		Get
			Return Me._HISTORYTYPESUPERGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPESUPERGROUPID = value)  _
						= false) Then
				Me.OnHISTORYTYPESUPERGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYTYPESUPERGROUPID = value
				Me.SendPropertyChanged("HISTORYTYPESUPERGROUPID")
				Me.OnHISTORYTYPESUPERGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="HISTORYTYPE_GROUP_HISTORYTYPESUPERGROUPID_FK", Storage:="_TBL_HISTORYTYPE_GROUP", ThisKey:="HISTORYTYPESUPERGROUPID", OtherKey:="HISTORYTYPESUPERGROUPID", DeleteRule:="CASCADE")>  _
	Public Property TBL_HISTORYTYPE_GROUP() As EntitySet(Of TBL_HISTORYTYPE_GROUP)
		Get
			Return Me._TBL_HISTORYTYPE_GROUP
		End Get
		Set
			Me._TBL_HISTORYTYPE_GROUP.Assign(value)
		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
	
	Private Sub attach_TBL_HISTORYTYPE_GROUP(ByVal entity As TBL_HISTORYTYPE_GROUP)
		Me.SendPropertyChanging
		entity.TBL_HISTORYTYPE_SUPERGROUP = Me
	End Sub
	
	Private Sub detach_TBL_HISTORYTYPE_GROUP(ByVal entity As TBL_HISTORYTYPE_GROUP)
		Me.SendPropertyChanging
		entity.TBL_HISTORYTYPE_SUPERGROUP = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_IMPORT_HISTORY")>  _
Partial Public Class TBL_IMPORT_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _IMPORT_HISTORYID As System.Guid
	
	Private _ACTIONTYPENUM As Byte
	
	Private _SOURCEID As System.Guid
	
	Private _NAME As String
	
	Private _SOURCE_DATABASEID As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _DETAILS As String
	
	Private _TBL_EXTERNALMAP_SOURCE As EntityRef(Of TBL_EXTERNALMAP_SOURCE)
	
	Private _TBL_IMPORT_HISTORYITEM As EntitySet(Of TBL_IMPORT_HISTORYITEM)
	
    #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 OnIMPORT_HISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnIMPORT_HISTORYIDChanged()
    End Sub
    Partial Private Sub OnACTIONTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnACTIONTYPENUMChanged()
    End Sub
    Partial Private Sub OnSOURCEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSOURCEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnSOURCE_DATABASEIDChanging(value As String)
    End Sub
    Partial Private Sub OnSOURCE_DATABASEIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnDETAILSChanging(value As String)
    End Sub
    Partial Private Sub OnDETAILSChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_EXTERNALMAP_SOURCE = CType(Nothing, EntityRef(Of TBL_EXTERNALMAP_SOURCE))
		Me._TBL_IMPORT_HISTORYITEM = New EntitySet(Of TBL_IMPORT_HISTORYITEM)(AddressOf Me.attach_TBL_IMPORT_HISTORYITEM, AddressOf Me.detach_TBL_IMPORT_HISTORYITEM)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_HISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property IMPORT_HISTORYID() As System.Guid
		Get
			Return Me._IMPORT_HISTORYID
		End Get
		Set
			If ((Me._IMPORT_HISTORYID = value)  _
						= false) Then
				Me.OnIMPORT_HISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._IMPORT_HISTORYID = value
				Me.SendPropertyChanged("IMPORT_HISTORYID")
				Me.OnIMPORT_HISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property ACTIONTYPENUM() As Byte
		Get
			Return Me._ACTIONTYPENUM
		End Get
		Set
			If ((Me._ACTIONTYPENUM = value)  _
						= false) Then
				Me.OnACTIONTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._ACTIONTYPENUM = value
				Me.SendPropertyChanged("ACTIONTYPENUM")
				Me.OnACTIONTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SOURCEID() As System.Guid
		Get
			Return Me._SOURCEID
		End Get
		Set
			If ((Me._SOURCEID = value)  _
						= false) Then
				If Me._TBL_EXTERNALMAP_SOURCE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSOURCEIDChanging(value)
				Me.SendPropertyChanging
				Me._SOURCEID = value
				Me.SendPropertyChanged("SOURCEID")
				Me.OnSOURCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(512) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCE_DATABASEID", DbType:="NVarChar(64)")>  _
	Public Property SOURCE_DATABASEID() As String
		Get
			Return Me._SOURCE_DATABASEID
		End Get
		Set
			If (String.Equals(Me._SOURCE_DATABASEID, value) = false) Then
				Me.OnSOURCE_DATABASEIDChanging(value)
				Me.SendPropertyChanging
				Me._SOURCE_DATABASEID = value
				Me.SendPropertyChanged("SOURCE_DATABASEID")
				Me.OnSOURCE_DATABASEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me.OnDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._DETAILS = value
				Me.SendPropertyChanged("DETAILS")
				Me.OnDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="IMPORT_HISTORY_SOURCEID_FK", Storage:="_TBL_EXTERNALMAP_SOURCE", ThisKey:="SOURCEID", OtherKey:="SOURCEID", IsForeignKey:=true)>  _
	Public Property TBL_EXTERNALMAP_SOURCE() As TBL_EXTERNALMAP_SOURCE
		Get
			Return Me._TBL_EXTERNALMAP_SOURCE.Entity
		End Get
		Set
			Dim previousValue As TBL_EXTERNALMAP_SOURCE = Me._TBL_EXTERNALMAP_SOURCE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_EXTERNALMAP_SOURCE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_EXTERNALMAP_SOURCE.Entity = Nothing
					previousValue.TBL_IMPORT_HISTORY.Remove(Me)
				End If
				Me._TBL_EXTERNALMAP_SOURCE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_IMPORT_HISTORY.Add(Me)
					Me._SOURCEID = value.SOURCEID
				Else
					Me._SOURCEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_EXTERNALMAP_SOURCE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="IMPORT_HISTORYITEM_IMPORT_HISTORYID_FK", Storage:="_TBL_IMPORT_HISTORYITEM", ThisKey:="IMPORT_HISTORYID", OtherKey:="IMPORT_HISTORYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_IMPORT_HISTORYITEM() As EntitySet(Of TBL_IMPORT_HISTORYITEM)
		Get
			Return Me._TBL_IMPORT_HISTORYITEM
		End Get
		Set
			Me._TBL_IMPORT_HISTORYITEM.Assign(value)
		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
	
	Private Sub attach_TBL_IMPORT_HISTORYITEM(ByVal entity As TBL_IMPORT_HISTORYITEM)
		Me.SendPropertyChanging
		entity.TBL_IMPORT_HISTORY = Me
	End Sub
	
	Private Sub detach_TBL_IMPORT_HISTORYITEM(ByVal entity As TBL_IMPORT_HISTORYITEM)
		Me.SendPropertyChanging
		entity.TBL_IMPORT_HISTORY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_IMPORT_HISTORYITEM")>  _
Partial Public Class TBL_IMPORT_HISTORYITEM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ACT_RECORDID As System.Guid
	
	Private _ENTITYID As System.Guid
	
	Private _IMPORT_HISTORYID As System.Nullable(Of System.Guid)
	
	Private _EXTERNALID As String
	
	Private _DETAILS As String
	
	Private _CLUSTERID As Integer
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
	Private _TBL_IMPORT_HISTORY As EntityRef(Of TBL_IMPORT_HISTORY)
	
    #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 OnACT_RECORDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACT_RECORDIDChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnIMPORT_HISTORYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnIMPORT_HISTORYIDChanged()
    End Sub
    Partial Private Sub OnEXTERNALIDChanging(value As String)
    End Sub
    Partial Private Sub OnEXTERNALIDChanged()
    End Sub
    Partial Private Sub OnDETAILSChanging(value As String)
    End Sub
    Partial Private Sub OnDETAILSChanged()
    End Sub
    Partial Private Sub OnCLUSTERIDChanging(value As Integer)
    End Sub
    Partial Private Sub OnCLUSTERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		Me._TBL_IMPORT_HISTORY = CType(Nothing, EntityRef(Of TBL_IMPORT_HISTORY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_RECORDID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACT_RECORDID() As System.Guid
		Get
			Return Me._ACT_RECORDID
		End Get
		Set
			If ((Me._ACT_RECORDID = value)  _
						= false) Then
				Me.OnACT_RECORDIDChanging(value)
				Me.SendPropertyChanging
				Me._ACT_RECORDID = value
				Me.SendPropertyChanged("ACT_RECORDID")
				Me.OnACT_RECORDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property IMPORT_HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._IMPORT_HISTORYID
		End Get
		Set
			If (Me._IMPORT_HISTORYID.Equals(value) = false) Then
				If Me._TBL_IMPORT_HISTORY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnIMPORT_HISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._IMPORT_HISTORYID = value
				Me.SendPropertyChanged("IMPORT_HISTORYID")
				Me.OnIMPORT_HISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTERNALID", DbType:="VarChar(512)")>  _
	Public Property EXTERNALID() As String
		Get
			Return Me._EXTERNALID
		End Get
		Set
			If (String.Equals(Me._EXTERNALID, value) = false) Then
				Me.OnEXTERNALIDChanging(value)
				Me.SendPropertyChanging
				Me._EXTERNALID = value
				Me.SendPropertyChanged("EXTERNALID")
				Me.OnEXTERNALIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1024)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me.OnDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._DETAILS = value
				Me.SendPropertyChanged("DETAILS")
				Me.OnDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLUSTERID", DbType:="Int NOT NULL")>  _
	Public Property CLUSTERID() As Integer
		Get
			Return Me._CLUSTERID
		End Get
		Set
			If ((Me._CLUSTERID = value)  _
						= false) Then
				Me.OnCLUSTERIDChanging(value)
				Me.SendPropertyChanging
				Me._CLUSTERID = value
				Me.SendPropertyChanged("CLUSTERID")
				Me.OnCLUSTERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="IMPORT_HISTORYITEM_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.TBL_IMPORT_HISTORYITEM.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_IMPORT_HISTORYITEM.Add(Me)
					Me._ENTITYID = value.ENTITYID
				Else
					Me._ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="IMPORT_HISTORYITEM_IMPORT_HISTORYID_FK", Storage:="_TBL_IMPORT_HISTORY", ThisKey:="IMPORT_HISTORYID", OtherKey:="IMPORT_HISTORYID", IsForeignKey:=true)>  _
	Public Property TBL_IMPORT_HISTORY() As TBL_IMPORT_HISTORY
		Get
			Return Me._TBL_IMPORT_HISTORY.Entity
		End Get
		Set
			Dim previousValue As TBL_IMPORT_HISTORY = Me._TBL_IMPORT_HISTORY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_IMPORT_HISTORY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_IMPORT_HISTORY.Entity = Nothing
					previousValue.TBL_IMPORT_HISTORYITEM.Remove(Me)
				End If
				Me._TBL_IMPORT_HISTORY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_IMPORT_HISTORYITEM.Add(Me)
					Me._IMPORT_HISTORYID = value.IMPORT_HISTORYID
				Else
					Me._IMPORT_HISTORYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_IMPORT_HISTORY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_LOGONHISTORY")>  _
Partial Public Class TBL_LOGONHISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _LOGONHISTORYID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _STATUSNUM As Byte
	
	Private _LOGONDATE As Date
	
	Private _LOGOFFDATE As System.Nullable(Of Date)
	
	Private _DATABASESERVER As String
	
	Private _DATABASENAME As String
	
	Private _CLIENT_MACHINE As String
	
	Private _CLIENT_IPADDRESS As String
	
	Private _CLIENT_USERNAME As String
	
	Private _APPLICATIONNAME As String
	
	Private _APPLICATIONVERSION As String
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnLOGONHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnLOGONHISTORYIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnLOGONDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnLOGONDATEChanged()
    End Sub
    Partial Private Sub OnLOGOFFDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnLOGOFFDATEChanged()
    End Sub
    Partial Private Sub OnDATABASESERVERChanging(value As String)
    End Sub
    Partial Private Sub OnDATABASESERVERChanged()
    End Sub
    Partial Private Sub OnDATABASENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDATABASENAMEChanged()
    End Sub
    Partial Private Sub OnCLIENT_MACHINEChanging(value As String)
    End Sub
    Partial Private Sub OnCLIENT_MACHINEChanged()
    End Sub
    Partial Private Sub OnCLIENT_IPADDRESSChanging(value As String)
    End Sub
    Partial Private Sub OnCLIENT_IPADDRESSChanged()
    End Sub
    Partial Private Sub OnCLIENT_USERNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCLIENT_USERNAMEChanged()
    End Sub
    Partial Private Sub OnAPPLICATIONNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnAPPLICATIONNAMEChanged()
    End Sub
    Partial Private Sub OnAPPLICATIONVERSIONChanging(value As String)
    End Sub
    Partial Private Sub OnAPPLICATIONVERSIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONHISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property LOGONHISTORYID() As System.Guid
		Get
			Return Me._LOGONHISTORYID
		End Get
		Set
			If ((Me._LOGONHISTORYID = value)  _
						= false) Then
				Me.OnLOGONHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._LOGONHISTORYID = value
				Me.SendPropertyChanged("LOGONHISTORYID")
				Me.OnLOGONHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LOGONDATE() As Date
		Get
			Return Me._LOGONDATE
		End Get
		Set
			If ((Me._LOGONDATE = value)  _
						= false) Then
				Me.OnLOGONDATEChanging(value)
				Me.SendPropertyChanging
				Me._LOGONDATE = value
				Me.SendPropertyChanged("LOGONDATE")
				Me.OnLOGONDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGOFFDATE", DbType:="DateTime")>  _
	Public Property LOGOFFDATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGOFFDATE
		End Get
		Set
			If (Me._LOGOFFDATE.Equals(value) = false) Then
				Me.OnLOGOFFDATEChanging(value)
				Me.SendPropertyChanging
				Me._LOGOFFDATE = value
				Me.SendPropertyChanged("LOGOFFDATE")
				Me.OnLOGOFFDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASESERVER", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASESERVER() As String
		Get
			Return Me._DATABASESERVER
		End Get
		Set
			If (String.Equals(Me._DATABASESERVER, value) = false) Then
				Me.OnDATABASESERVERChanging(value)
				Me.SendPropertyChanging
				Me._DATABASESERVER = value
				Me.SendPropertyChanged("DATABASESERVER")
				Me.OnDATABASESERVERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASENAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASENAME() As String
		Get
			Return Me._DATABASENAME
		End Get
		Set
			If (String.Equals(Me._DATABASENAME, value) = false) Then
				Me.OnDATABASENAMEChanging(value)
				Me.SendPropertyChanging
				Me._DATABASENAME = value
				Me.SendPropertyChanged("DATABASENAME")
				Me.OnDATABASENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_MACHINE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property CLIENT_MACHINE() As String
		Get
			Return Me._CLIENT_MACHINE
		End Get
		Set
			If (String.Equals(Me._CLIENT_MACHINE, value) = false) Then
				Me.OnCLIENT_MACHINEChanging(value)
				Me.SendPropertyChanging
				Me._CLIENT_MACHINE = value
				Me.SendPropertyChanged("CLIENT_MACHINE")
				Me.OnCLIENT_MACHINEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_IPADDRESS", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_IPADDRESS() As String
		Get
			Return Me._CLIENT_IPADDRESS
		End Get
		Set
			If (String.Equals(Me._CLIENT_IPADDRESS, value) = false) Then
				Me.OnCLIENT_IPADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._CLIENT_IPADDRESS = value
				Me.SendPropertyChanged("CLIENT_IPADDRESS")
				Me.OnCLIENT_IPADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_USERNAME", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_USERNAME() As String
		Get
			Return Me._CLIENT_USERNAME
		End Get
		Set
			If (String.Equals(Me._CLIENT_USERNAME, value) = false) Then
				Me.OnCLIENT_USERNAMEChanging(value)
				Me.SendPropertyChanging
				Me._CLIENT_USERNAME = value
				Me.SendPropertyChanged("CLIENT_USERNAME")
				Me.OnCLIENT_USERNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATIONNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property APPLICATIONNAME() As String
		Get
			Return Me._APPLICATIONNAME
		End Get
		Set
			If (String.Equals(Me._APPLICATIONNAME, value) = false) Then
				Me.OnAPPLICATIONNAMEChanging(value)
				Me.SendPropertyChanging
				Me._APPLICATIONNAME = value
				Me.SendPropertyChanged("APPLICATIONNAME")
				Me.OnAPPLICATIONNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATIONVERSION", DbType:="NVarChar(64)")>  _
	Public Property APPLICATIONVERSION() As String
		Get
			Return Me._APPLICATIONVERSION
		End Get
		Set
			If (String.Equals(Me._APPLICATIONVERSION, value) = false) Then
				Me.OnAPPLICATIONVERSIONChanging(value)
				Me.SendPropertyChanging
				Me._APPLICATIONVERSION = value
				Me.SendPropertyChanged("APPLICATIONVERSION")
				Me.OnAPPLICATIONVERSIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="LOGONHISTORY_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_LOGONHISTORY.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_LOGONHISTORY.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_NOTE")>  _
Partial Public Class TBL_NOTE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _NOTEID As System.Guid
	
	Private _NOTETYPEID As Short
	
	Private _ISPRIVATE As Byte
	
	Private _NOTETEXT As String
	
	Private _MANAGEUSERID As System.Guid
	
	Private _DISPLAYDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_ATTACHMENT As EntitySet(Of TBL_ATTACHMENT)
	
	Private _TBL_CONTACT_NOTE As EntitySet(Of TBL_CONTACT_NOTE)
	
	Private _TBL_GROUP_NOTE As EntitySet(Of TBL_GROUP_NOTE)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _MANAGEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_NOTETYPE As EntityRef(Of TBL_NOTETYPE)
	
	Private _TBL_OPPORTUNITY_NOTE As EntitySet(Of TBL_OPPORTUNITY_NOTE)
	
	Private _TBL_COMPANY_NOTE As EntitySet(Of TBL_COMPANY_NOTE)
	
    #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 OnNOTEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    Partial Private Sub OnNOTETYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnNOTETYPEIDChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Byte)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnNOTETEXTChanging(value As String)
    End Sub
    Partial Private Sub OnNOTETEXTChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnDISPLAYDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnDISPLAYDATEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ATTACHMENT = New EntitySet(Of TBL_ATTACHMENT)(AddressOf Me.attach_TBL_ATTACHMENT, AddressOf Me.detach_TBL_ATTACHMENT)
		Me._TBL_CONTACT_NOTE = New EntitySet(Of TBL_CONTACT_NOTE)(AddressOf Me.attach_TBL_CONTACT_NOTE, AddressOf Me.detach_TBL_CONTACT_NOTE)
		Me._TBL_GROUP_NOTE = New EntitySet(Of TBL_GROUP_NOTE)(AddressOf Me.attach_TBL_GROUP_NOTE, AddressOf Me.detach_TBL_GROUP_NOTE)
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._MANAGEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_NOTETYPE = CType(Nothing, EntityRef(Of TBL_NOTETYPE))
		Me._TBL_OPPORTUNITY_NOTE = New EntitySet(Of TBL_OPPORTUNITY_NOTE)(AddressOf Me.attach_TBL_OPPORTUNITY_NOTE, AddressOf Me.detach_TBL_OPPORTUNITY_NOTE)
		Me._TBL_COMPANY_NOTE = New EntitySet(Of TBL_COMPANY_NOTE)(AddressOf Me.attach_TBL_COMPANY_NOTE, AddressOf Me.detach_TBL_COMPANY_NOTE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPEID() As Short
		Get
			Return Me._NOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPEID = value)  _
						= false) Then
				If Me._TBL_NOTETYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnNOTETYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTETYPEID = value
				Me.SendPropertyChanged("NOTETYPEID")
				Me.OnNOTETYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="TinyInt NOT NULL")>  _
	Public Property ISPRIVATE() As Byte
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property NOTETEXT() As String
		Get
			Return Me._NOTETEXT
		End Get
		Set
			If (String.Equals(Me._NOTETEXT, value) = false) Then
				Me.OnNOTETEXTChanging(value)
				Me.SendPropertyChanging
				Me._NOTETEXT = value
				Me.SendPropertyChanged("NOTETEXT")
				Me.OnNOTETEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				If Me._MANAGEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYDATE", DbType:="SmallDateTime NOT NULL")>  _
	Public Property DISPLAYDATE() As Date
		Get
			Return Me._DISPLAYDATE
		End Get
		Set
			If ((Me._DISPLAYDATE = value)  _
						= false) Then
				Me.OnDISPLAYDATEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYDATE = value
				Me.SendPropertyChanged("DISPLAYDATE")
				Me.OnDISPLAYDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_NOTEID_FK", Storage:="_TBL_ATTACHMENT", ThisKey:="NOTEID", OtherKey:="NOTEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ATTACHMENT() As EntitySet(Of TBL_ATTACHMENT)
		Get
			Return Me._TBL_ATTACHMENT
		End Get
		Set
			Me._TBL_ATTACHMENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_NOTE_NOTEID_FK", Storage:="_TBL_CONTACT_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_NOTE() As EntitySet(Of TBL_CONTACT_NOTE)
		Get
			Return Me._TBL_CONTACT_NOTE
		End Get
		Set
			Me._TBL_CONTACT_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_NOTE_NOTEID_FK", Storage:="_TBL_GROUP_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_NOTE() As EntitySet(Of TBL_GROUP_NOTE)
		Get
			Return Me._TBL_GROUP_NOTE
		End Get
		Set
			Me._TBL_GROUP_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="NOTE_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_NOTE.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_NOTE.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="NOTE_MANAGEUSERID_FK", Storage:="_MANAGEUSER", ThisKey:="MANAGEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property MANAGEUSER() As TBL_ACCESSOR
		Get
			Return Me._MANAGEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._MANAGEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MANAGEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MANAGEUSER.Entity = Nothing
					previousValue.NOTE_MANAGEUSERID_FK.Remove(Me)
				End If
				Me._MANAGEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.NOTE_MANAGEUSERID_FK.Add(Me)
					Me._MANAGEUSERID = value.ACCESSORID
				Else
					Me._MANAGEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MANAGEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="NOTE_NOTETYPEID_FK", Storage:="_TBL_NOTETYPE", ThisKey:="NOTETYPEID", OtherKey:="NOTETYPEID", IsForeignKey:=true)>  _
	Public Property TBL_NOTETYPE() As TBL_NOTETYPE
		Get
			Return Me._TBL_NOTETYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_NOTETYPE = Me._TBL_NOTETYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_NOTETYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_NOTETYPE.Entity = Nothing
					previousValue.TBL_NOTE.Remove(Me)
				End If
				Me._TBL_NOTETYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_NOTE.Add(Me)
					Me._NOTETYPEID = value.NOTETYPEID
				Else
					Me._NOTETYPEID = CType(Nothing, Short)
				End If
				Me.SendPropertyChanged("TBL_NOTETYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_NOTE_NOTEID_FK", Storage:="_TBL_OPPORTUNITY_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_NOTE() As EntitySet(Of TBL_OPPORTUNITY_NOTE)
		Get
			Return Me._TBL_OPPORTUNITY_NOTE
		End Get
		Set
			Me._TBL_OPPORTUNITY_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TBL_COMPANY_NOTE_NOTEID_FK", Storage:="_TBL_COMPANY_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_NOTE() As EntitySet(Of TBL_COMPANY_NOTE)
		Get
			Return Me._TBL_COMPANY_NOTE
		End Get
		Set
			Me._TBL_COMPANY_NOTE.Assign(value)
		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
	
	Private Sub attach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Me
	End Sub
	
	Private Sub detach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_NOTE(ByVal entity As TBL_CONTACT_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_NOTE(ByVal entity As TBL_CONTACT_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_NOTE(ByVal entity As TBL_GROUP_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_NOTE(ByVal entity As TBL_GROUP_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_NOTE(ByVal entity As TBL_OPPORTUNITY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_NOTE(ByVal entity As TBL_OPPORTUNITY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_NOTE(ByVal entity As TBL_COMPANY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_NOTE(ByVal entity As TBL_COMPANY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_NOTETYPE")>  _
Partial Public Class TBL_NOTETYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _NOTETYPEGUID As System.Guid
	
	Private _NOTETYPEID As Short
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISACTIVE As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_NOTE As EntitySet(Of TBL_NOTE)
	
    #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 OnNOTETYPEGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnNOTETYPEGUIDChanged()
    End Sub
    Partial Private Sub OnNOTETYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnNOTETYPEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_NOTE = New EntitySet(Of TBL_NOTE)(AddressOf Me.attach_TBL_NOTE, AddressOf Me.detach_TBL_NOTE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property NOTETYPEGUID() As System.Guid
		Get
			Return Me._NOTETYPEGUID
		End Get
		Set
			If ((Me._NOTETYPEGUID = value)  _
						= false) Then
				Me.OnNOTETYPEGUIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTETYPEGUID = value
				Me.SendPropertyChanged("NOTETYPEGUID")
				Me.OnNOTETYPEGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPEID() As Short
		Get
			Return Me._NOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPEID = value)  _
						= false) Then
				Me.OnNOTETYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTETYPEID = value
				Me.SendPropertyChanged("NOTETYPEID")
				Me.OnNOTETYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="NOTE_NOTETYPEID_FK", Storage:="_TBL_NOTE", ThisKey:="NOTETYPEID", OtherKey:="NOTETYPEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_NOTE() As EntitySet(Of TBL_NOTE)
		Get
			Return Me._TBL_NOTE
		End Get
		Set
			Me._TBL_NOTE.Assign(value)
		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
	
	Private Sub attach_TBL_NOTE(ByVal entity As TBL_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTETYPE = Me
	End Sub
	
	Private Sub detach_TBL_NOTE(ByVal entity As TBL_NOTE)
		Me.SendPropertyChanging
		entity.TBL_NOTETYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_OPPORTUNITY")>  _
Partial Public Class TBL_OPPORTUNITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _ISPRIVATE As Boolean
	
	Private _OPENDATE As Date
	
	Private _ESTIMATEDCLOSEDATE As Date
	
	Private _ACTUALCLOSEDATE As System.Nullable(Of Date)
	
	Private _COMPETITOR As String
	
	Private _STAGEID As System.Guid
	
	Private _SOURCE As String
	
	Private _CLOSEREASON As String
	
	Private _TOTALEXTENDEDAMT As Decimal
	
	Private _PROBABILITYPCT As Byte
	
	Private _GROSSMARGINAMT As System.Nullable(Of Decimal)
	
	Private _MANAGEUSERID As System.Guid
	
	Private _USER1 As String
	
	Private _USER2 As System.Nullable(Of Date)
	
	Private _USER3 As String
	
	Private _USER4 As String
	
	Private _USER5 As String
	
	Private _USER6 As String
	
	Private _USER7 As String
	
	Private _USER8 As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _IMPORTDATE As System.Nullable(Of Date)
	
	Private _WEIGHTEDAMT As Decimal
	
	Private _CUST_Whatistheirpain_011807095 As String
	
	Private _CUST_MajorObstacle_012106520 As String
	
	Private _CUST_CurrentlyUsing_014311155 As String
	
	Private _CUST_Budget_014353244 As String
	
	Private _CUST_DecisionBasedon_014647382 As String
	
	Private _DAYSOPEN As System.Nullable(Of Integer)
	
	Private _TBL_ADDRESS As EntitySet(Of TBL_ADDRESS)
	
	Private _TBL_COMPANY_OPPORTUNITY As EntitySet(Of TBL_COMPANY_OPPORTUNITY)
	
	Private _TBL_CONTACT_OPPORTUNITY As EntitySet(Of TBL_CONTACT_OPPORTUNITY)
	
	Private _TBL_EMAIL As EntitySet(Of TBL_EMAIL)
	
	Private _TBL_GROUP_OPPORTUNITY As EntitySet(Of TBL_GROUP_OPPORTUNITY)
	
	Private _TBL_OPPORTUNITY_ACL As EntitySet(Of TBL_OPPORTUNITY_ACL)
	
	Private _TBL_OPPORTUNITY_ACTIVITY As EntitySet(Of TBL_OPPORTUNITY_ACTIVITY)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _EDITUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_OPPORTUNITY_HISTORY As EntitySet(Of TBL_OPPORTUNITY_HISTORY)
	
	Private _MANAGEUSER As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_OPPORTUNITY_NOTE As EntitySet(Of TBL_OPPORTUNITY_NOTE)
	
	Private _TBL_OPPORTUNITY_PRODUCTSERVICE As EntitySet(Of TBL_OPPORTUNITY_PRODUCTSERVICE)
	
	Private _TBL_STAGE As EntityRef(Of TBL_STAGE)
	
	Private _TBL_PHONE As EntitySet(Of TBL_PHONE)
	
    #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 OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnOPENDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnOPENDATEChanged()
    End Sub
    Partial Private Sub OnESTIMATEDCLOSEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnESTIMATEDCLOSEDATEChanged()
    End Sub
    Partial Private Sub OnACTUALCLOSEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnACTUALCLOSEDATEChanged()
    End Sub
    Partial Private Sub OnCOMPETITORChanging(value As String)
    End Sub
    Partial Private Sub OnCOMPETITORChanged()
    End Sub
    Partial Private Sub OnSTAGEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSTAGEIDChanged()
    End Sub
    Partial Private Sub OnSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnSOURCEChanged()
    End Sub
    Partial Private Sub OnCLOSEREASONChanging(value As String)
    End Sub
    Partial Private Sub OnCLOSEREASONChanged()
    End Sub
    Partial Private Sub OnTOTALEXTENDEDAMTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnTOTALEXTENDEDAMTChanged()
    End Sub
    Partial Private Sub OnPROBABILITYPCTChanging(value As Byte)
    End Sub
    Partial Private Sub OnPROBABILITYPCTChanged()
    End Sub
    Partial Private Sub OnGROSSMARGINAMTChanging(value As System.Nullable(Of Decimal))
    End Sub
    Partial Private Sub OnGROSSMARGINAMTChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnUSER1Changing(value As String)
    End Sub
    Partial Private Sub OnUSER1Changed()
    End Sub
    Partial Private Sub OnUSER2Changing(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnUSER2Changed()
    End Sub
    Partial Private Sub OnUSER3Changing(value As String)
    End Sub
    Partial Private Sub OnUSER3Changed()
    End Sub
    Partial Private Sub OnUSER4Changing(value As String)
    End Sub
    Partial Private Sub OnUSER4Changed()
    End Sub
    Partial Private Sub OnUSER5Changing(value As String)
    End Sub
    Partial Private Sub OnUSER5Changed()
    End Sub
    Partial Private Sub OnUSER6Changing(value As String)
    End Sub
    Partial Private Sub OnUSER6Changed()
    End Sub
    Partial Private Sub OnUSER7Changing(value As String)
    End Sub
    Partial Private Sub OnUSER7Changed()
    End Sub
    Partial Private Sub OnUSER8Changing(value As String)
    End Sub
    Partial Private Sub OnUSER8Changed()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnIMPORTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnIMPORTDATEChanged()
    End Sub
    Partial Private Sub OnWEIGHTEDAMTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnWEIGHTEDAMTChanged()
    End Sub
    Partial Private Sub OnCUST_Whatistheirpain_011807095Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_Whatistheirpain_011807095Changed()
    End Sub
    Partial Private Sub OnCUST_MajorObstacle_012106520Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_MajorObstacle_012106520Changed()
    End Sub
    Partial Private Sub OnCUST_CurrentlyUsing_014311155Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_CurrentlyUsing_014311155Changed()
    End Sub
    Partial Private Sub OnCUST_Budget_014353244Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_Budget_014353244Changed()
    End Sub
    Partial Private Sub OnCUST_DecisionBasedon_014647382Changing(value As String)
    End Sub
    Partial Private Sub OnCUST_DecisionBasedon_014647382Changed()
    End Sub
    Partial Private Sub OnDAYSOPENChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnDAYSOPENChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ADDRESS = New EntitySet(Of TBL_ADDRESS)(AddressOf Me.attach_TBL_ADDRESS, AddressOf Me.detach_TBL_ADDRESS)
		Me._TBL_COMPANY_OPPORTUNITY = New EntitySet(Of TBL_COMPANY_OPPORTUNITY)(AddressOf Me.attach_TBL_COMPANY_OPPORTUNITY, AddressOf Me.detach_TBL_COMPANY_OPPORTUNITY)
		Me._TBL_CONTACT_OPPORTUNITY = New EntitySet(Of TBL_CONTACT_OPPORTUNITY)(AddressOf Me.attach_TBL_CONTACT_OPPORTUNITY, AddressOf Me.detach_TBL_CONTACT_OPPORTUNITY)
		Me._TBL_EMAIL = New EntitySet(Of TBL_EMAIL)(AddressOf Me.attach_TBL_EMAIL, AddressOf Me.detach_TBL_EMAIL)
		Me._TBL_GROUP_OPPORTUNITY = New EntitySet(Of TBL_GROUP_OPPORTUNITY)(AddressOf Me.attach_TBL_GROUP_OPPORTUNITY, AddressOf Me.detach_TBL_GROUP_OPPORTUNITY)
		Me._TBL_OPPORTUNITY_ACL = New EntitySet(Of TBL_OPPORTUNITY_ACL)(AddressOf Me.attach_TBL_OPPORTUNITY_ACL, AddressOf Me.detach_TBL_OPPORTUNITY_ACL)
		Me._TBL_OPPORTUNITY_ACTIVITY = New EntitySet(Of TBL_OPPORTUNITY_ACTIVITY)(AddressOf Me.attach_TBL_OPPORTUNITY_ACTIVITY, AddressOf Me.detach_TBL_OPPORTUNITY_ACTIVITY)
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._EDITUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_OPPORTUNITY_HISTORY = New EntitySet(Of TBL_OPPORTUNITY_HISTORY)(AddressOf Me.attach_TBL_OPPORTUNITY_HISTORY, AddressOf Me.detach_TBL_OPPORTUNITY_HISTORY)
		Me._MANAGEUSER = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_OPPORTUNITY_NOTE = New EntitySet(Of TBL_OPPORTUNITY_NOTE)(AddressOf Me.attach_TBL_OPPORTUNITY_NOTE, AddressOf Me.detach_TBL_OPPORTUNITY_NOTE)
		Me._TBL_OPPORTUNITY_PRODUCTSERVICE = New EntitySet(Of TBL_OPPORTUNITY_PRODUCTSERVICE)(AddressOf Me.attach_TBL_OPPORTUNITY_PRODUCTSERVICE, AddressOf Me.detach_TBL_OPPORTUNITY_PRODUCTSERVICE)
		Me._TBL_STAGE = CType(Nothing, EntityRef(Of TBL_STAGE))
		Me._TBL_PHONE = New EntitySet(Of TBL_PHONE)(AddressOf Me.attach_TBL_PHONE, AddressOf Me.detach_TBL_PHONE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPENDATE", DbType:="DateTime NOT NULL")>  _
	Public Property OPENDATE() As Date
		Get
			Return Me._OPENDATE
		End Get
		Set
			If ((Me._OPENDATE = value)  _
						= false) Then
				Me.OnOPENDATEChanging(value)
				Me.SendPropertyChanging
				Me._OPENDATE = value
				Me.SendPropertyChanged("OPENDATE")
				Me.OnOPENDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ESTIMATEDCLOSEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ESTIMATEDCLOSEDATE() As Date
		Get
			Return Me._ESTIMATEDCLOSEDATE
		End Get
		Set
			If ((Me._ESTIMATEDCLOSEDATE = value)  _
						= false) Then
				Me.OnESTIMATEDCLOSEDATEChanging(value)
				Me.SendPropertyChanging
				Me._ESTIMATEDCLOSEDATE = value
				Me.SendPropertyChanged("ESTIMATEDCLOSEDATE")
				Me.OnESTIMATEDCLOSEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTUALCLOSEDATE", DbType:="DateTime")>  _
	Public Property ACTUALCLOSEDATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTUALCLOSEDATE
		End Get
		Set
			If (Me._ACTUALCLOSEDATE.Equals(value) = false) Then
				Me.OnACTUALCLOSEDATEChanging(value)
				Me.SendPropertyChanging
				Me._ACTUALCLOSEDATE = value
				Me.SendPropertyChanged("ACTUALCLOSEDATE")
				Me.OnACTUALCLOSEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPETITOR", DbType:="NVarChar(128)")>  _
	Public Property COMPETITOR() As String
		Get
			Return Me._COMPETITOR
		End Get
		Set
			If (String.Equals(Me._COMPETITOR, value) = false) Then
				Me.OnCOMPETITORChanging(value)
				Me.SendPropertyChanging
				Me._COMPETITOR = value
				Me.SendPropertyChanged("COMPETITOR")
				Me.OnCOMPETITORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property STAGEID() As System.Guid
		Get
			Return Me._STAGEID
		End Get
		Set
			If ((Me._STAGEID = value)  _
						= false) Then
				If Me._TBL_STAGE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSTAGEIDChanging(value)
				Me.SendPropertyChanging
				Me._STAGEID = value
				Me.SendPropertyChanged("STAGEID")
				Me.OnSTAGEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCE", DbType:="NVarChar(64)")>  _
	Public Property SOURCE() As String
		Get
			Return Me._SOURCE
		End Get
		Set
			If (String.Equals(Me._SOURCE, value) = false) Then
				Me.OnSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._SOURCE = value
				Me.SendPropertyChanged("SOURCE")
				Me.OnSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLOSEREASON", DbType:="NVarChar(128)")>  _
	Public Property CLOSEREASON() As String
		Get
			Return Me._CLOSEREASON
		End Get
		Set
			If (String.Equals(Me._CLOSEREASON, value) = false) Then
				Me.OnCLOSEREASONChanging(value)
				Me.SendPropertyChanging
				Me._CLOSEREASON = value
				Me.SendPropertyChanged("CLOSEREASON")
				Me.OnCLOSEREASONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOTALEXTENDEDAMT", DbType:="Decimal(17,2) NOT NULL")>  _
	Public Property TOTALEXTENDEDAMT() As Decimal
		Get
			Return Me._TOTALEXTENDEDAMT
		End Get
		Set
			If ((Me._TOTALEXTENDEDAMT = value)  _
						= false) Then
				Me.OnTOTALEXTENDEDAMTChanging(value)
				Me.SendPropertyChanging
				Me._TOTALEXTENDEDAMT = value
				Me.SendPropertyChanged("TOTALEXTENDEDAMT")
				Me.OnTOTALEXTENDEDAMTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROBABILITYPCT", DbType:="TinyInt NOT NULL")>  _
	Public Property PROBABILITYPCT() As Byte
		Get
			Return Me._PROBABILITYPCT
		End Get
		Set
			If ((Me._PROBABILITYPCT = value)  _
						= false) Then
				Me.OnPROBABILITYPCTChanging(value)
				Me.SendPropertyChanging
				Me._PROBABILITYPCT = value
				Me.SendPropertyChanged("PROBABILITYPCT")
				Me.OnPROBABILITYPCTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROSSMARGINAMT", DbType:="Decimal(17,2)")>  _
	Public Property GROSSMARGINAMT() As System.Nullable(Of Decimal)
		Get
			Return Me._GROSSMARGINAMT
		End Get
		Set
			If (Me._GROSSMARGINAMT.Equals(value) = false) Then
				Me.OnGROSSMARGINAMTChanging(value)
				Me.SendPropertyChanging
				Me._GROSSMARGINAMT = value
				Me.SendPropertyChanged("GROSSMARGINAMT")
				Me.OnGROSSMARGINAMTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				If Me._MANAGEUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER1", DbType:="NVarChar(10)")>  _
	Public Property USER1() As String
		Get
			Return Me._USER1
		End Get
		Set
			If (String.Equals(Me._USER1, value) = false) Then
				Me.OnUSER1Changing(value)
				Me.SendPropertyChanging
				Me._USER1 = value
				Me.SendPropertyChanged("USER1")
				Me.OnUSER1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER2", DbType:="DateTime")>  _
	Public Property USER2() As System.Nullable(Of Date)
		Get
			Return Me._USER2
		End Get
		Set
			If (Me._USER2.Equals(value) = false) Then
				Me.OnUSER2Changing(value)
				Me.SendPropertyChanging
				Me._USER2 = value
				Me.SendPropertyChanged("USER2")
				Me.OnUSER2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER3", DbType:="NVarChar(64)")>  _
	Public Property USER3() As String
		Get
			Return Me._USER3
		End Get
		Set
			If (String.Equals(Me._USER3, value) = false) Then
				Me.OnUSER3Changing(value)
				Me.SendPropertyChanging
				Me._USER3 = value
				Me.SendPropertyChanged("USER3")
				Me.OnUSER3Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER4", DbType:="NVarChar(64)")>  _
	Public Property USER4() As String
		Get
			Return Me._USER4
		End Get
		Set
			If (String.Equals(Me._USER4, value) = false) Then
				Me.OnUSER4Changing(value)
				Me.SendPropertyChanging
				Me._USER4 = value
				Me.SendPropertyChanged("USER4")
				Me.OnUSER4Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER5", DbType:="NVarChar(64)")>  _
	Public Property USER5() As String
		Get
			Return Me._USER5
		End Get
		Set
			If (String.Equals(Me._USER5, value) = false) Then
				Me.OnUSER5Changing(value)
				Me.SendPropertyChanging
				Me._USER5 = value
				Me.SendPropertyChanged("USER5")
				Me.OnUSER5Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER6", DbType:="NVarChar(64)")>  _
	Public Property USER6() As String
		Get
			Return Me._USER6
		End Get
		Set
			If (String.Equals(Me._USER6, value) = false) Then
				Me.OnUSER6Changing(value)
				Me.SendPropertyChanging
				Me._USER6 = value
				Me.SendPropertyChanged("USER6")
				Me.OnUSER6Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER7", DbType:="NVarChar(64)")>  _
	Public Property USER7() As String
		Get
			Return Me._USER7
		End Get
		Set
			If (String.Equals(Me._USER7, value) = false) Then
				Me.OnUSER7Changing(value)
				Me.SendPropertyChanging
				Me._USER7 = value
				Me.SendPropertyChanged("USER7")
				Me.OnUSER7Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER8", DbType:="NVarChar(64)")>  _
	Public Property USER8() As String
		Get
			Return Me._USER8
		End Get
		Set
			If (String.Equals(Me._USER8, value) = false) Then
				Me.OnUSER8Changing(value)
				Me.SendPropertyChanging
				Me._USER8 = value
				Me.SendPropertyChanged("USER8")
				Me.OnUSER8Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				If Me._EDITUSER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORTDATE", DbType:="DateTime")>  _
	Public Property IMPORTDATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORTDATE
		End Get
		Set
			If (Me._IMPORTDATE.Equals(value) = false) Then
				Me.OnIMPORTDATEChanging(value)
				Me.SendPropertyChanging
				Me._IMPORTDATE = value
				Me.SendPropertyChanged("IMPORTDATE")
				Me.OnIMPORTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEIGHTEDAMT", DbType:="Decimal(17,2) NOT NULL")>  _
	Public Property WEIGHTEDAMT() As Decimal
		Get
			Return Me._WEIGHTEDAMT
		End Get
		Set
			If ((Me._WEIGHTEDAMT = value)  _
						= false) Then
				Me.OnWEIGHTEDAMTChanging(value)
				Me.SendPropertyChanging
				Me._WEIGHTEDAMT = value
				Me.SendPropertyChanged("WEIGHTEDAMT")
				Me.OnWEIGHTEDAMTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_Whatistheirpain_011807095", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CUST_Whatistheirpain_011807095() As String
		Get
			Return Me._CUST_Whatistheirpain_011807095
		End Get
		Set
			If (String.Equals(Me._CUST_Whatistheirpain_011807095, value) = false) Then
				Me.OnCUST_Whatistheirpain_011807095Changing(value)
				Me.SendPropertyChanging
				Me._CUST_Whatistheirpain_011807095 = value
				Me.SendPropertyChanged("CUST_Whatistheirpain_011807095")
				Me.OnCUST_Whatistheirpain_011807095Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_MajorObstacle_012106520", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CUST_MajorObstacle_012106520() As String
		Get
			Return Me._CUST_MajorObstacle_012106520
		End Get
		Set
			If (String.Equals(Me._CUST_MajorObstacle_012106520, value) = false) Then
				Me.OnCUST_MajorObstacle_012106520Changing(value)
				Me.SendPropertyChanging
				Me._CUST_MajorObstacle_012106520 = value
				Me.SendPropertyChanged("CUST_MajorObstacle_012106520")
				Me.OnCUST_MajorObstacle_012106520Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_CurrentlyUsing_014311155", DbType:="NVarChar(50)")>  _
	Public Property CUST_CurrentlyUsing_014311155() As String
		Get
			Return Me._CUST_CurrentlyUsing_014311155
		End Get
		Set
			If (String.Equals(Me._CUST_CurrentlyUsing_014311155, value) = false) Then
				Me.OnCUST_CurrentlyUsing_014311155Changing(value)
				Me.SendPropertyChanging
				Me._CUST_CurrentlyUsing_014311155 = value
				Me.SendPropertyChanged("CUST_CurrentlyUsing_014311155")
				Me.OnCUST_CurrentlyUsing_014311155Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_Budget_014353244", DbType:="NVarChar(50)")>  _
	Public Property CUST_Budget_014353244() As String
		Get
			Return Me._CUST_Budget_014353244
		End Get
		Set
			If (String.Equals(Me._CUST_Budget_014353244, value) = false) Then
				Me.OnCUST_Budget_014353244Changing(value)
				Me.SendPropertyChanging
				Me._CUST_Budget_014353244 = value
				Me.SendPropertyChanged("CUST_Budget_014353244")
				Me.OnCUST_Budget_014353244Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CUST_DecisionBasedon_014647382", DbType:="NVarChar(70)")>  _
	Public Property CUST_DecisionBasedon_014647382() As String
		Get
			Return Me._CUST_DecisionBasedon_014647382
		End Get
		Set
			If (String.Equals(Me._CUST_DecisionBasedon_014647382, value) = false) Then
				Me.OnCUST_DecisionBasedon_014647382Changing(value)
				Me.SendPropertyChanging
				Me._CUST_DecisionBasedon_014647382 = value
				Me.SendPropertyChanged("CUST_DecisionBasedon_014647382")
				Me.OnCUST_DecisionBasedon_014647382Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DAYSOPEN", AutoSync:=AutoSync.Always, DbType:="Int", IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(case when [STATUSNUM]=(3) OR [STATUSNUM]=(0) then datediff(day,[OPENDATE],getutc"& _ 
		"date()) else datediff(day,[OPENDATE],[ACTUALCLOSEDATE]) end)")>  _
	Public Property DAYSOPEN() As System.Nullable(Of Integer)
		Get
			Return Me._DAYSOPEN
		End Get
		Set
			If (Me._DAYSOPEN.Equals(value) = false) Then
				Me.OnDAYSOPENChanging(value)
				Me.SendPropertyChanging
				Me._DAYSOPEN = value
				Me.SendPropertyChanged("DAYSOPEN")
				Me.OnDAYSOPENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_OPPORTUNITYID_FK", Storage:="_TBL_ADDRESS", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ADDRESS() As EntitySet(Of TBL_ADDRESS)
		Get
			Return Me._TBL_ADDRESS
		End Get
		Set
			Me._TBL_ADDRESS.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANY_OPPORTUNITY_OPPORTUNITYID_FK", Storage:="_TBL_COMPANY_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_COMPANY_OPPORTUNITY() As EntitySet(Of TBL_COMPANY_OPPORTUNITY)
		Get
			Return Me._TBL_COMPANY_OPPORTUNITY
		End Get
		Set
			Me._TBL_COMPANY_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_OPPORTUNITY_OPPORTUNITYID_FK", Storage:="_TBL_CONTACT_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_OPPORTUNITY() As EntitySet(Of TBL_CONTACT_OPPORTUNITY)
		Get
			Return Me._TBL_CONTACT_OPPORTUNITY
		End Get
		Set
			Me._TBL_CONTACT_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_OPPORTUNITYID_FK", Storage:="_TBL_EMAIL", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_EMAIL() As EntitySet(Of TBL_EMAIL)
		Get
			Return Me._TBL_EMAIL
		End Get
		Set
			Me._TBL_EMAIL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUP_OPPORTUNITY_OPPORTUNITYID_FK", Storage:="_TBL_GROUP_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUP_OPPORTUNITY() As EntitySet(Of TBL_GROUP_OPPORTUNITY)
		Get
			Return Me._TBL_GROUP_OPPORTUNITY
		End Get
		Set
			Me._TBL_GROUP_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACL_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY_ACL", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_ACL() As EntitySet(Of TBL_OPPORTUNITY_ACL)
		Get
			Return Me._TBL_OPPORTUNITY_ACL
		End Get
		Set
			Me._TBL_OPPORTUNITY_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACTIVITY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY_ACTIVITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_ACTIVITY() As EntitySet(Of TBL_OPPORTUNITY_ACTIVITY)
		Get
			Return Me._TBL_OPPORTUNITY_ACTIVITY
		End Get
		Set
			Me._TBL_OPPORTUNITY_ACTIVITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_CREATEUSERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="CREATEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY.Add(Me)
					Me._CREATEUSERID = value.ACCESSORID
				Else
					Me._CREATEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_EDITUSERID_FK", Storage:="_EDITUSER", ThisKey:="EDITUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property EDITUSER() As TBL_ACCESSOR
		Get
			Return Me._EDITUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._EDITUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._EDITUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._EDITUSER.Entity = Nothing
					previousValue.OPPORTUNITY_EDITUSERID_FK.Remove(Me)
				End If
				Me._EDITUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.OPPORTUNITY_EDITUSERID_FK.Add(Me)
					Me._EDITUSERID = value.ACCESSORID
				Else
					Me._EDITUSERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("EDITUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_HISTORY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY_HISTORY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_HISTORY() As EntitySet(Of TBL_OPPORTUNITY_HISTORY)
		Get
			Return Me._TBL_OPPORTUNITY_HISTORY
		End Get
		Set
			Me._TBL_OPPORTUNITY_HISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_MANAGEUSERID_FK", Storage:="_MANAGEUSER", ThisKey:="MANAGEUSERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property MANAGEUSER() As TBL_ACCESSOR
		Get
			Return Me._MANAGEUSER.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._MANAGEUSER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._MANAGEUSER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._MANAGEUSER.Entity = Nothing
					previousValue.OPPORTUNITY_MANAGEUSERID_FK.Remove(Me)
				End If
				Me._MANAGEUSER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.OPPORTUNITY_MANAGEUSERID_FK.Add(Me)
					Me._MANAGEUSERID = value.ACCESSORID
				Else
					Me._MANAGEUSERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("MANAGEUSER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_NOTE_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY_NOTE", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_NOTE() As EntitySet(Of TBL_OPPORTUNITY_NOTE)
		Get
			Return Me._TBL_OPPORTUNITY_NOTE
		End Get
		Set
			Me._TBL_OPPORTUNITY_NOTE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_PRODUCTSERVICE_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY_PRODUCTSERVICE", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_PRODUCTSERVICE() As EntitySet(Of TBL_OPPORTUNITY_PRODUCTSERVICE)
		Get
			Return Me._TBL_OPPORTUNITY_PRODUCTSERVICE
		End Get
		Set
			Me._TBL_OPPORTUNITY_PRODUCTSERVICE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_STAGEID_FK", Storage:="_TBL_STAGE", ThisKey:="STAGEID", OtherKey:="STAGEID", IsForeignKey:=true)>  _
	Public Property TBL_STAGE() As TBL_STAGE
		Get
			Return Me._TBL_STAGE.Entity
		End Get
		Set
			Dim previousValue As TBL_STAGE = Me._TBL_STAGE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_STAGE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_STAGE.Entity = Nothing
					previousValue.TBL_OPPORTUNITY.Remove(Me)
				End If
				Me._TBL_STAGE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY.Add(Me)
					Me._STAGEID = value.STAGEID
				Else
					Me._STAGEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_STAGE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_OPPORTUNITYID_FK", Storage:="_TBL_PHONE", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PHONE() As EntitySet(Of TBL_PHONE)
		Get
			Return Me._TBL_PHONE
		End Get
		Set
			Me._TBL_PHONE.Assign(value)
		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
	
	Private Sub attach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANY_OPPORTUNITY(ByVal entity As TBL_COMPANY_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_COMPANY_OPPORTUNITY(ByVal entity As TBL_COMPANY_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_OPPORTUNITY(ByVal entity As TBL_CONTACT_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_OPPORTUNITY(ByVal entity As TBL_CONTACT_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUP_OPPORTUNITY(ByVal entity As TBL_GROUP_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_GROUP_OPPORTUNITY(ByVal entity As TBL_GROUP_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_ACL(ByVal entity As TBL_OPPORTUNITY_ACL)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_ACL(ByVal entity As TBL_OPPORTUNITY_ACL)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_ACTIVITY(ByVal entity As TBL_OPPORTUNITY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_ACTIVITY(ByVal entity As TBL_OPPORTUNITY_ACTIVITY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_HISTORY(ByVal entity As TBL_OPPORTUNITY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_HISTORY(ByVal entity As TBL_OPPORTUNITY_HISTORY)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_NOTE(ByVal entity As TBL_OPPORTUNITY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_NOTE(ByVal entity As TBL_OPPORTUNITY_NOTE)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_OPPORTUNITY_PRODUCTSERVICE(ByVal entity As TBL_OPPORTUNITY_PRODUCTSERVICE)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY_PRODUCTSERVICE(ByVal entity As TBL_OPPORTUNITY_PRODUCTSERVICE)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
	
	Private Sub attach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Me
	End Sub
	
	Private Sub detach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_OPPORTUNITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_OPPORTUNITY_ACL")>  _
Partial Public Class TBL_OPPORTUNITY_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACL_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_ACL.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_ACL.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_OPPORTUNITY_ACTIVITY")>  _
Partial Public Class TBL_OPPORTUNITY_ACTIVITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ACTIVITYID As System.Guid
	
	Private _TBL_ACTIVITY As EntityRef(Of TBL_ACTIVITY)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnACTIVITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACTIVITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITY = CType(Nothing, EntityRef(Of TBL_ACTIVITY))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACTIVITYID() As System.Guid
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If ((Me._ACTIVITYID = value)  _
						= false) Then
				If Me._TBL_ACTIVITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACTIVITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ACTIVITYID = value
				Me.SendPropertyChanged("ACTIVITYID")
				Me.OnACTIVITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACTIVITY_ACTIVITYID_FK", Storage:="_TBL_ACTIVITY", ThisKey:="ACTIVITYID", OtherKey:="ACTIVITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACTIVITY() As TBL_ACTIVITY
		Get
			Return Me._TBL_ACTIVITY.Entity
		End Get
		Set
			Dim previousValue As TBL_ACTIVITY = Me._TBL_ACTIVITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACTIVITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACTIVITY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_ACTIVITY.Remove(Me)
				End If
				Me._TBL_ACTIVITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_ACTIVITY.Add(Me)
					Me._ACTIVITYID = value.ACTIVITYID
				Else
					Me._ACTIVITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACTIVITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_ACTIVITY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_ACTIVITY.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_ACTIVITY.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_OPPORTUNITY_HISTORY")>  _
Partial Public Class TBL_OPPORTUNITY_HISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _HISTORYID As System.Guid
	
	Private _TBL_HISTORY As EntityRef(Of TBL_HISTORY)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnHISTORYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_HISTORY = CType(Nothing, EntityRef(Of TBL_HISTORY))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property HISTORYID() As System.Guid
		Get
			Return Me._HISTORYID
		End Get
		Set
			If ((Me._HISTORYID = value)  _
						= false) Then
				If Me._TBL_HISTORY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._HISTORYID = value
				Me.SendPropertyChanged("HISTORYID")
				Me.OnHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_HISTORY_HISTORYID_FK", Storage:="_TBL_HISTORY", ThisKey:="HISTORYID", OtherKey:="HISTORYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_HISTORY() As TBL_HISTORY
		Get
			Return Me._TBL_HISTORY.Entity
		End Get
		Set
			Dim previousValue As TBL_HISTORY = Me._TBL_HISTORY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_HISTORY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_HISTORY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_HISTORY.Remove(Me)
				End If
				Me._TBL_HISTORY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_HISTORY.Add(Me)
					Me._HISTORYID = value.HISTORYID
				Else
					Me._HISTORYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_HISTORY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_HISTORY_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_HISTORY.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_HISTORY.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_OPPORTUNITY_NOTE")>  _
Partial Public Class TBL_OPPORTUNITY_NOTE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _NOTEID As System.Guid
	
	Private _TBL_NOTE As EntityRef(Of TBL_NOTE)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
    #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 OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnNOTEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnNOTEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_NOTE = CType(Nothing, EntityRef(Of TBL_NOTE))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property NOTEID() As System.Guid
		Get
			Return Me._NOTEID
		End Get
		Set
			If ((Me._NOTEID = value)  _
						= false) Then
				If Me._TBL_NOTE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnNOTEIDChanging(value)
				Me.SendPropertyChanging
				Me._NOTEID = value
				Me.SendPropertyChanged("NOTEID")
				Me.OnNOTEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_NOTE_NOTEID_FK", Storage:="_TBL_NOTE", ThisKey:="NOTEID", OtherKey:="NOTEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_NOTE() As TBL_NOTE
		Get
			Return Me._TBL_NOTE.Entity
		End Get
		Set
			Dim previousValue As TBL_NOTE = Me._TBL_NOTE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_NOTE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_NOTE.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_NOTE.Remove(Me)
				End If
				Me._TBL_NOTE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_NOTE.Add(Me)
					Me._NOTEID = value.NOTEID
				Else
					Me._NOTEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_NOTE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_NOTE_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_NOTE.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_NOTE.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_OPPORTUNITY_PRODUCTSERVICE")>  _
Partial Public Class TBL_OPPORTUNITY_PRODUCTSERVICE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _PRODUCTSERVICEID As System.Guid
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
	Private _TBL_PRODUCTSERVICE As EntityRef(Of TBL_PRODUCTSERVICE)
	
    #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 OnOPPORTUNITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    Partial Private Sub OnPRODUCTSERVICEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPRODUCTSERVICEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		Me._TBL_PRODUCTSERVICE = CType(Nothing, EntityRef(Of TBL_PRODUCTSERVICE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTSERVICEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PRODUCTSERVICEID() As System.Guid
		Get
			Return Me._PRODUCTSERVICEID
		End Get
		Set
			If ((Me._PRODUCTSERVICEID = value)  _
						= false) Then
				If Me._TBL_PRODUCTSERVICE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPRODUCTSERVICEIDChanging(value)
				Me.SendPropertyChanging
				Me._PRODUCTSERVICEID = value
				Me.SendPropertyChanged("PRODUCTSERVICEID")
				Me.OnPRODUCTSERVICEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_PRODUCTSERVICE_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_PRODUCTSERVICE.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_PRODUCTSERVICE.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_PRODUCTSERVICE_PRODUCTSERVICEID_FK", Storage:="_TBL_PRODUCTSERVICE", ThisKey:="PRODUCTSERVICEID", OtherKey:="PRODUCTSERVICEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PRODUCTSERVICE() As TBL_PRODUCTSERVICE
		Get
			Return Me._TBL_PRODUCTSERVICE.Entity
		End Get
		Set
			Dim previousValue As TBL_PRODUCTSERVICE = Me._TBL_PRODUCTSERVICE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PRODUCTSERVICE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PRODUCTSERVICE.Entity = Nothing
					previousValue.TBL_OPPORTUNITY_PRODUCTSERVICE = Nothing
				End If
				Me._TBL_PRODUCTSERVICE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_OPPORTUNITY_PRODUCTSERVICE = Me
					Me._PRODUCTSERVICEID = value.PRODUCTSERVICEID
				Else
					Me._PRODUCTSERVICEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PRODUCTSERVICE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PASSWORDHISTORY")>  _
Partial Public Class TBL_PASSWORDHISTORY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PASSWORDHISTORYID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _PASSWORD As String
	
	Private _CREATEDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnPASSWORDHISTORYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPASSWORDHISTORYIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnPASSWORDChanging(value As String)
    End Sub
    Partial Private Sub OnPASSWORDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PASSWORDHISTORYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PASSWORDHISTORYID() As System.Guid
		Get
			Return Me._PASSWORDHISTORYID
		End Get
		Set
			If ((Me._PASSWORDHISTORYID = value)  _
						= false) Then
				Me.OnPASSWORDHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._PASSWORDHISTORYID = value
				Me.SendPropertyChanged("PASSWORDHISTORYID")
				Me.OnPASSWORDHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PASSWORD", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false)>  _
	Public Property PASSWORD() As String
		Get
			Return Me._PASSWORD
		End Get
		Set
			If (String.Equals(Me._PASSWORD, value) = false) Then
				Me.OnPASSWORDChanging(value)
				Me.SendPropertyChanging
				Me._PASSWORD = value
				Me.SendPropertyChanged("PASSWORD")
				Me.OnPASSWORDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PASSWORDHISTORY_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_PASSWORDHISTORY.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PASSWORDHISTORY.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PERMISSION")>  _
Partial Public Class TBL_PERMISSION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PERMISSIONID As System.Guid
	
	Private _FEATURESETID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DISPLAYNAME As String
	
	Private _TYPENUM As Byte
	
	Private _TBL_PERMISSION_DEPEND As EntitySet(Of TBL_PERMISSION_DEPEND)
	
	Private _PERMISSION As EntitySet(Of TBL_PERMISSION_DEPEND)
	
	Private _TBL_FEATURESET As EntityRef(Of TBL_FEATURESET)
	
	Private _TBL_ROLE_PERMISSION As EntitySet(Of TBL_ROLE_PERMISSION)
	
	Private _TBL_USER_PERMISSION As EntitySet(Of TBL_USER_PERMISSION)
	
    #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 OnPERMISSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPERMISSIONIDChanged()
    End Sub
    Partial Private Sub OnFEATURESETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnFEATURESETIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PERMISSION_DEPEND = New EntitySet(Of TBL_PERMISSION_DEPEND)(AddressOf Me.attach_TBL_PERMISSION_DEPEND, AddressOf Me.detach_TBL_PERMISSION_DEPEND)
		Me._PERMISSION = New EntitySet(Of TBL_PERMISSION_DEPEND)(AddressOf Me.attach_PERMISSION, AddressOf Me.detach_PERMISSION)
		Me._TBL_FEATURESET = CType(Nothing, EntityRef(Of TBL_FEATURESET))
		Me._TBL_ROLE_PERMISSION = New EntitySet(Of TBL_ROLE_PERMISSION)(AddressOf Me.attach_TBL_ROLE_PERMISSION, AddressOf Me.detach_TBL_ROLE_PERMISSION)
		Me._TBL_USER_PERMISSION = New EntitySet(Of TBL_USER_PERMISSION)(AddressOf Me.attach_TBL_USER_PERMISSION, AddressOf Me.detach_TBL_USER_PERMISSION)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PERMISSIONID() As System.Guid
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If ((Me._PERMISSIONID = value)  _
						= false) Then
				Me.OnPERMISSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._PERMISSIONID = value
				Me.SendPropertyChanged("PERMISSIONID")
				Me.OnPERMISSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property FEATURESETID() As System.Guid
		Get
			Return Me._FEATURESETID
		End Get
		Set
			If ((Me._FEATURESETID = value)  _
						= false) Then
				If Me._TBL_FEATURESET.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnFEATURESETIDChanging(value)
				Me.SendPropertyChanging
				Me._FEATURESETID = value
				Me.SendPropertyChanged("FEATURESETID")
				Me.OnFEATURESETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(96) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PERMISSION_DEPEND_DEPENDID_FK", Storage:="_TBL_PERMISSION_DEPEND", ThisKey:="PERMISSIONID", OtherKey:="DEPENDID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_PERMISSION_DEPEND() As EntitySet(Of TBL_PERMISSION_DEPEND)
		Get
			Return Me._TBL_PERMISSION_DEPEND
		End Get
		Set
			Me._TBL_PERMISSION_DEPEND.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PERMISSION_DEPEND_PERMISSIONID_FK", Storage:="_PERMISSION", ThisKey:="PERMISSIONID", OtherKey:="PERMISSIONID", DeleteRule:="CASCADE")>  _
	Public Property PERMISSION() As EntitySet(Of TBL_PERMISSION_DEPEND)
		Get
			Return Me._PERMISSION
		End Get
		Set
			Me._PERMISSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PERMISSION_FEATURESETID_FK", Storage:="_TBL_FEATURESET", ThisKey:="FEATURESETID", OtherKey:="FEATURESETID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_FEATURESET() As TBL_FEATURESET
		Get
			Return Me._TBL_FEATURESET.Entity
		End Get
		Set
			Dim previousValue As TBL_FEATURESET = Me._TBL_FEATURESET.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_FEATURESET.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_FEATURESET.Entity = Nothing
					previousValue.TBL_PERMISSION.Remove(Me)
				End If
				Me._TBL_FEATURESET.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PERMISSION.Add(Me)
					Me._FEATURESETID = value.FEATURESETID
				Else
					Me._FEATURESETID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_FEATURESET")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ROLE_PERMISSION_PERMISSIONID_FK", Storage:="_TBL_ROLE_PERMISSION", ThisKey:="PERMISSIONID", OtherKey:="PERMISSIONID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ROLE_PERMISSION() As EntitySet(Of TBL_ROLE_PERMISSION)
		Get
			Return Me._TBL_ROLE_PERMISSION
		End Get
		Set
			Me._TBL_ROLE_PERMISSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_PERMISSION_PERMISSIONID_FK", Storage:="_TBL_USER_PERMISSION", ThisKey:="PERMISSIONID", OtherKey:="PERMISSIONID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_PERMISSION() As EntitySet(Of TBL_USER_PERMISSION)
		Get
			Return Me._TBL_USER_PERMISSION
		End Get
		Set
			Me._TBL_USER_PERMISSION.Assign(value)
		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
	
	Private Sub attach_TBL_PERMISSION_DEPEND(ByVal entity As TBL_PERMISSION_DEPEND)
		Me.SendPropertyChanging
		entity.TBL_PERMISSION = Me
	End Sub
	
	Private Sub detach_TBL_PERMISSION_DEPEND(ByVal entity As TBL_PERMISSION_DEPEND)
		Me.SendPropertyChanging
		entity.TBL_PERMISSION = Nothing
	End Sub
	
	Private Sub attach_PERMISSION(ByVal entity As TBL_PERMISSION_DEPEND)
		Me.SendPropertyChanging
		entity.PERMISSION = Me
	End Sub
	
	Private Sub detach_PERMISSION(ByVal entity As TBL_PERMISSION_DEPEND)
		Me.SendPropertyChanging
		entity.PERMISSION = Nothing
	End Sub
	
	Private Sub attach_TBL_ROLE_PERMISSION(ByVal entity As TBL_ROLE_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_PERMISSION = Me
	End Sub
	
	Private Sub detach_TBL_ROLE_PERMISSION(ByVal entity As TBL_ROLE_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_PERMISSION = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_PERMISSION(ByVal entity As TBL_USER_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_PERMISSION = Me
	End Sub
	
	Private Sub detach_TBL_USER_PERMISSION(ByVal entity As TBL_USER_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_PERMISSION = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PERMISSION_DEPEND")>  _
Partial Public Class TBL_PERMISSION_DEPEND
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PERMISSIONID As System.Guid
	
	Private _DEPENDID As System.Guid
	
	Private _TBL_PERMISSION As EntityRef(Of TBL_PERMISSION)
	
	Private _PERMISSION As EntityRef(Of TBL_PERMISSION)
	
    #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 OnPERMISSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPERMISSIONIDChanged()
    End Sub
    Partial Private Sub OnDEPENDIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnDEPENDIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PERMISSION = CType(Nothing, EntityRef(Of TBL_PERMISSION))
		Me._PERMISSION = CType(Nothing, EntityRef(Of TBL_PERMISSION))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PERMISSIONID() As System.Guid
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If ((Me._PERMISSIONID = value)  _
						= false) Then
				If Me._PERMISSION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPERMISSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._PERMISSIONID = value
				Me.SendPropertyChanged("PERMISSIONID")
				Me.OnPERMISSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPENDID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DEPENDID() As System.Guid
		Get
			Return Me._DEPENDID
		End Get
		Set
			If ((Me._DEPENDID = value)  _
						= false) Then
				If Me._TBL_PERMISSION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDEPENDIDChanging(value)
				Me.SendPropertyChanging
				Me._DEPENDID = value
				Me.SendPropertyChanged("DEPENDID")
				Me.OnDEPENDIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PERMISSION_DEPEND_DEPENDID_FK", Storage:="_TBL_PERMISSION", ThisKey:="DEPENDID", OtherKey:="PERMISSIONID", IsForeignKey:=true)>  _
	Public Property TBL_PERMISSION() As TBL_PERMISSION
		Get
			Return Me._TBL_PERMISSION.Entity
		End Get
		Set
			Dim previousValue As TBL_PERMISSION = Me._TBL_PERMISSION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PERMISSION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PERMISSION.Entity = Nothing
					previousValue.TBL_PERMISSION_DEPEND.Remove(Me)
				End If
				Me._TBL_PERMISSION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PERMISSION_DEPEND.Add(Me)
					Me._DEPENDID = value.PERMISSIONID
				Else
					Me._DEPENDID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PERMISSION")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PERMISSION_DEPEND_PERMISSIONID_FK", Storage:="_PERMISSION", ThisKey:="PERMISSIONID", OtherKey:="PERMISSIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property PERMISSION() As TBL_PERMISSION
		Get
			Return Me._PERMISSION.Entity
		End Get
		Set
			Dim previousValue As TBL_PERMISSION = Me._PERMISSION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._PERMISSION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._PERMISSION.Entity = Nothing
					previousValue.PERMISSION.Remove(Me)
				End If
				Me._PERMISSION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.PERMISSION.Add(Me)
					Me._PERMISSIONID = value.PERMISSIONID
				Else
					Me._PERMISSIONID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("PERMISSION")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PHONE")>  _
Partial Public Class TBL_PHONE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PHONEID As System.Guid
	
	Private _TYPEID As System.Guid
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _NUMBERVALUE As String
	
	Private _NUMBERDISPLAY As String
	
	Private _SUFFIX As String
	
	Private _COUNTRYCODE As Short
	
	Private _PHONEMASKID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _TBL_COMPANY As EntityRef(Of TBL_COMPANY)
	
	Private _TBL_CONTACT As EntityRef(Of TBL_CONTACT)
	
	Private _TBL_GROUP As EntityRef(Of TBL_GROUP)
	
	Private _TBL_OPPORTUNITY As EntityRef(Of TBL_OPPORTUNITY)
	
	Private _TBL_PHONEMASK As EntityRef(Of TBL_PHONEMASK)
	
	Private _TBL_PICKLISTITEM As EntityRef(Of TBL_PICKLISTITEM)
	
    #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 OnPHONEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPHONEIDChanged()
    End Sub
    Partial Private Sub OnTYPEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTYPEIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnCOMPANYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCOMPANYIDChanged()
    End Sub
    Partial Private Sub OnGROUPIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnGROUPIDChanged()
    End Sub
    Partial Private Sub OnNUMBERVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnNUMBERVALUEChanged()
    End Sub
    Partial Private Sub OnNUMBERDISPLAYChanging(value As String)
    End Sub
    Partial Private Sub OnNUMBERDISPLAYChanged()
    End Sub
    Partial Private Sub OnSUFFIXChanging(value As String)
    End Sub
    Partial Private Sub OnSUFFIXChanged()
    End Sub
    Partial Private Sub OnCOUNTRYCODEChanging(value As Short)
    End Sub
    Partial Private Sub OnCOUNTRYCODEChanged()
    End Sub
    Partial Private Sub OnPHONEMASKIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnPHONEMASKIDChanged()
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnOPPORTUNITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANY = CType(Nothing, EntityRef(Of TBL_COMPANY))
		Me._TBL_CONTACT = CType(Nothing, EntityRef(Of TBL_CONTACT))
		Me._TBL_GROUP = CType(Nothing, EntityRef(Of TBL_GROUP))
		Me._TBL_OPPORTUNITY = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY))
		Me._TBL_PHONEMASK = CType(Nothing, EntityRef(Of TBL_PHONEMASK))
		Me._TBL_PICKLISTITEM = CType(Nothing, EntityRef(Of TBL_PICKLISTITEM))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PHONEID() As System.Guid
		Get
			Return Me._PHONEID
		End Get
		Set
			If ((Me._PHONEID = value)  _
						= false) Then
				Me.OnPHONEIDChanging(value)
				Me.SendPropertyChanging
				Me._PHONEID = value
				Me.SendPropertyChanged("PHONEID")
				Me.OnPHONEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TYPEID() As System.Guid
		Get
			Return Me._TYPEID
		End Get
		Set
			If ((Me._TYPEID = value)  _
						= false) Then
				If Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._TYPEID = value
				Me.SendPropertyChanged("TYPEID")
				Me.OnTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				If Me._TBL_CONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				If Me._TBL_COMPANY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOMPANYIDChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYID = value
				Me.SendPropertyChanged("COMPANYID")
				Me.OnCOMPANYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				If Me._TBL_GROUP.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnGROUPIDChanging(value)
				Me.SendPropertyChanging
				Me._GROUPID = value
				Me.SendPropertyChanged("GROUPID")
				Me.OnGROUPIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBERVALUE", DbType:="NVarChar(32)")>  _
	Public Property NUMBERVALUE() As String
		Get
			Return Me._NUMBERVALUE
		End Get
		Set
			If (String.Equals(Me._NUMBERVALUE, value) = false) Then
				Me.OnNUMBERVALUEChanging(value)
				Me.SendPropertyChanging
				Me._NUMBERVALUE = value
				Me.SendPropertyChanged("NUMBERVALUE")
				Me.OnNUMBERVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBERDISPLAY", DbType:="NVarChar(32)")>  _
	Public Property NUMBERDISPLAY() As String
		Get
			Return Me._NUMBERDISPLAY
		End Get
		Set
			If (String.Equals(Me._NUMBERDISPLAY, value) = false) Then
				Me.OnNUMBERDISPLAYChanging(value)
				Me.SendPropertyChanging
				Me._NUMBERDISPLAY = value
				Me.SendPropertyChanged("NUMBERDISPLAY")
				Me.OnNUMBERDISPLAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUFFIX", DbType:="NVarChar(256)")>  _
	Public Property SUFFIX() As String
		Get
			Return Me._SUFFIX
		End Get
		Set
			If (String.Equals(Me._SUFFIX, value) = false) Then
				Me.OnSUFFIXChanging(value)
				Me.SendPropertyChanging
				Me._SUFFIX = value
				Me.SendPropertyChanged("SUFFIX")
				Me.OnSUFFIXChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRYCODE", DbType:="SmallInt NOT NULL")>  _
	Public Property COUNTRYCODE() As Short
		Get
			Return Me._COUNTRYCODE
		End Get
		Set
			If ((Me._COUNTRYCODE = value)  _
						= false) Then
				Me.OnCOUNTRYCODEChanging(value)
				Me.SendPropertyChanging
				Me._COUNTRYCODE = value
				Me.SendPropertyChanged("COUNTRYCODE")
				Me.OnCOUNTRYCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONEMASKID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEMASKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEMASKID
		End Get
		Set
			If (Me._PHONEMASKID.Equals(value) = false) Then
				If Me._TBL_PHONEMASK.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPHONEMASKIDChanging(value)
				Me.SendPropertyChanging
				Me._PHONEMASKID = value
				Me.SendPropertyChanged("PHONEMASKID")
				Me.OnPHONEMASKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				If Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPPORTUNITYIDChanging(value)
				Me.SendPropertyChanging
				Me._OPPORTUNITYID = value
				Me.SendPropertyChanged("OPPORTUNITYID")
				Me.OnOPPORTUNITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_COMPANYID_FK", Storage:="_TBL_COMPANY", ThisKey:="COMPANYID", OtherKey:="COMPANYID", IsForeignKey:=true)>  _
	Public Property TBL_COMPANY() As TBL_COMPANY
		Get
			Return Me._TBL_COMPANY.Entity
		End Get
		Set
			Dim previousValue As TBL_COMPANY = Me._TBL_COMPANY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COMPANY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COMPANY.Entity = Nothing
					previousValue.TBL_PHONE.Remove(Me)
				End If
				Me._TBL_COMPANY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONE.Add(Me)
					Me._COMPANYID = value.COMPANYID
				Else
					Me._COMPANYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_COMPANY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_CONTACTID_FK", Storage:="_TBL_CONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true)>  _
	Public Property TBL_CONTACT() As TBL_CONTACT
		Get
			Return Me._TBL_CONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_CONTACT = Me._TBL_CONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_CONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_CONTACT.Entity = Nothing
					previousValue.TBL_PHONE.Remove(Me)
				End If
				Me._TBL_CONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONE.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_CONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_GROUPID_FK", Storage:="_TBL_GROUP", ThisKey:="GROUPID", OtherKey:="GROUPID", IsForeignKey:=true)>  _
	Public Property TBL_GROUP() As TBL_GROUP
		Get
			Return Me._TBL_GROUP.Entity
		End Get
		Set
			Dim previousValue As TBL_GROUP = Me._TBL_GROUP.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_GROUP.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_GROUP.Entity = Nothing
					previousValue.TBL_PHONE.Remove(Me)
				End If
				Me._TBL_GROUP.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONE.Add(Me)
					Me._GROUPID = value.GROUPID
				Else
					Me._GROUPID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_GROUP")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_OPPORTUNITYID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="OPPORTUNITYID", OtherKey:="OPPORTUNITYID", IsForeignKey:=true)>  _
	Public Property TBL_OPPORTUNITY() As TBL_OPPORTUNITY
		Get
			Return Me._TBL_OPPORTUNITY.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY = Me._TBL_OPPORTUNITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY.Entity = Nothing
					previousValue.TBL_PHONE.Remove(Me)
				End If
				Me._TBL_OPPORTUNITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONE.Add(Me)
					Me._OPPORTUNITYID = value.OPPORTUNITYID
				Else
					Me._OPPORTUNITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_PHONEMASKID_FK", Storage:="_TBL_PHONEMASK", ThisKey:="PHONEMASKID", OtherKey:="PHONEMASKID", IsForeignKey:=true)>  _
	Public Property TBL_PHONEMASK() As TBL_PHONEMASK
		Get
			Return Me._TBL_PHONEMASK.Entity
		End Get
		Set
			Dim previousValue As TBL_PHONEMASK = Me._TBL_PHONEMASK.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PHONEMASK.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PHONEMASK.Entity = Nothing
					previousValue.TBL_PHONE.Remove(Me)
				End If
				Me._TBL_PHONEMASK.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONE.Add(Me)
					Me._PHONEMASKID = value.PHONEMASKID
				Else
					Me._PHONEMASKID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_PHONEMASK")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_TYPEID_FK", Storage:="_TBL_PICKLISTITEM", ThisKey:="TYPEID", OtherKey:="PICKLISTITEMID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PICKLISTITEM() As TBL_PICKLISTITEM
		Get
			Return Me._TBL_PICKLISTITEM.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLISTITEM = Me._TBL_PICKLISTITEM.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLISTITEM.Entity = Nothing
					previousValue.TBL_PHONE.Remove(Me)
				End If
				Me._TBL_PICKLISTITEM.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONE.Add(Me)
					Me._TYPEID = value.PICKLISTITEMID
				Else
					Me._TYPEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLISTITEM")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PHONEMASK")>  _
Partial Public Class TBL_PHONEMASK
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PHONEMASKID As System.Guid
	
	Private _PHONEMASK As String
	
	Private _ISDEFAULT As Boolean
	
	Private _COUNTRYID As System.Guid
	
	Private _ISACTIVE As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_PHONE As EntitySet(Of TBL_PHONE)
	
	Private _TBL_COUNTRY As EntityRef(Of TBL_COUNTRY)
	
    #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 OnPHONEMASKIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPHONEMASKIDChanged()
    End Sub
    Partial Private Sub OnPHONEMASKChanging(value As String)
    End Sub
    Partial Private Sub OnPHONEMASKChanged()
    End Sub
    Partial Private Sub OnISDEFAULTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDEFAULTChanged()
    End Sub
    Partial Private Sub OnCOUNTRYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOUNTRYIDChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PHONE = New EntitySet(Of TBL_PHONE)(AddressOf Me.attach_TBL_PHONE, AddressOf Me.detach_TBL_PHONE)
		Me._TBL_COUNTRY = CType(Nothing, EntityRef(Of TBL_COUNTRY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONEMASKID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PHONEMASKID() As System.Guid
		Get
			Return Me._PHONEMASKID
		End Get
		Set
			If ((Me._PHONEMASKID = value)  _
						= false) Then
				Me.OnPHONEMASKIDChanging(value)
				Me.SendPropertyChanging
				Me._PHONEMASKID = value
				Me.SendPropertyChanged("PHONEMASKID")
				Me.OnPHONEMASKIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONEMASK", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PHONEMASK() As String
		Get
			Return Me._PHONEMASK
		End Get
		Set
			If (String.Equals(Me._PHONEMASK, value) = false) Then
				Me.OnPHONEMASKChanging(value)
				Me.SendPropertyChanging
				Me._PHONEMASK = value
				Me.SendPropertyChanged("PHONEMASK")
				Me.OnPHONEMASKChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFAULT() As Boolean
		Get
			Return Me._ISDEFAULT
		End Get
		Set
			If ((Me._ISDEFAULT = value)  _
						= false) Then
				Me.OnISDEFAULTChanging(value)
				Me.SendPropertyChanging
				Me._ISDEFAULT = value
				Me.SendPropertyChanged("ISDEFAULT")
				Me.OnISDEFAULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COUNTRYID() As System.Guid
		Get
			Return Me._COUNTRYID
		End Get
		Set
			If ((Me._COUNTRYID = value)  _
						= false) Then
				If Me._TBL_COUNTRY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOUNTRYIDChanging(value)
				Me.SendPropertyChanging
				Me._COUNTRYID = value
				Me.SendPropertyChanged("COUNTRYID")
				Me.OnCOUNTRYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_PHONEMASKID_FK", Storage:="_TBL_PHONE", ThisKey:="PHONEMASKID", OtherKey:="PHONEMASKID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_PHONE() As EntitySet(Of TBL_PHONE)
		Get
			Return Me._TBL_PHONE
		End Get
		Set
			Me._TBL_PHONE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONEMASK_COUNTRYID_FK", Storage:="_TBL_COUNTRY", ThisKey:="COUNTRYID", OtherKey:="COUNTRYID", IsForeignKey:=true)>  _
	Public Property TBL_COUNTRY() As TBL_COUNTRY
		Get
			Return Me._TBL_COUNTRY.Entity
		End Get
		Set
			Dim previousValue As TBL_COUNTRY = Me._TBL_COUNTRY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_COUNTRY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_COUNTRY.Entity = Nothing
					previousValue.TBL_PHONEMASK.Remove(Me)
				End If
				Me._TBL_COUNTRY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PHONEMASK.Add(Me)
					Me._COUNTRYID = value.COUNTRYID
				Else
					Me._COUNTRYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_COUNTRY")
			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
	
	Private Sub attach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_PHONEMASK = Me
	End Sub
	
	Private Sub detach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_PHONEMASK = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PICKLIST")>  _
Partial Public Class TBL_PICKLIST
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PICKLISTID As System.Guid
	
	Private _ISCUSTOM As Boolean
	
	Private _TYPENUM As Byte
	
	Private _ISEDITLIST As Boolean
	
	Private _ISAUTOINSERT As Boolean
	
	Private _DATATYPEID As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_ACTIVITYTYPE As EntitySet(Of TBL_ACTIVITYTYPE)
	
	Private _TBL_SYSDATATYPE As EntityRef(Of TBL_SYSDATATYPE)
	
	Private _TBL_PICKLIST_SYSCOLUMN As EntitySet(Of TBL_PICKLIST_SYSCOLUMN)
	
	Private _TBL_PICKLISTITEM As EntitySet(Of TBL_PICKLISTITEM)
	
    #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 OnPICKLISTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPICKLISTIDChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnISEDITLISTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISEDITLISTChanged()
    End Sub
    Partial Private Sub OnISAUTOINSERTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISAUTOINSERTChanged()
    End Sub
    Partial Private Sub OnDATATYPEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDATATYPEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACTIVITYTYPE = New EntitySet(Of TBL_ACTIVITYTYPE)(AddressOf Me.attach_TBL_ACTIVITYTYPE, AddressOf Me.detach_TBL_ACTIVITYTYPE)
		Me._TBL_SYSDATATYPE = CType(Nothing, EntityRef(Of TBL_SYSDATATYPE))
		Me._TBL_PICKLIST_SYSCOLUMN = New EntitySet(Of TBL_PICKLIST_SYSCOLUMN)(AddressOf Me.attach_TBL_PICKLIST_SYSCOLUMN, AddressOf Me.detach_TBL_PICKLIST_SYSCOLUMN)
		Me._TBL_PICKLISTITEM = New EntitySet(Of TBL_PICKLISTITEM)(AddressOf Me.attach_TBL_PICKLISTITEM, AddressOf Me.detach_TBL_PICKLISTITEM)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me.OnPICKLISTIDChanging(value)
				Me.SendPropertyChanging
				Me._PICKLISTID = value
				Me.SendPropertyChanged("PICKLISTID")
				Me.OnPICKLISTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISEDITLIST", DbType:="Bit NOT NULL")>  _
	Public Property ISEDITLIST() As Boolean
		Get
			Return Me._ISEDITLIST
		End Get
		Set
			If ((Me._ISEDITLIST = value)  _
						= false) Then
				Me.OnISEDITLISTChanging(value)
				Me.SendPropertyChanging
				Me._ISEDITLIST = value
				Me.SendPropertyChanged("ISEDITLIST")
				Me.OnISEDITLISTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISAUTOINSERT", DbType:="Bit NOT NULL")>  _
	Public Property ISAUTOINSERT() As Boolean
		Get
			Return Me._ISAUTOINSERT
		End Get
		Set
			If ((Me._ISAUTOINSERT = value)  _
						= false) Then
				Me.OnISAUTOINSERTChanging(value)
				Me.SendPropertyChanging
				Me._ISAUTOINSERT = value
				Me.SendPropertyChanged("ISAUTOINSERT")
				Me.OnISAUTOINSERTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property DATATYPEID() As Byte
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If ((Me._DATATYPEID = value)  _
						= false) Then
				If Me._TBL_SYSDATATYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDATATYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._DATATYPEID = value
				Me.SendPropertyChanged("DATATYPEID")
				Me.OnDATATYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACTIVITYTYPE_REGARDING_PICKLISTID_FK", Storage:="_TBL_ACTIVITYTYPE", ThisKey:="PICKLISTID", OtherKey:="REGARDING_PICKLISTID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_ACTIVITYTYPE() As EntitySet(Of TBL_ACTIVITYTYPE)
		Get
			Return Me._TBL_ACTIVITYTYPE
		End Get
		Set
			Me._TBL_ACTIVITYTYPE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLIST_DATATYPEID_FK", Storage:="_TBL_SYSDATATYPE", ThisKey:="DATATYPEID", OtherKey:="DATATYPEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSDATATYPE() As TBL_SYSDATATYPE
		Get
			Return Me._TBL_SYSDATATYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSDATATYPE = Me._TBL_SYSDATATYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSDATATYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSDATATYPE.Entity = Nothing
					previousValue.TBL_PICKLIST.Remove(Me)
				End If
				Me._TBL_SYSDATATYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PICKLIST.Add(Me)
					Me._DATATYPEID = value.DATATYPEID
				Else
					Me._DATATYPEID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSDATATYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLIST_SYSCOLUMN_PICKLISTID_FK", Storage:="_TBL_PICKLIST_SYSCOLUMN", ThisKey:="PICKLISTID", OtherKey:="PICKLISTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PICKLIST_SYSCOLUMN() As EntitySet(Of TBL_PICKLIST_SYSCOLUMN)
		Get
			Return Me._TBL_PICKLIST_SYSCOLUMN
		End Get
		Set
			Me._TBL_PICKLIST_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLISTITEM_PICKLISTID_FK", Storage:="_TBL_PICKLISTITEM", ThisKey:="PICKLISTID", OtherKey:="PICKLISTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PICKLISTITEM() As EntitySet(Of TBL_PICKLISTITEM)
		Get
			Return Me._TBL_PICKLISTITEM
		End Get
		Set
			Me._TBL_PICKLISTITEM.Assign(value)
		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
	
	Private Sub attach_TBL_ACTIVITYTYPE(ByVal entity As TBL_ACTIVITYTYPE)
		Me.SendPropertyChanging
		entity.TBL_PICKLIST = Me
	End Sub
	
	Private Sub detach_TBL_ACTIVITYTYPE(ByVal entity As TBL_ACTIVITYTYPE)
		Me.SendPropertyChanging
		entity.TBL_PICKLIST = Nothing
	End Sub
	
	Private Sub attach_TBL_PICKLIST_SYSCOLUMN(ByVal entity As TBL_PICKLIST_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_PICKLIST = Me
	End Sub
	
	Private Sub detach_TBL_PICKLIST_SYSCOLUMN(ByVal entity As TBL_PICKLIST_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_PICKLIST = Nothing
	End Sub
	
	Private Sub attach_TBL_PICKLISTITEM(ByVal entity As TBL_PICKLISTITEM)
		Me.SendPropertyChanging
		entity.TBL_PICKLIST = Me
	End Sub
	
	Private Sub detach_TBL_PICKLISTITEM(ByVal entity As TBL_PICKLISTITEM)
		Me.SendPropertyChanging
		entity.TBL_PICKLIST = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PICKLIST_SYSCOLUMN")>  _
Partial Public Class TBL_PICKLIST_SYSCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PICKLISTID As System.Guid
	
	Private _COLUMNID As System.Guid
	
	Private _ISLIMITTOLIST As Boolean
	
	Private _ISMULTISELECT As Boolean
	
	Private _ISSHOWDESC As Boolean
	
	Private _ISTYPEAHEAD As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_PICKLIST As EntityRef(Of TBL_PICKLIST)
	
    #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 OnPICKLISTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPICKLISTIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnISLIMITTOLISTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISLIMITTOLISTChanged()
    End Sub
    Partial Private Sub OnISMULTISELECTChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISMULTISELECTChanged()
    End Sub
    Partial Private Sub OnISSHOWDESCChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSHOWDESCChanged()
    End Sub
    Partial Private Sub OnISTYPEAHEADChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISTYPEAHEADChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_PICKLIST = CType(Nothing, EntityRef(Of TBL_PICKLIST))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				If Me._TBL_PICKLIST.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPICKLISTIDChanging(value)
				Me.SendPropertyChanging
				Me._PICKLISTID = value
				Me.SendPropertyChanged("PICKLISTID")
				Me.OnPICKLISTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISLIMITTOLIST", DbType:="Bit NOT NULL")>  _
	Public Property ISLIMITTOLIST() As Boolean
		Get
			Return Me._ISLIMITTOLIST
		End Get
		Set
			If ((Me._ISLIMITTOLIST = value)  _
						= false) Then
				Me.OnISLIMITTOLISTChanging(value)
				Me.SendPropertyChanging
				Me._ISLIMITTOLIST = value
				Me.SendPropertyChanged("ISLIMITTOLIST")
				Me.OnISLIMITTOLISTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISMULTISELECT", DbType:="Bit NOT NULL")>  _
	Public Property ISMULTISELECT() As Boolean
		Get
			Return Me._ISMULTISELECT
		End Get
		Set
			If ((Me._ISMULTISELECT = value)  _
						= false) Then
				Me.OnISMULTISELECTChanging(value)
				Me.SendPropertyChanging
				Me._ISMULTISELECT = value
				Me.SendPropertyChanged("ISMULTISELECT")
				Me.OnISMULTISELECTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSHOWDESC", DbType:="Bit NOT NULL")>  _
	Public Property ISSHOWDESC() As Boolean
		Get
			Return Me._ISSHOWDESC
		End Get
		Set
			If ((Me._ISSHOWDESC = value)  _
						= false) Then
				Me.OnISSHOWDESCChanging(value)
				Me.SendPropertyChanging
				Me._ISSHOWDESC = value
				Me.SendPropertyChanged("ISSHOWDESC")
				Me.OnISSHOWDESCChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISTYPEAHEAD", DbType:="Bit NOT NULL")>  _
	Public Property ISTYPEAHEAD() As Boolean
		Get
			Return Me._ISTYPEAHEAD
		End Get
		Set
			If ((Me._ISTYPEAHEAD = value)  _
						= false) Then
				Me.OnISTYPEAHEADChanging(value)
				Me.SendPropertyChanging
				Me._ISTYPEAHEAD = value
				Me.SendPropertyChanged("ISTYPEAHEAD")
				Me.OnISTYPEAHEADChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLIST_SYSCOLUMN_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_PICKLIST_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PICKLIST_SYSCOLUMN.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLIST_SYSCOLUMN_PICKLISTID_FK", Storage:="_TBL_PICKLIST", ThisKey:="PICKLISTID", OtherKey:="PICKLISTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PICKLIST() As TBL_PICKLIST
		Get
			Return Me._TBL_PICKLIST.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLIST = Me._TBL_PICKLIST.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLIST.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLIST.Entity = Nothing
					previousValue.TBL_PICKLIST_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_PICKLIST.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PICKLIST_SYSCOLUMN.Add(Me)
					Me._PICKLISTID = value.PICKLISTID
				Else
					Me._PICKLISTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLIST")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PICKLISTITEM")>  _
Partial Public Class TBL_PICKLISTITEM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PICKLISTITEMID As System.Guid
	
	Private _PICKLISTID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_ADDRESS As EntitySet(Of TBL_ADDRESS)
	
	Private _TBL_EMAIL As EntitySet(Of TBL_EMAIL)
	
	Private _TBL_PHONE As EntitySet(Of TBL_PHONE)
	
	Private _TBL_PICKLIST As EntityRef(Of TBL_PICKLIST)
	
	Private _TBL_VIRTUALRECORDTYPE As EntitySet(Of TBL_VIRTUALRECORDTYPE)
	
    #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 OnPICKLISTITEMIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPICKLISTITEMIDChanged()
    End Sub
    Partial Private Sub OnPICKLISTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPICKLISTIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ADDRESS = New EntitySet(Of TBL_ADDRESS)(AddressOf Me.attach_TBL_ADDRESS, AddressOf Me.detach_TBL_ADDRESS)
		Me._TBL_EMAIL = New EntitySet(Of TBL_EMAIL)(AddressOf Me.attach_TBL_EMAIL, AddressOf Me.detach_TBL_EMAIL)
		Me._TBL_PHONE = New EntitySet(Of TBL_PHONE)(AddressOf Me.attach_TBL_PHONE, AddressOf Me.detach_TBL_PHONE)
		Me._TBL_PICKLIST = CType(Nothing, EntityRef(Of TBL_PICKLIST))
		Me._TBL_VIRTUALRECORDTYPE = New EntitySet(Of TBL_VIRTUALRECORDTYPE)(AddressOf Me.attach_TBL_VIRTUALRECORDTYPE, AddressOf Me.detach_TBL_VIRTUALRECORDTYPE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PICKLISTITEMID() As System.Guid
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If ((Me._PICKLISTITEMID = value)  _
						= false) Then
				Me.OnPICKLISTITEMIDChanging(value)
				Me.SendPropertyChanging
				Me._PICKLISTITEMID = value
				Me.SendPropertyChanged("PICKLISTITEMID")
				Me.OnPICKLISTITEMIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				If Me._TBL_PICKLIST.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPICKLISTIDChanging(value)
				Me.SendPropertyChanging
				Me._PICKLISTID = value
				Me.SendPropertyChanged("PICKLISTID")
				Me.OnPICKLISTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ADDRESS_TYPEID_FK", Storage:="_TBL_ADDRESS", ThisKey:="PICKLISTITEMID", OtherKey:="TYPEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ADDRESS() As EntitySet(Of TBL_ADDRESS)
		Get
			Return Me._TBL_ADDRESS
		End Get
		Set
			Me._TBL_ADDRESS.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="EMAIL_TYPEID_FK", Storage:="_TBL_EMAIL", ThisKey:="PICKLISTITEMID", OtherKey:="TYPEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_EMAIL() As EntitySet(Of TBL_EMAIL)
		Get
			Return Me._TBL_EMAIL
		End Get
		Set
			Me._TBL_EMAIL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PHONE_TYPEID_FK", Storage:="_TBL_PHONE", ThisKey:="PICKLISTITEMID", OtherKey:="TYPEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PHONE() As EntitySet(Of TBL_PHONE)
		Get
			Return Me._TBL_PHONE
		End Get
		Set
			Me._TBL_PHONE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLISTITEM_PICKLISTID_FK", Storage:="_TBL_PICKLIST", ThisKey:="PICKLISTID", OtherKey:="PICKLISTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PICKLIST() As TBL_PICKLIST
		Get
			Return Me._TBL_PICKLIST.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLIST = Me._TBL_PICKLIST.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLIST.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLIST.Entity = Nothing
					previousValue.TBL_PICKLISTITEM.Remove(Me)
				End If
				Me._TBL_PICKLIST.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PICKLISTITEM.Add(Me)
					Me._PICKLISTID = value.PICKLISTID
				Else
					Me._PICKLISTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLIST")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="VIRTUALRECORDTYPE_TYPEID_FK", Storage:="_TBL_VIRTUALRECORDTYPE", ThisKey:="PICKLISTITEMID", OtherKey:="TYPEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_VIRTUALRECORDTYPE() As EntitySet(Of TBL_VIRTUALRECORDTYPE)
		Get
			Return Me._TBL_VIRTUALRECORDTYPE
		End Get
		Set
			Me._TBL_VIRTUALRECORDTYPE.Assign(value)
		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
	
	Private Sub attach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Me
	End Sub
	
	Private Sub detach_TBL_ADDRESS(ByVal entity As TBL_ADDRESS)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Nothing
	End Sub
	
	Private Sub attach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Me
	End Sub
	
	Private Sub detach_TBL_EMAIL(ByVal entity As TBL_EMAIL)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Nothing
	End Sub
	
	Private Sub attach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Me
	End Sub
	
	Private Sub detach_TBL_PHONE(ByVal entity As TBL_PHONE)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Nothing
	End Sub
	
	Private Sub attach_TBL_VIRTUALRECORDTYPE(ByVal entity As TBL_VIRTUALRECORDTYPE)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Me
	End Sub
	
	Private Sub detach_TBL_VIRTUALRECORDTYPE(ByVal entity As TBL_VIRTUALRECORDTYPE)
		Me.SendPropertyChanging
		entity.TBL_PICKLISTITEM = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PREFERENCE")>  _
Partial Public Class TBL_PREFERENCE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PREFERENCEID As System.Guid
	
	Private _NAME As String
	
	Private _ISSERIALIZED As Boolean
	
	Private _OBJECTBINARYVALUE As System.Data.Linq.Binary
	
	Private _OBJECTSTRINGVALUE As String
	
	Private _TBL_ACCESSOR_PREFERENCE As EntitySet(Of TBL_ACCESSOR_PREFERENCE)
	
    #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 OnPREFERENCEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPREFERENCEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnISSERIALIZEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSERIALIZEDChanged()
    End Sub
    Partial Private Sub OnOBJECTBINARYVALUEChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnOBJECTBINARYVALUEChanged()
    End Sub
    Partial Private Sub OnOBJECTSTRINGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnOBJECTSTRINGVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR_PREFERENCE = New EntitySet(Of TBL_ACCESSOR_PREFERENCE)(AddressOf Me.attach_TBL_ACCESSOR_PREFERENCE, AddressOf Me.detach_TBL_ACCESSOR_PREFERENCE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PREFERENCEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PREFERENCEID() As System.Guid
		Get
			Return Me._PREFERENCEID
		End Get
		Set
			If ((Me._PREFERENCEID = value)  _
						= false) Then
				Me.OnPREFERENCEIDChanging(value)
				Me.SendPropertyChanging
				Me._PREFERENCEID = value
				Me.SendPropertyChanged("PREFERENCEID")
				Me.OnPREFERENCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="VarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSERIALIZED", DbType:="Bit NOT NULL")>  _
	Public Property ISSERIALIZED() As Boolean
		Get
			Return Me._ISSERIALIZED
		End Get
		Set
			If ((Me._ISSERIALIZED = value)  _
						= false) Then
				Me.OnISSERIALIZEDChanging(value)
				Me.SendPropertyChanging
				Me._ISSERIALIZED = value
				Me.SendPropertyChanged("ISSERIALIZED")
				Me.OnISSERIALIZEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTBINARYVALUE", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property OBJECTBINARYVALUE() As System.Data.Linq.Binary
		Get
			Return Me._OBJECTBINARYVALUE
		End Get
		Set
			If (Object.Equals(Me._OBJECTBINARYVALUE, value) = false) Then
				Me.OnOBJECTBINARYVALUEChanging(value)
				Me.SendPropertyChanging
				Me._OBJECTBINARYVALUE = value
				Me.SendPropertyChanged("OBJECTBINARYVALUE")
				Me.OnOBJECTBINARYVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTSTRINGVALUE", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property OBJECTSTRINGVALUE() As String
		Get
			Return Me._OBJECTSTRINGVALUE
		End Get
		Set
			If (String.Equals(Me._OBJECTSTRINGVALUE, value) = false) Then
				Me.OnOBJECTSTRINGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._OBJECTSTRINGVALUE = value
				Me.SendPropertyChanged("OBJECTSTRINGVALUE")
				Me.OnOBJECTSTRINGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_PREFERENCE_PREFERENCEID_FK", Storage:="_TBL_ACCESSOR_PREFERENCE", ThisKey:="PREFERENCEID", OtherKey:="PREFERENCEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_PREFERENCE() As EntitySet(Of TBL_ACCESSOR_PREFERENCE)
		Get
			Return Me._TBL_ACCESSOR_PREFERENCE
		End Get
		Set
			Me._TBL_ACCESSOR_PREFERENCE.Assign(value)
		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
	
	Private Sub attach_TBL_ACCESSOR_PREFERENCE(ByVal entity As TBL_ACCESSOR_PREFERENCE)
		Me.SendPropertyChanging
		entity.TBL_PREFERENCE = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_PREFERENCE(ByVal entity As TBL_ACCESSOR_PREFERENCE)
		Me.SendPropertyChanging
		entity.TBL_PREFERENCE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PROCESS")>  _
Partial Public Class TBL_PROCESS
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PROCESSID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISACTIVE As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_STAGE As EntitySet(Of TBL_STAGE)
	
    #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 OnPROCESSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPROCESSIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISACTIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISACTIVEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_STAGE = New EntitySet(Of TBL_STAGE)(AddressOf Me.attach_TBL_STAGE, AddressOf Me.detach_TBL_STAGE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESSID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PROCESSID() As System.Guid
		Get
			Return Me._PROCESSID
		End Get
		Set
			If ((Me._PROCESSID = value)  _
						= false) Then
				Me.OnPROCESSIDChanging(value)
				Me.SendPropertyChanging
				Me._PROCESSID = value
				Me.SendPropertyChanged("PROCESSID")
				Me.OnPROCESSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me.OnISACTIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISACTIVE = value
				Me.SendPropertyChanged("ISACTIVE")
				Me.OnISACTIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="STAGE_PROCESSID_FK", Storage:="_TBL_STAGE", ThisKey:="PROCESSID", OtherKey:="PROCESSID", DeleteRule:="CASCADE")>  _
	Public Property TBL_STAGE() As EntitySet(Of TBL_STAGE)
		Get
			Return Me._TBL_STAGE
		End Get
		Set
			Me._TBL_STAGE.Assign(value)
		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
	
	Private Sub attach_TBL_STAGE(ByVal entity As TBL_STAGE)
		Me.SendPropertyChanging
		entity.TBL_PROCESS = Me
	End Sub
	
	Private Sub detach_TBL_STAGE(ByVal entity As TBL_STAGE)
		Me.SendPropertyChanging
		entity.TBL_PROCESS = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PRODUCT")>  _
Partial Public Class TBL_PRODUCT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PRODUCTID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CODE As String
	
	Private _TYPE As String
	
	Private _UNITOFISSUE As String
	
	Private _UNITCOST As Decimal
	
	Private _UNITPRICE As Decimal
	
	Private _PICTURE As System.Data.Linq.Binary
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_PRODUCTSERVICE As EntitySet(Of TBL_PRODUCTSERVICE)
	
    #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 OnPRODUCTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPRODUCTIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCODEChanging(value As String)
    End Sub
    Partial Private Sub OnCODEChanged()
    End Sub
    Partial Private Sub OnTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnTYPEChanged()
    End Sub
    Partial Private Sub OnUNITOFISSUEChanging(value As String)
    End Sub
    Partial Private Sub OnUNITOFISSUEChanged()
    End Sub
    Partial Private Sub OnUNITCOSTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnUNITCOSTChanged()
    End Sub
    Partial Private Sub OnUNITPRICEChanging(value As Decimal)
    End Sub
    Partial Private Sub OnUNITPRICEChanged()
    End Sub
    Partial Private Sub OnPICTUREChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnPICTUREChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PRODUCTSERVICE = New EntitySet(Of TBL_PRODUCTSERVICE)(AddressOf Me.attach_TBL_PRODUCTSERVICE, AddressOf Me.detach_TBL_PRODUCTSERVICE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PRODUCTID() As System.Guid
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If ((Me._PRODUCTID = value)  _
						= false) Then
				Me.OnPRODUCTIDChanging(value)
				Me.SendPropertyChanging
				Me._PRODUCTID = value
				Me.SendPropertyChanged("PRODUCTID")
				Me.OnPRODUCTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CODE", DbType:="NVarChar(64)")>  _
	Public Property CODE() As String
		Get
			Return Me._CODE
		End Get
		Set
			If (String.Equals(Me._CODE, value) = false) Then
				Me.OnCODEChanging(value)
				Me.SendPropertyChanging
				Me._CODE = value
				Me.SendPropertyChanged("CODE")
				Me.OnCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPE", DbType:="NVarChar(128)")>  _
	Public Property TYPE() As String
		Get
			Return Me._TYPE
		End Get
		Set
			If (String.Equals(Me._TYPE, value) = false) Then
				Me.OnTYPEChanging(value)
				Me.SendPropertyChanging
				Me._TYPE = value
				Me.SendPropertyChanged("TYPE")
				Me.OnTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNITOFISSUE", DbType:="NVarChar(32)")>  _
	Public Property UNITOFISSUE() As String
		Get
			Return Me._UNITOFISSUE
		End Get
		Set
			If (String.Equals(Me._UNITOFISSUE, value) = false) Then
				Me.OnUNITOFISSUEChanging(value)
				Me.SendPropertyChanging
				Me._UNITOFISSUE = value
				Me.SendPropertyChanged("UNITOFISSUE")
				Me.OnUNITOFISSUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNITCOST", DbType:="Decimal(19,4) NOT NULL")>  _
	Public Property UNITCOST() As Decimal
		Get
			Return Me._UNITCOST
		End Get
		Set
			If ((Me._UNITCOST = value)  _
						= false) Then
				Me.OnUNITCOSTChanging(value)
				Me.SendPropertyChanging
				Me._UNITCOST = value
				Me.SendPropertyChanged("UNITCOST")
				Me.OnUNITCOSTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNITPRICE", DbType:="Decimal(19,4) NOT NULL")>  _
	Public Property UNITPRICE() As Decimal
		Get
			Return Me._UNITPRICE
		End Get
		Set
			If ((Me._UNITPRICE = value)  _
						= false) Then
				Me.OnUNITPRICEChanging(value)
				Me.SendPropertyChanging
				Me._UNITPRICE = value
				Me.SendPropertyChanged("UNITPRICE")
				Me.OnUNITPRICEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICTURE", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property PICTURE() As System.Data.Linq.Binary
		Get
			Return Me._PICTURE
		End Get
		Set
			If (Object.Equals(Me._PICTURE, value) = false) Then
				Me.OnPICTUREChanging(value)
				Me.SendPropertyChanging
				Me._PICTURE = value
				Me.SendPropertyChanged("PICTURE")
				Me.OnPICTUREChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PRODUCTSERVICE_PRODUCTID_FK", Storage:="_TBL_PRODUCTSERVICE", ThisKey:="PRODUCTID", OtherKey:="PRODUCTID", DeleteRule:="SET NULL")>  _
	Public Property TBL_PRODUCTSERVICE() As EntitySet(Of TBL_PRODUCTSERVICE)
		Get
			Return Me._TBL_PRODUCTSERVICE
		End Get
		Set
			Me._TBL_PRODUCTSERVICE.Assign(value)
		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
	
	Private Sub attach_TBL_PRODUCTSERVICE(ByVal entity As TBL_PRODUCTSERVICE)
		Me.SendPropertyChanging
		entity.TBL_PRODUCT = Me
	End Sub
	
	Private Sub detach_TBL_PRODUCTSERVICE(ByVal entity As TBL_PRODUCTSERVICE)
		Me.SendPropertyChanging
		entity.TBL_PRODUCT = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_PRODUCTSERVICE")>  _
Partial Public Class TBL_PRODUCTSERVICE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _PRODUCTSERVICEID As System.Guid
	
	Private _PRODUCTID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _ITEMCODE As String
	
	Private _ITEMTYPE As String
	
	Private _QUANTITY As Decimal
	
	Private _UNITCOST As Decimal
	
	Private _UNITPRICE As Decimal
	
	Private _UNITDISCOUNT As Decimal
	
	Private _DISCOUNTTYPENUM As Byte
	
	Private _DISCOUNTPRICE As Decimal
	
	Private _EXTENDEDAMT As Decimal
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DISCOUNTTYPE As String
	
	Private _TBL_OPPORTUNITY_PRODUCTSERVICE As EntityRef(Of TBL_OPPORTUNITY_PRODUCTSERVICE)
	
	Private _TBL_PRODUCT As EntityRef(Of TBL_PRODUCT)
	
    #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 OnPRODUCTSERVICEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPRODUCTSERVICEIDChanged()
    End Sub
    Partial Private Sub OnPRODUCTIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnPRODUCTIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnITEMCODEChanging(value As String)
    End Sub
    Partial Private Sub OnITEMCODEChanged()
    End Sub
    Partial Private Sub OnITEMTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnITEMTYPEChanged()
    End Sub
    Partial Private Sub OnQUANTITYChanging(value As Decimal)
    End Sub
    Partial Private Sub OnQUANTITYChanged()
    End Sub
    Partial Private Sub OnUNITCOSTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnUNITCOSTChanged()
    End Sub
    Partial Private Sub OnUNITPRICEChanging(value As Decimal)
    End Sub
    Partial Private Sub OnUNITPRICEChanged()
    End Sub
    Partial Private Sub OnUNITDISCOUNTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnUNITDISCOUNTChanged()
    End Sub
    Partial Private Sub OnDISCOUNTTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnDISCOUNTTYPENUMChanged()
    End Sub
    Partial Private Sub OnDISCOUNTPRICEChanging(value As Decimal)
    End Sub
    Partial Private Sub OnDISCOUNTPRICEChanged()
    End Sub
    Partial Private Sub OnEXTENDEDAMTChanging(value As Decimal)
    End Sub
    Partial Private Sub OnEXTENDEDAMTChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDISCOUNTTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnDISCOUNTTYPEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_OPPORTUNITY_PRODUCTSERVICE = CType(Nothing, EntityRef(Of TBL_OPPORTUNITY_PRODUCTSERVICE))
		Me._TBL_PRODUCT = CType(Nothing, EntityRef(Of TBL_PRODUCT))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTSERVICEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PRODUCTSERVICEID() As System.Guid
		Get
			Return Me._PRODUCTSERVICEID
		End Get
		Set
			If ((Me._PRODUCTSERVICEID = value)  _
						= false) Then
				Me.OnPRODUCTSERVICEIDChanging(value)
				Me.SendPropertyChanging
				Me._PRODUCTSERVICEID = value
				Me.SendPropertyChanged("PRODUCTSERVICEID")
				Me.OnPRODUCTSERVICEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If (Me._PRODUCTID.Equals(value) = false) Then
				If Me._TBL_PRODUCT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPRODUCTIDChanging(value)
				Me.SendPropertyChanging
				Me._PRODUCTID = value
				Me.SendPropertyChanged("PRODUCTID")
				Me.OnPRODUCTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(256)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEMCODE", DbType:="NVarChar(64)")>  _
	Public Property ITEMCODE() As String
		Get
			Return Me._ITEMCODE
		End Get
		Set
			If (String.Equals(Me._ITEMCODE, value) = false) Then
				Me.OnITEMCODEChanging(value)
				Me.SendPropertyChanging
				Me._ITEMCODE = value
				Me.SendPropertyChanged("ITEMCODE")
				Me.OnITEMCODEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEMTYPE", DbType:="NVarChar(128)")>  _
	Public Property ITEMTYPE() As String
		Get
			Return Me._ITEMTYPE
		End Get
		Set
			If (String.Equals(Me._ITEMTYPE, value) = false) Then
				Me.OnITEMTYPEChanging(value)
				Me.SendPropertyChanging
				Me._ITEMTYPE = value
				Me.SendPropertyChanged("ITEMTYPE")
				Me.OnITEMTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUANTITY", DbType:="Decimal(16,2) NOT NULL")>  _
	Public Property QUANTITY() As Decimal
		Get
			Return Me._QUANTITY
		End Get
		Set
			If ((Me._QUANTITY = value)  _
						= false) Then
				Me.OnQUANTITYChanging(value)
				Me.SendPropertyChanging
				Me._QUANTITY = value
				Me.SendPropertyChanged("QUANTITY")
				Me.OnQUANTITYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNITCOST", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property UNITCOST() As Decimal
		Get
			Return Me._UNITCOST
		End Get
		Set
			If ((Me._UNITCOST = value)  _
						= false) Then
				Me.OnUNITCOSTChanging(value)
				Me.SendPropertyChanging
				Me._UNITCOST = value
				Me.SendPropertyChanged("UNITCOST")
				Me.OnUNITCOSTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNITPRICE", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property UNITPRICE() As Decimal
		Get
			Return Me._UNITPRICE
		End Get
		Set
			If ((Me._UNITPRICE = value)  _
						= false) Then
				Me.OnUNITPRICEChanging(value)
				Me.SendPropertyChanging
				Me._UNITPRICE = value
				Me.SendPropertyChanged("UNITPRICE")
				Me.OnUNITPRICEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNITDISCOUNT", DbType:="Decimal(19,10) NOT NULL")>  _
	Public Property UNITDISCOUNT() As Decimal
		Get
			Return Me._UNITDISCOUNT
		End Get
		Set
			If ((Me._UNITDISCOUNT = value)  _
						= false) Then
				Me.OnUNITDISCOUNTChanging(value)
				Me.SendPropertyChanging
				Me._UNITDISCOUNT = value
				Me.SendPropertyChanged("UNITDISCOUNT")
				Me.OnUNITDISCOUNTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNTTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property DISCOUNTTYPENUM() As Byte
		Get
			Return Me._DISCOUNTTYPENUM
		End Get
		Set
			If ((Me._DISCOUNTTYPENUM = value)  _
						= false) Then
				Me.OnDISCOUNTTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._DISCOUNTTYPENUM = value
				Me.SendPropertyChanged("DISCOUNTTYPENUM")
				Me.OnDISCOUNTTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNTPRICE", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property DISCOUNTPRICE() As Decimal
		Get
			Return Me._DISCOUNTPRICE
		End Get
		Set
			If ((Me._DISCOUNTPRICE = value)  _
						= false) Then
				Me.OnDISCOUNTPRICEChanging(value)
				Me.SendPropertyChanging
				Me._DISCOUNTPRICE = value
				Me.SendPropertyChanged("DISCOUNTPRICE")
				Me.OnDISCOUNTPRICEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENDEDAMT", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property EXTENDEDAMT() As Decimal
		Get
			Return Me._EXTENDEDAMT
		End Get
		Set
			If ((Me._EXTENDEDAMT = value)  _
						= false) Then
				Me.OnEXTENDEDAMTChanging(value)
				Me.SendPropertyChanging
				Me._EXTENDEDAMT = value
				Me.SendPropertyChanged("EXTENDEDAMT")
				Me.OnEXTENDEDAMTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNTTYPE", AutoSync:=AutoSync.Always, DbType:="NVarChar(10) NOT NULL", CanBeNull:=false, IsDbGenerated:=true, UpdateCheck:=UpdateCheck.Never, Expression:="(case when [DISCOUNTTYPENUM]=(0) then N'Percentage' when [DISCOUNTTYPENUM]=(1) th"& _ 
		"en N'Amount' else N'Percentage' end)")>  _
	Public Property DISCOUNTTYPE() As String
		Get
			Return Me._DISCOUNTTYPE
		End Get
		Set
			If (String.Equals(Me._DISCOUNTTYPE, value) = false) Then
				Me.OnDISCOUNTTYPEChanging(value)
				Me.SendPropertyChanging
				Me._DISCOUNTTYPE = value
				Me.SendPropertyChanged("DISCOUNTTYPE")
				Me.OnDISCOUNTTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_PRODUCTSERVICE_PRODUCTSERVICEID_FK", Storage:="_TBL_OPPORTUNITY_PRODUCTSERVICE", ThisKey:="PRODUCTSERVICEID", OtherKey:="PRODUCTSERVICEID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="CASCADE")>  _
	Public Property TBL_OPPORTUNITY_PRODUCTSERVICE() As TBL_OPPORTUNITY_PRODUCTSERVICE
		Get
			Return Me._TBL_OPPORTUNITY_PRODUCTSERVICE.Entity
		End Get
		Set
			Dim previousValue As TBL_OPPORTUNITY_PRODUCTSERVICE = Me._TBL_OPPORTUNITY_PRODUCTSERVICE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_OPPORTUNITY_PRODUCTSERVICE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_OPPORTUNITY_PRODUCTSERVICE.Entity = Nothing
					previousValue.TBL_PRODUCTSERVICE = Nothing
				End If
				Me._TBL_OPPORTUNITY_PRODUCTSERVICE.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_PRODUCTSERVICE = Me
				End If
				Me.SendPropertyChanged("TBL_OPPORTUNITY_PRODUCTSERVICE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PRODUCTSERVICE_PRODUCTID_FK", Storage:="_TBL_PRODUCT", ThisKey:="PRODUCTID", OtherKey:="PRODUCTID", IsForeignKey:=true)>  _
	Public Property TBL_PRODUCT() As TBL_PRODUCT
		Get
			Return Me._TBL_PRODUCT.Entity
		End Get
		Set
			Dim previousValue As TBL_PRODUCT = Me._TBL_PRODUCT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PRODUCT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PRODUCT.Entity = Nothing
					previousValue.TBL_PRODUCTSERVICE.Remove(Me)
				End If
				Me._TBL_PRODUCT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_PRODUCTSERVICE.Add(Me)
					Me._PRODUCTID = value.PRODUCTID
				Else
					Me._PRODUCTID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_PRODUCT")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_RESOURCE")>  _
Partial Public Class TBL_RESOURCE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _RESOURCEID As System.Guid
	
	Private _DESCRIPTION As String
	
	Private _TYPENUM As Byte
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
    #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 OnRESOURCEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnRESOURCEIDChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property RESOURCEID() As System.Guid
		Get
			Return Me._RESOURCEID
		End Get
		Set
			If ((Me._RESOURCEID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnRESOURCEIDChanging(value)
				Me.SendPropertyChanging
				Me._RESOURCEID = value
				Me.SendPropertyChanged("RESOURCEID")
				Me.OnRESOURCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="RESOURCE_RESOURCEID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="RESOURCEID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_RESOURCE = Nothing
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_RESOURCE = Me
					Me._RESOURCEID = value.ACCESSORID
				Else
					Me._RESOURCEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ROLE")>  _
Partial Public Class TBL_ROLE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ROLEID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DISPLAYNAME As String
	
	Private _TBL_ROLE_PERMISSION As EntitySet(Of TBL_ROLE_PERMISSION)
	
	Private _TBL_USER As EntitySet(Of TBL_USER)
	
    #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 OnROLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnROLEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ROLE_PERMISSION = New EntitySet(Of TBL_ROLE_PERMISSION)(AddressOf Me.attach_TBL_ROLE_PERMISSION, AddressOf Me.detach_TBL_ROLE_PERMISSION)
		Me._TBL_USER = New EntitySet(Of TBL_USER)(AddressOf Me.attach_TBL_USER, AddressOf Me.detach_TBL_USER)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ROLEID() As System.Guid
		Get
			Return Me._ROLEID
		End Get
		Set
			If ((Me._ROLEID = value)  _
						= false) Then
				Me.OnROLEIDChanging(value)
				Me.SendPropertyChanging
				Me._ROLEID = value
				Me.SendPropertyChanged("ROLEID")
				Me.OnROLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(96) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ROLE_PERMISSION_ROLEID_FK", Storage:="_TBL_ROLE_PERMISSION", ThisKey:="ROLEID", OtherKey:="ROLEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ROLE_PERMISSION() As EntitySet(Of TBL_ROLE_PERMISSION)
		Get
			Return Me._TBL_ROLE_PERMISSION
		End Get
		Set
			Me._TBL_ROLE_PERMISSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_ROLEID_FK", Storage:="_TBL_USER", ThisKey:="ROLEID", OtherKey:="ROLEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_USER() As EntitySet(Of TBL_USER)
		Get
			Return Me._TBL_USER
		End Get
		Set
			Me._TBL_USER.Assign(value)
		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
	
	Private Sub attach_TBL_ROLE_PERMISSION(ByVal entity As TBL_ROLE_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_ROLE = Me
	End Sub
	
	Private Sub detach_TBL_ROLE_PERMISSION(ByVal entity As TBL_ROLE_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_ROLE = Nothing
	End Sub
	
	Private Sub attach_TBL_USER(ByVal entity As TBL_USER)
		Me.SendPropertyChanging
		entity.TBL_ROLE = Me
	End Sub
	
	Private Sub detach_TBL_USER(ByVal entity As TBL_USER)
		Me.SendPropertyChanging
		entity.TBL_ROLE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_ROLE_PERMISSION")>  _
Partial Public Class TBL_ROLE_PERMISSION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ROLEID As System.Guid
	
	Private _PERMISSIONID As System.Guid
	
	Private _TBL_PERMISSION As EntityRef(Of TBL_PERMISSION)
	
	Private _TBL_ROLE As EntityRef(Of TBL_ROLE)
	
    #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 OnROLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnROLEIDChanged()
    End Sub
    Partial Private Sub OnPERMISSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPERMISSIONIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PERMISSION = CType(Nothing, EntityRef(Of TBL_PERMISSION))
		Me._TBL_ROLE = CType(Nothing, EntityRef(Of TBL_ROLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ROLEID() As System.Guid
		Get
			Return Me._ROLEID
		End Get
		Set
			If ((Me._ROLEID = value)  _
						= false) Then
				If Me._TBL_ROLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnROLEIDChanging(value)
				Me.SendPropertyChanging
				Me._ROLEID = value
				Me.SendPropertyChanged("ROLEID")
				Me.OnROLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PERMISSIONID() As System.Guid
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If ((Me._PERMISSIONID = value)  _
						= false) Then
				If Me._TBL_PERMISSION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPERMISSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._PERMISSIONID = value
				Me.SendPropertyChanged("PERMISSIONID")
				Me.OnPERMISSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ROLE_PERMISSION_PERMISSIONID_FK", Storage:="_TBL_PERMISSION", ThisKey:="PERMISSIONID", OtherKey:="PERMISSIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PERMISSION() As TBL_PERMISSION
		Get
			Return Me._TBL_PERMISSION.Entity
		End Get
		Set
			Dim previousValue As TBL_PERMISSION = Me._TBL_PERMISSION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PERMISSION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PERMISSION.Entity = Nothing
					previousValue.TBL_ROLE_PERMISSION.Remove(Me)
				End If
				Me._TBL_PERMISSION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ROLE_PERMISSION.Add(Me)
					Me._PERMISSIONID = value.PERMISSIONID
				Else
					Me._PERMISSIONID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PERMISSION")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ROLE_PERMISSION_ROLEID_FK", Storage:="_TBL_ROLE", ThisKey:="ROLEID", OtherKey:="ROLEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ROLE() As TBL_ROLE
		Get
			Return Me._TBL_ROLE.Entity
		End Get
		Set
			Dim previousValue As TBL_ROLE = Me._TBL_ROLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ROLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ROLE.Entity = Nothing
					previousValue.TBL_ROLE_PERMISSION.Remove(Me)
				End If
				Me._TBL_ROLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_ROLE_PERMISSION.Add(Me)
					Me._ROLEID = value.ROLEID
				Else
					Me._ROLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ROLE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SECONDARY")>  _
Partial Public Class TBL_SECONDARY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SECONDARYID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
    #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 OnSECONDARYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSECONDARYIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SECONDARYID() As System.Guid
		Get
			Return Me._SECONDARYID
		End Get
		Set
			If ((Me._SECONDARYID = value)  _
						= false) Then
				Me.OnSECONDARYIDChanging(value)
				Me.SendPropertyChanging
				Me._SECONDARYID = value
				Me.SendPropertyChanged("SECONDARYID")
				Me.OnSECONDARYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SERIALNUMBER")>  _
Partial Public Class TBL_SERIALNUMBER
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SERIALNUMBERID As System.Guid
	
	Private _SERIALNUMBER As String
	
	Private _CREATEDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
    #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 OnSERIALNUMBERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSERIALNUMBERIDChanged()
    End Sub
    Partial Private Sub OnSERIALNUMBERChanging(value As String)
    End Sub
    Partial Private Sub OnSERIALNUMBERChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERIALNUMBERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SERIALNUMBERID() As System.Guid
		Get
			Return Me._SERIALNUMBERID
		End Get
		Set
			If ((Me._SERIALNUMBERID = value)  _
						= false) Then
				Me.OnSERIALNUMBERIDChanging(value)
				Me.SendPropertyChanging
				Me._SERIALNUMBERID = value
				Me.SendPropertyChanged("SERIALNUMBERID")
				Me.OnSERIALNUMBERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERIALNUMBER", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SERIALNUMBER() As String
		Get
			Return Me._SERIALNUMBER
		End Get
		Set
			If (String.Equals(Me._SERIALNUMBER, value) = false) Then
				Me.OnSERIALNUMBERChanging(value)
				Me.SendPropertyChanging
				Me._SERIALNUMBER = value
				Me.SendPropertyChanged("SERIALNUMBER")
				Me.OnSERIALNUMBERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SETTING")>  _
Partial Public Class TBL_SETTING
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SETTINGID As System.Guid
	
	Private _NAME As String
	
	Private _SETTINGSTRINGVALUE As String
	
	Private _EDITUSERID As System.Guid
	
	Private _EDITDATE As Date
	
	Private _TBL_ACCESSOR_SETTING As EntitySet(Of TBL_ACCESSOR_SETTING)
	
    #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 OnSETTINGIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSETTINGIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnSETTINGSTRINGVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnSETTINGSTRINGVALUEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR_SETTING = New EntitySet(Of TBL_ACCESSOR_SETTING)(AddressOf Me.attach_TBL_ACCESSOR_SETTING, AddressOf Me.detach_TBL_ACCESSOR_SETTING)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SETTINGID() As System.Guid
		Get
			Return Me._SETTINGID
		End Get
		Set
			If ((Me._SETTINGID = value)  _
						= false) Then
				Me.OnSETTINGIDChanging(value)
				Me.SendPropertyChanging
				Me._SETTINGID = value
				Me.SendPropertyChanged("SETTINGID")
				Me.OnSETTINGIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(450) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGSTRINGVALUE", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SETTINGSTRINGVALUE() As String
		Get
			Return Me._SETTINGSTRINGVALUE
		End Get
		Set
			If (String.Equals(Me._SETTINGSTRINGVALUE, value) = false) Then
				Me.OnSETTINGSTRINGVALUEChanging(value)
				Me.SendPropertyChanging
				Me._SETTINGSTRINGVALUE = value
				Me.SendPropertyChanged("SETTINGSTRINGVALUE")
				Me.OnSETTINGSTRINGVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property EDITUSERID() As System.Guid
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If ((Me._EDITUSERID = value)  _
						= false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime NOT NULL")>  _
	Public Property EDITDATE() As Date
		Get
			Return Me._EDITDATE
		End Get
		Set
			If ((Me._EDITDATE = value)  _
						= false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ACCESSOR_SETTING_SETTINGID_FK", Storage:="_TBL_ACCESSOR_SETTING", ThisKey:="SETTINGID", OtherKey:="SETTINGID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ACCESSOR_SETTING() As EntitySet(Of TBL_ACCESSOR_SETTING)
		Get
			Return Me._TBL_ACCESSOR_SETTING
		End Get
		Set
			Me._TBL_ACCESSOR_SETTING.Assign(value)
		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
	
	Private Sub attach_TBL_ACCESSOR_SETTING(ByVal entity As TBL_ACCESSOR_SETTING)
		Me.SendPropertyChanging
		entity.TBL_SETTING = Me
	End Sub
	
	Private Sub detach_TBL_ACCESSOR_SETTING(ByVal entity As TBL_ACCESSOR_SETTING)
		Me.SendPropertyChanging
		entity.TBL_SETTING = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_STAGE")>  _
Partial Public Class TBL_STAGE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _STAGEID As System.Guid
	
	Private _PROCESSID As System.Guid
	
	Private _ORDINAL As Integer
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _PROBABILITYPCT As Byte
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TBL_OPPORTUNITY As EntitySet(Of TBL_OPPORTUNITY)
	
	Private _TBL_STAGE_COLOR As EntitySet(Of TBL_STAGE_COLOR)
	
	Private _TBL_PROCESS As EntityRef(Of TBL_PROCESS)
	
    #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 OnSTAGEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSTAGEIDChanged()
    End Sub
    Partial Private Sub OnPROCESSIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPROCESSIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Integer)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnPROBABILITYPCTChanging(value As Byte)
    End Sub
    Partial Private Sub OnPROBABILITYPCTChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_OPPORTUNITY = New EntitySet(Of TBL_OPPORTUNITY)(AddressOf Me.attach_TBL_OPPORTUNITY, AddressOf Me.detach_TBL_OPPORTUNITY)
		Me._TBL_STAGE_COLOR = New EntitySet(Of TBL_STAGE_COLOR)(AddressOf Me.attach_TBL_STAGE_COLOR, AddressOf Me.detach_TBL_STAGE_COLOR)
		Me._TBL_PROCESS = CType(Nothing, EntityRef(Of TBL_PROCESS))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property STAGEID() As System.Guid
		Get
			Return Me._STAGEID
		End Get
		Set
			If ((Me._STAGEID = value)  _
						= false) Then
				Me.OnSTAGEIDChanging(value)
				Me.SendPropertyChanging
				Me._STAGEID = value
				Me.SendPropertyChanged("STAGEID")
				Me.OnSTAGEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESSID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PROCESSID() As System.Guid
		Get
			Return Me._PROCESSID
		End Get
		Set
			If ((Me._PROCESSID = value)  _
						= false) Then
				If Me._TBL_PROCESS.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPROCESSIDChanging(value)
				Me.SendPropertyChanging
				Me._PROCESSID = value
				Me.SendPropertyChanged("PROCESSID")
				Me.OnPROCESSIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int NOT NULL")>  _
	Public Property ORDINAL() As Integer
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROBABILITYPCT", DbType:="TinyInt NOT NULL")>  _
	Public Property PROBABILITYPCT() As Byte
		Get
			Return Me._PROBABILITYPCT
		End Get
		Set
			If ((Me._PROBABILITYPCT = value)  _
						= false) Then
				Me.OnPROBABILITYPCTChanging(value)
				Me.SendPropertyChanging
				Me._PROBABILITYPCT = value
				Me.SendPropertyChanged("PROBABILITYPCT")
				Me.OnPROBABILITYPCTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OPPORTUNITY_STAGEID_FK", Storage:="_TBL_OPPORTUNITY", ThisKey:="STAGEID", OtherKey:="STAGEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_OPPORTUNITY() As EntitySet(Of TBL_OPPORTUNITY)
		Get
			Return Me._TBL_OPPORTUNITY
		End Get
		Set
			Me._TBL_OPPORTUNITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="STAGE_COLOR_STAGEID_FK", Storage:="_TBL_STAGE_COLOR", ThisKey:="STAGEID", OtherKey:="STAGEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_STAGE_COLOR() As EntitySet(Of TBL_STAGE_COLOR)
		Get
			Return Me._TBL_STAGE_COLOR
		End Get
		Set
			Me._TBL_STAGE_COLOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="STAGE_PROCESSID_FK", Storage:="_TBL_PROCESS", ThisKey:="PROCESSID", OtherKey:="PROCESSID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PROCESS() As TBL_PROCESS
		Get
			Return Me._TBL_PROCESS.Entity
		End Get
		Set
			Dim previousValue As TBL_PROCESS = Me._TBL_PROCESS.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PROCESS.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PROCESS.Entity = Nothing
					previousValue.TBL_STAGE.Remove(Me)
				End If
				Me._TBL_PROCESS.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_STAGE.Add(Me)
					Me._PROCESSID = value.PROCESSID
				Else
					Me._PROCESSID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PROCESS")
			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
	
	Private Sub attach_TBL_OPPORTUNITY(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_STAGE = Me
	End Sub
	
	Private Sub detach_TBL_OPPORTUNITY(ByVal entity As TBL_OPPORTUNITY)
		Me.SendPropertyChanging
		entity.TBL_STAGE = Nothing
	End Sub
	
	Private Sub attach_TBL_STAGE_COLOR(ByVal entity As TBL_STAGE_COLOR)
		Me.SendPropertyChanging
		entity.TBL_STAGE = Me
	End Sub
	
	Private Sub detach_TBL_STAGE_COLOR(ByVal entity As TBL_STAGE_COLOR)
		Me.SendPropertyChanging
		entity.TBL_STAGE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_STAGE_COLOR")>  _
Partial Public Class TBL_STAGE_COLOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As System.Guid
	
	Private _STAGEID As System.Guid
	
	Private _COLOR As Integer
	
	Private _TBL_STAGE As EntityRef(Of TBL_STAGE)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnSTAGEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSTAGEIDChanged()
    End Sub
    Partial Private Sub OnCOLORChanging(value As Integer)
    End Sub
    Partial Private Sub OnCOLORChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_STAGE = CType(Nothing, EntityRef(Of TBL_STAGE))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property STAGEID() As System.Guid
		Get
			Return Me._STAGEID
		End Get
		Set
			If ((Me._STAGEID = value)  _
						= false) Then
				If Me._TBL_STAGE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSTAGEIDChanging(value)
				Me.SendPropertyChanging
				Me._STAGEID = value
				Me.SendPropertyChanged("STAGEID")
				Me.OnSTAGEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLOR", DbType:="Int NOT NULL")>  _
	Public Property COLOR() As Integer
		Get
			Return Me._COLOR
		End Get
		Set
			If ((Me._COLOR = value)  _
						= false) Then
				Me.OnCOLORChanging(value)
				Me.SendPropertyChanging
				Me._COLOR = value
				Me.SendPropertyChanged("COLOR")
				Me.OnCOLORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="STAGE_COLOR_STAGEID_FK", Storage:="_TBL_STAGE", ThisKey:="STAGEID", OtherKey:="STAGEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_STAGE() As TBL_STAGE
		Get
			Return Me._TBL_STAGE.Entity
		End Get
		Set
			Dim previousValue As TBL_STAGE = Me._TBL_STAGE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_STAGE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_STAGE.Entity = Nothing
					previousValue.TBL_STAGE_COLOR.Remove(Me)
				End If
				Me._TBL_STAGE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_STAGE_COLOR.Add(Me)
					Me._STAGEID = value.STAGEID
				Else
					Me._STAGEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_STAGE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="STAGE_COLOR_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_STAGE_COLOR.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_STAGE_COLOR.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCCONTACT")>  _
Partial Public Class TBL_SYNCCONTACT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _FULLNAME As String
	
	Private _COMPANYNAME As String
	
	Private _BUSINESS_PHONE As String
	
	Private _MANAGEUSERID As System.Guid
	
	Private _ISPRIVATE As Boolean
	
	Private _DELETEUSERID As System.Nullable(Of System.Guid)
	
	Private _DELETEDATE As System.Nullable(Of Date)
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Private _TBL_SYNCCONTACT_ACL As EntitySet(Of TBL_SYNCCONTACT_ACL)
	
	Private _TBL_SYNCSUBSCRIPTION As EntitySet(Of TBL_SYNCSUBSCRIPTION)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnFULLNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFULLNAMEChanged()
    End Sub
    Partial Private Sub OnCOMPANYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOMPANYNAMEChanged()
    End Sub
    Partial Private Sub OnBUSINESS_PHONEChanging(value As String)
    End Sub
    Partial Private Sub OnBUSINESS_PHONEChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnDELETEUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnDELETEUSERIDChanged()
    End Sub
    Partial Private Sub OnDELETEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnDELETEDATEChanged()
    End Sub
    Partial Private Sub OnLASTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnLASTNAMEChanged()
    End Sub
    Partial Private Sub OnFIRSTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnFIRSTNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCCONTACT_ACL = New EntitySet(Of TBL_SYNCCONTACT_ACL)(AddressOf Me.attach_TBL_SYNCCONTACT_ACL, AddressOf Me.detach_TBL_SYNCCONTACT_ACL)
		Me._TBL_SYNCSUBSCRIPTION = New EntitySet(Of TBL_SYNCSUBSCRIPTION)(AddressOf Me.attach_TBL_SYNCSUBSCRIPTION, AddressOf Me.detach_TBL_SYNCSUBSCRIPTION)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(256)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me.OnFULLNAMEChanging(value)
				Me.SendPropertyChanging
				Me._FULLNAME = value
				Me.SendPropertyChanged("FULLNAME")
				Me.OnFULLNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(256)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me.OnCOMPANYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COMPANYNAME = value
				Me.SendPropertyChanged("COMPANYNAME")
				Me.OnCOMPANYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_PHONE", DbType:="NVarChar(32)")>  _
	Public Property BUSINESS_PHONE() As String
		Get
			Return Me._BUSINESS_PHONE
		End Get
		Set
			If (String.Equals(Me._BUSINESS_PHONE, value) = false) Then
				Me.OnBUSINESS_PHONEChanging(value)
				Me.SendPropertyChanging
				Me._BUSINESS_PHONE = value
				Me.SendPropertyChanged("BUSINESS_PHONE")
				Me.OnBUSINESS_PHONEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property DELETEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DELETEUSERID
		End Get
		Set
			If (Me._DELETEUSERID.Equals(value) = false) Then
				Me.OnDELETEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._DELETEUSERID = value
				Me.SendPropertyChanged("DELETEUSERID")
				Me.OnDELETEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETEDATE", DbType:="DateTime")>  _
	Public Property DELETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._DELETEDATE
		End Get
		Set
			If (Me._DELETEDATE.Equals(value) = false) Then
				Me.OnDELETEDATEChanging(value)
				Me.SendPropertyChanging
				Me._DELETEDATE = value
				Me.SendPropertyChanged("DELETEDATE")
				Me.OnDELETEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me.OnLASTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._LASTNAME = value
				Me.SendPropertyChanged("LASTNAME")
				Me.OnLASTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me.OnFIRSTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._FIRSTNAME = value
				Me.SendPropertyChanged("FIRSTNAME")
				Me.OnFIRSTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCCONTACT_ACL_CONTACTID_FK", Storage:="_TBL_SYNCCONTACT_ACL", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCCONTACT_ACL() As EntitySet(Of TBL_SYNCCONTACT_ACL)
		Get
			Return Me._TBL_SYNCCONTACT_ACL
		End Get
		Set
			Me._TBL_SYNCCONTACT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSUBSCRIPTION_CONTACTID_FK", Storage:="_TBL_SYNCSUBSCRIPTION", ThisKey:="CONTACTID", OtherKey:="CONTACTID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCSUBSCRIPTION() As EntitySet(Of TBL_SYNCSUBSCRIPTION)
		Get
			Return Me._TBL_SYNCSUBSCRIPTION
		End Get
		Set
			Me._TBL_SYNCSUBSCRIPTION.Assign(value)
		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
	
	Private Sub attach_TBL_SYNCCONTACT_ACL(ByVal entity As TBL_SYNCCONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_SYNCCONTACT = Me
	End Sub
	
	Private Sub detach_TBL_SYNCCONTACT_ACL(ByVal entity As TBL_SYNCCONTACT_ACL)
		Me.SendPropertyChanging
		entity.TBL_SYNCCONTACT = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSUBSCRIPTION(ByVal entity As TBL_SYNCSUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_SYNCCONTACT = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSUBSCRIPTION(ByVal entity As TBL_SYNCSUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_SYNCCONTACT = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCCONTACT_ACL")>  _
Partial Public Class TBL_SYNCCONTACT_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONTACTID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_SYNCCONTACT As EntityRef(Of TBL_SYNCCONTACT)
	
    #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 OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_SYNCCONTACT = CType(Nothing, EntityRef(Of TBL_SYNCCONTACT))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_SYNCCONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCCONTACT_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_SYNCCONTACT_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCCONTACT_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCCONTACT_ACL_CONTACTID_FK", Storage:="_TBL_SYNCCONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCCONTACT() As TBL_SYNCCONTACT
		Get
			Return Me._TBL_SYNCCONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCCONTACT = Me._TBL_SYNCCONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCCONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCCONTACT.Entity = Nothing
					previousValue.TBL_SYNCCONTACT_ACL.Remove(Me)
				End If
				Me._TBL_SYNCCONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCCONTACT_ACL.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCCONTACT")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCDB")>  _
Partial Public Class TBL_SYNCDB
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBGUID As System.Guid
	
	Private _SERVERNAME As String
	
	Private _DATABASENAME As String
	
	Private _DATABASEID As System.Guid
	
	Private _SYNC_SERVER_MACHINE_NAME As String
	
	Private _SYNC_SERVER_PORT As System.Nullable(Of Integer)
	
	Private _WEB_SERVER_ADDRESS As String
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _PUB_SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _STATUSNUM As Byte
	
	Private _ISEXPIRED As Boolean
	
	Private _EXPIREACTION As Byte
	
	Private _CONFLICTRULE1 As Byte
	
	Private _CONFLICTRULE2 As Byte
	
	Private _EXPIREDAYS As Short
	
	Private _ISSUPPFILESYNC As Boolean
	
	Private _ISATTACHSYNC As Boolean
	
	Private _ISINCLUDEATTACH As Boolean
	
	Private _MAXATTACHBYTES As Integer
	
	Private _DEVICE_SERIALNUM As String
	
	Private _TYPENUM As Byte
	
	Private _ORIG_CREATEDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CTL_ABL_CONNECTOR_ENTITY As EntitySet(Of CTL_ABL_CONNECTOR_ENTITY)
	
	Private _TBL_SYNCSET As EntityRef(Of TBL_SYNCSET)
	
	Private _TBL_SYNCDBTYPE As EntityRef(Of TBL_SYNCDBTYPE)
	
	Private _TBL_SYNCEXTENDEDDATA As EntitySet(Of TBL_SYNCEXTENDEDDATA)
	
    #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 OnSYNCDBGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanged()
    End Sub
    Partial Private Sub OnSERVERNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnSERVERNAMEChanged()
    End Sub
    Partial Private Sub OnDATABASENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDATABASENAMEChanged()
    End Sub
    Partial Private Sub OnDATABASEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnDATABASEIDChanged()
    End Sub
    Partial Private Sub OnSYNC_SERVER_MACHINE_NAMEChanging(value As String)
    End Sub
    Partial Private Sub OnSYNC_SERVER_MACHINE_NAMEChanged()
    End Sub
    Partial Private Sub OnSYNC_SERVER_PORTChanging(value As System.Nullable(Of Integer))
    End Sub
    Partial Private Sub OnSYNC_SERVER_PORTChanged()
    End Sub
    Partial Private Sub OnWEB_SERVER_ADDRESSChanging(value As String)
    End Sub
    Partial Private Sub OnWEB_SERVER_ADDRESSChanged()
    End Sub
    Partial Private Sub OnSYNCSETIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnSYNCSETIDChanged()
    End Sub
    Partial Private Sub OnPUB_SYNCDBGUIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnPUB_SYNCDBGUIDChanged()
    End Sub
    Partial Private Sub OnSTATUSNUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSNUMChanged()
    End Sub
    Partial Private Sub OnISEXPIREDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISEXPIREDChanged()
    End Sub
    Partial Private Sub OnEXPIREACTIONChanging(value As Byte)
    End Sub
    Partial Private Sub OnEXPIREACTIONChanged()
    End Sub
    Partial Private Sub OnCONFLICTRULE1Changing(value As Byte)
    End Sub
    Partial Private Sub OnCONFLICTRULE1Changed()
    End Sub
    Partial Private Sub OnCONFLICTRULE2Changing(value As Byte)
    End Sub
    Partial Private Sub OnCONFLICTRULE2Changed()
    End Sub
    Partial Private Sub OnEXPIREDAYSChanging(value As Short)
    End Sub
    Partial Private Sub OnEXPIREDAYSChanged()
    End Sub
    Partial Private Sub OnISSUPPFILESYNCChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSUPPFILESYNCChanged()
    End Sub
    Partial Private Sub OnISATTACHSYNCChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISATTACHSYNCChanged()
    End Sub
    Partial Private Sub OnISINCLUDEATTACHChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISINCLUDEATTACHChanged()
    End Sub
    Partial Private Sub OnMAXATTACHBYTESChanging(value As Integer)
    End Sub
    Partial Private Sub OnMAXATTACHBYTESChanged()
    End Sub
    Partial Private Sub OnDEVICE_SERIALNUMChanging(value As String)
    End Sub
    Partial Private Sub OnDEVICE_SERIALNUMChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnORIG_CREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnORIG_CREATEDATEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ENTITY = New EntitySet(Of CTL_ABL_CONNECTOR_ENTITY)(AddressOf Me.attach_CTL_ABL_CONNECTOR_ENTITY, AddressOf Me.detach_CTL_ABL_CONNECTOR_ENTITY)
		Me._TBL_SYNCSET = CType(Nothing, EntityRef(Of TBL_SYNCSET))
		Me._TBL_SYNCDBTYPE = CType(Nothing, EntityRef(Of TBL_SYNCDBTYPE))
		Me._TBL_SYNCEXTENDEDDATA = New EntitySet(Of TBL_SYNCEXTENDEDDATA)(AddressOf Me.attach_TBL_SYNCEXTENDEDDATA, AddressOf Me.detach_TBL_SYNCEXTENDEDDATA)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBGUID() As System.Guid
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If ((Me._SYNCDBGUID = value)  _
						= false) Then
				Me.OnSYNCDBGUIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBGUID = value
				Me.SendPropertyChanged("SYNCDBGUID")
				Me.OnSYNCDBGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERVERNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SERVERNAME() As String
		Get
			Return Me._SERVERNAME
		End Get
		Set
			If (String.Equals(Me._SERVERNAME, value) = false) Then
				Me.OnSERVERNAMEChanging(value)
				Me.SendPropertyChanging
				Me._SERVERNAME = value
				Me.SendPropertyChanged("SERVERNAME")
				Me.OnSERVERNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASENAME", DbType:="NVarChar(196) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASENAME() As String
		Get
			Return Me._DATABASENAME
		End Get
		Set
			If (String.Equals(Me._DATABASENAME, value) = false) Then
				Me.OnDATABASENAMEChanging(value)
				Me.SendPropertyChanging
				Me._DATABASENAME = value
				Me.SendPropertyChanged("DATABASENAME")
				Me.OnDATABASENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property DATABASEID() As System.Guid
		Get
			Return Me._DATABASEID
		End Get
		Set
			If ((Me._DATABASEID = value)  _
						= false) Then
				Me.OnDATABASEIDChanging(value)
				Me.SendPropertyChanging
				Me._DATABASEID = value
				Me.SendPropertyChanged("DATABASEID")
				Me.OnDATABASEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_MACHINE_NAME", DbType:="NVarChar(64)")>  _
	Public Property SYNC_SERVER_MACHINE_NAME() As String
		Get
			Return Me._SYNC_SERVER_MACHINE_NAME
		End Get
		Set
			If (String.Equals(Me._SYNC_SERVER_MACHINE_NAME, value) = false) Then
				Me.OnSYNC_SERVER_MACHINE_NAMEChanging(value)
				Me.SendPropertyChanging
				Me._SYNC_SERVER_MACHINE_NAME = value
				Me.SendPropertyChanged("SYNC_SERVER_MACHINE_NAME")
				Me.OnSYNC_SERVER_MACHINE_NAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_PORT", DbType:="Int")>  _
	Public Property SYNC_SERVER_PORT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNC_SERVER_PORT
		End Get
		Set
			If (Me._SYNC_SERVER_PORT.Equals(value) = false) Then
				Me.OnSYNC_SERVER_PORTChanging(value)
				Me.SendPropertyChanging
				Me._SYNC_SERVER_PORT = value
				Me.SendPropertyChanged("SYNC_SERVER_PORT")
				Me.OnSYNC_SERVER_PORTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SERVER_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property WEB_SERVER_ADDRESS() As String
		Get
			Return Me._WEB_SERVER_ADDRESS
		End Get
		Set
			If (String.Equals(Me._WEB_SERVER_ADDRESS, value) = false) Then
				Me.OnWEB_SERVER_ADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._WEB_SERVER_ADDRESS = value
				Me.SendPropertyChanged("WEB_SERVER_ADDRESS")
				Me.OnWEB_SERVER_ADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				If Me._TBL_SYNCSET.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCSETIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCSETID = value
				Me.SendPropertyChanged("SYNCSETID")
				Me.OnSYNCSETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUB_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property PUB_SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PUB_SYNCDBGUID
		End Get
		Set
			If (Me._PUB_SYNCDBGUID.Equals(value) = false) Then
				Me.OnPUB_SYNCDBGUIDChanging(value)
				Me.SendPropertyChanging
				Me._PUB_SYNCDBGUID = value
				Me.SendPropertyChanged("PUB_SYNCDBGUID")
				Me.OnPUB_SYNCDBGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me.OnSTATUSNUMChanging(value)
				Me.SendPropertyChanging
				Me._STATUSNUM = value
				Me.SendPropertyChanged("STATUSNUM")
				Me.OnSTATUSNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISEXPIRED", DbType:="Bit NOT NULL")>  _
	Public Property ISEXPIRED() As Boolean
		Get
			Return Me._ISEXPIRED
		End Get
		Set
			If ((Me._ISEXPIRED = value)  _
						= false) Then
				Me.OnISEXPIREDChanging(value)
				Me.SendPropertyChanging
				Me._ISEXPIRED = value
				Me.SendPropertyChanged("ISEXPIRED")
				Me.OnISEXPIREDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREACTION", DbType:="TinyInt NOT NULL")>  _
	Public Property EXPIREACTION() As Byte
		Get
			Return Me._EXPIREACTION
		End Get
		Set
			If ((Me._EXPIREACTION = value)  _
						= false) Then
				Me.OnEXPIREACTIONChanging(value)
				Me.SendPropertyChanging
				Me._EXPIREACTION = value
				Me.SendPropertyChanged("EXPIREACTION")
				Me.OnEXPIREACTIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFLICTRULE1", DbType:="TinyInt NOT NULL")>  _
	Public Property CONFLICTRULE1() As Byte
		Get
			Return Me._CONFLICTRULE1
		End Get
		Set
			If ((Me._CONFLICTRULE1 = value)  _
						= false) Then
				Me.OnCONFLICTRULE1Changing(value)
				Me.SendPropertyChanging
				Me._CONFLICTRULE1 = value
				Me.SendPropertyChanged("CONFLICTRULE1")
				Me.OnCONFLICTRULE1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFLICTRULE2", DbType:="TinyInt NOT NULL")>  _
	Public Property CONFLICTRULE2() As Byte
		Get
			Return Me._CONFLICTRULE2
		End Get
		Set
			If ((Me._CONFLICTRULE2 = value)  _
						= false) Then
				Me.OnCONFLICTRULE2Changing(value)
				Me.SendPropertyChanging
				Me._CONFLICTRULE2 = value
				Me.SendPropertyChanged("CONFLICTRULE2")
				Me.OnCONFLICTRULE2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREDAYS", DbType:="SmallInt NOT NULL")>  _
	Public Property EXPIREDAYS() As Short
		Get
			Return Me._EXPIREDAYS
		End Get
		Set
			If ((Me._EXPIREDAYS = value)  _
						= false) Then
				Me.OnEXPIREDAYSChanging(value)
				Me.SendPropertyChanging
				Me._EXPIREDAYS = value
				Me.SendPropertyChanged("EXPIREDAYS")
				Me.OnEXPIREDAYSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSUPPFILESYNC", DbType:="Bit NOT NULL")>  _
	Public Property ISSUPPFILESYNC() As Boolean
		Get
			Return Me._ISSUPPFILESYNC
		End Get
		Set
			If ((Me._ISSUPPFILESYNC = value)  _
						= false) Then
				Me.OnISSUPPFILESYNCChanging(value)
				Me.SendPropertyChanging
				Me._ISSUPPFILESYNC = value
				Me.SendPropertyChanged("ISSUPPFILESYNC")
				Me.OnISSUPPFILESYNCChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISATTACHSYNC", DbType:="Bit NOT NULL")>  _
	Public Property ISATTACHSYNC() As Boolean
		Get
			Return Me._ISATTACHSYNC
		End Get
		Set
			If ((Me._ISATTACHSYNC = value)  _
						= false) Then
				Me.OnISATTACHSYNCChanging(value)
				Me.SendPropertyChanging
				Me._ISATTACHSYNC = value
				Me.SendPropertyChanged("ISATTACHSYNC")
				Me.OnISATTACHSYNCChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISINCLUDEATTACH", DbType:="Bit NOT NULL")>  _
	Public Property ISINCLUDEATTACH() As Boolean
		Get
			Return Me._ISINCLUDEATTACH
		End Get
		Set
			If ((Me._ISINCLUDEATTACH = value)  _
						= false) Then
				Me.OnISINCLUDEATTACHChanging(value)
				Me.SendPropertyChanging
				Me._ISINCLUDEATTACH = value
				Me.SendPropertyChanged("ISINCLUDEATTACH")
				Me.OnISINCLUDEATTACHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MAXATTACHBYTES", DbType:="Int NOT NULL")>  _
	Public Property MAXATTACHBYTES() As Integer
		Get
			Return Me._MAXATTACHBYTES
		End Get
		Set
			If ((Me._MAXATTACHBYTES = value)  _
						= false) Then
				Me.OnMAXATTACHBYTESChanging(value)
				Me.SendPropertyChanging
				Me._MAXATTACHBYTES = value
				Me.SendPropertyChanged("MAXATTACHBYTES")
				Me.OnMAXATTACHBYTESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEVICE_SERIALNUM", DbType:="NVarChar(64)")>  _
	Public Property DEVICE_SERIALNUM() As String
		Get
			Return Me._DEVICE_SERIALNUM
		End Get
		Set
			If (String.Equals(Me._DEVICE_SERIALNUM, value) = false) Then
				Me.OnDEVICE_SERIALNUMChanging(value)
				Me.SendPropertyChanging
				Me._DEVICE_SERIALNUM = value
				Me.SendPropertyChanged("DEVICE_SERIALNUM")
				Me.OnDEVICE_SERIALNUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				If Me._TBL_SYNCDBTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIG_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ORIG_CREATEDATE() As Date
		Get
			Return Me._ORIG_CREATEDATE
		End Get
		Set
			If ((Me._ORIG_CREATEDATE = value)  _
						= false) Then
				Me.OnORIG_CREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._ORIG_CREATEDATE = value
				Me.SendPropertyChanged("ORIG_CREATEDATE")
				Me.OnORIG_CREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITY_SYNCDBGUID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITY", ThisKey:="SYNCDBGUID", OtherKey:="SYNCDBGUID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_CONNECTOR_ENTITY() As EntitySet(Of CTL_ABL_CONNECTOR_ENTITY)
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITY
		End Get
		Set
			Me._CTL_ABL_CONNECTOR_ENTITY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDB_SYNCSETID_FK", Storage:="_TBL_SYNCSET", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", IsForeignKey:=true)>  _
	Public Property TBL_SYNCSET() As TBL_SYNCSET
		Get
			Return Me._TBL_SYNCSET.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCSET = Me._TBL_SYNCSET.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCSET.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCSET.Entity = Nothing
					previousValue.TBL_SYNCDB.Remove(Me)
				End If
				Me._TBL_SYNCSET.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCDB.Add(Me)
					Me._SYNCSETID = value.SYNCSETID
				Else
					Me._SYNCSETID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYNCSET")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDB_TYPENUM_FK", Storage:="_TBL_SYNCDBTYPE", ThisKey:="TYPENUM", OtherKey:="TYPENUM", IsForeignKey:=true)>  _
	Public Property TBL_SYNCDBTYPE() As TBL_SYNCDBTYPE
		Get
			Return Me._TBL_SYNCDBTYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCDBTYPE = Me._TBL_SYNCDBTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCDBTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCDBTYPE.Entity = Nothing
					previousValue.TBL_SYNCDB.Remove(Me)
				End If
				Me._TBL_SYNCDBTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCDB.Add(Me)
					Me._TYPENUM = value.TYPENUM
				Else
					Me._TYPENUM = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYNCDBTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCEXTENDEDDATA_SYNCDBGUID_FK", Storage:="_TBL_SYNCEXTENDEDDATA", ThisKey:="SYNCDBGUID", OtherKey:="SYNCDBGUID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCEXTENDEDDATA() As EntitySet(Of TBL_SYNCEXTENDEDDATA)
		Get
			Return Me._TBL_SYNCEXTENDEDDATA
		End Get
		Set
			Me._TBL_SYNCEXTENDEDDATA.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_CONNECTOR_ENTITY(ByVal entity As CTL_ABL_CONNECTOR_ENTITY)
		Me.SendPropertyChanging
		entity.TBL_SYNCDB = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR_ENTITY(ByVal entity As CTL_ABL_CONNECTOR_ENTITY)
		Me.SendPropertyChanging
		entity.TBL_SYNCDB = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCEXTENDEDDATA(ByVal entity As TBL_SYNCEXTENDEDDATA)
		Me.SendPropertyChanging
		entity.TBL_SYNCDB = Me
	End Sub
	
	Private Sub detach_TBL_SYNCEXTENDEDDATA(ByVal entity As TBL_SYNCEXTENDEDDATA)
		Me.SendPropertyChanging
		entity.TBL_SYNCDB = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCDBTYPE")>  _
Partial Public Class TBL_SYNCDBTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCDBTYPEID As System.Guid
	
	Private _TYPENUM As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _CTL_SYNC_DEVICETABLE As EntitySet(Of CTL_SYNC_DEVICETABLE)
	
	Private _TBL_SYNCDB As EntitySet(Of TBL_SYNCDB)
	
    #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 OnSYNCDBTYPEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCDBTYPEIDChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_SYNC_DEVICETABLE = New EntitySet(Of CTL_SYNC_DEVICETABLE)(AddressOf Me.attach_CTL_SYNC_DEVICETABLE, AddressOf Me.detach_CTL_SYNC_DEVICETABLE)
		Me._TBL_SYNCDB = New EntitySet(Of TBL_SYNCDB)(AddressOf Me.attach_TBL_SYNCDB, AddressOf Me.detach_TBL_SYNCDB)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBTYPEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCDBTYPEID() As System.Guid
		Get
			Return Me._SYNCDBTYPEID
		End Get
		Set
			If ((Me._SYNCDBTYPEID = value)  _
						= false) Then
				Me.OnSYNCDBTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBTYPEID = value
				Me.SendPropertyChanged("SYNCDBTYPEID")
				Me.OnSYNCDBTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNC_DEVICETABLE_SYNCDB_TYPENUM_FK", Storage:="_CTL_SYNC_DEVICETABLE", ThisKey:="TYPENUM", OtherKey:="SYNCDB_TYPENUM", DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNC_DEVICETABLE() As EntitySet(Of CTL_SYNC_DEVICETABLE)
		Get
			Return Me._CTL_SYNC_DEVICETABLE
		End Get
		Set
			Me._CTL_SYNC_DEVICETABLE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDB_TYPENUM_FK", Storage:="_TBL_SYNCDB", ThisKey:="TYPENUM", OtherKey:="TYPENUM", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYNCDB() As EntitySet(Of TBL_SYNCDB)
		Get
			Return Me._TBL_SYNCDB
		End Get
		Set
			Me._TBL_SYNCDB.Assign(value)
		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
	
	Private Sub attach_CTL_SYNC_DEVICETABLE(ByVal entity As CTL_SYNC_DEVICETABLE)
		Me.SendPropertyChanging
		entity.TBL_SYNCDBTYPE = Me
	End Sub
	
	Private Sub detach_CTL_SYNC_DEVICETABLE(ByVal entity As CTL_SYNC_DEVICETABLE)
		Me.SendPropertyChanging
		entity.TBL_SYNCDBTYPE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCDB(ByVal entity As TBL_SYNCDB)
		Me.SendPropertyChanging
		entity.TBL_SYNCDBTYPE = Me
	End Sub
	
	Private Sub detach_TBL_SYNCDB(ByVal entity As TBL_SYNCDB)
		Me.SendPropertyChanging
		entity.TBL_SYNCDBTYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCEXTENDEDDATA")>  _
Partial Public Class TBL_SYNCEXTENDEDDATA
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCEXTENDEDDATAID As System.Guid
	
	Private _SYNCDBGUID As System.Guid
	
	Private _EXTENDEDTYPENUM As Byte
	
	Private _NUMTYPE As Byte
	
	Private _NUMVALUE As Short
	
	Private _TBL_SYNCDB As EntityRef(Of TBL_SYNCDB)
	
	Private _TBL_SYNCEXTENDEDDATA_TYPE As EntitySet(Of TBL_SYNCEXTENDEDDATA_TYPE)
	
    #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 OnSYNCEXTENDEDDATAIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCEXTENDEDDATAIDChanged()
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCDBGUIDChanged()
    End Sub
    Partial Private Sub OnEXTENDEDTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnEXTENDEDTYPENUMChanged()
    End Sub
    Partial Private Sub OnNUMTYPEChanging(value As Byte)
    End Sub
    Partial Private Sub OnNUMTYPEChanged()
    End Sub
    Partial Private Sub OnNUMVALUEChanging(value As Short)
    End Sub
    Partial Private Sub OnNUMVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCDB = CType(Nothing, EntityRef(Of TBL_SYNCDB))
		Me._TBL_SYNCEXTENDEDDATA_TYPE = New EntitySet(Of TBL_SYNCEXTENDEDDATA_TYPE)(AddressOf Me.attach_TBL_SYNCEXTENDEDDATA_TYPE, AddressOf Me.detach_TBL_SYNCEXTENDEDDATA_TYPE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCEXTENDEDDATAID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCEXTENDEDDATAID() As System.Guid
		Get
			Return Me._SYNCEXTENDEDDATAID
		End Get
		Set
			If ((Me._SYNCEXTENDEDDATAID = value)  _
						= false) Then
				Me.OnSYNCEXTENDEDDATAIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCEXTENDEDDATAID = value
				Me.SendPropertyChanged("SYNCEXTENDEDDATAID")
				Me.OnSYNCEXTENDEDDATAIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBGUID() As System.Guid
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If ((Me._SYNCDBGUID = value)  _
						= false) Then
				If Me._TBL_SYNCDB.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCDBGUIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCDBGUID = value
				Me.SendPropertyChanged("SYNCDBGUID")
				Me.OnSYNCDBGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENDEDTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property EXTENDEDTYPENUM() As Byte
		Get
			Return Me._EXTENDEDTYPENUM
		End Get
		Set
			If ((Me._EXTENDEDTYPENUM = value)  _
						= false) Then
				Me.OnEXTENDEDTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._EXTENDEDTYPENUM = value
				Me.SendPropertyChanged("EXTENDEDTYPENUM")
				Me.OnEXTENDEDTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMTYPE", DbType:="TinyInt NOT NULL")>  _
	Public Property NUMTYPE() As Byte
		Get
			Return Me._NUMTYPE
		End Get
		Set
			If ((Me._NUMTYPE = value)  _
						= false) Then
				Me.OnNUMTYPEChanging(value)
				Me.SendPropertyChanging
				Me._NUMTYPE = value
				Me.SendPropertyChanged("NUMTYPE")
				Me.OnNUMTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMVALUE", DbType:="SmallInt NOT NULL")>  _
	Public Property NUMVALUE() As Short
		Get
			Return Me._NUMVALUE
		End Get
		Set
			If ((Me._NUMVALUE = value)  _
						= false) Then
				Me.OnNUMVALUEChanging(value)
				Me.SendPropertyChanging
				Me._NUMVALUE = value
				Me.SendPropertyChanged("NUMVALUE")
				Me.OnNUMVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCEXTENDEDDATA_SYNCDBGUID_FK", Storage:="_TBL_SYNCDB", ThisKey:="SYNCDBGUID", OtherKey:="SYNCDBGUID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCDB() As TBL_SYNCDB
		Get
			Return Me._TBL_SYNCDB.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCDB = Me._TBL_SYNCDB.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCDB.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCDB.Entity = Nothing
					previousValue.TBL_SYNCEXTENDEDDATA.Remove(Me)
				End If
				Me._TBL_SYNCDB.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCEXTENDEDDATA.Add(Me)
					Me._SYNCDBGUID = value.SYNCDBGUID
				Else
					Me._SYNCDBGUID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCDB")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCEXTENDEDDATA_TYPE_SYNCEXTENDEDDATAID_FK", Storage:="_TBL_SYNCEXTENDEDDATA_TYPE", ThisKey:="SYNCEXTENDEDDATAID", OtherKey:="SYNCEXTENDEDDATAID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCEXTENDEDDATA_TYPE() As EntitySet(Of TBL_SYNCEXTENDEDDATA_TYPE)
		Get
			Return Me._TBL_SYNCEXTENDEDDATA_TYPE
		End Get
		Set
			Me._TBL_SYNCEXTENDEDDATA_TYPE.Assign(value)
		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
	
	Private Sub attach_TBL_SYNCEXTENDEDDATA_TYPE(ByVal entity As TBL_SYNCEXTENDEDDATA_TYPE)
		Me.SendPropertyChanging
		entity.TBL_SYNCEXTENDEDDATA = Me
	End Sub
	
	Private Sub detach_TBL_SYNCEXTENDEDDATA_TYPE(ByVal entity As TBL_SYNCEXTENDEDDATA_TYPE)
		Me.SendPropertyChanging
		entity.TBL_SYNCEXTENDEDDATA = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCEXTENDEDDATA_TYPE")>  _
Partial Public Class TBL_SYNCEXTENDEDDATA_TYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCEXTENDEDDATA_TYPEID As System.Guid
	
	Private _SYNCEXTENDEDDATAID As System.Guid
	
	Private _TYPEID As Short
	
	Private _TBL_SYNCEXTENDEDDATA As EntityRef(Of TBL_SYNCEXTENDEDDATA)
	
    #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 OnSYNCEXTENDEDDATA_TYPEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCEXTENDEDDATA_TYPEIDChanged()
    End Sub
    Partial Private Sub OnSYNCEXTENDEDDATAIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCEXTENDEDDATAIDChanged()
    End Sub
    Partial Private Sub OnTYPEIDChanging(value As Short)
    End Sub
    Partial Private Sub OnTYPEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCEXTENDEDDATA = CType(Nothing, EntityRef(Of TBL_SYNCEXTENDEDDATA))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCEXTENDEDDATA_TYPEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCEXTENDEDDATA_TYPEID() As System.Guid
		Get
			Return Me._SYNCEXTENDEDDATA_TYPEID
		End Get
		Set
			If ((Me._SYNCEXTENDEDDATA_TYPEID = value)  _
						= false) Then
				Me.OnSYNCEXTENDEDDATA_TYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCEXTENDEDDATA_TYPEID = value
				Me.SendPropertyChanged("SYNCEXTENDEDDATA_TYPEID")
				Me.OnSYNCEXTENDEDDATA_TYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCEXTENDEDDATAID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCEXTENDEDDATAID() As System.Guid
		Get
			Return Me._SYNCEXTENDEDDATAID
		End Get
		Set
			If ((Me._SYNCEXTENDEDDATAID = value)  _
						= false) Then
				If Me._TBL_SYNCEXTENDEDDATA.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCEXTENDEDDATAIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCEXTENDEDDATAID = value
				Me.SendPropertyChanged("SYNCEXTENDEDDATAID")
				Me.OnSYNCEXTENDEDDATAIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property TYPEID() As Short
		Get
			Return Me._TYPEID
		End Get
		Set
			If ((Me._TYPEID = value)  _
						= false) Then
				Me.OnTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._TYPEID = value
				Me.SendPropertyChanged("TYPEID")
				Me.OnTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCEXTENDEDDATA_TYPE_SYNCEXTENDEDDATAID_FK", Storage:="_TBL_SYNCEXTENDEDDATA", ThisKey:="SYNCEXTENDEDDATAID", OtherKey:="SYNCEXTENDEDDATAID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCEXTENDEDDATA() As TBL_SYNCEXTENDEDDATA
		Get
			Return Me._TBL_SYNCEXTENDEDDATA.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCEXTENDEDDATA = Me._TBL_SYNCEXTENDEDDATA.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCEXTENDEDDATA.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCEXTENDEDDATA.Entity = Nothing
					previousValue.TBL_SYNCEXTENDEDDATA_TYPE.Remove(Me)
				End If
				Me._TBL_SYNCEXTENDEDDATA.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCEXTENDEDDATA_TYPE.Add(Me)
					Me._SYNCEXTENDEDDATAID = value.SYNCEXTENDEDDATAID
				Else
					Me._SYNCEXTENDEDDATAID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCEXTENDEDDATA")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCSET")>  _
Partial Public Class TBL_SYNCSET
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCSETID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISALLUSERSYNC As Boolean
	
	Private _CONTACTQUERYTEXT As String
	
	Private _QUERYVERSIONID As System.Guid
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _TYPENUM As Byte
	
	Private _TBL_SYNCDB As EntitySet(Of TBL_SYNCDB)
	
	Private _TBL_SYNCSET_ACCESSOR As EntitySet(Of TBL_SYNCSET_ACCESSOR)
	
	Private _CTL_SYNCSETTYPE As EntityRef(Of CTL_SYNCSETTYPE)
	
	Private _TBL_SYNCSETQUERY As EntitySet(Of TBL_SYNCSETQUERY)
	
	Private _TBL_SYNCSUBSCRIPTION As EntitySet(Of TBL_SYNCSUBSCRIPTION)
	
    #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 OnSYNCSETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCSETIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISALLUSERSYNCChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALLUSERSYNCChanged()
    End Sub
    Partial Private Sub OnCONTACTQUERYTEXTChanging(value As String)
    End Sub
    Partial Private Sub OnCONTACTQUERYTEXTChanged()
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCDB = New EntitySet(Of TBL_SYNCDB)(AddressOf Me.attach_TBL_SYNCDB, AddressOf Me.detach_TBL_SYNCDB)
		Me._TBL_SYNCSET_ACCESSOR = New EntitySet(Of TBL_SYNCSET_ACCESSOR)(AddressOf Me.attach_TBL_SYNCSET_ACCESSOR, AddressOf Me.detach_TBL_SYNCSET_ACCESSOR)
		Me._CTL_SYNCSETTYPE = CType(Nothing, EntityRef(Of CTL_SYNCSETTYPE))
		Me._TBL_SYNCSETQUERY = New EntitySet(Of TBL_SYNCSETQUERY)(AddressOf Me.attach_TBL_SYNCSETQUERY, AddressOf Me.detach_TBL_SYNCSETQUERY)
		Me._TBL_SYNCSUBSCRIPTION = New EntitySet(Of TBL_SYNCSUBSCRIPTION)(AddressOf Me.attach_TBL_SYNCSUBSCRIPTION, AddressOf Me.detach_TBL_SYNCSUBSCRIPTION)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				Me.OnSYNCSETIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCSETID = value
				Me.SendPropertyChanged("SYNCSETID")
				Me.OnSYNCSETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(312) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALLUSERSYNC", DbType:="Bit NOT NULL")>  _
	Public Property ISALLUSERSYNC() As Boolean
		Get
			Return Me._ISALLUSERSYNC
		End Get
		Set
			If ((Me._ISALLUSERSYNC = value)  _
						= false) Then
				Me.OnISALLUSERSYNCChanging(value)
				Me.SendPropertyChanging
				Me._ISALLUSERSYNC = value
				Me.SendPropertyChanged("ISALLUSERSYNC")
				Me.OnISALLUSERSYNCChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTQUERYTEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTQUERYTEXT() As String
		Get
			Return Me._CONTACTQUERYTEXT
		End Get
		Set
			If (String.Equals(Me._CONTACTQUERYTEXT, value) = false) Then
				Me.OnCONTACTQUERYTEXTChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTQUERYTEXT = value
				Me.SendPropertyChanged("CONTACTQUERYTEXT")
				Me.OnCONTACTQUERYTEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property QUERYVERSIONID() As System.Guid
		Get
			Return Me._QUERYVERSIONID
		End Get
		Set
			If ((Me._QUERYVERSIONID = value)  _
						= false) Then
				Me.OnQUERYVERSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVERSIONID = value
				Me.SendPropertyChanged("QUERYVERSIONID")
				Me.OnQUERYVERSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				If Me._CTL_SYNCSETTYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCDB_SYNCSETID_FK", Storage:="_TBL_SYNCDB", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYNCDB() As EntitySet(Of TBL_SYNCDB)
		Get
			Return Me._TBL_SYNCDB
		End Get
		Set
			Me._TBL_SYNCDB.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSET_ACCESSOR_SYNCSETID_FK", Storage:="_TBL_SYNCSET_ACCESSOR", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCSET_ACCESSOR() As EntitySet(Of TBL_SYNCSET_ACCESSOR)
		Get
			Return Me._TBL_SYNCSET_ACCESSOR
		End Get
		Set
			Me._TBL_SYNCSET_ACCESSOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSET_TYPENUM_FK", Storage:="_CTL_SYNCSETTYPE", ThisKey:="TYPENUM", OtherKey:="TYPENUM", IsForeignKey:=true)>  _
	Public Property CTL_SYNCSETTYPE() As CTL_SYNCSETTYPE
		Get
			Return Me._CTL_SYNCSETTYPE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCSETTYPE = Me._CTL_SYNCSETTYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCSETTYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCSETTYPE.Entity = Nothing
					previousValue.TBL_SYNCSET.Remove(Me)
				End If
				Me._CTL_SYNCSETTYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSET.Add(Me)
					Me._TYPENUM = value.TYPENUM
				Else
					Me._TYPENUM = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("CTL_SYNCSETTYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_SYNCSETID_FK", Storage:="_TBL_SYNCSETQUERY", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCSETQUERY() As EntitySet(Of TBL_SYNCSETQUERY)
		Get
			Return Me._TBL_SYNCSETQUERY
		End Get
		Set
			Me._TBL_SYNCSETQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSUBSCRIPTION_SYNCSETID_FK", Storage:="_TBL_SYNCSUBSCRIPTION", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYNCSUBSCRIPTION() As EntitySet(Of TBL_SYNCSUBSCRIPTION)
		Get
			Return Me._TBL_SYNCSUBSCRIPTION
		End Get
		Set
			Me._TBL_SYNCSUBSCRIPTION.Assign(value)
		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
	
	Private Sub attach_TBL_SYNCDB(ByVal entity As TBL_SYNCDB)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Me
	End Sub
	
	Private Sub detach_TBL_SYNCDB(ByVal entity As TBL_SYNCDB)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSET_ACCESSOR(ByVal entity As TBL_SYNCSET_ACCESSOR)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSET_ACCESSOR(ByVal entity As TBL_SYNCSET_ACCESSOR)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSUBSCRIPTION(ByVal entity As TBL_SYNCSUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSUBSCRIPTION(ByVal entity As TBL_SYNCSUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_SYNCSET = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCSET_ACCESSOR")>  _
Partial Public Class TBL_SYNCSET_ACCESSOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCSETID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_SYNCSET As EntityRef(Of TBL_SYNCSET)
	
    #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 OnSYNCSETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCSETIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_SYNCSET = CType(Nothing, EntityRef(Of TBL_SYNCSET))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				If Me._TBL_SYNCSET.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCSETIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCSETID = value
				Me.SendPropertyChanged("SYNCSETID")
				Me.OnSYNCSETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSET_ACCESSOR_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_SYNCSET_ACCESSOR.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSET_ACCESSOR.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSET_ACCESSOR_SYNCSETID_FK", Storage:="_TBL_SYNCSET", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCSET() As TBL_SYNCSET
		Get
			Return Me._TBL_SYNCSET.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCSET = Me._TBL_SYNCSET.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCSET.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCSET.Entity = Nothing
					previousValue.TBL_SYNCSET_ACCESSOR.Remove(Me)
				End If
				Me._TBL_SYNCSET.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSET_ACCESSOR.Add(Me)
					Me._SYNCSETID = value.SYNCSETID
				Else
					Me._SYNCSETID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCSET")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCSETQUERY")>  _
Partial Public Class TBL_SYNCSETQUERY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCSETQUERYID As System.Guid
	
	Private _SYNCSETID As System.Guid
	
	Private _QUERYVERSIONID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _LEFTPAREN As Byte
	
	Private _RIGHTPAREN As Byte
	
	Private _LOGICALOPERATOR As Byte
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _OPERATORID As System.Nullable(Of Byte)
	
	Private _VALUEID1 As System.Nullable(Of Byte)
	
	Private _VALUEID2 As System.Nullable(Of Byte)
	
	Private _VALUESTRING1 As String
	
	Private _VALUESTRING2 As String
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_SYSOPERATOR As EntityRef(Of TBL_SYSOPERATOR)
	
	Private _TBL_SYNCSET As EntityRef(Of TBL_SYNCSET)
	
	Private _TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
	Private _VALUEID2TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
    #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 OnSYNCSETQUERYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCSETQUERYIDChanged()
    End Sub
    Partial Private Sub OnSYNCSETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCSETIDChanged()
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnQUERYVERSIONIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnLEFTPARENChanging(value As Byte)
    End Sub
    Partial Private Sub OnLEFTPARENChanged()
    End Sub
    Partial Private Sub OnRIGHTPARENChanging(value As Byte)
    End Sub
    Partial Private Sub OnRIGHTPARENChanged()
    End Sub
    Partial Private Sub OnLOGICALOPERATORChanging(value As Byte)
    End Sub
    Partial Private Sub OnLOGICALOPERATORChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnOPERATORIDChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnOPERATORIDChanged()
    End Sub
    Partial Private Sub OnVALUEID1Changing(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnVALUEID1Changed()
    End Sub
    Partial Private Sub OnVALUEID2Changing(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnVALUEID2Changed()
    End Sub
    Partial Private Sub OnVALUESTRING1Changing(value As String)
    End Sub
    Partial Private Sub OnVALUESTRING1Changed()
    End Sub
    Partial Private Sub OnVALUESTRING2Changing(value As String)
    End Sub
    Partial Private Sub OnVALUESTRING2Changed()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_SYSOPERATOR = CType(Nothing, EntityRef(Of TBL_SYSOPERATOR))
		Me._TBL_SYNCSET = CType(Nothing, EntityRef(Of TBL_SYNCSET))
		Me._TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		Me._VALUEID2TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETQUERYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCSETQUERYID() As System.Guid
		Get
			Return Me._SYNCSETQUERYID
		End Get
		Set
			If ((Me._SYNCSETQUERYID = value)  _
						= false) Then
				Me.OnSYNCSETQUERYIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCSETQUERYID = value
				Me.SendPropertyChanged("SYNCSETQUERYID")
				Me.OnSYNCSETQUERYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				If Me._TBL_SYNCSET.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCSETIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCSETID = value
				Me.SendPropertyChanged("SYNCSETID")
				Me.OnSYNCSETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property QUERYVERSIONID() As System.Guid
		Get
			Return Me._QUERYVERSIONID
		End Get
		Set
			If ((Me._QUERYVERSIONID = value)  _
						= false) Then
				Me.OnQUERYVERSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._QUERYVERSIONID = value
				Me.SendPropertyChanged("QUERYVERSIONID")
				Me.OnQUERYVERSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEFTPAREN", DbType:="TinyInt NOT NULL")>  _
	Public Property LEFTPAREN() As Byte
		Get
			Return Me._LEFTPAREN
		End Get
		Set
			If ((Me._LEFTPAREN = value)  _
						= false) Then
				Me.OnLEFTPARENChanging(value)
				Me.SendPropertyChanging
				Me._LEFTPAREN = value
				Me.SendPropertyChanged("LEFTPAREN")
				Me.OnLEFTPARENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RIGHTPAREN", DbType:="TinyInt NOT NULL")>  _
	Public Property RIGHTPAREN() As Byte
		Get
			Return Me._RIGHTPAREN
		End Get
		Set
			If ((Me._RIGHTPAREN = value)  _
						= false) Then
				Me.OnRIGHTPARENChanging(value)
				Me.SendPropertyChanging
				Me._RIGHTPAREN = value
				Me.SendPropertyChanged("RIGHTPAREN")
				Me.OnRIGHTPARENChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGICALOPERATOR", DbType:="TinyInt NOT NULL")>  _
	Public Property LOGICALOPERATOR() As Byte
		Get
			Return Me._LOGICALOPERATOR
		End Get
		Set
			If ((Me._LOGICALOPERATOR = value)  _
						= false) Then
				Me.OnLOGICALOPERATORChanging(value)
				Me.SendPropertyChanging
				Me._LOGICALOPERATOR = value
				Me.SendPropertyChanged("LOGICALOPERATOR")
				Me.OnLOGICALOPERATORChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt")>  _
	Public Property OPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._OPERATORID
		End Get
		Set
			If (Me._OPERATORID.Equals(value) = false) Then
				If Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPERATORIDChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORID = value
				Me.SendPropertyChanged("OPERATORID")
				Me.OnOPERATORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID1", DbType:="TinyInt")>  _
	Public Property VALUEID1() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID1
		End Get
		Set
			If (Me._VALUEID1.Equals(value) = false) Then
				If Me._TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEID1Changing(value)
				Me.SendPropertyChanging
				Me._VALUEID1 = value
				Me.SendPropertyChanged("VALUEID1")
				Me.OnVALUEID1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID2", DbType:="TinyInt")>  _
	Public Property VALUEID2() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID2
		End Get
		Set
			If (Me._VALUEID2.Equals(value) = false) Then
				If Me._VALUEID2TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEID2Changing(value)
				Me.SendPropertyChanging
				Me._VALUEID2 = value
				Me.SendPropertyChanged("VALUEID2")
				Me.OnVALUEID2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUESTRING1", DbType:="NVarChar(500)")>  _
	Public Property VALUESTRING1() As String
		Get
			Return Me._VALUESTRING1
		End Get
		Set
			If (String.Equals(Me._VALUESTRING1, value) = false) Then
				Me.OnVALUESTRING1Changing(value)
				Me.SendPropertyChanging
				Me._VALUESTRING1 = value
				Me.SendPropertyChanged("VALUESTRING1")
				Me.OnVALUESTRING1Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUESTRING2", DbType:="NVarChar(500)")>  _
	Public Property VALUESTRING2() As String
		Get
			Return Me._VALUESTRING2
		End Get
		Set
			If (String.Equals(Me._VALUESTRING2, value) = false) Then
				Me.OnVALUESTRING2Changing(value)
				Me.SendPropertyChanging
				Me._VALUESTRING2 = value
				Me.SendPropertyChanged("VALUESTRING2")
				Me.OnVALUESTRING2Changed
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_SYNCSETQUERY.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSETQUERY.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_OPERATORID_FK", Storage:="_TBL_SYSOPERATOR", ThisKey:="OPERATORID", OtherKey:="OPERATORID", IsForeignKey:=true)>  _
	Public Property TBL_SYSOPERATOR() As TBL_SYSOPERATOR
		Get
			Return Me._TBL_SYSOPERATOR.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSOPERATOR = Me._TBL_SYSOPERATOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSOPERATOR.Entity = Nothing
					previousValue.TBL_SYNCSETQUERY.Remove(Me)
				End If
				Me._TBL_SYSOPERATOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSETQUERY.Add(Me)
					Me._OPERATORID = value.OPERATORID
				Else
					Me._OPERATORID = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("TBL_SYSOPERATOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_SYNCSETID_FK", Storage:="_TBL_SYNCSET", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCSET() As TBL_SYNCSET
		Get
			Return Me._TBL_SYNCSET.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCSET = Me._TBL_SYNCSET.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCSET.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCSET.Entity = Nothing
					previousValue.TBL_SYNCSETQUERY.Remove(Me)
				End If
				Me._TBL_SYNCSET.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSETQUERY.Add(Me)
					Me._SYNCSETID = value.SYNCSETID
				Else
					Me._SYNCSETID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCSET")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_VALUEID1_FK", Storage:="_TBL_SYSVALUE", ThisKey:="VALUEID1", OtherKey:="VALUEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSVALUE.Entity = Nothing
					previousValue.TBL_SYNCSETQUERY.Remove(Me)
				End If
				Me._TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSETQUERY.Add(Me)
					Me._VALUEID1 = value.VALUEID
				Else
					Me._VALUEID1 = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("TBL_SYSVALUE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_VALUEID2_FK", Storage:="_VALUEID2TBL_SYSVALUE", ThisKey:="VALUEID2", OtherKey:="VALUEID", IsForeignKey:=true)>  _
	Public Property VALUEID2TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._VALUEID2TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._VALUEID2TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._VALUEID2TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._VALUEID2TBL_SYSVALUE.Entity = Nothing
					previousValue.SYNCSETQUERY_VALUEID2_FK.Remove(Me)
				End If
				Me._VALUEID2TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.SYNCSETQUERY_VALUEID2_FK.Add(Me)
					Me._VALUEID2 = value.VALUEID
				Else
					Me._VALUEID2 = CType(Nothing, Nullable(Of Byte))
				End If
				Me.SendPropertyChanged("VALUEID2TBL_SYSVALUE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYNCSUBSCRIPTION")>  _
Partial Public Class TBL_SYNCSUBSCRIPTION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _SYNCSETID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _SUBSTATUS As Byte
	
	Private _SUBSOURCE As Byte
	
	Private _SUBDBGUID As System.Nullable(Of System.Guid)
	
	Private _SUBUSERID As System.Nullable(Of System.Guid)
	
	Private _SUBDATE As System.Nullable(Of Date)
	
	Private _TBL_SYNCCONTACT As EntityRef(Of TBL_SYNCCONTACT)
	
	Private _TBL_SYNCSET As EntityRef(Of TBL_SYNCSET)
	
    #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 OnSYNCSETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnSYNCSETIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnSUBSTATUSChanging(value As Byte)
    End Sub
    Partial Private Sub OnSUBSTATUSChanged()
    End Sub
    Partial Private Sub OnSUBSOURCEChanging(value As Byte)
    End Sub
    Partial Private Sub OnSUBSOURCEChanged()
    End Sub
    Partial Private Sub OnSUBDBGUIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnSUBDBGUIDChanged()
    End Sub
    Partial Private Sub OnSUBUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnSUBUSERIDChanged()
    End Sub
    Partial Private Sub OnSUBDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnSUBDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYNCCONTACT = CType(Nothing, EntityRef(Of TBL_SYNCCONTACT))
		Me._TBL_SYNCSET = CType(Nothing, EntityRef(Of TBL_SYNCSET))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				If Me._TBL_SYNCSET.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnSYNCSETIDChanging(value)
				Me.SendPropertyChanging
				Me._SYNCSETID = value
				Me.SendPropertyChanged("SYNCSETID")
				Me.OnSYNCSETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				If Me._TBL_SYNCCONTACT.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSTATUS", DbType:="TinyInt NOT NULL")>  _
	Public Property SUBSTATUS() As Byte
		Get
			Return Me._SUBSTATUS
		End Get
		Set
			If ((Me._SUBSTATUS = value)  _
						= false) Then
				Me.OnSUBSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._SUBSTATUS = value
				Me.SendPropertyChanged("SUBSTATUS")
				Me.OnSUBSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSOURCE", DbType:="TinyInt NOT NULL")>  _
	Public Property SUBSOURCE() As Byte
		Get
			Return Me._SUBSOURCE
		End Get
		Set
			If ((Me._SUBSOURCE = value)  _
						= false) Then
				Me.OnSUBSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._SUBSOURCE = value
				Me.SendPropertyChanged("SUBSOURCE")
				Me.OnSUBSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SUBDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SUBDBGUID
		End Get
		Set
			If (Me._SUBDBGUID.Equals(value) = false) Then
				Me.OnSUBDBGUIDChanging(value)
				Me.SendPropertyChanging
				Me._SUBDBGUID = value
				Me.SendPropertyChanged("SUBDBGUID")
				Me.OnSUBDBGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SUBUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SUBUSERID
		End Get
		Set
			If (Me._SUBUSERID.Equals(value) = false) Then
				Me.OnSUBUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._SUBUSERID = value
				Me.SendPropertyChanged("SUBUSERID")
				Me.OnSUBUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDATE", DbType:="DateTime")>  _
	Public Property SUBDATE() As System.Nullable(Of Date)
		Get
			Return Me._SUBDATE
		End Get
		Set
			If (Me._SUBDATE.Equals(value) = false) Then
				Me.OnSUBDATEChanging(value)
				Me.SendPropertyChanging
				Me._SUBDATE = value
				Me.SendPropertyChanged("SUBDATE")
				Me.OnSUBDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSUBSCRIPTION_CONTACTID_FK", Storage:="_TBL_SYNCCONTACT", ThisKey:="CONTACTID", OtherKey:="CONTACTID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCCONTACT() As TBL_SYNCCONTACT
		Get
			Return Me._TBL_SYNCCONTACT.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCCONTACT = Me._TBL_SYNCCONTACT.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCCONTACT.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCCONTACT.Entity = Nothing
					previousValue.TBL_SYNCSUBSCRIPTION.Remove(Me)
				End If
				Me._TBL_SYNCCONTACT.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSUBSCRIPTION.Add(Me)
					Me._CONTACTID = value.CONTACTID
				Else
					Me._CONTACTID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCCONTACT")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSUBSCRIPTION_SYNCSETID_FK", Storage:="_TBL_SYNCSET", ThisKey:="SYNCSETID", OtherKey:="SYNCSETID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYNCSET() As TBL_SYNCSET
		Get
			Return Me._TBL_SYNCSET.Entity
		End Get
		Set
			Dim previousValue As TBL_SYNCSET = Me._TBL_SYNCSET.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYNCSET.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYNCSET.Entity = Nothing
					previousValue.TBL_SYNCSUBSCRIPTION.Remove(Me)
				End If
				Me._TBL_SYNCSET.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYNCSUBSCRIPTION.Add(Me)
					Me._SYNCSETID = value.SYNCSETID
				Else
					Me._SYNCSETID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYNCSET")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSATTACHMENT")>  _
Partial Public Class TBL_SYSATTACHMENT
	
	Private _ROWINT As Byte
	
	Private _SYSATTACHMENTID As System.Nullable(Of System.Guid)
	
	Private _TABLENAME As String
	
	Private _KEYNAME As String
	
	Private _SUBENTITY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWINT", AutoSync:=AutoSync.Always, DbType:="TinyInt NOT NULL IDENTITY", IsDbGenerated:=true)>  _
	Public Property ROWINT() As Byte
		Get
			Return Me._ROWINT
		End Get
		Set
			If ((Me._ROWINT = value)  _
						= false) Then
				Me._ROWINT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYSATTACHMENTID", DbType:="UniqueIdentifier")>  _
	Public Property SYSATTACHMENTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSATTACHMENTID
		End Get
		Set
			If (Me._SYSATTACHMENTID.Equals(value) = false) Then
				Me._SYSATTACHMENTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYNAME", DbType:="NVarChar(64)")>  _
	Public Property KEYNAME() As String
		Get
			Return Me._KEYNAME
		End Get
		Set
			If (String.Equals(Me._KEYNAME, value) = false) Then
				Me._KEYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBENTITY", DbType:="NVarChar(64)")>  _
	Public Property SUBENTITY() As String
		Get
			Return Me._SUBENTITY
		End Get
		Set
			If (String.Equals(Me._SUBENTITY, value) = false) Then
				Me._SUBENTITY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSCALCCOLUMN")>  _
Partial Public Class TBL_SYSCALCCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CALCCOLUMNID As System.Guid
	
	Private _BASECOLUMNID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _CALCCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
    #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 OnCALCCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCALCCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnBASECOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnBASECOLUMNIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._CALCCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCCOLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property CALCCOLUMNID() As System.Guid
		Get
			Return Me._CALCCOLUMNID
		End Get
		Set
			If ((Me._CALCCOLUMNID = value)  _
						= false) Then
				If Me._CALCCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCALCCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._CALCCOLUMNID = value
				Me.SendPropertyChanged("CALCCOLUMNID")
				Me.OnCALCCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASECOLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property BASECOLUMNID() As System.Guid
		Get
			Return Me._BASECOLUMNID
		End Get
		Set
			If ((Me._BASECOLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnBASECOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._BASECOLUMNID = value
				Me.SendPropertyChanged("BASECOLUMNID")
				Me.OnBASECOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCALCCOLUMN_BASECOLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="BASECOLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_SYSCALCCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSCALCCOLUMN.Add(Me)
					Me._BASECOLUMNID = value.COLUMNID
				Else
					Me._BASECOLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCALCCOLUMN_CALCCOLUMNID_FK", Storage:="_CALCCOLUMN", ThisKey:="CALCCOLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property CALCCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._CALCCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._CALCCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CALCCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CALCCOLUMN.Entity = Nothing
					previousValue.COLUMN.Remove(Me)
				End If
				Me._CALCCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.COLUMN.Add(Me)
					Me._CALCCOLUMNID = value.COLUMNID
				Else
					Me._CALCCOLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("CALCCOLUMN")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSCOLUMN")>  _
Partial Public Class TBL_SYSCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COLUMNID As System.Guid
	
	Private _TABLEID As System.Guid
	
	Private _COLUMNNAME As String
	
	Private _DISPLAYNAME As String
	
	Private _TYPENUM As Byte
	
	Private _ISCUSTOM As Boolean
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISDEFINEFIELD As Boolean
	
	Private _ORDINAL As Short
	
	Private _ISNULLABLE As Boolean
	
	Private _LENGTH As System.Nullable(Of Short)
	
	Private _DECIMALPRECISION As System.Nullable(Of Byte)
	
	Private _DATATYPEID As Byte
	
	Private _ISPRIMARY As Boolean
	
	Private _ISTRACKED As Boolean
	
	Private _ISALLOWBLANK As Boolean
	
	Private _ISREMOVEABLE As Boolean
	
	Private _ISPROTECTED As Boolean
	
	Private _ISRESIZEABLE As Boolean
	
	Private _MIN_COLUMNLENGTH As System.Nullable(Of Short)
	
	Private _VALIDACCESSLEVELS As Byte
	
	Private _DEFAULTVALUE As String
	
	Private _FIELDFORMAT As String
	
	Private _CALCDEFINITION As String
	
	Private _CALCDISPLAY As String
	
	Private _EVENTONFOCUS As String
	
	Private _EVENTONLOSTFOCUS As String
	
	Private _EVENTONCHANGE As String
	
	Private _REF_REALCOLUMN As String
	
	Private _REF_TYPECOLUMN As String
	
	Private _REF_TYPEID As System.Nullable(Of System.Guid)
	
	Private _REF_REALCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _REF_JOINCOLUMN As String
	
	Private _UPDATETYPE As System.Nullable(Of Byte)
	
	Private _OLEDBNAME As String
	
	Private _OLEDBTYPENUM As Byte
	
	Private _SYNCTYPENUM As Byte
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _ALIASNAME As String
	
	Private _RECORDIDENTIFIER As System.Nullable(Of Byte)
	
	Private _DESCRIPTION As String
	
	Private _ALLOWDATATYPECHANGE As Boolean
	
	Private _CTL_ABL_FIELD As EntitySet(Of CTL_ABL_FIELD)
	
	Private _TBL_SYSCOLUMN_ACL As EntitySet(Of TBL_SYSCOLUMN_ACL)
	
	Private _TBL_COMPANYQUERY As EntitySet(Of TBL_COMPANYQUERY)
	
	Private _TBL_GROUPQUERY As EntitySet(Of TBL_GROUPQUERY)
	
	Private _CTL_OLEDBFUNCTION_SYSCOLUMN As EntitySet(Of CTL_OLEDBFUNCTION_SYSCOLUMN)
	
	Private _TBL_PICKLIST_SYSCOLUMN As EntitySet(Of TBL_PICKLIST_SYSCOLUMN)
	
	Private _TBL_SYNCSETQUERY As EntitySet(Of TBL_SYNCSETQUERY)
	
	Private _TBL_SYSCALCCOLUMN As EntitySet(Of TBL_SYSCALCCOLUMN)
	
	Private _COLUMN As EntitySet(Of TBL_SYSCALCCOLUMN)
	
	Private _TBL_SYSDATATYPE As EntityRef(Of TBL_SYSDATATYPE)
	
	Private _SYSCOLUMN_REF_REALCOLUMNID_FK As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _SYSCOLUMN_REF_REALCOLUMNID_FK1 As EntitySet(Of TBL_SYSCOLUMN)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
	Private _TBL_SYSTABLEKEY_SYSCOLUMN As EntitySet(Of TBL_SYSTABLEKEY_SYSCOLUMN)
	
	Private _CTL_USER_COLUMNACCESS As EntitySet(Of CTL_USER_COLUMNACCESS)
	
    #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 OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnISDISPLAYEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDISPLAYEDChanged()
    End Sub
    Partial Private Sub OnISDEFINEFIELDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDEFINEFIELDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    Partial Private Sub OnISNULLABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISNULLABLEChanged()
    End Sub
    Partial Private Sub OnLENGTHChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnLENGTHChanged()
    End Sub
    Partial Private Sub OnDECIMALPRECISIONChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnDECIMALPRECISIONChanged()
    End Sub
    Partial Private Sub OnDATATYPEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDATATYPEIDChanged()
    End Sub
    Partial Private Sub OnISPRIMARYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIMARYChanged()
    End Sub
    Partial Private Sub OnISTRACKEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISTRACKEDChanged()
    End Sub
    Partial Private Sub OnISALLOWBLANKChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALLOWBLANKChanged()
    End Sub
    Partial Private Sub OnISREMOVEABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISREMOVEABLEChanged()
    End Sub
    Partial Private Sub OnISPROTECTEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPROTECTEDChanged()
    End Sub
    Partial Private Sub OnISRESIZEABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISRESIZEABLEChanged()
    End Sub
    Partial Private Sub OnMIN_COLUMNLENGTHChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnMIN_COLUMNLENGTHChanged()
    End Sub
    Partial Private Sub OnVALIDACCESSLEVELSChanging(value As Byte)
    End Sub
    Partial Private Sub OnVALIDACCESSLEVELSChanged()
    End Sub
    Partial Private Sub OnDEFAULTVALUEChanging(value As String)
    End Sub
    Partial Private Sub OnDEFAULTVALUEChanged()
    End Sub
    Partial Private Sub OnFIELDFORMATChanging(value As String)
    End Sub
    Partial Private Sub OnFIELDFORMATChanged()
    End Sub
    Partial Private Sub OnCALCDEFINITIONChanging(value As String)
    End Sub
    Partial Private Sub OnCALCDEFINITIONChanged()
    End Sub
    Partial Private Sub OnCALCDISPLAYChanging(value As String)
    End Sub
    Partial Private Sub OnCALCDISPLAYChanged()
    End Sub
    Partial Private Sub OnEVENTONFOCUSChanging(value As String)
    End Sub
    Partial Private Sub OnEVENTONFOCUSChanged()
    End Sub
    Partial Private Sub OnEVENTONLOSTFOCUSChanging(value As String)
    End Sub
    Partial Private Sub OnEVENTONLOSTFOCUSChanged()
    End Sub
    Partial Private Sub OnEVENTONCHANGEChanging(value As String)
    End Sub
    Partial Private Sub OnEVENTONCHANGEChanged()
    End Sub
    Partial Private Sub OnREF_REALCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnREF_REALCOLUMNChanged()
    End Sub
    Partial Private Sub OnREF_TYPECOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnREF_TYPECOLUMNChanged()
    End Sub
    Partial Private Sub OnREF_TYPEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnREF_TYPEIDChanged()
    End Sub
    Partial Private Sub OnREF_REALCOLUMNIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnREF_REALCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnREF_JOINCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnREF_JOINCOLUMNChanged()
    End Sub
    Partial Private Sub OnUPDATETYPEChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnUPDATETYPEChanged()
    End Sub
    Partial Private Sub OnOLEDBNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnOLEDBNAMEChanged()
    End Sub
    Partial Private Sub OnOLEDBTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnOLEDBTYPENUMChanged()
    End Sub
    Partial Private Sub OnSYNCTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnSYNCTYPENUMChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnALIASNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnALIASNAMEChanged()
    End Sub
    Partial Private Sub OnRECORDIDENTIFIERChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnRECORDIDENTIFIERChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnALLOWDATATYPECHANGEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnALLOWDATATYPECHANGEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_FIELD = New EntitySet(Of CTL_ABL_FIELD)(AddressOf Me.attach_CTL_ABL_FIELD, AddressOf Me.detach_CTL_ABL_FIELD)
		Me._TBL_SYSCOLUMN_ACL = New EntitySet(Of TBL_SYSCOLUMN_ACL)(AddressOf Me.attach_TBL_SYSCOLUMN_ACL, AddressOf Me.detach_TBL_SYSCOLUMN_ACL)
		Me._TBL_COMPANYQUERY = New EntitySet(Of TBL_COMPANYQUERY)(AddressOf Me.attach_TBL_COMPANYQUERY, AddressOf Me.detach_TBL_COMPANYQUERY)
		Me._TBL_GROUPQUERY = New EntitySet(Of TBL_GROUPQUERY)(AddressOf Me.attach_TBL_GROUPQUERY, AddressOf Me.detach_TBL_GROUPQUERY)
		Me._CTL_OLEDBFUNCTION_SYSCOLUMN = New EntitySet(Of CTL_OLEDBFUNCTION_SYSCOLUMN)(AddressOf Me.attach_CTL_OLEDBFUNCTION_SYSCOLUMN, AddressOf Me.detach_CTL_OLEDBFUNCTION_SYSCOLUMN)
		Me._TBL_PICKLIST_SYSCOLUMN = New EntitySet(Of TBL_PICKLIST_SYSCOLUMN)(AddressOf Me.attach_TBL_PICKLIST_SYSCOLUMN, AddressOf Me.detach_TBL_PICKLIST_SYSCOLUMN)
		Me._TBL_SYNCSETQUERY = New EntitySet(Of TBL_SYNCSETQUERY)(AddressOf Me.attach_TBL_SYNCSETQUERY, AddressOf Me.detach_TBL_SYNCSETQUERY)
		Me._TBL_SYSCALCCOLUMN = New EntitySet(Of TBL_SYSCALCCOLUMN)(AddressOf Me.attach_TBL_SYSCALCCOLUMN, AddressOf Me.detach_TBL_SYSCALCCOLUMN)
		Me._COLUMN = New EntitySet(Of TBL_SYSCALCCOLUMN)(AddressOf Me.attach_COLUMN, AddressOf Me.detach_COLUMN)
		Me._TBL_SYSDATATYPE = CType(Nothing, EntityRef(Of TBL_SYSDATATYPE))
		Me._SYSCOLUMN_REF_REALCOLUMNID_FK = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._SYSCOLUMN_REF_REALCOLUMNID_FK1 = New EntitySet(Of TBL_SYSCOLUMN)(AddressOf Me.attach_SYSCOLUMN_REF_REALCOLUMNID_FK1, AddressOf Me.detach_SYSCOLUMN_REF_REALCOLUMNID_FK1)
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		Me._TBL_SYSTABLEKEY_SYSCOLUMN = New EntitySet(Of TBL_SYSTABLEKEY_SYSCOLUMN)(AddressOf Me.attach_TBL_SYSTABLEKEY_SYSCOLUMN, AddressOf Me.detach_TBL_SYSTABLEKEY_SYSCOLUMN)
		Me._CTL_USER_COLUMNACCESS = New EntitySet(Of CTL_USER_COLUMNACCESS)(AddressOf Me.attach_CTL_USER_COLUMNACCESS, AddressOf Me.detach_CTL_USER_COLUMNACCESS)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me.OnCOLUMNNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNNAME = value
				Me.SendPropertyChanged("COLUMNNAME")
				Me.OnCOLUMNNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me.OnISDISPLAYEDChanging(value)
				Me.SendPropertyChanging
				Me._ISDISPLAYED = value
				Me.SendPropertyChanged("ISDISPLAYED")
				Me.OnISDISPLAYEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFINEFIELD() As Boolean
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If ((Me._ISDEFINEFIELD = value)  _
						= false) Then
				Me.OnISDEFINEFIELDChanging(value)
				Me.SendPropertyChanging
				Me._ISDEFINEFIELD = value
				Me.SendPropertyChanged("ISDEFINEFIELD")
				Me.OnISDEFINEFIELDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISNULLABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISNULLABLE() As Boolean
		Get
			Return Me._ISNULLABLE
		End Get
		Set
			If ((Me._ISNULLABLE = value)  _
						= false) Then
				Me.OnISNULLABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISNULLABLE = value
				Me.SendPropertyChanged("ISNULLABLE")
				Me.OnISNULLABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTH", DbType:="SmallInt")>  _
	Public Property LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._LENGTH
		End Get
		Set
			If (Me._LENGTH.Equals(value) = false) Then
				Me.OnLENGTHChanging(value)
				Me.SendPropertyChanging
				Me._LENGTH = value
				Me.SendPropertyChanged("LENGTH")
				Me.OnLENGTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DECIMALPRECISION", DbType:="TinyInt")>  _
	Public Property DECIMALPRECISION() As System.Nullable(Of Byte)
		Get
			Return Me._DECIMALPRECISION
		End Get
		Set
			If (Me._DECIMALPRECISION.Equals(value) = false) Then
				Me.OnDECIMALPRECISIONChanging(value)
				Me.SendPropertyChanging
				Me._DECIMALPRECISION = value
				Me.SendPropertyChanged("DECIMALPRECISION")
				Me.OnDECIMALPRECISIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property DATATYPEID() As Byte
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If ((Me._DATATYPEID = value)  _
						= false) Then
				If Me._TBL_SYSDATATYPE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDATATYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._DATATYPEID = value
				Me.SendPropertyChanged("DATATYPEID")
				Me.OnDATATYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARY", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARY() As Boolean
		Get
			Return Me._ISPRIMARY
		End Get
		Set
			If ((Me._ISPRIMARY = value)  _
						= false) Then
				Me.OnISPRIMARYChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIMARY = value
				Me.SendPropertyChanged("ISPRIMARY")
				Me.OnISPRIMARYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISTRACKED", DbType:="Bit NOT NULL")>  _
	Public Property ISTRACKED() As Boolean
		Get
			Return Me._ISTRACKED
		End Get
		Set
			If ((Me._ISTRACKED = value)  _
						= false) Then
				Me.OnISTRACKEDChanging(value)
				Me.SendPropertyChanging
				Me._ISTRACKED = value
				Me.SendPropertyChanged("ISTRACKED")
				Me.OnISTRACKEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALLOWBLANK", DbType:="Bit NOT NULL")>  _
	Public Property ISALLOWBLANK() As Boolean
		Get
			Return Me._ISALLOWBLANK
		End Get
		Set
			If ((Me._ISALLOWBLANK = value)  _
						= false) Then
				Me.OnISALLOWBLANKChanging(value)
				Me.SendPropertyChanging
				Me._ISALLOWBLANK = value
				Me.SendPropertyChanged("ISALLOWBLANK")
				Me.OnISALLOWBLANKChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREMOVEABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISREMOVEABLE() As Boolean
		Get
			Return Me._ISREMOVEABLE
		End Get
		Set
			If ((Me._ISREMOVEABLE = value)  _
						= false) Then
				Me.OnISREMOVEABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISREMOVEABLE = value
				Me.SendPropertyChanged("ISREMOVEABLE")
				Me.OnISREMOVEABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPROTECTED", DbType:="Bit NOT NULL")>  _
	Public Property ISPROTECTED() As Boolean
		Get
			Return Me._ISPROTECTED
		End Get
		Set
			If ((Me._ISPROTECTED = value)  _
						= false) Then
				Me.OnISPROTECTEDChanging(value)
				Me.SendPropertyChanging
				Me._ISPROTECTED = value
				Me.SendPropertyChanged("ISPROTECTED")
				Me.OnISPROTECTEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISRESIZEABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISRESIZEABLE() As Boolean
		Get
			Return Me._ISRESIZEABLE
		End Get
		Set
			If ((Me._ISRESIZEABLE = value)  _
						= false) Then
				Me.OnISRESIZEABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISRESIZEABLE = value
				Me.SendPropertyChanged("ISRESIZEABLE")
				Me.OnISRESIZEABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIN_COLUMNLENGTH", DbType:="SmallInt")>  _
	Public Property MIN_COLUMNLENGTH() As System.Nullable(Of Short)
		Get
			Return Me._MIN_COLUMNLENGTH
		End Get
		Set
			If (Me._MIN_COLUMNLENGTH.Equals(value) = false) Then
				Me.OnMIN_COLUMNLENGTHChanging(value)
				Me.SendPropertyChanging
				Me._MIN_COLUMNLENGTH = value
				Me.SendPropertyChanged("MIN_COLUMNLENGTH")
				Me.OnMIN_COLUMNLENGTHChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALIDACCESSLEVELS", DbType:="TinyInt NOT NULL")>  _
	Public Property VALIDACCESSLEVELS() As Byte
		Get
			Return Me._VALIDACCESSLEVELS
		End Get
		Set
			If ((Me._VALIDACCESSLEVELS = value)  _
						= false) Then
				Me.OnVALIDACCESSLEVELSChanging(value)
				Me.SendPropertyChanging
				Me._VALIDACCESSLEVELS = value
				Me.SendPropertyChanged("VALIDACCESSLEVELS")
				Me.OnVALIDACCESSLEVELSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEFAULTVALUE", DbType:="NVarChar(500)")>  _
	Public Property DEFAULTVALUE() As String
		Get
			Return Me._DEFAULTVALUE
		End Get
		Set
			If (String.Equals(Me._DEFAULTVALUE, value) = false) Then
				Me.OnDEFAULTVALUEChanging(value)
				Me.SendPropertyChanging
				Me._DEFAULTVALUE = value
				Me.SendPropertyChanged("DEFAULTVALUE")
				Me.OnDEFAULTVALUEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIELDFORMAT", DbType:="NVarChar(500)")>  _
	Public Property FIELDFORMAT() As String
		Get
			Return Me._FIELDFORMAT
		End Get
		Set
			If (String.Equals(Me._FIELDFORMAT, value) = false) Then
				Me.OnFIELDFORMATChanging(value)
				Me.SendPropertyChanging
				Me._FIELDFORMAT = value
				Me.SendPropertyChanged("FIELDFORMAT")
				Me.OnFIELDFORMATChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCDEFINITION", DbType:="NVarChar(500)")>  _
	Public Property CALCDEFINITION() As String
		Get
			Return Me._CALCDEFINITION
		End Get
		Set
			If (String.Equals(Me._CALCDEFINITION, value) = false) Then
				Me.OnCALCDEFINITIONChanging(value)
				Me.SendPropertyChanging
				Me._CALCDEFINITION = value
				Me.SendPropertyChanged("CALCDEFINITION")
				Me.OnCALCDEFINITIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCDISPLAY", DbType:="NVarChar(500)")>  _
	Public Property CALCDISPLAY() As String
		Get
			Return Me._CALCDISPLAY
		End Get
		Set
			If (String.Equals(Me._CALCDISPLAY, value) = false) Then
				Me.OnCALCDISPLAYChanging(value)
				Me.SendPropertyChanging
				Me._CALCDISPLAY = value
				Me.SendPropertyChanged("CALCDISPLAY")
				Me.OnCALCDISPLAYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTONFOCUS", DbType:="NVarChar(512)")>  _
	Public Property EVENTONFOCUS() As String
		Get
			Return Me._EVENTONFOCUS
		End Get
		Set
			If (String.Equals(Me._EVENTONFOCUS, value) = false) Then
				Me.OnEVENTONFOCUSChanging(value)
				Me.SendPropertyChanging
				Me._EVENTONFOCUS = value
				Me.SendPropertyChanged("EVENTONFOCUS")
				Me.OnEVENTONFOCUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTONLOSTFOCUS", DbType:="NVarChar(512)")>  _
	Public Property EVENTONLOSTFOCUS() As String
		Get
			Return Me._EVENTONLOSTFOCUS
		End Get
		Set
			If (String.Equals(Me._EVENTONLOSTFOCUS, value) = false) Then
				Me.OnEVENTONLOSTFOCUSChanging(value)
				Me.SendPropertyChanging
				Me._EVENTONLOSTFOCUS = value
				Me.SendPropertyChanged("EVENTONLOSTFOCUS")
				Me.OnEVENTONLOSTFOCUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTONCHANGE", DbType:="NVarChar(512)")>  _
	Public Property EVENTONCHANGE() As String
		Get
			Return Me._EVENTONCHANGE
		End Get
		Set
			If (String.Equals(Me._EVENTONCHANGE, value) = false) Then
				Me.OnEVENTONCHANGEChanging(value)
				Me.SendPropertyChanging
				Me._EVENTONCHANGE = value
				Me.SendPropertyChanged("EVENTONCHANGE")
				Me.OnEVENTONCHANGEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_REALCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property REF_REALCOLUMN() As String
		Get
			Return Me._REF_REALCOLUMN
		End Get
		Set
			If (String.Equals(Me._REF_REALCOLUMN, value) = false) Then
				Me.OnREF_REALCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._REF_REALCOLUMN = value
				Me.SendPropertyChanged("REF_REALCOLUMN")
				Me.OnREF_REALCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_TYPECOLUMN", DbType:="NVarChar(64)")>  _
	Public Property REF_TYPECOLUMN() As String
		Get
			Return Me._REF_TYPECOLUMN
		End Get
		Set
			If (String.Equals(Me._REF_TYPECOLUMN, value) = false) Then
				Me.OnREF_TYPECOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._REF_TYPECOLUMN = value
				Me.SendPropertyChanged("REF_TYPECOLUMN")
				Me.OnREF_TYPECOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property REF_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._REF_TYPEID
		End Get
		Set
			If (Me._REF_TYPEID.Equals(value) = false) Then
				Me.OnREF_TYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._REF_TYPEID = value
				Me.SendPropertyChanged("REF_TYPEID")
				Me.OnREF_TYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_REALCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property REF_REALCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._REF_REALCOLUMNID
		End Get
		Set
			If (Me._REF_REALCOLUMNID.Equals(value) = false) Then
				If Me._SYSCOLUMN_REF_REALCOLUMNID_FK.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnREF_REALCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._REF_REALCOLUMNID = value
				Me.SendPropertyChanged("REF_REALCOLUMNID")
				Me.OnREF_REALCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_JOINCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property REF_JOINCOLUMN() As String
		Get
			Return Me._REF_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._REF_JOINCOLUMN, value) = false) Then
				Me.OnREF_JOINCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._REF_JOINCOLUMN = value
				Me.SendPropertyChanged("REF_JOINCOLUMN")
				Me.OnREF_JOINCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UPDATETYPE", DbType:="TinyInt")>  _
	Public Property UPDATETYPE() As System.Nullable(Of Byte)
		Get
			Return Me._UPDATETYPE
		End Get
		Set
			If (Me._UPDATETYPE.Equals(value) = false) Then
				Me.OnUPDATETYPEChanging(value)
				Me.SendPropertyChanging
				Me._UPDATETYPE = value
				Me.SendPropertyChanged("UPDATETYPE")
				Me.OnUPDATETYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLEDBNAME", DbType:="NVarChar(96)")>  _
	Public Property OLEDBNAME() As String
		Get
			Return Me._OLEDBNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBNAME, value) = false) Then
				Me.OnOLEDBNAMEChanging(value)
				Me.SendPropertyChanging
				Me._OLEDBNAME = value
				Me.SendPropertyChanged("OLEDBNAME")
				Me.OnOLEDBNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLEDBTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property OLEDBTYPENUM() As Byte
		Get
			Return Me._OLEDBTYPENUM
		End Get
		Set
			If ((Me._OLEDBTYPENUM = value)  _
						= false) Then
				Me.OnOLEDBTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._OLEDBTYPENUM = value
				Me.SendPropertyChanged("OLEDBTYPENUM")
				Me.OnOLEDBTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCTYPENUM() As Byte
		Get
			Return Me._SYNCTYPENUM
		End Get
		Set
			If ((Me._SYNCTYPENUM = value)  _
						= false) Then
				Me.OnSYNCTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._SYNCTYPENUM = value
				Me.SendPropertyChanged("SYNCTYPENUM")
				Me.OnSYNCTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me.OnALIASNAMEChanging(value)
				Me.SendPropertyChanging
				Me._ALIASNAME = value
				Me.SendPropertyChanged("ALIASNAME")
				Me.OnALIASNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDIDENTIFIER", DbType:="TinyInt")>  _
	Public Property RECORDIDENTIFIER() As System.Nullable(Of Byte)
		Get
			Return Me._RECORDIDENTIFIER
		End Get
		Set
			If (Me._RECORDIDENTIFIER.Equals(value) = false) Then
				Me.OnRECORDIDENTIFIERChanging(value)
				Me.SendPropertyChanging
				Me._RECORDIDENTIFIER = value
				Me.SendPropertyChanged("RECORDIDENTIFIER")
				Me.OnRECORDIDENTIFIERChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALLOWDATATYPECHANGE", DbType:="Bit NOT NULL")>  _
	Public Property ALLOWDATATYPECHANGE() As Boolean
		Get
			Return Me._ALLOWDATATYPECHANGE
		End Get
		Set
			If ((Me._ALLOWDATATYPECHANGE = value)  _
						= false) Then
				Me.OnALLOWDATATYPECHANGEChanging(value)
				Me.SendPropertyChanging
				Me._ALLOWDATATYPECHANGE = value
				Me.SendPropertyChanged("ALLOWDATATYPECHANGE")
				Me.OnALLOWDATATYPECHANGEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_FIELD_ACT_COLUMNID_FK", Storage:="_CTL_ABL_FIELD", ThisKey:="COLUMNID", OtherKey:="ACT_COLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_FIELD() As EntitySet(Of CTL_ABL_FIELD)
		Get
			Return Me._CTL_ABL_FIELD
		End Get
		Set
			Me._CTL_ABL_FIELD.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COLUMN_ACCESSOR_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN_ACL", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSCOLUMN_ACL() As EntitySet(Of TBL_SYSCOLUMN_ACL)
		Get
			Return Me._TBL_SYSCOLUMN_ACL
		End Get
		Set
			Me._TBL_SYSCOLUMN_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_COLUMNID_FK", Storage:="_TBL_COMPANYQUERY", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_COMPANYQUERY() As EntitySet(Of TBL_COMPANYQUERY)
		Get
			Return Me._TBL_COMPANYQUERY
		End Get
		Set
			Me._TBL_COMPANYQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_COLUMNID_FK", Storage:="_TBL_GROUPQUERY", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_GROUPQUERY() As EntitySet(Of TBL_GROUPQUERY)
		Get
			Return Me._TBL_GROUPQUERY
		End Get
		Set
			Me._TBL_GROUPQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBFUNCTION_SYSCOLUMN_COLUMNID_FK", Storage:="_CTL_OLEDBFUNCTION_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="CASCADE")>  _
	Public Property CTL_OLEDBFUNCTION_SYSCOLUMN() As EntitySet(Of CTL_OLEDBFUNCTION_SYSCOLUMN)
		Get
			Return Me._CTL_OLEDBFUNCTION_SYSCOLUMN
		End Get
		Set
			Me._CTL_OLEDBFUNCTION_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLIST_SYSCOLUMN_COLUMNID_FK", Storage:="_TBL_PICKLIST_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PICKLIST_SYSCOLUMN() As EntitySet(Of TBL_PICKLIST_SYSCOLUMN)
		Get
			Return Me._TBL_PICKLIST_SYSCOLUMN
		End Get
		Set
			Me._TBL_PICKLIST_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_COLUMNID_FK", Storage:="_TBL_SYNCSETQUERY", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYNCSETQUERY() As EntitySet(Of TBL_SYNCSETQUERY)
		Get
			Return Me._TBL_SYNCSETQUERY
		End Get
		Set
			Me._TBL_SYNCSETQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCALCCOLUMN_BASECOLUMNID_FK", Storage:="_TBL_SYSCALCCOLUMN", ThisKey:="COLUMNID", OtherKey:="BASECOLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSCALCCOLUMN() As EntitySet(Of TBL_SYSCALCCOLUMN)
		Get
			Return Me._TBL_SYSCALCCOLUMN
		End Get
		Set
			Me._TBL_SYSCALCCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCALCCOLUMN_CALCCOLUMNID_FK", Storage:="_COLUMN", ThisKey:="COLUMNID", OtherKey:="CALCCOLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property COLUMN() As EntitySet(Of TBL_SYSCALCCOLUMN)
		Get
			Return Me._COLUMN
		End Get
		Set
			Me._COLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_DATATYPEID_FK", Storage:="_TBL_SYSDATATYPE", ThisKey:="DATATYPEID", OtherKey:="DATATYPEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSDATATYPE() As TBL_SYSDATATYPE
		Get
			Return Me._TBL_SYSDATATYPE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSDATATYPE = Me._TBL_SYSDATATYPE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSDATATYPE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSDATATYPE.Entity = Nothing
					previousValue.TBL_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSDATATYPE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSCOLUMN.Add(Me)
					Me._DATATYPEID = value.DATATYPEID
				Else
					Me._DATATYPEID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSDATATYPE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_SYSCOLUMN_REF_REALCOLUMNID_FK", ThisKey:="REF_REALCOLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property SYSCOLUMN_REF_REALCOLUMNID_FK() As TBL_SYSCOLUMN
		Get
			Return Me._SYSCOLUMN_REF_REALCOLUMNID_FK.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._SYSCOLUMN_REF_REALCOLUMNID_FK.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._SYSCOLUMN_REF_REALCOLUMNID_FK.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._SYSCOLUMN_REF_REALCOLUMNID_FK.Entity = Nothing
					previousValue.SYSCOLUMN_REF_REALCOLUMNID_FK1.Remove(Me)
				End If
				Me._SYSCOLUMN_REF_REALCOLUMNID_FK.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.SYSCOLUMN_REF_REALCOLUMNID_FK1.Add(Me)
					Me._REF_REALCOLUMNID = value.COLUMNID
				Else
					Me._REF_REALCOLUMNID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("SYSCOLUMN_REF_REALCOLUMNID_FK")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_REF_REALCOLUMNID_FK", Storage:="_SYSCOLUMN_REF_REALCOLUMNID_FK1", ThisKey:="COLUMNID", OtherKey:="REF_REALCOLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property SYSCOLUMN_REF_REALCOLUMNID_FK1() As EntitySet(Of TBL_SYSCOLUMN)
		Get
			Return Me._SYSCOLUMN_REF_REALCOLUMNID_FK1
		End Get
		Set
			Me._SYSCOLUMN_REF_REALCOLUMNID_FK1.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.TBL_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSCOLUMN.Add(Me)
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEKEY_SYSCOLUMN_COLUMNID_FK", Storage:="_TBL_SYSTABLEKEY_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSTABLEKEY_SYSCOLUMN() As EntitySet(Of TBL_SYSTABLEKEY_SYSCOLUMN)
		Get
			Return Me._TBL_SYSTABLEKEY_SYSCOLUMN
		End Get
		Set
			Me._TBL_SYSTABLEKEY_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_COLUMNACCESS_COLUMNID_FK", Storage:="_CTL_USER_COLUMNACCESS", ThisKey:="COLUMNID", OtherKey:="COLUMNID", DeleteRule:="CASCADE")>  _
	Public Property CTL_USER_COLUMNACCESS() As EntitySet(Of CTL_USER_COLUMNACCESS)
		Get
			Return Me._CTL_USER_COLUMNACCESS
		End Get
		Set
			Me._CTL_USER_COLUMNACCESS.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_FIELD(ByVal entity As CTL_ABL_FIELD)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_CTL_ABL_FIELD(ByVal entity As CTL_ABL_FIELD)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSCOLUMN_ACL(ByVal entity As TBL_SYSCOLUMN_ACL)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_SYSCOLUMN_ACL(ByVal entity As TBL_SYSCOLUMN_ACL)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_CTL_OLEDBFUNCTION_SYSCOLUMN(ByVal entity As CTL_OLEDBFUNCTION_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBFUNCTION_SYSCOLUMN(ByVal entity As CTL_OLEDBFUNCTION_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_TBL_PICKLIST_SYSCOLUMN(ByVal entity As TBL_PICKLIST_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_PICKLIST_SYSCOLUMN(ByVal entity As TBL_PICKLIST_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSCALCCOLUMN(ByVal entity As TBL_SYSCALCCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_SYSCALCCOLUMN(ByVal entity As TBL_SYSCALCCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_COLUMN(ByVal entity As TBL_SYSCALCCOLUMN)
		Me.SendPropertyChanging
		entity.CALCCOLUMN = Me
	End Sub
	
	Private Sub detach_COLUMN(ByVal entity As TBL_SYSCALCCOLUMN)
		Me.SendPropertyChanging
		entity.CALCCOLUMN = Nothing
	End Sub
	
	Private Sub attach_SYSCOLUMN_REF_REALCOLUMNID_FK1(ByVal entity As TBL_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.SYSCOLUMN_REF_REALCOLUMNID_FK = Me
	End Sub
	
	Private Sub detach_SYSCOLUMN_REF_REALCOLUMNID_FK1(ByVal entity As TBL_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.SYSCOLUMN_REF_REALCOLUMNID_FK = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSTABLEKEY_SYSCOLUMN(ByVal entity As TBL_SYSTABLEKEY_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_TBL_SYSTABLEKEY_SYSCOLUMN(ByVal entity As TBL_SYSTABLEKEY_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
	
	Private Sub attach_CTL_USER_COLUMNACCESS(ByVal entity As CTL_USER_COLUMNACCESS)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Me
	End Sub
	
	Private Sub detach_CTL_USER_COLUMNACCESS(ByVal entity As CTL_USER_COLUMNACCESS)
		Me.SendPropertyChanging
		entity.TBL_SYSCOLUMN = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSCOLUMN_ACL")>  _
Partial Public Class TBL_SYSCOLUMN_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COLUMNID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ACCESSLEVEL As Byte
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
    #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 OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnACCESSLEVELChanging(value As Byte)
    End Sub
    Partial Private Sub OnACCESSLEVELChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSLEVEL", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSLEVEL() As Byte
		Get
			Return Me._ACCESSLEVEL
		End Get
		Set
			If ((Me._ACCESSLEVEL = value)  _
						= false) Then
				Me.OnACCESSLEVELChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSLEVEL = value
				Me.SendPropertyChanged("ACCESSLEVEL")
				Me.OnACCESSLEVELChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COLUMN_ACCESSOR_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_SYSCOLUMN_ACL.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSCOLUMN_ACL.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_SYSCOLUMN_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSCOLUMN_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSCONSTANT")>  _
Partial Public Class TBL_SYSCONSTANT
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CONSTANTNAME As String
	
	Private _CONSTANTVALUE As System.Guid
	
    #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 OnCONSTANTNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCONSTANTNAMEChanged()
    End Sub
    Partial Private Sub OnCONSTANTVALUEChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONSTANTVALUEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONSTANTNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property CONSTANTNAME() As String
		Get
			Return Me._CONSTANTNAME
		End Get
		Set
			If (String.Equals(Me._CONSTANTNAME, value) = false) Then
				Me.OnCONSTANTNAMEChanging(value)
				Me.SendPropertyChanging
				Me._CONSTANTNAME = value
				Me.SendPropertyChanged("CONSTANTNAME")
				Me.OnCONSTANTNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONSTANTVALUE", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONSTANTVALUE() As System.Guid
		Get
			Return Me._CONSTANTVALUE
		End Get
		Set
			If ((Me._CONSTANTVALUE = value)  _
						= false) Then
				Me.OnCONSTANTVALUEChanging(value)
				Me.SendPropertyChanging
				Me._CONSTANTVALUE = value
				Me.SendPropertyChanged("CONSTANTVALUE")
				Me.OnCONSTANTVALUEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSDATATYPE")>  _
Partial Public Class TBL_SYSDATATYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DATATYPEID As Byte
	
	Private _DOMAINID As Byte
	
	Private _PHYDATATYPE As String
	
	Private _ACTDATATYPE As String
	
	Private _APPDATATYPE As String
	
	Private _ISNULLABLE As Boolean
	
	Private _STORAGEBYTES As System.Nullable(Of Short)
	
	Private _LENGTHMAX As System.Nullable(Of Short)
	
	Private _LENGTHDEFAULT As System.Nullable(Of Short)
	
	Private _ISLENGTHFIXED As Boolean
	
	Private _DECIMALPRECISION As System.Nullable(Of Byte)
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _CTL_OLEDBVIEW_DERIVEDCOLUMN As EntitySet(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)
	
	Private _TBL_PICKLIST As EntitySet(Of TBL_PICKLIST)
	
	Private _TBL_SYSCOLUMN As EntitySet(Of TBL_SYSCOLUMN)
	
	Private _TBL_SYSDOMAIN As EntityRef(Of TBL_SYSDOMAIN)
	
    #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 OnDATATYPEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDATATYPEIDChanged()
    End Sub
    Partial Private Sub OnDOMAINIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDOMAINIDChanged()
    End Sub
    Partial Private Sub OnPHYDATATYPEChanging(value As String)
    End Sub
    Partial Private Sub OnPHYDATATYPEChanged()
    End Sub
    Partial Private Sub OnACTDATATYPEChanging(value As String)
    End Sub
    Partial Private Sub OnACTDATATYPEChanged()
    End Sub
    Partial Private Sub OnAPPDATATYPEChanging(value As String)
    End Sub
    Partial Private Sub OnAPPDATATYPEChanged()
    End Sub
    Partial Private Sub OnISNULLABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISNULLABLEChanged()
    End Sub
    Partial Private Sub OnSTORAGEBYTESChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnSTORAGEBYTESChanged()
    End Sub
    Partial Private Sub OnLENGTHMAXChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnLENGTHMAXChanged()
    End Sub
    Partial Private Sub OnLENGTHDEFAULTChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnLENGTHDEFAULTChanged()
    End Sub
    Partial Private Sub OnISLENGTHFIXEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISLENGTHFIXEDChanged()
    End Sub
    Partial Private Sub OnDECIMALPRECISIONChanging(value As System.Nullable(Of Byte))
    End Sub
    Partial Private Sub OnDECIMALPRECISIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_OLEDBVIEW_DERIVEDCOLUMN = New EntitySet(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)(AddressOf Me.attach_CTL_OLEDBVIEW_DERIVEDCOLUMN, AddressOf Me.detach_CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Me._TBL_PICKLIST = New EntitySet(Of TBL_PICKLIST)(AddressOf Me.attach_TBL_PICKLIST, AddressOf Me.detach_TBL_PICKLIST)
		Me._TBL_SYSCOLUMN = New EntitySet(Of TBL_SYSCOLUMN)(AddressOf Me.attach_TBL_SYSCOLUMN, AddressOf Me.detach_TBL_SYSCOLUMN)
		Me._TBL_SYSDOMAIN = CType(Nothing, EntityRef(Of TBL_SYSDOMAIN))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DATATYPEID() As Byte
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If ((Me._DATATYPEID = value)  _
						= false) Then
				Me.OnDATATYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._DATATYPEID = value
				Me.SendPropertyChanged("DATATYPEID")
				Me.OnDATATYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property DOMAINID() As Byte
		Get
			Return Me._DOMAINID
		End Get
		Set
			If ((Me._DOMAINID = value)  _
						= false) Then
				If Me._TBL_SYSDOMAIN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDOMAINIDChanging(value)
				Me.SendPropertyChanging
				Me._DOMAINID = value
				Me.SendPropertyChanged("DOMAINID")
				Me.OnDOMAINIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHYDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PHYDATATYPE() As String
		Get
			Return Me._PHYDATATYPE
		End Get
		Set
			If (String.Equals(Me._PHYDATATYPE, value) = false) Then
				Me.OnPHYDATATYPEChanging(value)
				Me.SendPropertyChanging
				Me._PHYDATATYPE = value
				Me.SendPropertyChanged("PHYDATATYPE")
				Me.OnPHYDATATYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me.OnACTDATATYPEChanging(value)
				Me.SendPropertyChanging
				Me._ACTDATATYPE = value
				Me.SendPropertyChanged("ACTDATATYPE")
				Me.OnACTDATATYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPDATATYPE", DbType:="NVarChar(255) NOT NULL", CanBeNull:=false)>  _
	Public Property APPDATATYPE() As String
		Get
			Return Me._APPDATATYPE
		End Get
		Set
			If (String.Equals(Me._APPDATATYPE, value) = false) Then
				Me.OnAPPDATATYPEChanging(value)
				Me.SendPropertyChanging
				Me._APPDATATYPE = value
				Me.SendPropertyChanged("APPDATATYPE")
				Me.OnAPPDATATYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISNULLABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISNULLABLE() As Boolean
		Get
			Return Me._ISNULLABLE
		End Get
		Set
			If ((Me._ISNULLABLE = value)  _
						= false) Then
				Me.OnISNULLABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISNULLABLE = value
				Me.SendPropertyChanged("ISNULLABLE")
				Me.OnISNULLABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STORAGEBYTES", DbType:="SmallInt")>  _
	Public Property STORAGEBYTES() As System.Nullable(Of Short)
		Get
			Return Me._STORAGEBYTES
		End Get
		Set
			If (Me._STORAGEBYTES.Equals(value) = false) Then
				Me.OnSTORAGEBYTESChanging(value)
				Me.SendPropertyChanging
				Me._STORAGEBYTES = value
				Me.SendPropertyChanged("STORAGEBYTES")
				Me.OnSTORAGEBYTESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTHMAX", DbType:="SmallInt")>  _
	Public Property LENGTHMAX() As System.Nullable(Of Short)
		Get
			Return Me._LENGTHMAX
		End Get
		Set
			If (Me._LENGTHMAX.Equals(value) = false) Then
				Me.OnLENGTHMAXChanging(value)
				Me.SendPropertyChanging
				Me._LENGTHMAX = value
				Me.SendPropertyChanged("LENGTHMAX")
				Me.OnLENGTHMAXChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTHDEFAULT", DbType:="SmallInt")>  _
	Public Property LENGTHDEFAULT() As System.Nullable(Of Short)
		Get
			Return Me._LENGTHDEFAULT
		End Get
		Set
			If (Me._LENGTHDEFAULT.Equals(value) = false) Then
				Me.OnLENGTHDEFAULTChanging(value)
				Me.SendPropertyChanging
				Me._LENGTHDEFAULT = value
				Me.SendPropertyChanged("LENGTHDEFAULT")
				Me.OnLENGTHDEFAULTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISLENGTHFIXED", DbType:="Bit NOT NULL")>  _
	Public Property ISLENGTHFIXED() As Boolean
		Get
			Return Me._ISLENGTHFIXED
		End Get
		Set
			If ((Me._ISLENGTHFIXED = value)  _
						= false) Then
				Me.OnISLENGTHFIXEDChanging(value)
				Me.SendPropertyChanging
				Me._ISLENGTHFIXED = value
				Me.SendPropertyChanged("ISLENGTHFIXED")
				Me.OnISLENGTHFIXEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DECIMALPRECISION", DbType:="TinyInt")>  _
	Public Property DECIMALPRECISION() As System.Nullable(Of Byte)
		Get
			Return Me._DECIMALPRECISION
		End Get
		Set
			If (Me._DECIMALPRECISION.Equals(value) = false) Then
				Me.OnDECIMALPRECISIONChanging(value)
				Me.SendPropertyChanging
				Me._DECIMALPRECISION = value
				Me.SendPropertyChanged("DECIMALPRECISION")
				Me.OnDECIMALPRECISIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="OLEDBVIEW_DERIVEDCOLUMN_DATATYPEID_FK", Storage:="_CTL_OLEDBVIEW_DERIVEDCOLUMN", ThisKey:="DATATYPEID", OtherKey:="DATATYPEID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_OLEDBVIEW_DERIVEDCOLUMN() As EntitySet(Of CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Get
			Return Me._CTL_OLEDBVIEW_DERIVEDCOLUMN
		End Get
		Set
			Me._CTL_OLEDBVIEW_DERIVEDCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PICKLIST_DATATYPEID_FK", Storage:="_TBL_PICKLIST", ThisKey:="DATATYPEID", OtherKey:="DATATYPEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_PICKLIST() As EntitySet(Of TBL_PICKLIST)
		Get
			Return Me._TBL_PICKLIST
		End Get
		Set
			Me._TBL_PICKLIST.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_DATATYPEID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="DATATYPEID", OtherKey:="DATATYPEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSCOLUMN() As EntitySet(Of TBL_SYSCOLUMN)
		Get
			Return Me._TBL_SYSCOLUMN
		End Get
		Set
			Me._TBL_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSDATATYPE_DOMAINID_FK", Storage:="_TBL_SYSDOMAIN", ThisKey:="DOMAINID", OtherKey:="DOMAINID", IsForeignKey:=true)>  _
	Public Property TBL_SYSDOMAIN() As TBL_SYSDOMAIN
		Get
			Return Me._TBL_SYSDOMAIN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSDOMAIN = Me._TBL_SYSDOMAIN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSDOMAIN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSDOMAIN.Entity = Nothing
					previousValue.TBL_SYSDATATYPE.Remove(Me)
				End If
				Me._TBL_SYSDOMAIN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSDATATYPE.Add(Me)
					Me._DOMAINID = value.DOMAINID
				Else
					Me._DOMAINID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSDOMAIN")
			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
	
	Private Sub attach_CTL_OLEDBVIEW_DERIVEDCOLUMN(ByVal entity As CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSDATATYPE = Me
	End Sub
	
	Private Sub detach_CTL_OLEDBVIEW_DERIVEDCOLUMN(ByVal entity As CTL_OLEDBVIEW_DERIVEDCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSDATATYPE = Nothing
	End Sub
	
	Private Sub attach_TBL_PICKLIST(ByVal entity As TBL_PICKLIST)
		Me.SendPropertyChanging
		entity.TBL_SYSDATATYPE = Me
	End Sub
	
	Private Sub detach_TBL_PICKLIST(ByVal entity As TBL_PICKLIST)
		Me.SendPropertyChanging
		entity.TBL_SYSDATATYPE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSCOLUMN(ByVal entity As TBL_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSDATATYPE = Me
	End Sub
	
	Private Sub detach_TBL_SYSCOLUMN(ByVal entity As TBL_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSDATATYPE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSDOMAIN")>  _
Partial Public Class TBL_SYSDOMAIN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DOMAINID As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_SYSDATATYPE As EntitySet(Of TBL_SYSDATATYPE)
	
	Private _TBL_SYSDOMAIN_SYSOPERATOR As EntitySet(Of TBL_SYSDOMAIN_SYSOPERATOR)
	
	Private _TBL_SYSVALUEUSAGE As EntitySet(Of TBL_SYSVALUEUSAGE)
	
    #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 OnDOMAINIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDOMAINIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSDATATYPE = New EntitySet(Of TBL_SYSDATATYPE)(AddressOf Me.attach_TBL_SYSDATATYPE, AddressOf Me.detach_TBL_SYSDATATYPE)
		Me._TBL_SYSDOMAIN_SYSOPERATOR = New EntitySet(Of TBL_SYSDOMAIN_SYSOPERATOR)(AddressOf Me.attach_TBL_SYSDOMAIN_SYSOPERATOR, AddressOf Me.detach_TBL_SYSDOMAIN_SYSOPERATOR)
		Me._TBL_SYSVALUEUSAGE = New EntitySet(Of TBL_SYSVALUEUSAGE)(AddressOf Me.attach_TBL_SYSVALUEUSAGE, AddressOf Me.detach_TBL_SYSVALUEUSAGE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DOMAINID() As Byte
		Get
			Return Me._DOMAINID
		End Get
		Set
			If ((Me._DOMAINID = value)  _
						= false) Then
				Me.OnDOMAINIDChanging(value)
				Me.SendPropertyChanging
				Me._DOMAINID = value
				Me.SendPropertyChanged("DOMAINID")
				Me.OnDOMAINIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSDATATYPE_DOMAINID_FK", Storage:="_TBL_SYSDATATYPE", ThisKey:="DOMAINID", OtherKey:="DOMAINID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSDATATYPE() As EntitySet(Of TBL_SYSDATATYPE)
		Get
			Return Me._TBL_SYSDATATYPE
		End Get
		Set
			Me._TBL_SYSDATATYPE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSDOMAIN_SYSOPERATOR_DOMAINID_FK", Storage:="_TBL_SYSDOMAIN_SYSOPERATOR", ThisKey:="DOMAINID", OtherKey:="DOMAINID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSDOMAIN_SYSOPERATOR() As EntitySet(Of TBL_SYSDOMAIN_SYSOPERATOR)
		Get
			Return Me._TBL_SYSDOMAIN_SYSOPERATOR
		End Get
		Set
			Me._TBL_SYSDOMAIN_SYSOPERATOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSVALUEUSAGE_DOMAINID_FK", Storage:="_TBL_SYSVALUEUSAGE", ThisKey:="DOMAINID", OtherKey:="DOMAINID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSVALUEUSAGE() As EntitySet(Of TBL_SYSVALUEUSAGE)
		Get
			Return Me._TBL_SYSVALUEUSAGE
		End Get
		Set
			Me._TBL_SYSVALUEUSAGE.Assign(value)
		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
	
	Private Sub attach_TBL_SYSDATATYPE(ByVal entity As TBL_SYSDATATYPE)
		Me.SendPropertyChanging
		entity.TBL_SYSDOMAIN = Me
	End Sub
	
	Private Sub detach_TBL_SYSDATATYPE(ByVal entity As TBL_SYSDATATYPE)
		Me.SendPropertyChanging
		entity.TBL_SYSDOMAIN = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSDOMAIN_SYSOPERATOR(ByVal entity As TBL_SYSDOMAIN_SYSOPERATOR)
		Me.SendPropertyChanging
		entity.TBL_SYSDOMAIN = Me
	End Sub
	
	Private Sub detach_TBL_SYSDOMAIN_SYSOPERATOR(ByVal entity As TBL_SYSDOMAIN_SYSOPERATOR)
		Me.SendPropertyChanging
		entity.TBL_SYSDOMAIN = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSVALUEUSAGE(ByVal entity As TBL_SYSVALUEUSAGE)
		Me.SendPropertyChanging
		entity.TBL_SYSDOMAIN = Me
	End Sub
	
	Private Sub detach_TBL_SYSVALUEUSAGE(ByVal entity As TBL_SYSVALUEUSAGE)
		Me.SendPropertyChanging
		entity.TBL_SYSDOMAIN = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSDOMAIN_SYSOPERATOR")>  _
Partial Public Class TBL_SYSDOMAIN_SYSOPERATOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DOMAINID As Byte
	
	Private _OPERATORID As Byte
	
	Private _OPERATORSQL As String
	
	Private _TBL_SYSDOMAIN As EntityRef(Of TBL_SYSDOMAIN)
	
	Private _TBL_SYSOPERATOR As EntityRef(Of TBL_SYSOPERATOR)
	
    #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 OnDOMAINIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDOMAINIDChanged()
    End Sub
    Partial Private Sub OnOPERATORIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnOPERATORIDChanged()
    End Sub
    Partial Private Sub OnOPERATORSQLChanging(value As String)
    End Sub
    Partial Private Sub OnOPERATORSQLChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSDOMAIN = CType(Nothing, EntityRef(Of TBL_SYSDOMAIN))
		Me._TBL_SYSOPERATOR = CType(Nothing, EntityRef(Of TBL_SYSOPERATOR))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DOMAINID() As Byte
		Get
			Return Me._DOMAINID
		End Get
		Set
			If ((Me._DOMAINID = value)  _
						= false) Then
				If Me._TBL_SYSDOMAIN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDOMAINIDChanging(value)
				Me.SendPropertyChanging
				Me._DOMAINID = value
				Me.SendPropertyChanged("DOMAINID")
				Me.OnDOMAINIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				If Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPERATORIDChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORID = value
				Me.SendPropertyChanged("OPERATORID")
				Me.OnOPERATORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORSQL", DbType:="NVarChar(1000) NOT NULL", CanBeNull:=false)>  _
	Public Property OPERATORSQL() As String
		Get
			Return Me._OPERATORSQL
		End Get
		Set
			If (String.Equals(Me._OPERATORSQL, value) = false) Then
				Me.OnOPERATORSQLChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORSQL = value
				Me.SendPropertyChanged("OPERATORSQL")
				Me.OnOPERATORSQLChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSDOMAIN_SYSOPERATOR_DOMAINID_FK", Storage:="_TBL_SYSDOMAIN", ThisKey:="DOMAINID", OtherKey:="DOMAINID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSDOMAIN() As TBL_SYSDOMAIN
		Get
			Return Me._TBL_SYSDOMAIN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSDOMAIN = Me._TBL_SYSDOMAIN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSDOMAIN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSDOMAIN.Entity = Nothing
					previousValue.TBL_SYSDOMAIN_SYSOPERATOR.Remove(Me)
				End If
				Me._TBL_SYSDOMAIN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSDOMAIN_SYSOPERATOR.Add(Me)
					Me._DOMAINID = value.DOMAINID
				Else
					Me._DOMAINID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSDOMAIN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSDOMAIN_SYSOPERATOR_OPERATORID_FK", Storage:="_TBL_SYSOPERATOR", ThisKey:="OPERATORID", OtherKey:="OPERATORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSOPERATOR() As TBL_SYSOPERATOR
		Get
			Return Me._TBL_SYSOPERATOR.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSOPERATOR = Me._TBL_SYSOPERATOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSOPERATOR.Entity = Nothing
					previousValue.TBL_SYSDOMAIN_SYSOPERATOR.Remove(Me)
				End If
				Me._TBL_SYSOPERATOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSDOMAIN_SYSOPERATOR.Add(Me)
					Me._OPERATORID = value.OPERATORID
				Else
					Me._OPERATORID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSOPERATOR")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSENTITY")>  _
Partial Public Class TBL_SYSENTITY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ENTITYID As System.Guid
	
	Private _NAME As String
	
	Private _DISPLAYNAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISALLOWHISTORYEDIT As Boolean
	
	Private _ISENABLEDUPCHK As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _FEATURESETID As System.Guid
	
	Private _ISCUSTOM As Boolean
	
	Private _TYPENUM As Byte
	
	Private _ISDEFINEFIELD As Boolean
	
	Private _ISDISPLAYED As Boolean
	
	Private _CTL_ABL_CONNECTOR_ENTITYSCHEMA As EntitySet(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)
	
	Private _CTL_ABL_DEPENDENT As EntitySet(Of CTL_ABL_DEPENDENT)
	
	Private _CTL_ABL_LINK As EntitySet(Of CTL_ABL_LINK)
	
	Private _TBL_IMPORT_HISTORYITEM As EntitySet(Of TBL_IMPORT_HISTORYITEM)
	
	Private _TBL_FEATURESET As EntityRef(Of TBL_FEATURESET)
	
	Private _TBL_SYSENTITY_SYSTABLE As EntitySet(Of TBL_SYSENTITY_SYSTABLE)
	
	Private _TBL_SYSTABLEDOMAIN As EntitySet(Of TBL_SYSTABLEDOMAIN)
	
	Private _TBL_USER_DEFAULT_ACL As EntitySet(Of TBL_USER_DEFAULT_ACL)
	
	Private _TBL_WORKFLOWDEF As EntitySet(Of TBL_WORKFLOWDEF)
	
    #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 OnENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISALLOWHISTORYEDITChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALLOWHISTORYEDITChanged()
    End Sub
    Partial Private Sub OnISENABLEDUPCHKChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISENABLEDUPCHKChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnFEATURESETIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnFEATURESETIDChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnISDEFINEFIELDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDEFINEFIELDChanged()
    End Sub
    Partial Private Sub OnISDISPLAYEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDISPLAYEDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_CONNECTOR_ENTITYSCHEMA = New EntitySet(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)(AddressOf Me.attach_CTL_ABL_CONNECTOR_ENTITYSCHEMA, AddressOf Me.detach_CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Me._CTL_ABL_DEPENDENT = New EntitySet(Of CTL_ABL_DEPENDENT)(AddressOf Me.attach_CTL_ABL_DEPENDENT, AddressOf Me.detach_CTL_ABL_DEPENDENT)
		Me._CTL_ABL_LINK = New EntitySet(Of CTL_ABL_LINK)(AddressOf Me.attach_CTL_ABL_LINK, AddressOf Me.detach_CTL_ABL_LINK)
		Me._TBL_IMPORT_HISTORYITEM = New EntitySet(Of TBL_IMPORT_HISTORYITEM)(AddressOf Me.attach_TBL_IMPORT_HISTORYITEM, AddressOf Me.detach_TBL_IMPORT_HISTORYITEM)
		Me._TBL_FEATURESET = CType(Nothing, EntityRef(Of TBL_FEATURESET))
		Me._TBL_SYSENTITY_SYSTABLE = New EntitySet(Of TBL_SYSENTITY_SYSTABLE)(AddressOf Me.attach_TBL_SYSENTITY_SYSTABLE, AddressOf Me.detach_TBL_SYSENTITY_SYSTABLE)
		Me._TBL_SYSTABLEDOMAIN = New EntitySet(Of TBL_SYSTABLEDOMAIN)(AddressOf Me.attach_TBL_SYSTABLEDOMAIN, AddressOf Me.detach_TBL_SYSTABLEDOMAIN)
		Me._TBL_USER_DEFAULT_ACL = New EntitySet(Of TBL_USER_DEFAULT_ACL)(AddressOf Me.attach_TBL_USER_DEFAULT_ACL, AddressOf Me.detach_TBL_USER_DEFAULT_ACL)
		Me._TBL_WORKFLOWDEF = New EntitySet(Of TBL_WORKFLOWDEF)(AddressOf Me.attach_TBL_WORKFLOWDEF, AddressOf Me.detach_TBL_WORKFLOWDEF)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(512)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALLOWHISTORYEDIT", DbType:="Bit NOT NULL")>  _
	Public Property ISALLOWHISTORYEDIT() As Boolean
		Get
			Return Me._ISALLOWHISTORYEDIT
		End Get
		Set
			If ((Me._ISALLOWHISTORYEDIT = value)  _
						= false) Then
				Me.OnISALLOWHISTORYEDITChanging(value)
				Me.SendPropertyChanging
				Me._ISALLOWHISTORYEDIT = value
				Me.SendPropertyChanged("ISALLOWHISTORYEDIT")
				Me.OnISALLOWHISTORYEDITChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISENABLEDUPCHK", DbType:="Bit NOT NULL")>  _
	Public Property ISENABLEDUPCHK() As Boolean
		Get
			Return Me._ISENABLEDUPCHK
		End Get
		Set
			If ((Me._ISENABLEDUPCHK = value)  _
						= false) Then
				Me.OnISENABLEDUPCHKChanging(value)
				Me.SendPropertyChanging
				Me._ISENABLEDUPCHK = value
				Me.SendPropertyChanged("ISENABLEDUPCHK")
				Me.OnISENABLEDUPCHKChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property FEATURESETID() As System.Guid
		Get
			Return Me._FEATURESETID
		End Get
		Set
			If ((Me._FEATURESETID = value)  _
						= false) Then
				If Me._TBL_FEATURESET.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnFEATURESETIDChanging(value)
				Me.SendPropertyChanging
				Me._FEATURESETID = value
				Me.SendPropertyChanged("FEATURESETID")
				Me.OnFEATURESETIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFINEFIELD() As Boolean
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If ((Me._ISDEFINEFIELD = value)  _
						= false) Then
				Me.OnISDEFINEFIELDChanging(value)
				Me.SendPropertyChanging
				Me._ISDEFINEFIELD = value
				Me.SendPropertyChanged("ISDEFINEFIELD")
				Me.OnISDEFINEFIELDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me.OnISDISPLAYEDChanging(value)
				Me.SendPropertyChanging
				Me._ISDISPLAYED = value
				Me.SendPropertyChanged("ISDISPLAYED")
				Me.OnISDISPLAYEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_CONNECTOR_ENTITYSCHEMA_ENTITYID_FK", Storage:="_CTL_ABL_CONNECTOR_ENTITYSCHEMA", ThisKey:="ENTITYID", OtherKey:="ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_CONNECTOR_ENTITYSCHEMA() As EntitySet(Of CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Get
			Return Me._CTL_ABL_CONNECTOR_ENTITYSCHEMA
		End Get
		Set
			Me._CTL_ABL_CONNECTOR_ENTITYSCHEMA.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_DEPENDENT_ACT_ENTITYID_FK", Storage:="_CTL_ABL_DEPENDENT", ThisKey:="ENTITYID", OtherKey:="ACT_ENTITYID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_DEPENDENT() As EntitySet(Of CTL_ABL_DEPENDENT)
		Get
			Return Me._CTL_ABL_DEPENDENT
		End Get
		Set
			Me._CTL_ABL_DEPENDENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_LINK_ACT_ENTITYID_FK", Storage:="_CTL_ABL_LINK", ThisKey:="ENTITYID", OtherKey:="ACT_ENTITYID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_LINK() As EntitySet(Of CTL_ABL_LINK)
		Get
			Return Me._CTL_ABL_LINK
		End Get
		Set
			Me._CTL_ABL_LINK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="IMPORT_HISTORYITEM_ENTITYID_FK", Storage:="_TBL_IMPORT_HISTORYITEM", ThisKey:="ENTITYID", OtherKey:="ENTITYID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_IMPORT_HISTORYITEM() As EntitySet(Of TBL_IMPORT_HISTORYITEM)
		Get
			Return Me._TBL_IMPORT_HISTORYITEM
		End Get
		Set
			Me._TBL_IMPORT_HISTORYITEM.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSENTITY_FEATURESETID_FK", Storage:="_TBL_FEATURESET", ThisKey:="FEATURESETID", OtherKey:="FEATURESETID", IsForeignKey:=true)>  _
	Public Property TBL_FEATURESET() As TBL_FEATURESET
		Get
			Return Me._TBL_FEATURESET.Entity
		End Get
		Set
			Dim previousValue As TBL_FEATURESET = Me._TBL_FEATURESET.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_FEATURESET.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_FEATURESET.Entity = Nothing
					previousValue.TBL_SYSENTITY.Remove(Me)
				End If
				Me._TBL_FEATURESET.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSENTITY.Add(Me)
					Me._FEATURESETID = value.FEATURESETID
				Else
					Me._FEATURESETID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_FEATURESET")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSENTITY_SYSTABLE_ENTITYID_FK", Storage:="_TBL_SYSENTITY_SYSTABLE", ThisKey:="ENTITYID", OtherKey:="ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSENTITY_SYSTABLE() As EntitySet(Of TBL_SYSENTITY_SYSTABLE)
		Get
			Return Me._TBL_SYSENTITY_SYSTABLE
		End Get
		Set
			Me._TBL_SYSENTITY_SYSTABLE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEDOMAIN_ENTITYID_FK", Storage:="_TBL_SYSTABLEDOMAIN", ThisKey:="ENTITYID", OtherKey:="ENTITYID", DeleteRule:="SET NULL")>  _
	Public Property TBL_SYSTABLEDOMAIN() As EntitySet(Of TBL_SYSTABLEDOMAIN)
		Get
			Return Me._TBL_SYSTABLEDOMAIN
		End Get
		Set
			Me._TBL_SYSTABLEDOMAIN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_DEFAULT_ACL_ENTITYID_FK", Storage:="_TBL_USER_DEFAULT_ACL", ThisKey:="ENTITYID", OtherKey:="ENTITYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_DEFAULT_ACL() As EntitySet(Of TBL_USER_DEFAULT_ACL)
		Get
			Return Me._TBL_USER_DEFAULT_ACL
		End Get
		Set
			Me._TBL_USER_DEFAULT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOWDEF_ENTITYNAME_FK", Storage:="_TBL_WORKFLOWDEF", ThisKey:="NAME", OtherKey:="ENTITYNAME", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOWDEF() As EntitySet(Of TBL_WORKFLOWDEF)
		Get
			Return Me._TBL_WORKFLOWDEF
		End Get
		Set
			Me._TBL_WORKFLOWDEF.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_CONNECTOR_ENTITYSCHEMA(ByVal entity As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_CONNECTOR_ENTITYSCHEMA(ByVal entity As CTL_ABL_CONNECTOR_ENTITYSCHEMA)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_DEPENDENT(ByVal entity As CTL_ABL_DEPENDENT)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_DEPENDENT(ByVal entity As CTL_ABL_DEPENDENT)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_CTL_ABL_LINK(ByVal entity As CTL_ABL_LINK)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_CTL_ABL_LINK(ByVal entity As CTL_ABL_LINK)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_TBL_IMPORT_HISTORYITEM(ByVal entity As TBL_IMPORT_HISTORYITEM)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_TBL_IMPORT_HISTORYITEM(ByVal entity As TBL_IMPORT_HISTORYITEM)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSENTITY_SYSTABLE(ByVal entity As TBL_SYSENTITY_SYSTABLE)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_TBL_SYSENTITY_SYSTABLE(ByVal entity As TBL_SYSENTITY_SYSTABLE)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSTABLEDOMAIN(ByVal entity As TBL_SYSTABLEDOMAIN)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_TBL_SYSTABLEDOMAIN(ByVal entity As TBL_SYSTABLEDOMAIN)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_DEFAULT_ACL(ByVal entity As TBL_USER_DEFAULT_ACL)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_TBL_USER_DEFAULT_ACL(ByVal entity As TBL_USER_DEFAULT_ACL)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOWDEF(ByVal entity As TBL_WORKFLOWDEF)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOWDEF(ByVal entity As TBL_WORKFLOWDEF)
		Me.SendPropertyChanging
		entity.TBL_SYSENTITY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSENTITY_SYSTABLE")>  _
Partial Public Class TBL_SYSENTITY_SYSTABLE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _ENTITYID As System.Guid
	
	Private _TABLEID As System.Guid
	
	Private _ISPRIMARYTABLE As Boolean
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
    #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 OnENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnISPRIMARYTABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIMARYTABLEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYTABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARYTABLE() As Boolean
		Get
			Return Me._ISPRIMARYTABLE
		End Get
		Set
			If ((Me._ISPRIMARYTABLE = value)  _
						= false) Then
				Me.OnISPRIMARYTABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIMARYTABLE = value
				Me.SendPropertyChanged("ISPRIMARYTABLE")
				Me.OnISPRIMARYTABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSENTITY_SYSTABLE_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.TBL_SYSENTITY_SYSTABLE.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSENTITY_SYSTABLE.Add(Me)
					Me._ENTITYID = value.ENTITYID
				Else
					Me._ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSENTITY_SYSTABLE_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.TBL_SYSENTITY_SYSTABLE.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSENTITY_SYSTABLE.Add(Me)
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSENTITYRELATION")>  _
Partial Public Class TBL_SYSENTITYRELATION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _FROM_ENTITYID As System.Guid
	
	Private _TO_ENTITYID As System.Guid
	
	Private _FROM_CARDINALITY As String
	
	Private _TO_CARDINALITY As String
	
	Private _ROLETYPENUM As Byte
	
	Private _HASCREATEEDIT As Boolean
	
	Private _HASDETAILS As Boolean
	
	Private _ISCUSTOM As Boolean
	
    #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 OnFROM_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnFROM_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnTO_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTO_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnFROM_CARDINALITYChanging(value As String)
    End Sub
    Partial Private Sub OnFROM_CARDINALITYChanged()
    End Sub
    Partial Private Sub OnTO_CARDINALITYChanging(value As String)
    End Sub
    Partial Private Sub OnTO_CARDINALITYChanged()
    End Sub
    Partial Private Sub OnROLETYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnROLETYPENUMChanged()
    End Sub
    Partial Private Sub OnHASCREATEEDITChanging(value As Boolean)
    End Sub
    Partial Private Sub OnHASCREATEEDITChanged()
    End Sub
    Partial Private Sub OnHASDETAILSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnHASDETAILSChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property FROM_ENTITYID() As System.Guid
		Get
			Return Me._FROM_ENTITYID
		End Get
		Set
			If ((Me._FROM_ENTITYID = value)  _
						= false) Then
				Me.OnFROM_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._FROM_ENTITYID = value
				Me.SendPropertyChanged("FROM_ENTITYID")
				Me.OnFROM_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TO_ENTITYID() As System.Guid
		Get
			Return Me._TO_ENTITYID
		End Get
		Set
			If ((Me._TO_ENTITYID = value)  _
						= false) Then
				Me.OnTO_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._TO_ENTITYID = value
				Me.SendPropertyChanged("TO_ENTITYID")
				Me.OnTO_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_CARDINALITY", DbType:="VarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property FROM_CARDINALITY() As String
		Get
			Return Me._FROM_CARDINALITY
		End Get
		Set
			If (String.Equals(Me._FROM_CARDINALITY, value) = false) Then
				Me.OnFROM_CARDINALITYChanging(value)
				Me.SendPropertyChanging
				Me._FROM_CARDINALITY = value
				Me.SendPropertyChanged("FROM_CARDINALITY")
				Me.OnFROM_CARDINALITYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_CARDINALITY", DbType:="VarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property TO_CARDINALITY() As String
		Get
			Return Me._TO_CARDINALITY
		End Get
		Set
			If (String.Equals(Me._TO_CARDINALITY, value) = false) Then
				Me.OnTO_CARDINALITYChanging(value)
				Me.SendPropertyChanging
				Me._TO_CARDINALITY = value
				Me.SendPropertyChanged("TO_CARDINALITY")
				Me.OnTO_CARDINALITYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLETYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property ROLETYPENUM() As Byte
		Get
			Return Me._ROLETYPENUM
		End Get
		Set
			If ((Me._ROLETYPENUM = value)  _
						= false) Then
				Me.OnROLETYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._ROLETYPENUM = value
				Me.SendPropertyChanged("ROLETYPENUM")
				Me.OnROLETYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HASCREATEEDIT", DbType:="Bit NOT NULL")>  _
	Public Property HASCREATEEDIT() As Boolean
		Get
			Return Me._HASCREATEEDIT
		End Get
		Set
			If ((Me._HASCREATEEDIT = value)  _
						= false) Then
				Me.OnHASCREATEEDITChanging(value)
				Me.SendPropertyChanging
				Me._HASCREATEEDIT = value
				Me.SendPropertyChanged("HASCREATEEDIT")
				Me.OnHASCREATEEDITChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HASDETAILS", DbType:="Bit NOT NULL")>  _
	Public Property HASDETAILS() As Boolean
		Get
			Return Me._HASDETAILS
		End Get
		Set
			If ((Me._HASDETAILS = value)  _
						= false) Then
				Me.OnHASDETAILSChanging(value)
				Me.SendPropertyChanging
				Me._HASDETAILS = value
				Me.SendPropertyChanged("HASDETAILS")
				Me.OnHASDETAILSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSLOCALCOLUMN")>  _
Partial Public Class TBL_SYSLOCALCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _COLUMNNAME As String
	
	Private _LOCALNAME 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 OnCOLUMNNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnCOLUMNNAMEChanged()
    End Sub
    Partial Private Sub OnLOCALNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnLOCALNAMEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me.OnCOLUMNNAMEChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNNAME = value
				Me.SendPropertyChanged("COLUMNNAME")
				Me.OnCOLUMNNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCALNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property LOCALNAME() As String
		Get
			Return Me._LOCALNAME
		End Get
		Set
			If (String.Equals(Me._LOCALNAME, value) = false) Then
				Me.OnLOCALNAMEChanging(value)
				Me.SendPropertyChanging
				Me._LOCALNAME = value
				Me.SendPropertyChanged("LOCALNAME")
				Me.OnLOCALNAMEChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSLOCALMESSAGE")>  _
Partial Public Class TBL_SYSLOCALMESSAGE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _MESSAGEKEY As String
	
	Private _MESSAGESTRING 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 OnMESSAGEKEYChanging(value As String)
    End Sub
    Partial Private Sub OnMESSAGEKEYChanged()
    End Sub
    Partial Private Sub OnMESSAGESTRINGChanging(value As String)
    End Sub
    Partial Private Sub OnMESSAGESTRINGChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MESSAGEKEY", DbType:="VarChar(64) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property MESSAGEKEY() As String
		Get
			Return Me._MESSAGEKEY
		End Get
		Set
			If (String.Equals(Me._MESSAGEKEY, value) = false) Then
				Me.OnMESSAGEKEYChanging(value)
				Me.SendPropertyChanging
				Me._MESSAGEKEY = value
				Me.SendPropertyChanged("MESSAGEKEY")
				Me.OnMESSAGEKEYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MESSAGESTRING", DbType:="NVarChar(2000) NOT NULL", CanBeNull:=false)>  _
	Public Property MESSAGESTRING() As String
		Get
			Return Me._MESSAGESTRING
		End Get
		Set
			If (String.Equals(Me._MESSAGESTRING, value) = false) Then
				Me.OnMESSAGESTRINGChanging(value)
				Me.SendPropertyChanging
				Me._MESSAGESTRING = value
				Me.SendPropertyChanged("MESSAGESTRING")
				Me.OnMESSAGESTRINGChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSOPERATOR")>  _
Partial Public Class TBL_SYSOPERATOR
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _OPERATORID As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_COMPANYQUERY As EntitySet(Of TBL_COMPANYQUERY)
	
	Private _TBL_GROUPQUERY As EntitySet(Of TBL_GROUPQUERY)
	
	Private _TBL_SYNCSETQUERY As EntitySet(Of TBL_SYNCSETQUERY)
	
	Private _TBL_SYSDOMAIN_SYSOPERATOR As EntitySet(Of TBL_SYSDOMAIN_SYSOPERATOR)
	
	Private _TBL_SYSVALUEUSAGE As EntitySet(Of TBL_SYSVALUEUSAGE)
	
    #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 OnOPERATORIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnOPERATORIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANYQUERY = New EntitySet(Of TBL_COMPANYQUERY)(AddressOf Me.attach_TBL_COMPANYQUERY, AddressOf Me.detach_TBL_COMPANYQUERY)
		Me._TBL_GROUPQUERY = New EntitySet(Of TBL_GROUPQUERY)(AddressOf Me.attach_TBL_GROUPQUERY, AddressOf Me.detach_TBL_GROUPQUERY)
		Me._TBL_SYNCSETQUERY = New EntitySet(Of TBL_SYNCSETQUERY)(AddressOf Me.attach_TBL_SYNCSETQUERY, AddressOf Me.detach_TBL_SYNCSETQUERY)
		Me._TBL_SYSDOMAIN_SYSOPERATOR = New EntitySet(Of TBL_SYSDOMAIN_SYSOPERATOR)(AddressOf Me.attach_TBL_SYSDOMAIN_SYSOPERATOR, AddressOf Me.detach_TBL_SYSDOMAIN_SYSOPERATOR)
		Me._TBL_SYSVALUEUSAGE = New EntitySet(Of TBL_SYSVALUEUSAGE)(AddressOf Me.attach_TBL_SYSVALUEUSAGE, AddressOf Me.detach_TBL_SYSVALUEUSAGE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				Me.OnOPERATORIDChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORID = value
				Me.SendPropertyChanged("OPERATORID")
				Me.OnOPERATORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_OPERATORID_FK", Storage:="_TBL_COMPANYQUERY", ThisKey:="OPERATORID", OtherKey:="OPERATORID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_COMPANYQUERY() As EntitySet(Of TBL_COMPANYQUERY)
		Get
			Return Me._TBL_COMPANYQUERY
		End Get
		Set
			Me._TBL_COMPANYQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_OPERATORID_FK", Storage:="_TBL_GROUPQUERY", ThisKey:="OPERATORID", OtherKey:="OPERATORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_GROUPQUERY() As EntitySet(Of TBL_GROUPQUERY)
		Get
			Return Me._TBL_GROUPQUERY
		End Get
		Set
			Me._TBL_GROUPQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_OPERATORID_FK", Storage:="_TBL_SYNCSETQUERY", ThisKey:="OPERATORID", OtherKey:="OPERATORID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYNCSETQUERY() As EntitySet(Of TBL_SYNCSETQUERY)
		Get
			Return Me._TBL_SYNCSETQUERY
		End Get
		Set
			Me._TBL_SYNCSETQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSDOMAIN_SYSOPERATOR_OPERATORID_FK", Storage:="_TBL_SYSDOMAIN_SYSOPERATOR", ThisKey:="OPERATORID", OtherKey:="OPERATORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSDOMAIN_SYSOPERATOR() As EntitySet(Of TBL_SYSDOMAIN_SYSOPERATOR)
		Get
			Return Me._TBL_SYSDOMAIN_SYSOPERATOR
		End Get
		Set
			Me._TBL_SYSDOMAIN_SYSOPERATOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSVALUEUSAGE_OPERATORID_FK", Storage:="_TBL_SYSVALUEUSAGE", ThisKey:="OPERATORID", OtherKey:="OPERATORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSVALUEUSAGE() As EntitySet(Of TBL_SYSVALUEUSAGE)
		Get
			Return Me._TBL_SYSVALUEUSAGE
		End Get
		Set
			Me._TBL_SYSVALUEUSAGE.Assign(value)
		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
	
	Private Sub attach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Me
	End Sub
	
	Private Sub detach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Me
	End Sub
	
	Private Sub detach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSDOMAIN_SYSOPERATOR(ByVal entity As TBL_SYSDOMAIN_SYSOPERATOR)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Me
	End Sub
	
	Private Sub detach_TBL_SYSDOMAIN_SYSOPERATOR(ByVal entity As TBL_SYSDOMAIN_SYSOPERATOR)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSVALUEUSAGE(ByVal entity As TBL_SYSVALUEUSAGE)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Me
	End Sub
	
	Private Sub detach_TBL_SYSVALUEUSAGE(ByVal entity As TBL_SYSVALUEUSAGE)
		Me.SendPropertyChanging
		entity.TBL_SYSOPERATOR = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSTABLE")>  _
Partial Public Class TBL_SYSTABLE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLEID As System.Guid
	
	Private _TABLENAME As String
	
	Private _DISPLAYNAME As String
	
	Private _TABLEDOMAINID As Byte
	
	Private _TYPENUM As Byte
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISDEFINEFIELD As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _HASVIRTUALCOLUMNS As Boolean
	
	Private _CONTAINSVIRTUALS As Boolean
	
	Private _CONTAINSADDRESS As Boolean
	
	Private _CONTAINSEMAIL As Boolean
	
	Private _CONTAINSPHONE As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _CTL_ABL_DEPENDENT As EntitySet(Of CTL_ABL_DEPENDENT)
	
	Private _CTL_SYNCTABLE As EntityRef(Of CTL_SYNCTABLE)
	
	Private _TBL_SYSCOLUMN As EntitySet(Of TBL_SYSCOLUMN)
	
	Private _TBL_SYSENTITY_SYSTABLE As EntitySet(Of TBL_SYSENTITY_SYSTABLE)
	
	Private _TBL_SYSTABLEDOMAIN As EntityRef(Of TBL_SYSTABLEDOMAIN)
	
	Private _TBL_SYSTABLEKEY As EntitySet(Of TBL_SYSTABLEKEY)
	
	Private _CTL_SYSTABLEORDER As EntityRef(Of CTL_SYSTABLEORDER)
	
	Private _TBL_VIRTUALRECORDTYPE As EntitySet(Of TBL_VIRTUALRECORDTYPE)
	
	Private _TBL_WORKFLOW_ARCHIVE As EntitySet(Of TBL_WORKFLOW_ARCHIVE)
	
	Private _TBL_WORKFLOW_QUEUE As EntitySet(Of TBL_WORKFLOW_QUEUE)
	
    #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 OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnTABLENAMEChanging(value As String)
    End Sub
    Partial Private Sub OnTABLENAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnTABLEDOMAINIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnTABLEDOMAINIDChanged()
    End Sub
    Partial Private Sub OnTYPENUMChanging(value As Byte)
    End Sub
    Partial Private Sub OnTYPENUMChanged()
    End Sub
    Partial Private Sub OnISDISPLAYEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDISPLAYEDChanged()
    End Sub
    Partial Private Sub OnISDEFINEFIELDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDEFINEFIELDChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnHASVIRTUALCOLUMNSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnHASVIRTUALCOLUMNSChanged()
    End Sub
    Partial Private Sub OnCONTAINSVIRTUALSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnCONTAINSVIRTUALSChanged()
    End Sub
    Partial Private Sub OnCONTAINSADDRESSChanging(value As Boolean)
    End Sub
    Partial Private Sub OnCONTAINSADDRESSChanged()
    End Sub
    Partial Private Sub OnCONTAINSEMAILChanging(value As Boolean)
    End Sub
    Partial Private Sub OnCONTAINSEMAILChanged()
    End Sub
    Partial Private Sub OnCONTAINSPHONEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnCONTAINSPHONEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_DEPENDENT = New EntitySet(Of CTL_ABL_DEPENDENT)(AddressOf Me.attach_CTL_ABL_DEPENDENT, AddressOf Me.detach_CTL_ABL_DEPENDENT)
		Me._CTL_SYNCTABLE = CType(Nothing, EntityRef(Of CTL_SYNCTABLE))
		Me._TBL_SYSCOLUMN = New EntitySet(Of TBL_SYSCOLUMN)(AddressOf Me.attach_TBL_SYSCOLUMN, AddressOf Me.detach_TBL_SYSCOLUMN)
		Me._TBL_SYSENTITY_SYSTABLE = New EntitySet(Of TBL_SYSENTITY_SYSTABLE)(AddressOf Me.attach_TBL_SYSENTITY_SYSTABLE, AddressOf Me.detach_TBL_SYSENTITY_SYSTABLE)
		Me._TBL_SYSTABLEDOMAIN = CType(Nothing, EntityRef(Of TBL_SYSTABLEDOMAIN))
		Me._TBL_SYSTABLEKEY = New EntitySet(Of TBL_SYSTABLEKEY)(AddressOf Me.attach_TBL_SYSTABLEKEY, AddressOf Me.detach_TBL_SYSTABLEKEY)
		Me._CTL_SYSTABLEORDER = CType(Nothing, EntityRef(Of CTL_SYSTABLEORDER))
		Me._TBL_VIRTUALRECORDTYPE = New EntitySet(Of TBL_VIRTUALRECORDTYPE)(AddressOf Me.attach_TBL_VIRTUALRECORDTYPE, AddressOf Me.detach_TBL_VIRTUALRECORDTYPE)
		Me._TBL_WORKFLOW_ARCHIVE = New EntitySet(Of TBL_WORKFLOW_ARCHIVE)(AddressOf Me.attach_TBL_WORKFLOW_ARCHIVE, AddressOf Me.detach_TBL_WORKFLOW_ARCHIVE)
		Me._TBL_WORKFLOW_QUEUE = New EntitySet(Of TBL_WORKFLOW_QUEUE)(AddressOf Me.attach_TBL_WORKFLOW_QUEUE, AddressOf Me.detach_TBL_WORKFLOW_QUEUE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me.OnTABLENAMEChanging(value)
				Me.SendPropertyChanging
				Me._TABLENAME = value
				Me.SendPropertyChanged("TABLENAME")
				Me.OnTABLENAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property TABLEDOMAINID() As Byte
		Get
			Return Me._TABLEDOMAINID
		End Get
		Set
			If ((Me._TABLEDOMAINID = value)  _
						= false) Then
				If Me._TBL_SYSTABLEDOMAIN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEDOMAINIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEDOMAINID = value
				Me.SendPropertyChanged("TABLEDOMAINID")
				Me.OnTABLEDOMAINIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me.OnTYPENUMChanging(value)
				Me.SendPropertyChanging
				Me._TYPENUM = value
				Me.SendPropertyChanged("TYPENUM")
				Me.OnTYPENUMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me.OnISDISPLAYEDChanging(value)
				Me.SendPropertyChanging
				Me._ISDISPLAYED = value
				Me.SendPropertyChanged("ISDISPLAYED")
				Me.OnISDISPLAYEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFINEFIELD() As Boolean
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If ((Me._ISDEFINEFIELD = value)  _
						= false) Then
				Me.OnISDEFINEFIELDChanging(value)
				Me.SendPropertyChanging
				Me._ISDEFINEFIELD = value
				Me.SendPropertyChanged("ISDEFINEFIELD")
				Me.OnISDEFINEFIELDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HASVIRTUALCOLUMNS", DbType:="Bit NOT NULL")>  _
	Public Property HASVIRTUALCOLUMNS() As Boolean
		Get
			Return Me._HASVIRTUALCOLUMNS
		End Get
		Set
			If ((Me._HASVIRTUALCOLUMNS = value)  _
						= false) Then
				Me.OnHASVIRTUALCOLUMNSChanging(value)
				Me.SendPropertyChanging
				Me._HASVIRTUALCOLUMNS = value
				Me.SendPropertyChanged("HASVIRTUALCOLUMNS")
				Me.OnHASVIRTUALCOLUMNSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSVIRTUALS", DbType:="Bit NOT NULL")>  _
	Public Property CONTAINSVIRTUALS() As Boolean
		Get
			Return Me._CONTAINSVIRTUALS
		End Get
		Set
			If ((Me._CONTAINSVIRTUALS = value)  _
						= false) Then
				Me.OnCONTAINSVIRTUALSChanging(value)
				Me.SendPropertyChanging
				Me._CONTAINSVIRTUALS = value
				Me.SendPropertyChanged("CONTAINSVIRTUALS")
				Me.OnCONTAINSVIRTUALSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSADDRESS", DbType:="Bit NOT NULL")>  _
	Public Property CONTAINSADDRESS() As Boolean
		Get
			Return Me._CONTAINSADDRESS
		End Get
		Set
			If ((Me._CONTAINSADDRESS = value)  _
						= false) Then
				Me.OnCONTAINSADDRESSChanging(value)
				Me.SendPropertyChanging
				Me._CONTAINSADDRESS = value
				Me.SendPropertyChanged("CONTAINSADDRESS")
				Me.OnCONTAINSADDRESSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSEMAIL", DbType:="Bit NOT NULL")>  _
	Public Property CONTAINSEMAIL() As Boolean
		Get
			Return Me._CONTAINSEMAIL
		End Get
		Set
			If ((Me._CONTAINSEMAIL = value)  _
						= false) Then
				Me.OnCONTAINSEMAILChanging(value)
				Me.SendPropertyChanging
				Me._CONTAINSEMAIL = value
				Me.SendPropertyChanged("CONTAINSEMAIL")
				Me.OnCONTAINSEMAILChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSPHONE", DbType:="Bit NOT NULL")>  _
	Public Property CONTAINSPHONE() As Boolean
		Get
			Return Me._CONTAINSPHONE
		End Get
		Set
			If ((Me._CONTAINSPHONE = value)  _
						= false) Then
				Me.OnCONTAINSPHONEChanging(value)
				Me.SendPropertyChanging
				Me._CONTAINSPHONE = value
				Me.SendPropertyChanged("CONTAINSPHONE")
				Me.OnCONTAINSPHONEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(512)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_DEPENDENT_ACT_TABLEID_FK", Storage:="_CTL_ABL_DEPENDENT", ThisKey:="TABLEID", OtherKey:="ACT_TABLEID", DeleteRule:="NO ACTION")>  _
	Public Property CTL_ABL_DEPENDENT() As EntitySet(Of CTL_ABL_DEPENDENT)
		Get
			Return Me._CTL_ABL_DEPENDENT
		End Get
		Set
			Me._CTL_ABL_DEPENDENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCTABLE_TABLEID_FK", Storage:="_CTL_SYNCTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsUnique:=true, IsForeignKey:=false, DeleteRule:="CASCADE")>  _
	Public Property CTL_SYNCTABLE() As CTL_SYNCTABLE
		Get
			Return Me._CTL_SYNCTABLE.Entity
		End Get
		Set
			Dim previousValue As CTL_SYNCTABLE = Me._CTL_SYNCTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYNCTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYNCTABLE.Entity = Nothing
					previousValue.TBL_SYSTABLE = Nothing
				End If
				Me._CTL_SYNCTABLE.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_SYSTABLE = Me
				End If
				Me.SendPropertyChanged("CTL_SYNCTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSCOLUMN_TABLEID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="TABLEID", OtherKey:="TABLEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSCOLUMN() As EntitySet(Of TBL_SYSCOLUMN)
		Get
			Return Me._TBL_SYSCOLUMN
		End Get
		Set
			Me._TBL_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSENTITY_SYSTABLE_TABLEID_FK", Storage:="_TBL_SYSENTITY_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSENTITY_SYSTABLE() As EntitySet(Of TBL_SYSENTITY_SYSTABLE)
		Get
			Return Me._TBL_SYSENTITY_SYSTABLE
		End Get
		Set
			Me._TBL_SYSENTITY_SYSTABLE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLE_TABLEDOMAINID_FK", Storage:="_TBL_SYSTABLEDOMAIN", ThisKey:="TABLEDOMAINID", OtherKey:="TABLEDOMAINID", IsForeignKey:=true)>  _
	Public Property TBL_SYSTABLEDOMAIN() As TBL_SYSTABLEDOMAIN
		Get
			Return Me._TBL_SYSTABLEDOMAIN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLEDOMAIN = Me._TBL_SYSTABLEDOMAIN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLEDOMAIN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLEDOMAIN.Entity = Nothing
					previousValue.TBL_SYSTABLE.Remove(Me)
				End If
				Me._TBL_SYSTABLEDOMAIN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSTABLE.Add(Me)
					Me._TABLEDOMAINID = value.TABLEDOMAINID
				Else
					Me._TABLEDOMAINID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLEDOMAIN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEKEY_TABLEID_FK", Storage:="_TBL_SYSTABLEKEY", ThisKey:="TABLEID", OtherKey:="TABLEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSTABLEKEY() As EntitySet(Of TBL_SYSTABLEKEY)
		Get
			Return Me._TBL_SYSTABLEKEY
		End Get
		Set
			Me._TBL_SYSTABLEKEY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEORDER_TABLENAME_FK", Storage:="_CTL_SYSTABLEORDER", ThisKey:="TABLENAME", OtherKey:="TABLENAME", IsUnique:=true, IsForeignKey:=false, DeleteRule:="CASCADE")>  _
	Public Property CTL_SYSTABLEORDER() As CTL_SYSTABLEORDER
		Get
			Return Me._CTL_SYSTABLEORDER.Entity
		End Get
		Set
			Dim previousValue As CTL_SYSTABLEORDER = Me._CTL_SYSTABLEORDER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._CTL_SYSTABLEORDER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._CTL_SYSTABLEORDER.Entity = Nothing
					previousValue.TBL_SYSTABLE = Nothing
				End If
				Me._CTL_SYSTABLEORDER.Entity = value
				If (Object.Equals(value, Nothing) = false) Then
					value.TBL_SYSTABLE = Me
				End If
				Me.SendPropertyChanged("CTL_SYSTABLEORDER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="VIRTUALRECORDTYPE_TABLEID_FK", Storage:="_TBL_VIRTUALRECORDTYPE", ThisKey:="TABLEID", OtherKey:="TABLEID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_VIRTUALRECORDTYPE() As EntitySet(Of TBL_VIRTUALRECORDTYPE)
		Get
			Return Me._TBL_VIRTUALRECORDTYPE
		End Get
		Set
			Me._TBL_VIRTUALRECORDTYPE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_ARCHIVE_TABLEID_FK", Storage:="_TBL_WORKFLOW_ARCHIVE", ThisKey:="TABLEID", OtherKey:="TABLEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOW_ARCHIVE() As EntitySet(Of TBL_WORKFLOW_ARCHIVE)
		Get
			Return Me._TBL_WORKFLOW_ARCHIVE
		End Get
		Set
			Me._TBL_WORKFLOW_ARCHIVE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_QUEUE_TABLEID_FK", Storage:="_TBL_WORKFLOW_QUEUE", ThisKey:="TABLEID", OtherKey:="TABLEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOW_QUEUE() As EntitySet(Of TBL_WORKFLOW_QUEUE)
		Get
			Return Me._TBL_WORKFLOW_QUEUE
		End Get
		Set
			Me._TBL_WORKFLOW_QUEUE.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_DEPENDENT(ByVal entity As CTL_ABL_DEPENDENT)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_CTL_ABL_DEPENDENT(ByVal entity As CTL_ABL_DEPENDENT)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSCOLUMN(ByVal entity As TBL_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_TBL_SYSCOLUMN(ByVal entity As TBL_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSENTITY_SYSTABLE(ByVal entity As TBL_SYSENTITY_SYSTABLE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_TBL_SYSENTITY_SYSTABLE(ByVal entity As TBL_SYSENTITY_SYSTABLE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSTABLEKEY(ByVal entity As TBL_SYSTABLEKEY)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_TBL_SYSTABLEKEY(ByVal entity As TBL_SYSTABLEKEY)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
	
	Private Sub attach_TBL_VIRTUALRECORDTYPE(ByVal entity As TBL_VIRTUALRECORDTYPE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_TBL_VIRTUALRECORDTYPE(ByVal entity As TBL_VIRTUALRECORDTYPE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOW_ARCHIVE(ByVal entity As TBL_WORKFLOW_ARCHIVE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOW_ARCHIVE(ByVal entity As TBL_WORKFLOW_ARCHIVE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOW_QUEUE(ByVal entity As TBL_WORKFLOW_QUEUE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOW_QUEUE(ByVal entity As TBL_WORKFLOW_QUEUE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSTABLEDOMAIN")>  _
Partial Public Class TBL_SYSTABLEDOMAIN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLEDOMAINGUID As System.Guid
	
	Private _TABLEDOMAINID As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ENTITYID As System.Nullable(Of System.Guid)
	
	Private _TBL_SYSTABLE As EntitySet(Of TBL_SYSTABLE)
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
    #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 OnTABLEDOMAINGUIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEDOMAINGUIDChanged()
    End Sub
    Partial Private Sub OnTABLEDOMAINIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnTABLEDOMAINIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSTABLE = New EntitySet(Of TBL_SYSTABLE)(AddressOf Me.attach_TBL_SYSTABLE, AddressOf Me.detach_TBL_SYSTABLE)
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAINGUID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLEDOMAINGUID() As System.Guid
		Get
			Return Me._TABLEDOMAINGUID
		End Get
		Set
			If ((Me._TABLEDOMAINGUID = value)  _
						= false) Then
				Me.OnTABLEDOMAINGUIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEDOMAINGUID = value
				Me.SendPropertyChanged("TABLEDOMAINGUID")
				Me.OnTABLEDOMAINGUIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property TABLEDOMAINID() As Byte
		Get
			Return Me._TABLEDOMAINID
		End Get
		Set
			If ((Me._TABLEDOMAINID = value)  _
						= false) Then
				Me.OnTABLEDOMAINIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEDOMAINID = value
				Me.SendPropertyChanged("TABLEDOMAINID")
				Me.OnTABLEDOMAINIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (Me._ENTITYID.Equals(value) = false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLE_TABLEDOMAINID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEDOMAINID", OtherKey:="TABLEDOMAINID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYSTABLE() As EntitySet(Of TBL_SYSTABLE)
		Get
			Return Me._TBL_SYSTABLE
		End Get
		Set
			Me._TBL_SYSTABLE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEDOMAIN_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.TBL_SYSTABLEDOMAIN.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSTABLEDOMAIN.Add(Me)
					Me._ENTITYID = value.ENTITYID
				Else
					Me._ENTITYID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			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
	
	Private Sub attach_TBL_SYSTABLE(ByVal entity As TBL_SYSTABLE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLEDOMAIN = Me
	End Sub
	
	Private Sub detach_TBL_SYSTABLE(ByVal entity As TBL_SYSTABLE)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLEDOMAIN = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSTABLEKEY")>  _
Partial Public Class TBL_SYSTABLEKEY
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLEKEYID As System.Guid
	
	Private _TABLEID As System.Guid
	
	Private _KEYTYPE As String
	
	Private _ISKEY As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _ISREMOVEABLE As Boolean
	
	Private _NUMCOLUMNS As Byte
	
	Private _NAME As String
	
	Private _DISPLAYNAME As String
	
	Private _SQLTEXT As String
	
	Private _TBL_SYSTABLEKEY_SYSCOLUMN As EntitySet(Of TBL_SYSTABLEKEY_SYSCOLUMN)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
    #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 OnTABLEKEYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEKEYIDChanged()
    End Sub
    Partial Private Sub OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnKEYTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnKEYTYPEChanged()
    End Sub
    Partial Private Sub OnISKEYChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISKEYChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnISREMOVEABLEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISREMOVEABLEChanged()
    End Sub
    Partial Private Sub OnNUMCOLUMNSChanging(value As Byte)
    End Sub
    Partial Private Sub OnNUMCOLUMNSChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnDISPLAYNAMEChanged()
    End Sub
    Partial Private Sub OnSQLTEXTChanging(value As String)
    End Sub
    Partial Private Sub OnSQLTEXTChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSTABLEKEY_SYSCOLUMN = New EntitySet(Of TBL_SYSTABLEKEY_SYSCOLUMN)(AddressOf Me.attach_TBL_SYSTABLEKEY_SYSCOLUMN, AddressOf Me.detach_TBL_SYSTABLEKEY_SYSCOLUMN)
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEKEYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLEKEYID() As System.Guid
		Get
			Return Me._TABLEKEYID
		End Get
		Set
			If ((Me._TABLEKEYID = value)  _
						= false) Then
				Me.OnTABLEKEYIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEKEYID = value
				Me.SendPropertyChanged("TABLEKEYID")
				Me.OnTABLEKEYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYTYPE", DbType:="NChar(2) NOT NULL", CanBeNull:=false)>  _
	Public Property KEYTYPE() As String
		Get
			Return Me._KEYTYPE
		End Get
		Set
			If (String.Equals(Me._KEYTYPE, value) = false) Then
				Me.OnKEYTYPEChanging(value)
				Me.SendPropertyChanging
				Me._KEYTYPE = value
				Me.SendPropertyChanged("KEYTYPE")
				Me.OnKEYTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISKEY", DbType:="Bit NOT NULL")>  _
	Public Property ISKEY() As Boolean
		Get
			Return Me._ISKEY
		End Get
		Set
			If ((Me._ISKEY = value)  _
						= false) Then
				Me.OnISKEYChanging(value)
				Me.SendPropertyChanging
				Me._ISKEY = value
				Me.SendPropertyChanged("ISKEY")
				Me.OnISKEYChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREMOVEABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISREMOVEABLE() As Boolean
		Get
			Return Me._ISREMOVEABLE
		End Get
		Set
			If ((Me._ISREMOVEABLE = value)  _
						= false) Then
				Me.OnISREMOVEABLEChanging(value)
				Me.SendPropertyChanging
				Me._ISREMOVEABLE = value
				Me.SendPropertyChanged("ISREMOVEABLE")
				Me.OnISREMOVEABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMCOLUMNS", DbType:="TinyInt NOT NULL")>  _
	Public Property NUMCOLUMNS() As Byte
		Get
			Return Me._NUMCOLUMNS
		End Get
		Set
			If ((Me._NUMCOLUMNS = value)  _
						= false) Then
				Me.OnNUMCOLUMNSChanging(value)
				Me.SendPropertyChanging
				Me._NUMCOLUMNS = value
				Me.SendPropertyChanged("NUMCOLUMNS")
				Me.OnNUMCOLUMNSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me.OnDISPLAYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._DISPLAYNAME = value
				Me.SendPropertyChanged("DISPLAYNAME")
				Me.OnDISPLAYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLTEXT", DbType:="NVarChar(256)")>  _
	Public Property SQLTEXT() As String
		Get
			Return Me._SQLTEXT
		End Get
		Set
			If (String.Equals(Me._SQLTEXT, value) = false) Then
				Me.OnSQLTEXTChanging(value)
				Me.SendPropertyChanging
				Me._SQLTEXT = value
				Me.SendPropertyChanged("SQLTEXT")
				Me.OnSQLTEXTChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEKEY_SYSCOLUMN_TABLEKEYID_FK", Storage:="_TBL_SYSTABLEKEY_SYSCOLUMN", ThisKey:="TABLEKEYID", OtherKey:="TABLEKEYID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSTABLEKEY_SYSCOLUMN() As EntitySet(Of TBL_SYSTABLEKEY_SYSCOLUMN)
		Get
			Return Me._TBL_SYSTABLEKEY_SYSCOLUMN
		End Get
		Set
			Me._TBL_SYSTABLEKEY_SYSCOLUMN.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEKEY_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.TBL_SYSTABLEKEY.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSTABLEKEY.Add(Me)
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			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
	
	Private Sub attach_TBL_SYSTABLEKEY_SYSCOLUMN(ByVal entity As TBL_SYSTABLEKEY_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLEKEY = Me
	End Sub
	
	Private Sub detach_TBL_SYSTABLEKEY_SYSCOLUMN(ByVal entity As TBL_SYSTABLEKEY_SYSCOLUMN)
		Me.SendPropertyChanging
		entity.TBL_SYSTABLEKEY = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSTABLEKEY_SYSCOLUMN")>  _
Partial Public Class TBL_SYSTABLEKEY_SYSCOLUMN
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLEKEYID As System.Guid
	
	Private _COLUMNID As System.Guid
	
	Private _ORDINAL As Short
	
	Private _TBL_SYSCOLUMN As EntityRef(Of TBL_SYSCOLUMN)
	
	Private _TBL_SYSTABLEKEY As EntityRef(Of TBL_SYSTABLEKEY)
	
    #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 OnTABLEKEYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEKEYIDChanged()
    End Sub
    Partial Private Sub OnCOLUMNIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCOLUMNIDChanged()
    End Sub
    Partial Private Sub OnORDINALChanging(value As Short)
    End Sub
    Partial Private Sub OnORDINALChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSCOLUMN = CType(Nothing, EntityRef(Of TBL_SYSCOLUMN))
		Me._TBL_SYSTABLEKEY = CType(Nothing, EntityRef(Of TBL_SYSTABLEKEY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEKEYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLEKEYID() As System.Guid
		Get
			Return Me._TABLEKEYID
		End Get
		Set
			If ((Me._TABLEKEYID = value)  _
						= false) Then
				If Me._TBL_SYSTABLEKEY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEKEYIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEKEYID = value
				Me.SendPropertyChanged("TABLEKEYID")
				Me.OnTABLEKEYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				If Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnCOLUMNIDChanging(value)
				Me.SendPropertyChanging
				Me._COLUMNID = value
				Me.SendPropertyChanged("COLUMNID")
				Me.OnCOLUMNIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me.OnORDINALChanging(value)
				Me.SendPropertyChanging
				Me._ORDINAL = value
				Me.SendPropertyChanged("ORDINAL")
				Me.OnORDINALChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEKEY_SYSCOLUMN_COLUMNID_FK", Storage:="_TBL_SYSCOLUMN", ThisKey:="COLUMNID", OtherKey:="COLUMNID", IsForeignKey:=true)>  _
	Public Property TBL_SYSCOLUMN() As TBL_SYSCOLUMN
		Get
			Return Me._TBL_SYSCOLUMN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSCOLUMN = Me._TBL_SYSCOLUMN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSCOLUMN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSCOLUMN.Entity = Nothing
					previousValue.TBL_SYSTABLEKEY_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSCOLUMN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSTABLEKEY_SYSCOLUMN.Add(Me)
					Me._COLUMNID = value.COLUMNID
				Else
					Me._COLUMNID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSCOLUMN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSTABLEKEY_SYSCOLUMN_TABLEKEYID_FK", Storage:="_TBL_SYSTABLEKEY", ThisKey:="TABLEKEYID", OtherKey:="TABLEKEYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSTABLEKEY() As TBL_SYSTABLEKEY
		Get
			Return Me._TBL_SYSTABLEKEY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLEKEY = Me._TBL_SYSTABLEKEY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLEKEY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLEKEY.Entity = Nothing
					previousValue.TBL_SYSTABLEKEY_SYSCOLUMN.Remove(Me)
				End If
				Me._TBL_SYSTABLEKEY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSTABLEKEY_SYSCOLUMN.Add(Me)
					Me._TABLEKEYID = value.TABLEKEYID
				Else
					Me._TABLEKEYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLEKEY")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSTABLERELATION")>  _
Partial Public Class TBL_SYSTABLERELATION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _CHILDTABLE As String
	
	Private _CHILDCOLUMN As String
	
	Private _JOINTYPE As String
	
	Private _PARENTTABLE As String
	
	Private _PARENTCOLUMN As String
	
	Private _PARENTKEYTYPE As String
	
	Private _CHILDRULE As String
	
	Private _PARENTRULE As String
	
	Private _RELATIONID As System.Guid
	
    #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 OnCHILDTABLEChanging(value As String)
    End Sub
    Partial Private Sub OnCHILDTABLEChanged()
    End Sub
    Partial Private Sub OnCHILDCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnCHILDCOLUMNChanged()
    End Sub
    Partial Private Sub OnJOINTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnJOINTYPEChanged()
    End Sub
    Partial Private Sub OnPARENTTABLEChanging(value As String)
    End Sub
    Partial Private Sub OnPARENTTABLEChanged()
    End Sub
    Partial Private Sub OnPARENTCOLUMNChanging(value As String)
    End Sub
    Partial Private Sub OnPARENTCOLUMNChanged()
    End Sub
    Partial Private Sub OnPARENTKEYTYPEChanging(value As String)
    End Sub
    Partial Private Sub OnPARENTKEYTYPEChanged()
    End Sub
    Partial Private Sub OnCHILDRULEChanging(value As String)
    End Sub
    Partial Private Sub OnCHILDRULEChanged()
    End Sub
    Partial Private Sub OnPARENTRULEChanging(value As String)
    End Sub
    Partial Private Sub OnPARENTRULEChanged()
    End Sub
    Partial Private Sub OnRELATIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnRELATIONIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CHILDTABLE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property CHILDTABLE() As String
		Get
			Return Me._CHILDTABLE
		End Get
		Set
			If (String.Equals(Me._CHILDTABLE, value) = false) Then
				Me.OnCHILDTABLEChanging(value)
				Me.SendPropertyChanging
				Me._CHILDTABLE = value
				Me.SendPropertyChanged("CHILDTABLE")
				Me.OnCHILDTABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CHILDCOLUMN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false, IsPrimaryKey:=true)>  _
	Public Property CHILDCOLUMN() As String
		Get
			Return Me._CHILDCOLUMN
		End Get
		Set
			If (String.Equals(Me._CHILDCOLUMN, value) = false) Then
				Me.OnCHILDCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._CHILDCOLUMN = value
				Me.SendPropertyChanged("CHILDCOLUMN")
				Me.OnCHILDCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_JOINTYPE", DbType:="VarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property JOINTYPE() As String
		Get
			Return Me._JOINTYPE
		End Get
		Set
			If (String.Equals(Me._JOINTYPE, value) = false) Then
				Me.OnJOINTYPEChanging(value)
				Me.SendPropertyChanging
				Me._JOINTYPE = value
				Me.SendPropertyChanged("JOINTYPE")
				Me.OnJOINTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTTABLE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PARENTTABLE() As String
		Get
			Return Me._PARENTTABLE
		End Get
		Set
			If (String.Equals(Me._PARENTTABLE, value) = false) Then
				Me.OnPARENTTABLEChanging(value)
				Me.SendPropertyChanging
				Me._PARENTTABLE = value
				Me.SendPropertyChanged("PARENTTABLE")
				Me.OnPARENTTABLEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTCOLUMN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PARENTCOLUMN() As String
		Get
			Return Me._PARENTCOLUMN
		End Get
		Set
			If (String.Equals(Me._PARENTCOLUMN, value) = false) Then
				Me.OnPARENTCOLUMNChanging(value)
				Me.SendPropertyChanging
				Me._PARENTCOLUMN = value
				Me.SendPropertyChanged("PARENTCOLUMN")
				Me.OnPARENTCOLUMNChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTKEYTYPE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property PARENTKEYTYPE() As String
		Get
			Return Me._PARENTKEYTYPE
		End Get
		Set
			If (String.Equals(Me._PARENTKEYTYPE, value) = false) Then
				Me.OnPARENTKEYTYPEChanging(value)
				Me.SendPropertyChanging
				Me._PARENTKEYTYPE = value
				Me.SendPropertyChanged("PARENTKEYTYPE")
				Me.OnPARENTKEYTYPEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CHILDRULE", DbType:="VarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property CHILDRULE() As String
		Get
			Return Me._CHILDRULE
		End Get
		Set
			If (String.Equals(Me._CHILDRULE, value) = false) Then
				Me.OnCHILDRULEChanging(value)
				Me.SendPropertyChanging
				Me._CHILDRULE = value
				Me.SendPropertyChanged("CHILDRULE")
				Me.OnCHILDRULEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTRULE", DbType:="VarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property PARENTRULE() As String
		Get
			Return Me._PARENTRULE
		End Get
		Set
			If (String.Equals(Me._PARENTRULE, value) = false) Then
				Me.OnPARENTRULEChanging(value)
				Me.SendPropertyChanging
				Me._PARENTRULE = value
				Me.SendPropertyChanged("PARENTRULE")
				Me.OnPARENTRULEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RELATIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property RELATIONID() As System.Guid
		Get
			Return Me._RELATIONID
		End Get
		Set
			If ((Me._RELATIONID = value)  _
						= false) Then
				Me.OnRELATIONIDChanging(value)
				Me.SendPropertyChanging
				Me._RELATIONID = value
				Me.SendPropertyChanged("RELATIONID")
				Me.OnRELATIONIDChanged
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSVALUE")>  _
Partial Public Class TBL_SYSVALUE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _VALUEID As Byte
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_COMPANYQUERY As EntitySet(Of TBL_COMPANYQUERY)
	
	Private _VALUE As EntitySet(Of TBL_COMPANYQUERY)
	
	Private _TBL_GROUPQUERY As EntitySet(Of TBL_GROUPQUERY)
	
	Private _GROUPQUERY_VALUEID2_FK As EntitySet(Of TBL_GROUPQUERY)
	
	Private _TBL_SYNCSETQUERY As EntitySet(Of TBL_SYNCSETQUERY)
	
	Private _SYNCSETQUERY_VALUEID2_FK As EntitySet(Of TBL_SYNCSETQUERY)
	
	Private _TBL_SYSVALUEUSAGE As EntitySet(Of TBL_SYSVALUEUSAGE)
	
    #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 OnVALUEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnVALUEIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_COMPANYQUERY = New EntitySet(Of TBL_COMPANYQUERY)(AddressOf Me.attach_TBL_COMPANYQUERY, AddressOf Me.detach_TBL_COMPANYQUERY)
		Me._VALUE = New EntitySet(Of TBL_COMPANYQUERY)(AddressOf Me.attach_VALUE, AddressOf Me.detach_VALUE)
		Me._TBL_GROUPQUERY = New EntitySet(Of TBL_GROUPQUERY)(AddressOf Me.attach_TBL_GROUPQUERY, AddressOf Me.detach_TBL_GROUPQUERY)
		Me._GROUPQUERY_VALUEID2_FK = New EntitySet(Of TBL_GROUPQUERY)(AddressOf Me.attach_GROUPQUERY_VALUEID2_FK, AddressOf Me.detach_GROUPQUERY_VALUEID2_FK)
		Me._TBL_SYNCSETQUERY = New EntitySet(Of TBL_SYNCSETQUERY)(AddressOf Me.attach_TBL_SYNCSETQUERY, AddressOf Me.detach_TBL_SYNCSETQUERY)
		Me._SYNCSETQUERY_VALUEID2_FK = New EntitySet(Of TBL_SYNCSETQUERY)(AddressOf Me.attach_SYNCSETQUERY_VALUEID2_FK, AddressOf Me.detach_SYNCSETQUERY_VALUEID2_FK)
		Me._TBL_SYSVALUEUSAGE = New EntitySet(Of TBL_SYSVALUEUSAGE)(AddressOf Me.attach_TBL_SYSVALUEUSAGE, AddressOf Me.detach_TBL_SYSVALUEUSAGE)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property VALUEID() As Byte
		Get
			Return Me._VALUEID
		End Get
		Set
			If ((Me._VALUEID = value)  _
						= false) Then
				Me.OnVALUEIDChanging(value)
				Me.SendPropertyChanging
				Me._VALUEID = value
				Me.SendPropertyChanged("VALUEID")
				Me.OnVALUEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(32)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_VALUEID1_FK", Storage:="_TBL_COMPANYQUERY", ThisKey:="VALUEID", OtherKey:="VALUEID1", DeleteRule:="NO ACTION")>  _
	Public Property TBL_COMPANYQUERY() As EntitySet(Of TBL_COMPANYQUERY)
		Get
			Return Me._TBL_COMPANYQUERY
		End Get
		Set
			Me._TBL_COMPANYQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="COMPANYQUERY_VALUEID2_FK", Storage:="_VALUE", ThisKey:="VALUEID", OtherKey:="VALUEID2", DeleteRule:="NO ACTION")>  _
	Public Property VALUE() As EntitySet(Of TBL_COMPANYQUERY)
		Get
			Return Me._VALUE
		End Get
		Set
			Me._VALUE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="GROUPQUERY_VALUEID1_FK", Storage:="_TBL_GROUPQUERY", ThisKey:="VALUEID", OtherKey:="VALUEID1", DeleteRule:="NO ACTION")>  _
	Public Property TBL_GROUPQUERY() As EntitySet(Of TBL_GROUPQUERY)
		Get
			Return Me._TBL_GROUPQUERY
		End Get
		Set
			Me._TBL_GROUPQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_GROUPQUERY_VALUEID2_FK", ThisKey:="VALUEID", OtherKey:="VALUEID2", DeleteRule:="NO ACTION")>  _
	Public Property GROUPQUERY_VALUEID2_FK() As EntitySet(Of TBL_GROUPQUERY)
		Get
			Return Me._GROUPQUERY_VALUEID2_FK
		End Get
		Set
			Me._GROUPQUERY_VALUEID2_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYNCSETQUERY_VALUEID1_FK", Storage:="_TBL_SYNCSETQUERY", ThisKey:="VALUEID", OtherKey:="VALUEID1", DeleteRule:="NO ACTION")>  _
	Public Property TBL_SYNCSETQUERY() As EntitySet(Of TBL_SYNCSETQUERY)
		Get
			Return Me._TBL_SYNCSETQUERY
		End Get
		Set
			Me._TBL_SYNCSETQUERY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Storage:="_SYNCSETQUERY_VALUEID2_FK", ThisKey:="VALUEID", OtherKey:="VALUEID2", DeleteRule:="NO ACTION")>  _
	Public Property SYNCSETQUERY_VALUEID2_FK() As EntitySet(Of TBL_SYNCSETQUERY)
		Get
			Return Me._SYNCSETQUERY_VALUEID2_FK
		End Get
		Set
			Me._SYNCSETQUERY_VALUEID2_FK.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSVALUEUSAGE_VALUEID_FK", Storage:="_TBL_SYSVALUEUSAGE", ThisKey:="VALUEID", OtherKey:="VALUEID", DeleteRule:="CASCADE")>  _
	Public Property TBL_SYSVALUEUSAGE() As EntitySet(Of TBL_SYSVALUEUSAGE)
		Get
			Return Me._TBL_SYSVALUEUSAGE
		End Get
		Set
			Me._TBL_SYSVALUEUSAGE.Assign(value)
		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
	
	Private Sub attach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_TBL_COMPANYQUERY(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Nothing
	End Sub
	
	Private Sub attach_VALUE(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.VALUEID2TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_VALUE(ByVal entity As TBL_COMPANYQUERY)
		Me.SendPropertyChanging
		entity.VALUEID2TBL_SYSVALUE = Nothing
	End Sub
	
	Private Sub attach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_TBL_GROUPQUERY(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Nothing
	End Sub
	
	Private Sub attach_GROUPQUERY_VALUEID2_FK(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.VALUEID2TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_GROUPQUERY_VALUEID2_FK(ByVal entity As TBL_GROUPQUERY)
		Me.SendPropertyChanging
		entity.VALUEID2TBL_SYSVALUE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_TBL_SYNCSETQUERY(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Nothing
	End Sub
	
	Private Sub attach_SYNCSETQUERY_VALUEID2_FK(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.VALUEID2TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_SYNCSETQUERY_VALUEID2_FK(ByVal entity As TBL_SYNCSETQUERY)
		Me.SendPropertyChanging
		entity.VALUEID2TBL_SYSVALUE = Nothing
	End Sub
	
	Private Sub attach_TBL_SYSVALUEUSAGE(ByVal entity As TBL_SYSVALUEUSAGE)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Me
	End Sub
	
	Private Sub detach_TBL_SYSVALUEUSAGE(ByVal entity As TBL_SYSVALUEUSAGE)
		Me.SendPropertyChanging
		entity.TBL_SYSVALUE = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_SYSVALUEUSAGE")>  _
Partial Public Class TBL_SYSVALUEUSAGE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _DOMAINID As Byte
	
	Private _OPERATORID As Byte
	
	Private _VALUEID As Byte
	
	Private _TBL_SYSDOMAIN As EntityRef(Of TBL_SYSDOMAIN)
	
	Private _TBL_SYSOPERATOR As EntityRef(Of TBL_SYSOPERATOR)
	
	Private _TBL_SYSVALUE As EntityRef(Of TBL_SYSVALUE)
	
    #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 OnDOMAINIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnDOMAINIDChanged()
    End Sub
    Partial Private Sub OnOPERATORIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnOPERATORIDChanged()
    End Sub
    Partial Private Sub OnVALUEIDChanging(value As Byte)
    End Sub
    Partial Private Sub OnVALUEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSDOMAIN = CType(Nothing, EntityRef(Of TBL_SYSDOMAIN))
		Me._TBL_SYSOPERATOR = CType(Nothing, EntityRef(Of TBL_SYSOPERATOR))
		Me._TBL_SYSVALUE = CType(Nothing, EntityRef(Of TBL_SYSVALUE))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property DOMAINID() As Byte
		Get
			Return Me._DOMAINID
		End Get
		Set
			If ((Me._DOMAINID = value)  _
						= false) Then
				If Me._TBL_SYSDOMAIN.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnDOMAINIDChanging(value)
				Me.SendPropertyChanging
				Me._DOMAINID = value
				Me.SendPropertyChanged("DOMAINID")
				Me.OnDOMAINIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				If Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnOPERATORIDChanging(value)
				Me.SendPropertyChanging
				Me._OPERATORID = value
				Me.SendPropertyChanged("OPERATORID")
				Me.OnOPERATORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID", DbType:="TinyInt NOT NULL", IsPrimaryKey:=true)>  _
	Public Property VALUEID() As Byte
		Get
			Return Me._VALUEID
		End Get
		Set
			If ((Me._VALUEID = value)  _
						= false) Then
				If Me._TBL_SYSVALUE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnVALUEIDChanging(value)
				Me.SendPropertyChanging
				Me._VALUEID = value
				Me.SendPropertyChanged("VALUEID")
				Me.OnVALUEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSVALUEUSAGE_DOMAINID_FK", Storage:="_TBL_SYSDOMAIN", ThisKey:="DOMAINID", OtherKey:="DOMAINID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSDOMAIN() As TBL_SYSDOMAIN
		Get
			Return Me._TBL_SYSDOMAIN.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSDOMAIN = Me._TBL_SYSDOMAIN.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSDOMAIN.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSDOMAIN.Entity = Nothing
					previousValue.TBL_SYSVALUEUSAGE.Remove(Me)
				End If
				Me._TBL_SYSDOMAIN.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSVALUEUSAGE.Add(Me)
					Me._DOMAINID = value.DOMAINID
				Else
					Me._DOMAINID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSDOMAIN")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSVALUEUSAGE_OPERATORID_FK", Storage:="_TBL_SYSOPERATOR", ThisKey:="OPERATORID", OtherKey:="OPERATORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSOPERATOR() As TBL_SYSOPERATOR
		Get
			Return Me._TBL_SYSOPERATOR.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSOPERATOR = Me._TBL_SYSOPERATOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSOPERATOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSOPERATOR.Entity = Nothing
					previousValue.TBL_SYSVALUEUSAGE.Remove(Me)
				End If
				Me._TBL_SYSOPERATOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSVALUEUSAGE.Add(Me)
					Me._OPERATORID = value.OPERATORID
				Else
					Me._OPERATORID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSOPERATOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="SYSVALUEUSAGE_VALUEID_FK", Storage:="_TBL_SYSVALUE", ThisKey:="VALUEID", OtherKey:="VALUEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSVALUE() As TBL_SYSVALUE
		Get
			Return Me._TBL_SYSVALUE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSVALUE = Me._TBL_SYSVALUE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSVALUE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSVALUE.Entity = Nothing
					previousValue.TBL_SYSVALUEUSAGE.Remove(Me)
				End If
				Me._TBL_SYSVALUE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_SYSVALUEUSAGE.Add(Me)
					Me._VALUEID = value.VALUEID
				Else
					Me._VALUEID = CType(Nothing, Byte)
				End If
				Me.SendPropertyChanged("TBL_SYSVALUE")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_TEAM")>  _
Partial Public Class TBL_TEAM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TEAMID As System.Guid
	
	Private _DESCRIPTION As String
	
	Private _ISSYSTEM As Boolean
	
	Private _ISDISPLAYED As Boolean
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_TEAM_USER As EntitySet(Of TBL_TEAM_USER)
	
    #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 OnTEAMIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTEAMIDChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnISSYSTEMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISSYSTEMChanged()
    End Sub
    Partial Private Sub OnISDISPLAYEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISDISPLAYEDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_TEAM_USER = New EntitySet(Of TBL_TEAM_USER)(AddressOf Me.attach_TBL_TEAM_USER, AddressOf Me.detach_TBL_TEAM_USER)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TEAMID() As System.Guid
		Get
			Return Me._TEAMID
		End Get
		Set
			If ((Me._TEAMID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTEAMIDChanging(value)
				Me.SendPropertyChanging
				Me._TEAMID = value
				Me.SendPropertyChanged("TEAMID")
				Me.OnTEAMIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSYSTEM", DbType:="Bit NOT NULL")>  _
	Public Property ISSYSTEM() As Boolean
		Get
			Return Me._ISSYSTEM
		End Get
		Set
			If ((Me._ISSYSTEM = value)  _
						= false) Then
				Me.OnISSYSTEMChanging(value)
				Me.SendPropertyChanging
				Me._ISSYSTEM = value
				Me.SendPropertyChanged("ISSYSTEM")
				Me.OnISSYSTEMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me.OnISDISPLAYEDChanging(value)
				Me.SendPropertyChanging
				Me._ISDISPLAYED = value
				Me.SendPropertyChanged("ISDISPLAYED")
				Me.OnISDISPLAYEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TEAM_TEAMID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="TEAMID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_TEAM = Nothing
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_TEAM = Me
					Me._TEAMID = value.ACCESSORID
				Else
					Me._TEAMID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TEAM_USER_TEAMID_FK", Storage:="_TBL_TEAM_USER", ThisKey:="TEAMID", OtherKey:="TEAMID", DeleteRule:="CASCADE")>  _
	Public Property TBL_TEAM_USER() As EntitySet(Of TBL_TEAM_USER)
		Get
			Return Me._TBL_TEAM_USER
		End Get
		Set
			Me._TBL_TEAM_USER.Assign(value)
		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
	
	Private Sub attach_TBL_TEAM_USER(ByVal entity As TBL_TEAM_USER)
		Me.SendPropertyChanging
		entity.TBL_TEAM = Me
	End Sub
	
	Private Sub detach_TBL_TEAM_USER(ByVal entity As TBL_TEAM_USER)
		Me.SendPropertyChanging
		entity.TBL_TEAM = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_TEAM_USER")>  _
Partial Public Class TBL_TEAM_USER
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TEAMID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _TBL_TEAM As EntityRef(Of TBL_TEAM)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnTEAMIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTEAMIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_TEAM = CType(Nothing, EntityRef(Of TBL_TEAM))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TEAMID() As System.Guid
		Get
			Return Me._TEAMID
		End Get
		Set
			If ((Me._TEAMID = value)  _
						= false) Then
				If Me._TBL_TEAM.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTEAMIDChanging(value)
				Me.SendPropertyChanging
				Me._TEAMID = value
				Me.SendPropertyChanged("TEAMID")
				Me.OnTEAMIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TEAM_USER_TEAMID_FK", Storage:="_TBL_TEAM", ThisKey:="TEAMID", OtherKey:="TEAMID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_TEAM() As TBL_TEAM
		Get
			Return Me._TBL_TEAM.Entity
		End Get
		Set
			Dim previousValue As TBL_TEAM = Me._TBL_TEAM.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_TEAM.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_TEAM.Entity = Nothing
					previousValue.TBL_TEAM_USER.Remove(Me)
				End If
				Me._TBL_TEAM.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_TEAM_USER.Add(Me)
					Me._TEAMID = value.TEAMID
				Else
					Me._TEAMID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_TEAM")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TEAM_USER_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_TEAM_USER.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_TEAM_USER.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_USER")>  _
Partial Public Class TBL_USER
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As System.Guid
	
	Private _CONTACTID As System.Guid
	
	Private _ROLEID As System.Guid
	
	Private _USERLOGIN As String
	
	Private _PASSWORD As String
	
	Private _USEPERSONALFILES As Boolean
	
	Private _ISVERIFIED As Boolean
	
	Private _UTC_OFFSET As System.Nullable(Of Short)
	
	Private _ISFORCEPWDCHG As Boolean
	
	Private _ISALLOWPWDCHG As Boolean
	
	Private _ISPWDNEVEREXPIRE As Boolean
	
	Private _ISPWDCASESENSITIVE As Boolean
	
	Private _LAST_LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _CTL_ABL_SCHEDULEDFOR As EntitySet(Of CTL_ABL_SCHEDULEDFOR)
	
	Private _TBL_AL_SCHEDULEDFOR As EntitySet(Of TBL_AL_SCHEDULEDFOR)
	
	Private _TBL_AL_USERSETTING As EntitySet(Of TBL_AL_USERSETTING)
	
	Private _TBL_CONTACT_SOURCE As EntitySet(Of TBL_CONTACT_SOURCE)
	
	Private _TBL_LOGONHISTORY As EntitySet(Of TBL_LOGONHISTORY)
	
	Private _TBL_PASSWORDHISTORY As EntitySet(Of TBL_PASSWORDHISTORY)
	
	Private _TBL_STAGE_COLOR As EntitySet(Of TBL_STAGE_COLOR)
	
	Private _TBL_TEAM_USER As EntitySet(Of TBL_TEAM_USER)
	
	Private _TBL_USER_ACCESSOR_ENUM As EntitySet(Of TBL_USER_ACCESSOR_ENUM)
	
	Private _CTL_USER_COLUMNACCESS As EntitySet(Of CTL_USER_COLUMNACCESS)
	
	Private _TBL_USER_DEFAULT_ACL As EntitySet(Of TBL_USER_DEFAULT_ACL)
	
	Private _TBL_USER_PERMISSION As EntitySet(Of TBL_USER_PERMISSION)
	
	Private _TBL_ROLE As EntityRef(Of TBL_ROLE)
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _CTL_WF_INSTANCESTATE As EntitySet(Of CTL_WF_INSTANCESTATE)
	
	Private _TBL_WORKFLOW_ARCHIVE As EntitySet(Of TBL_WORKFLOW_ARCHIVE)
	
	Private _TBL_WORKFLOW_SUBSCRIPTION As EntitySet(Of TBL_WORKFLOW_SUBSCRIPTION)
	
    #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 OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnCONTACTIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCONTACTIDChanged()
    End Sub
    Partial Private Sub OnROLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnROLEIDChanged()
    End Sub
    Partial Private Sub OnUSERLOGINChanging(value As String)
    End Sub
    Partial Private Sub OnUSERLOGINChanged()
    End Sub
    Partial Private Sub OnPASSWORDChanging(value As String)
    End Sub
    Partial Private Sub OnPASSWORDChanged()
    End Sub
    Partial Private Sub OnUSEPERSONALFILESChanging(value As Boolean)
    End Sub
    Partial Private Sub OnUSEPERSONALFILESChanged()
    End Sub
    Partial Private Sub OnISVERIFIEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISVERIFIEDChanged()
    End Sub
    Partial Private Sub OnUTC_OFFSETChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnUTC_OFFSETChanged()
    End Sub
    Partial Private Sub OnISFORCEPWDCHGChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISFORCEPWDCHGChanged()
    End Sub
    Partial Private Sub OnISALLOWPWDCHGChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISALLOWPWDCHGChanged()
    End Sub
    Partial Private Sub OnISPWDNEVEREXPIREChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPWDNEVEREXPIREChanged()
    End Sub
    Partial Private Sub OnISPWDCASESENSITIVEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPWDCASESENSITIVEChanged()
    End Sub
    Partial Private Sub OnLAST_LOGONHISTORYIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnLAST_LOGONHISTORYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._CTL_ABL_SCHEDULEDFOR = New EntitySet(Of CTL_ABL_SCHEDULEDFOR)(AddressOf Me.attach_CTL_ABL_SCHEDULEDFOR, AddressOf Me.detach_CTL_ABL_SCHEDULEDFOR)
		Me._TBL_AL_SCHEDULEDFOR = New EntitySet(Of TBL_AL_SCHEDULEDFOR)(AddressOf Me.attach_TBL_AL_SCHEDULEDFOR, AddressOf Me.detach_TBL_AL_SCHEDULEDFOR)
		Me._TBL_AL_USERSETTING = New EntitySet(Of TBL_AL_USERSETTING)(AddressOf Me.attach_TBL_AL_USERSETTING, AddressOf Me.detach_TBL_AL_USERSETTING)
		Me._TBL_CONTACT_SOURCE = New EntitySet(Of TBL_CONTACT_SOURCE)(AddressOf Me.attach_TBL_CONTACT_SOURCE, AddressOf Me.detach_TBL_CONTACT_SOURCE)
		Me._TBL_LOGONHISTORY = New EntitySet(Of TBL_LOGONHISTORY)(AddressOf Me.attach_TBL_LOGONHISTORY, AddressOf Me.detach_TBL_LOGONHISTORY)
		Me._TBL_PASSWORDHISTORY = New EntitySet(Of TBL_PASSWORDHISTORY)(AddressOf Me.attach_TBL_PASSWORDHISTORY, AddressOf Me.detach_TBL_PASSWORDHISTORY)
		Me._TBL_STAGE_COLOR = New EntitySet(Of TBL_STAGE_COLOR)(AddressOf Me.attach_TBL_STAGE_COLOR, AddressOf Me.detach_TBL_STAGE_COLOR)
		Me._TBL_TEAM_USER = New EntitySet(Of TBL_TEAM_USER)(AddressOf Me.attach_TBL_TEAM_USER, AddressOf Me.detach_TBL_TEAM_USER)
		Me._TBL_USER_ACCESSOR_ENUM = New EntitySet(Of TBL_USER_ACCESSOR_ENUM)(AddressOf Me.attach_TBL_USER_ACCESSOR_ENUM, AddressOf Me.detach_TBL_USER_ACCESSOR_ENUM)
		Me._CTL_USER_COLUMNACCESS = New EntitySet(Of CTL_USER_COLUMNACCESS)(AddressOf Me.attach_CTL_USER_COLUMNACCESS, AddressOf Me.detach_CTL_USER_COLUMNACCESS)
		Me._TBL_USER_DEFAULT_ACL = New EntitySet(Of TBL_USER_DEFAULT_ACL)(AddressOf Me.attach_TBL_USER_DEFAULT_ACL, AddressOf Me.detach_TBL_USER_DEFAULT_ACL)
		Me._TBL_USER_PERMISSION = New EntitySet(Of TBL_USER_PERMISSION)(AddressOf Me.attach_TBL_USER_PERMISSION, AddressOf Me.detach_TBL_USER_PERMISSION)
		Me._TBL_ROLE = CType(Nothing, EntityRef(Of TBL_ROLE))
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._CTL_WF_INSTANCESTATE = New EntitySet(Of CTL_WF_INSTANCESTATE)(AddressOf Me.attach_CTL_WF_INSTANCESTATE, AddressOf Me.detach_CTL_WF_INSTANCESTATE)
		Me._TBL_WORKFLOW_ARCHIVE = New EntitySet(Of TBL_WORKFLOW_ARCHIVE)(AddressOf Me.attach_TBL_WORKFLOW_ARCHIVE, AddressOf Me.detach_TBL_WORKFLOW_ARCHIVE)
		Me._TBL_WORKFLOW_SUBSCRIPTION = New EntitySet(Of TBL_WORKFLOW_SUBSCRIPTION)(AddressOf Me.attach_TBL_WORKFLOW_SUBSCRIPTION, AddressOf Me.detach_TBL_WORKFLOW_SUBSCRIPTION)
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me.OnCONTACTIDChanging(value)
				Me.SendPropertyChanging
				Me._CONTACTID = value
				Me.SendPropertyChanged("CONTACTID")
				Me.OnCONTACTIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROLEID() As System.Guid
		Get
			Return Me._ROLEID
		End Get
		Set
			If ((Me._ROLEID = value)  _
						= false) Then
				If Me._TBL_ROLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnROLEIDChanging(value)
				Me.SendPropertyChanging
				Me._ROLEID = value
				Me.SendPropertyChanged("ROLEID")
				Me.OnROLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me.OnUSERLOGINChanging(value)
				Me.SendPropertyChanging
				Me._USERLOGIN = value
				Me.SendPropertyChanged("USERLOGIN")
				Me.OnUSERLOGINChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PASSWORD", DbType:="NVarChar(50) NOT NULL", CanBeNull:=false)>  _
	Public Property PASSWORD() As String
		Get
			Return Me._PASSWORD
		End Get
		Set
			If (String.Equals(Me._PASSWORD, value) = false) Then
				Me.OnPASSWORDChanging(value)
				Me.SendPropertyChanging
				Me._PASSWORD = value
				Me.SendPropertyChanged("PASSWORD")
				Me.OnPASSWORDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USEPERSONALFILES", DbType:="Bit NOT NULL")>  _
	Public Property USEPERSONALFILES() As Boolean
		Get
			Return Me._USEPERSONALFILES
		End Get
		Set
			If ((Me._USEPERSONALFILES = value)  _
						= false) Then
				Me.OnUSEPERSONALFILESChanging(value)
				Me.SendPropertyChanging
				Me._USEPERSONALFILES = value
				Me.SendPropertyChanged("USEPERSONALFILES")
				Me.OnUSEPERSONALFILESChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVERIFIED", DbType:="Bit NOT NULL")>  _
	Public Property ISVERIFIED() As Boolean
		Get
			Return Me._ISVERIFIED
		End Get
		Set
			If ((Me._ISVERIFIED = value)  _
						= false) Then
				Me.OnISVERIFIEDChanging(value)
				Me.SendPropertyChanging
				Me._ISVERIFIED = value
				Me.SendPropertyChanged("ISVERIFIED")
				Me.OnISVERIFIEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UTC_OFFSET", DbType:="SmallInt")>  _
	Public Property UTC_OFFSET() As System.Nullable(Of Short)
		Get
			Return Me._UTC_OFFSET
		End Get
		Set
			If (Me._UTC_OFFSET.Equals(value) = false) Then
				Me.OnUTC_OFFSETChanging(value)
				Me.SendPropertyChanging
				Me._UTC_OFFSET = value
				Me.SendPropertyChanged("UTC_OFFSET")
				Me.OnUTC_OFFSETChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISFORCEPWDCHG", DbType:="Bit NOT NULL")>  _
	Public Property ISFORCEPWDCHG() As Boolean
		Get
			Return Me._ISFORCEPWDCHG
		End Get
		Set
			If ((Me._ISFORCEPWDCHG = value)  _
						= false) Then
				Me.OnISFORCEPWDCHGChanging(value)
				Me.SendPropertyChanging
				Me._ISFORCEPWDCHG = value
				Me.SendPropertyChanged("ISFORCEPWDCHG")
				Me.OnISFORCEPWDCHGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALLOWPWDCHG", DbType:="Bit NOT NULL")>  _
	Public Property ISALLOWPWDCHG() As Boolean
		Get
			Return Me._ISALLOWPWDCHG
		End Get
		Set
			If ((Me._ISALLOWPWDCHG = value)  _
						= false) Then
				Me.OnISALLOWPWDCHGChanging(value)
				Me.SendPropertyChanging
				Me._ISALLOWPWDCHG = value
				Me.SendPropertyChanged("ISALLOWPWDCHG")
				Me.OnISALLOWPWDCHGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPWDNEVEREXPIRE", DbType:="Bit NOT NULL")>  _
	Public Property ISPWDNEVEREXPIRE() As Boolean
		Get
			Return Me._ISPWDNEVEREXPIRE
		End Get
		Set
			If ((Me._ISPWDNEVEREXPIRE = value)  _
						= false) Then
				Me.OnISPWDNEVEREXPIREChanging(value)
				Me.SendPropertyChanging
				Me._ISPWDNEVEREXPIRE = value
				Me.SendPropertyChanged("ISPWDNEVEREXPIRE")
				Me.OnISPWDNEVEREXPIREChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPWDCASESENSITIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISPWDCASESENSITIVE() As Boolean
		Get
			Return Me._ISPWDCASESENSITIVE
		End Get
		Set
			If ((Me._ISPWDCASESENSITIVE = value)  _
						= false) Then
				Me.OnISPWDCASESENSITIVEChanging(value)
				Me.SendPropertyChanging
				Me._ISPWDCASESENSITIVE = value
				Me.SendPropertyChanged("ISPWDCASESENSITIVE")
				Me.OnISPWDCASESENSITIVEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property LAST_LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LAST_LOGONHISTORYID
		End Get
		Set
			If (Me._LAST_LOGONHISTORYID.Equals(value) = false) Then
				Me.OnLAST_LOGONHISTORYIDChanging(value)
				Me.SendPropertyChanging
				Me._LAST_LOGONHISTORYID = value
				Me.SendPropertyChanged("LAST_LOGONHISTORYID")
				Me.OnLAST_LOGONHISTORYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ABL_SCHEDULEDFOR_SCHEDULEDFORID_FK", Storage:="_CTL_ABL_SCHEDULEDFOR", ThisKey:="USERID", OtherKey:="SCHEDULEDFORID", DeleteRule:="CASCADE")>  _
	Public Property CTL_ABL_SCHEDULEDFOR() As EntitySet(Of CTL_ABL_SCHEDULEDFOR)
		Get
			Return Me._CTL_ABL_SCHEDULEDFOR
		End Get
		Set
			Me._CTL_ABL_SCHEDULEDFOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_SCHEDULEDFOR_SCHEDULEDFORID_FK", Storage:="_TBL_AL_SCHEDULEDFOR", ThisKey:="USERID", OtherKey:="SCHEDULEDFORID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_SCHEDULEDFOR() As EntitySet(Of TBL_AL_SCHEDULEDFOR)
		Get
			Return Me._TBL_AL_SCHEDULEDFOR
		End Get
		Set
			Me._TBL_AL_SCHEDULEDFOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="AL_USERSETTING_ACTUSERID_FK", Storage:="_TBL_AL_USERSETTING", ThisKey:="USERID", OtherKey:="ACTUSERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_AL_USERSETTING() As EntitySet(Of TBL_AL_USERSETTING)
		Get
			Return Me._TBL_AL_USERSETTING
		End Get
		Set
			Me._TBL_AL_USERSETTING.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="CONTACT_SOURCE_USERID_FK", Storage:="_TBL_CONTACT_SOURCE", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_CONTACT_SOURCE() As EntitySet(Of TBL_CONTACT_SOURCE)
		Get
			Return Me._TBL_CONTACT_SOURCE
		End Get
		Set
			Me._TBL_CONTACT_SOURCE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="LOGONHISTORY_USERID_FK", Storage:="_TBL_LOGONHISTORY", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_LOGONHISTORY() As EntitySet(Of TBL_LOGONHISTORY)
		Get
			Return Me._TBL_LOGONHISTORY
		End Get
		Set
			Me._TBL_LOGONHISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="PASSWORDHISTORY_USERID_FK", Storage:="_TBL_PASSWORDHISTORY", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_PASSWORDHISTORY() As EntitySet(Of TBL_PASSWORDHISTORY)
		Get
			Return Me._TBL_PASSWORDHISTORY
		End Get
		Set
			Me._TBL_PASSWORDHISTORY.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="STAGE_COLOR_USERID_FK", Storage:="_TBL_STAGE_COLOR", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_STAGE_COLOR() As EntitySet(Of TBL_STAGE_COLOR)
		Get
			Return Me._TBL_STAGE_COLOR
		End Get
		Set
			Me._TBL_STAGE_COLOR.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="TEAM_USER_USERID_FK", Storage:="_TBL_TEAM_USER", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_TEAM_USER() As EntitySet(Of TBL_TEAM_USER)
		Get
			Return Me._TBL_TEAM_USER
		End Get
		Set
			Me._TBL_TEAM_USER.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_ACCESSOR_ENUM_USERID_FK", Storage:="_TBL_USER_ACCESSOR_ENUM", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_ACCESSOR_ENUM() As EntitySet(Of TBL_USER_ACCESSOR_ENUM)
		Get
			Return Me._TBL_USER_ACCESSOR_ENUM
		End Get
		Set
			Me._TBL_USER_ACCESSOR_ENUM.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_COLUMNACCESS_USERID_FK", Storage:="_CTL_USER_COLUMNACCESS", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property CTL_USER_COLUMNACCESS() As EntitySet(Of CTL_USER_COLUMNACCESS)
		Get
			Return Me._CTL_USER_COLUMNACCESS
		End Get
		Set
			Me._CTL_USER_COLUMNACCESS.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_DEFAULT_ACL_USERID_FK", Storage:="_TBL_USER_DEFAULT_ACL", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_DEFAULT_ACL() As EntitySet(Of TBL_USER_DEFAULT_ACL)
		Get
			Return Me._TBL_USER_DEFAULT_ACL
		End Get
		Set
			Me._TBL_USER_DEFAULT_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_PERMISSION_USERID_FK", Storage:="_TBL_USER_PERMISSION", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_USER_PERMISSION() As EntitySet(Of TBL_USER_PERMISSION)
		Get
			Return Me._TBL_USER_PERMISSION
		End Get
		Set
			Me._TBL_USER_PERMISSION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_ROLEID_FK", Storage:="_TBL_ROLE", ThisKey:="ROLEID", OtherKey:="ROLEID", IsForeignKey:=true)>  _
	Public Property TBL_ROLE() As TBL_ROLE
		Get
			Return Me._TBL_ROLE.Entity
		End Get
		Set
			Dim previousValue As TBL_ROLE = Me._TBL_ROLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ROLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ROLE.Entity = Nothing
					previousValue.TBL_USER.Remove(Me)
				End If
				Me._TBL_ROLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER.Add(Me)
					Me._ROLEID = value.ROLEID
				Else
					Me._ROLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ROLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_USERID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="USERID", OtherKey:="ACCESSORID", IsForeignKey:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_USER = Nothing
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER = Me
					Me._USERID = value.ACCESSORID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WF_INSTANCESTATE_USERID_FK", Storage:="_CTL_WF_INSTANCESTATE", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property CTL_WF_INSTANCESTATE() As EntitySet(Of CTL_WF_INSTANCESTATE)
		Get
			Return Me._CTL_WF_INSTANCESTATE
		End Get
		Set
			Me._CTL_WF_INSTANCESTATE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_ARCHIVE_USERID_FK", Storage:="_TBL_WORKFLOW_ARCHIVE", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOW_ARCHIVE() As EntitySet(Of TBL_WORKFLOW_ARCHIVE)
		Get
			Return Me._TBL_WORKFLOW_ARCHIVE
		End Get
		Set
			Me._TBL_WORKFLOW_ARCHIVE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_SUBSCRIPTION_USERID_FK", Storage:="_TBL_WORKFLOW_SUBSCRIPTION", ThisKey:="USERID", OtherKey:="USERID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOW_SUBSCRIPTION() As EntitySet(Of TBL_WORKFLOW_SUBSCRIPTION)
		Get
			Return Me._TBL_WORKFLOW_SUBSCRIPTION
		End Get
		Set
			Me._TBL_WORKFLOW_SUBSCRIPTION.Assign(value)
		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
	
	Private Sub attach_CTL_ABL_SCHEDULEDFOR(ByVal entity As CTL_ABL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_CTL_ABL_SCHEDULEDFOR(ByVal entity As CTL_ABL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_AL_SCHEDULEDFOR(ByVal entity As TBL_AL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_AL_SCHEDULEDFOR(ByVal entity As TBL_AL_SCHEDULEDFOR)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_AL_USERSETTING(ByVal entity As TBL_AL_USERSETTING)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_AL_USERSETTING(ByVal entity As TBL_AL_USERSETTING)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_CONTACT_SOURCE(ByVal entity As TBL_CONTACT_SOURCE)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_CONTACT_SOURCE(ByVal entity As TBL_CONTACT_SOURCE)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_LOGONHISTORY(ByVal entity As TBL_LOGONHISTORY)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_LOGONHISTORY(ByVal entity As TBL_LOGONHISTORY)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_PASSWORDHISTORY(ByVal entity As TBL_PASSWORDHISTORY)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_PASSWORDHISTORY(ByVal entity As TBL_PASSWORDHISTORY)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_STAGE_COLOR(ByVal entity As TBL_STAGE_COLOR)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_STAGE_COLOR(ByVal entity As TBL_STAGE_COLOR)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_TEAM_USER(ByVal entity As TBL_TEAM_USER)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_TEAM_USER(ByVal entity As TBL_TEAM_USER)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_ACCESSOR_ENUM(ByVal entity As TBL_USER_ACCESSOR_ENUM)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_USER_ACCESSOR_ENUM(ByVal entity As TBL_USER_ACCESSOR_ENUM)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_CTL_USER_COLUMNACCESS(ByVal entity As CTL_USER_COLUMNACCESS)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_CTL_USER_COLUMNACCESS(ByVal entity As CTL_USER_COLUMNACCESS)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_DEFAULT_ACL(ByVal entity As TBL_USER_DEFAULT_ACL)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_USER_DEFAULT_ACL(ByVal entity As TBL_USER_DEFAULT_ACL)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_USER_PERMISSION(ByVal entity As TBL_USER_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_USER_PERMISSION(ByVal entity As TBL_USER_PERMISSION)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_CTL_WF_INSTANCESTATE(ByVal entity As CTL_WF_INSTANCESTATE)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_CTL_WF_INSTANCESTATE(ByVal entity As CTL_WF_INSTANCESTATE)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOW_ARCHIVE(ByVal entity As TBL_WORKFLOW_ARCHIVE)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOW_ARCHIVE(ByVal entity As TBL_WORKFLOW_ARCHIVE)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOW_SUBSCRIPTION(ByVal entity As TBL_WORKFLOW_SUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_USER = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOW_SUBSCRIPTION(ByVal entity As TBL_WORKFLOW_SUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_USER = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_USER_ACCESSOR_ENUM")>  _
Partial Public Class TBL_USER_ACCESSOR_ENUM
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_ACCESSOR_ENUM_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_USER_ACCESSOR_ENUM.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_ACCESSOR_ENUM.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_ACCESSOR_ENUM_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_USER_ACCESSOR_ENUM.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_ACCESSOR_ENUM.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_USER_DEFAULT_ACL")>  _
Partial Public Class TBL_USER_DEFAULT_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ENTITYID As System.Guid
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_DEFAULT_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_USER_DEFAULT_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_DEFAULT_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_DEFAULT_ACL_ENTITYID_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ENTITYID", OtherKey:="ENTITYID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.TBL_USER_DEFAULT_ACL.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_DEFAULT_ACL.Add(Me)
					Me._ENTITYID = value.ENTITYID
				Else
					Me._ENTITYID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_DEFAULT_ACL_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_USER_DEFAULT_ACL.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_DEFAULT_ACL.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_USER_PERMISSION")>  _
Partial Public Class TBL_USER_PERMISSION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _USERID As System.Guid
	
	Private _PERMISSIONID As System.Guid
	
	Private _TBL_PERMISSION As EntityRef(Of TBL_PERMISSION)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnPERMISSIONIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnPERMISSIONIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_PERMISSION = CType(Nothing, EntityRef(Of TBL_PERMISSION))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property PERMISSIONID() As System.Guid
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If ((Me._PERMISSIONID = value)  _
						= false) Then
				If Me._TBL_PERMISSION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnPERMISSIONIDChanging(value)
				Me.SendPropertyChanging
				Me._PERMISSIONID = value
				Me.SendPropertyChanged("PERMISSIONID")
				Me.OnPERMISSIONIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_PERMISSION_PERMISSIONID_FK", Storage:="_TBL_PERMISSION", ThisKey:="PERMISSIONID", OtherKey:="PERMISSIONID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PERMISSION() As TBL_PERMISSION
		Get
			Return Me._TBL_PERMISSION.Entity
		End Get
		Set
			Dim previousValue As TBL_PERMISSION = Me._TBL_PERMISSION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PERMISSION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PERMISSION.Entity = Nothing
					previousValue.TBL_USER_PERMISSION.Remove(Me)
				End If
				Me._TBL_PERMISSION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_PERMISSION.Add(Me)
					Me._PERMISSIONID = value.PERMISSIONID
				Else
					Me._PERMISSIONID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PERMISSION")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="USER_PERMISSION_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_USER_PERMISSION.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_USER_PERMISSION.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_VIRTUALRECORDTYPE")>  _
Partial Public Class TBL_VIRTUALRECORDTYPE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _TABLEID As System.Guid
	
	Private _TYPEID As System.Guid
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
	Private _TBL_PICKLISTITEM As EntityRef(Of TBL_PICKLISTITEM)
	
    #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 OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnTYPEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTYPEIDChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		Me._TBL_PICKLISTITEM = CType(Nothing, EntityRef(Of TBL_PICKLISTITEM))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property TYPEID() As System.Guid
		Get
			Return Me._TYPEID
		End Get
		Set
			If ((Me._TYPEID = value)  _
						= false) Then
				If Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTYPEIDChanging(value)
				Me.SendPropertyChanging
				Me._TYPEID = value
				Me.SendPropertyChanged("TYPEID")
				Me.OnTYPEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="VIRTUALRECORDTYPE_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.TBL_VIRTUALRECORDTYPE.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_VIRTUALRECORDTYPE.Add(Me)
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="VIRTUALRECORDTYPE_TYPEID_FK", Storage:="_TBL_PICKLISTITEM", ThisKey:="TYPEID", OtherKey:="PICKLISTITEMID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_PICKLISTITEM() As TBL_PICKLISTITEM
		Get
			Return Me._TBL_PICKLISTITEM.Entity
		End Get
		Set
			Dim previousValue As TBL_PICKLISTITEM = Me._TBL_PICKLISTITEM.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_PICKLISTITEM.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_PICKLISTITEM.Entity = Nothing
					previousValue.TBL_VIRTUALRECORDTYPE.Remove(Me)
				End If
				Me._TBL_PICKLISTITEM.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_VIRTUALRECORDTYPE.Add(Me)
					Me._TYPEID = value.PICKLISTITEMID
				Else
					Me._TYPEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_PICKLISTITEM")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_WORKFLOW_ARCHIVE")>  _
Partial Public Class TBL_WORKFLOW_ARCHIVE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _INSTANCEID As System.Guid
	
	Private _MUTABLE_ENTITYID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _WORKFLOW_NAME As String
	
	Private _ENTITYNAME As String
	
	Private _TABLEID As System.Guid
	
	Private _STATUS As Byte
	
	Private _STARTDATE As System.Nullable(Of Date)
	
	Private _ENDDATE As System.Nullable(Of Date)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
    #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 OnINSTANCEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnINSTANCEIDChanged()
    End Sub
    Partial Private Sub OnMUTABLE_ENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMUTABLE_ENTITYIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanged()
    End Sub
    Partial Private Sub OnWORKFLOW_NAMEChanging(value As String)
    End Sub
    Partial Private Sub OnWORKFLOW_NAMEChanged()
    End Sub
    Partial Private Sub OnENTITYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnENTITYNAMEChanged()
    End Sub
    Partial Private Sub OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnSTATUSChanging(value As Byte)
    End Sub
    Partial Private Sub OnSTATUSChanged()
    End Sub
    Partial Private Sub OnSTARTDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnSTARTDATEChanged()
    End Sub
    Partial Private Sub OnENDDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnENDDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property INSTANCEID() As System.Guid
		Get
			Return Me._INSTANCEID
		End Get
		Set
			If ((Me._INSTANCEID = value)  _
						= false) Then
				Me.OnINSTANCEIDChanging(value)
				Me.SendPropertyChanging
				Me._INSTANCEID = value
				Me.SendPropertyChanged("INSTANCEID")
				Me.OnINSTANCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MUTABLE_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MUTABLE_ENTITYID() As System.Guid
		Get
			Return Me._MUTABLE_ENTITYID
		End Get
		Set
			If ((Me._MUTABLE_ENTITYID = value)  _
						= false) Then
				Me.OnMUTABLE_ENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._MUTABLE_ENTITYID = value
				Me.SendPropertyChanged("MUTABLE_ENTITYID")
				Me.OnMUTABLE_ENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				Me.OnWORKFLOWDEFIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOWDEFID = value
				Me.SendPropertyChanged("WORKFLOWDEFID")
				Me.OnWORKFLOWDEFIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOW_NAME", DbType:="NVarChar(256)")>  _
	Public Property WORKFLOW_NAME() As String
		Get
			Return Me._WORKFLOW_NAME
		End Get
		Set
			If (String.Equals(Me._WORKFLOW_NAME, value) = false) Then
				Me.OnWORKFLOW_NAMEChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOW_NAME = value
				Me.SendPropertyChanged("WORKFLOW_NAME")
				Me.OnWORKFLOW_NAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYNAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITYNAME() As String
		Get
			Return Me._ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._ENTITYNAME, value) = false) Then
				Me.OnENTITYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYNAME = value
				Me.SendPropertyChanged("ENTITYNAME")
				Me.OnENTITYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUS() As Byte
		Get
			Return Me._STATUS
		End Get
		Set
			If ((Me._STATUS = value)  _
						= false) Then
				Me.OnSTATUSChanging(value)
				Me.SendPropertyChanging
				Me._STATUS = value
				Me.SendPropertyChanged("STATUS")
				Me.OnSTATUSChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STARTDATE", DbType:="DateTime")>  _
	Public Property STARTDATE() As System.Nullable(Of Date)
		Get
			Return Me._STARTDATE
		End Get
		Set
			If (Me._STARTDATE.Equals(value) = false) Then
				Me.OnSTARTDATEChanging(value)
				Me.SendPropertyChanging
				Me._STARTDATE = value
				Me.SendPropertyChanged("STARTDATE")
				Me.OnSTARTDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENDDATE", DbType:="DateTime")>  _
	Public Property ENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._ENDDATE
		End Get
		Set
			If (Me._ENDDATE.Equals(value) = false) Then
				Me.OnENDDATEChanging(value)
				Me.SendPropertyChanging
				Me._ENDDATE = value
				Me.SendPropertyChanged("ENDDATE")
				Me.OnENDDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_ARCHIVE_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.TBL_WORKFLOW_ARCHIVE.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOW_ARCHIVE.Add(Me)
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_ARCHIVE_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_WORKFLOW_ARCHIVE.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOW_ARCHIVE.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_WORKFLOW_QUEUE")>  _
Partial Public Class TBL_WORKFLOW_QUEUE
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _WORKFLOW_QUEUEID As System.Guid
	
	Private _OPERATION As String
	
	Private _TABLEID As System.Guid
	
	Private _ORIGINDBID As System.Nullable(Of Short)
	
	Private _ENTITYID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _WORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _ISUNLOCKED As Boolean
	
	Private _OWNEDUNTIL As System.Nullable(Of Date)
	
	Private _TBL_SYSTABLE As EntityRef(Of TBL_SYSTABLE)
	
	Private _TBL_WORKFLOW_SUBSCRIPTION As EntityRef(Of TBL_WORKFLOW_SUBSCRIPTION)
	
    #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 OnWORKFLOW_QUEUEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnWORKFLOW_QUEUEIDChanged()
    End Sub
    Partial Private Sub OnOPERATIONChanging(value As String)
    End Sub
    Partial Private Sub OnOPERATIONChanged()
    End Sub
    Partial Private Sub OnTABLEIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnTABLEIDChanged()
    End Sub
    Partial Private Sub OnORIGINDBIDChanging(value As System.Nullable(Of Short))
    End Sub
    Partial Private Sub OnORIGINDBIDChanged()
    End Sub
    Partial Private Sub OnENTITYIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnENTITYIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnISUNLOCKEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISUNLOCKEDChanged()
    End Sub
    Partial Private Sub OnOWNEDUNTILChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnOWNEDUNTILChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_SYSTABLE = CType(Nothing, EntityRef(Of TBL_SYSTABLE))
		Me._TBL_WORKFLOW_SUBSCRIPTION = CType(Nothing, EntityRef(Of TBL_WORKFLOW_SUBSCRIPTION))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOW_QUEUEID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property WORKFLOW_QUEUEID() As System.Guid
		Get
			Return Me._WORKFLOW_QUEUEID
		End Get
		Set
			If ((Me._WORKFLOW_QUEUEID = value)  _
						= false) Then
				Me.OnWORKFLOW_QUEUEIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOW_QUEUEID = value
				Me.SendPropertyChanged("WORKFLOW_QUEUEID")
				Me.OnWORKFLOW_QUEUEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATION", DbType:="NVarChar(4) NOT NULL", CanBeNull:=false)>  _
	Public Property OPERATION() As String
		Get
			Return Me._OPERATION
		End Get
		Set
			If (String.Equals(Me._OPERATION, value) = false) Then
				Me.OnOPERATIONChanging(value)
				Me.SendPropertyChanging
				Me._OPERATION = value
				Me.SendPropertyChanged("OPERATION")
				Me.OnOPERATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				If Me._TBL_SYSTABLE.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnTABLEIDChanging(value)
				Me.SendPropertyChanging
				Me._TABLEID = value
				Me.SendPropertyChanged("TABLEID")
				Me.OnTABLEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGINDBID", DbType:="SmallInt")>  _
	Public Property ORIGINDBID() As System.Nullable(Of Short)
		Get
			Return Me._ORIGINDBID
		End Get
		Set
			If (Me._ORIGINDBID.Equals(value) = false) Then
				Me.OnORIGINDBIDChanging(value)
				Me.SendPropertyChanging
				Me._ORIGINDBID = value
				Me.SendPropertyChanged("ORIGINDBID")
				Me.OnORIGINDBIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				Me.OnENTITYIDChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYID = value
				Me.SendPropertyChanged("ENTITYID")
				Me.OnENTITYIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFID.Equals(value) = false) Then
				If Me._TBL_WORKFLOW_SUBSCRIPTION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnWORKFLOWDEFIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOWDEFID = value
				Me.SendPropertyChanged("WORKFLOWDEFID")
				Me.OnWORKFLOWDEFIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				If Me._TBL_WORKFLOW_SUBSCRIPTION.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISUNLOCKED", DbType:="Bit NOT NULL")>  _
	Public Property ISUNLOCKED() As Boolean
		Get
			Return Me._ISUNLOCKED
		End Get
		Set
			If ((Me._ISUNLOCKED = value)  _
						= false) Then
				Me.OnISUNLOCKEDChanging(value)
				Me.SendPropertyChanging
				Me._ISUNLOCKED = value
				Me.SendPropertyChanged("ISUNLOCKED")
				Me.OnISUNLOCKEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OWNEDUNTIL", DbType:="DateTime")>  _
	Public Property OWNEDUNTIL() As System.Nullable(Of Date)
		Get
			Return Me._OWNEDUNTIL
		End Get
		Set
			If (Me._OWNEDUNTIL.Equals(value) = false) Then
				Me.OnOWNEDUNTILChanging(value)
				Me.SendPropertyChanging
				Me._OWNEDUNTIL = value
				Me.SendPropertyChanged("OWNEDUNTIL")
				Me.OnOWNEDUNTILChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_QUEUE_TABLEID_FK", Storage:="_TBL_SYSTABLE", ThisKey:="TABLEID", OtherKey:="TABLEID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_SYSTABLE() As TBL_SYSTABLE
		Get
			Return Me._TBL_SYSTABLE.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSTABLE = Me._TBL_SYSTABLE.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSTABLE.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSTABLE.Entity = Nothing
					previousValue.TBL_WORKFLOW_QUEUE.Remove(Me)
				End If
				Me._TBL_SYSTABLE.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOW_QUEUE.Add(Me)
					Me._TABLEID = value.TABLEID
				Else
					Me._TABLEID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_SYSTABLE")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_QUEUE_WORKFLOWDEFID_USERID_FK", Storage:="_TBL_WORKFLOW_SUBSCRIPTION", ThisKey:="WORKFLOWDEFID,USERID", OtherKey:="WORKFLOWDEFID,USERID", IsForeignKey:=true)>  _
	Public Property TBL_WORKFLOW_SUBSCRIPTION() As TBL_WORKFLOW_SUBSCRIPTION
		Get
			Return Me._TBL_WORKFLOW_SUBSCRIPTION.Entity
		End Get
		Set
			Dim previousValue As TBL_WORKFLOW_SUBSCRIPTION = Me._TBL_WORKFLOW_SUBSCRIPTION.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_WORKFLOW_SUBSCRIPTION.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_WORKFLOW_SUBSCRIPTION.Entity = Nothing
					previousValue.TBL_WORKFLOW_QUEUE.Remove(Me)
				End If
				Me._TBL_WORKFLOW_SUBSCRIPTION.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOW_QUEUE.Add(Me)
					Me._WORKFLOWDEFID = value.WORKFLOWDEFID
					Me._USERID = value.USERID
				Else
					Me._WORKFLOWDEFID = CType(Nothing, Nullable(Of System.Guid))
					Me._USERID = CType(Nothing, Nullable(Of System.Guid))
				End If
				Me.SendPropertyChanged("TBL_WORKFLOW_SUBSCRIPTION")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_WORKFLOW_SUBSCRIPTION")>  _
Partial Public Class TBL_WORKFLOW_SUBSCRIPTION
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _OPERATION As String
	
	Private _TRIGGER_INSTANCEID As System.Nullable(Of System.Guid)
	
	Private _ENABLEDATE As System.Nullable(Of Date)
	
	Private _TBL_WORKFLOW_QUEUE As EntitySet(Of TBL_WORKFLOW_QUEUE)
	
	Private _TBL_USER As EntityRef(Of TBL_USER)
	
	Private _TBL_WORKFLOWDEF As EntityRef(Of TBL_WORKFLOWDEF)
	
    #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 OnWORKFLOWDEFIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanged()
    End Sub
    Partial Private Sub OnUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnUSERIDChanged()
    End Sub
    Partial Private Sub OnOPERATIONChanging(value As String)
    End Sub
    Partial Private Sub OnOPERATIONChanged()
    End Sub
    Partial Private Sub OnTRIGGER_INSTANCEIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnTRIGGER_INSTANCEIDChanged()
    End Sub
    Partial Private Sub OnENABLEDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnENABLEDATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_WORKFLOW_QUEUE = New EntitySet(Of TBL_WORKFLOW_QUEUE)(AddressOf Me.attach_TBL_WORKFLOW_QUEUE, AddressOf Me.detach_TBL_WORKFLOW_QUEUE)
		Me._TBL_USER = CType(Nothing, EntityRef(Of TBL_USER))
		Me._TBL_WORKFLOWDEF = CType(Nothing, EntityRef(Of TBL_WORKFLOWDEF))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				If Me._TBL_WORKFLOWDEF.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnWORKFLOWDEFIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOWDEFID = value
				Me.SendPropertyChanged("WORKFLOWDEFID")
				Me.OnWORKFLOWDEFIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				If Me._TBL_USER.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._USERID = value
				Me.SendPropertyChanged("USERID")
				Me.OnUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATION", DbType:="NVarChar(4)")>  _
	Public Property OPERATION() As String
		Get
			Return Me._OPERATION
		End Get
		Set
			If (String.Equals(Me._OPERATION, value) = false) Then
				Me.OnOPERATIONChanging(value)
				Me.SendPropertyChanging
				Me._OPERATION = value
				Me.SendPropertyChanged("OPERATION")
				Me.OnOPERATIONChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRIGGER_INSTANCEID", DbType:="UniqueIdentifier")>  _
	Public Property TRIGGER_INSTANCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TRIGGER_INSTANCEID
		End Get
		Set
			If (Me._TRIGGER_INSTANCEID.Equals(value) = false) Then
				Me.OnTRIGGER_INSTANCEIDChanging(value)
				Me.SendPropertyChanging
				Me._TRIGGER_INSTANCEID = value
				Me.SendPropertyChanged("TRIGGER_INSTANCEID")
				Me.OnTRIGGER_INSTANCEIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENABLEDATE", DbType:="DateTime")>  _
	Public Property ENABLEDATE() As System.Nullable(Of Date)
		Get
			Return Me._ENABLEDATE
		End Get
		Set
			If (Me._ENABLEDATE.Equals(value) = false) Then
				Me.OnENABLEDATEChanging(value)
				Me.SendPropertyChanging
				Me._ENABLEDATE = value
				Me.SendPropertyChanged("ENABLEDATE")
				Me.OnENABLEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_QUEUE_WORKFLOWDEFID_USERID_FK", Storage:="_TBL_WORKFLOW_QUEUE", ThisKey:="WORKFLOWDEFID,USERID", OtherKey:="WORKFLOWDEFID,USERID", DeleteRule:="NO ACTION")>  _
	Public Property TBL_WORKFLOW_QUEUE() As EntitySet(Of TBL_WORKFLOW_QUEUE)
		Get
			Return Me._TBL_WORKFLOW_QUEUE
		End Get
		Set
			Me._TBL_WORKFLOW_QUEUE.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_SUBSCRIPTION_USERID_FK", Storage:="_TBL_USER", ThisKey:="USERID", OtherKey:="USERID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_USER() As TBL_USER
		Get
			Return Me._TBL_USER.Entity
		End Get
		Set
			Dim previousValue As TBL_USER = Me._TBL_USER.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_USER.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_USER.Entity = Nothing
					previousValue.TBL_WORKFLOW_SUBSCRIPTION.Remove(Me)
				End If
				Me._TBL_USER.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOW_SUBSCRIPTION.Add(Me)
					Me._USERID = value.USERID
				Else
					Me._USERID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_USER")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_SUBSCRIPTION_WORKFLOWDEFID_FK", Storage:="_TBL_WORKFLOWDEF", ThisKey:="WORKFLOWDEFID", OtherKey:="WORKFLOWDEFID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_WORKFLOWDEF() As TBL_WORKFLOWDEF
		Get
			Return Me._TBL_WORKFLOWDEF.Entity
		End Get
		Set
			Dim previousValue As TBL_WORKFLOWDEF = Me._TBL_WORKFLOWDEF.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_WORKFLOWDEF.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_WORKFLOWDEF.Entity = Nothing
					previousValue.TBL_WORKFLOW_SUBSCRIPTION.Remove(Me)
				End If
				Me._TBL_WORKFLOWDEF.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOW_SUBSCRIPTION.Add(Me)
					Me._WORKFLOWDEFID = value.WORKFLOWDEFID
				Else
					Me._WORKFLOWDEFID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_WORKFLOWDEF")
			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
	
	Private Sub attach_TBL_WORKFLOW_QUEUE(ByVal entity As TBL_WORKFLOW_QUEUE)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOW_SUBSCRIPTION = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOW_QUEUE(ByVal entity As TBL_WORKFLOW_QUEUE)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOW_SUBSCRIPTION = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_WORKFLOWDEF")>  _
Partial Public Class TBL_WORKFLOWDEF
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _DEFINITION_STRING As String
	
	Private _ENTITYNAME As String
	
	Private _ISPRIVATE As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _MANAGEUSERID As System.Guid
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Private _ISENABLED As Boolean
	
	Private _SERIALIZED_TEMPLATE As System.Data.Linq.Binary
	
	Private _TBL_ATTACHMENT As EntitySet(Of TBL_ATTACHMENT)
	
	Private _TBL_WORKFLOW_SUBSCRIPTION As EntitySet(Of TBL_WORKFLOW_SUBSCRIPTION)
	
	Private _TBL_WORKFLOWDEF_ACL As EntitySet(Of TBL_WORKFLOWDEF_ACL)
	
	Private _TBL_SYSENTITY As EntityRef(Of TBL_SYSENTITY)
	
    #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 OnWORKFLOWDEFIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanged()
    End Sub
    Partial Private Sub OnNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnNAMEChanged()
    End Sub
    Partial Private Sub OnDESCRIPTIONChanging(value As String)
    End Sub
    Partial Private Sub OnDESCRIPTIONChanged()
    End Sub
    Partial Private Sub OnDEFINITION_STRINGChanging(value As String)
    End Sub
    Partial Private Sub OnDEFINITION_STRINGChanged()
    End Sub
    Partial Private Sub OnENTITYNAMEChanging(value As String)
    End Sub
    Partial Private Sub OnENTITYNAMEChanged()
    End Sub
    Partial Private Sub OnISPRIVATEChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISPRIVATEChanged()
    End Sub
    Partial Private Sub OnISCUSTOMChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISCUSTOMChanged()
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnMANAGEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEUSERIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnCREATEUSERIDChanged()
    End Sub
    Partial Private Sub OnCREATEDATEChanging(value As Date)
    End Sub
    Partial Private Sub OnCREATEDATEChanged()
    End Sub
    Partial Private Sub OnEDITUSERIDChanging(value As System.Nullable(Of System.Guid))
    End Sub
    Partial Private Sub OnEDITUSERIDChanged()
    End Sub
    Partial Private Sub OnEDITDATEChanging(value As System.Nullable(Of Date))
    End Sub
    Partial Private Sub OnEDITDATEChanged()
    End Sub
    Partial Private Sub OnISENABLEDChanging(value As Boolean)
    End Sub
    Partial Private Sub OnISENABLEDChanged()
    End Sub
    Partial Private Sub OnSERIALIZED_TEMPLATEChanging(value As System.Data.Linq.Binary)
    End Sub
    Partial Private Sub OnSERIALIZED_TEMPLATEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ATTACHMENT = New EntitySet(Of TBL_ATTACHMENT)(AddressOf Me.attach_TBL_ATTACHMENT, AddressOf Me.detach_TBL_ATTACHMENT)
		Me._TBL_WORKFLOW_SUBSCRIPTION = New EntitySet(Of TBL_WORKFLOW_SUBSCRIPTION)(AddressOf Me.attach_TBL_WORKFLOW_SUBSCRIPTION, AddressOf Me.detach_TBL_WORKFLOW_SUBSCRIPTION)
		Me._TBL_WORKFLOWDEF_ACL = New EntitySet(Of TBL_WORKFLOWDEF_ACL)(AddressOf Me.attach_TBL_WORKFLOWDEF_ACL, AddressOf Me.detach_TBL_WORKFLOWDEF_ACL)
		Me._TBL_SYSENTITY = CType(Nothing, EntityRef(Of TBL_SYSENTITY))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				Me.OnWORKFLOWDEFIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOWDEFID = value
				Me.SendPropertyChanged("WORKFLOWDEFID")
				Me.OnWORKFLOWDEFIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me.OnNAMEChanging(value)
				Me.SendPropertyChanging
				Me._NAME = value
				Me.SendPropertyChanged("NAME")
				Me.OnNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(1024)")>  _
	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
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEFINITION_STRING", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property DEFINITION_STRING() As String
		Get
			Return Me._DEFINITION_STRING
		End Get
		Set
			If (String.Equals(Me._DEFINITION_STRING, value) = false) Then
				Me.OnDEFINITION_STRINGChanging(value)
				Me.SendPropertyChanging
				Me._DEFINITION_STRING = value
				Me.SendPropertyChanged("DEFINITION_STRING")
				Me.OnDEFINITION_STRINGChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYNAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITYNAME() As String
		Get
			Return Me._ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._ENTITYNAME, value) = false) Then
				If Me._TBL_SYSENTITY.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnENTITYNAMEChanging(value)
				Me.SendPropertyChanging
				Me._ENTITYNAME = value
				Me.SendPropertyChanged("ENTITYNAME")
				Me.OnENTITYNAMEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIVATE() As Boolean
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If ((Me._ISPRIVATE = value)  _
						= false) Then
				Me.OnISPRIVATEChanging(value)
				Me.SendPropertyChanging
				Me._ISPRIVATE = value
				Me.SendPropertyChanged("ISPRIVATE")
				Me.OnISPRIVATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me.OnISCUSTOMChanging(value)
				Me.SendPropertyChanging
				Me._ISCUSTOM = value
				Me.SendPropertyChanged("ISCUSTOM")
				Me.OnISCUSTOMChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MANAGEUSERID() As System.Guid
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If ((Me._MANAGEUSERID = value)  _
						= false) Then
				Me.OnMANAGEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._MANAGEUSERID = value
				Me.SendPropertyChanged("MANAGEUSERID")
				Me.OnMANAGEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me.OnCREATEUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._CREATEUSERID = value
				Me.SendPropertyChanged("CREATEUSERID")
				Me.OnCREATEUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me.OnCREATEDATEChanging(value)
				Me.SendPropertyChanging
				Me._CREATEDATE = value
				Me.SendPropertyChanged("CREATEDATE")
				Me.OnCREATEDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me.OnEDITUSERIDChanging(value)
				Me.SendPropertyChanging
				Me._EDITUSERID = value
				Me.SendPropertyChanged("EDITUSERID")
				Me.OnEDITUSERIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me.OnEDITDATEChanging(value)
				Me.SendPropertyChanging
				Me._EDITDATE = value
				Me.SendPropertyChanged("EDITDATE")
				Me.OnEDITDATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISENABLED", DbType:="Bit NOT NULL")>  _
	Public Property ISENABLED() As Boolean
		Get
			Return Me._ISENABLED
		End Get
		Set
			If ((Me._ISENABLED = value)  _
						= false) Then
				Me.OnISENABLEDChanging(value)
				Me.SendPropertyChanging
				Me._ISENABLED = value
				Me.SendPropertyChanged("ISENABLED")
				Me.OnISENABLEDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERIALIZED_TEMPLATE", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SERIALIZED_TEMPLATE() As System.Data.Linq.Binary
		Get
			Return Me._SERIALIZED_TEMPLATE
		End Get
		Set
			If (Object.Equals(Me._SERIALIZED_TEMPLATE, value) = false) Then
				Me.OnSERIALIZED_TEMPLATEChanging(value)
				Me.SendPropertyChanging
				Me._SERIALIZED_TEMPLATE = value
				Me.SendPropertyChanged("SERIALIZED_TEMPLATE")
				Me.OnSERIALIZED_TEMPLATEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="ATTACHMENT_WORKFLOWDEFID_FK", Storage:="_TBL_ATTACHMENT", ThisKey:="WORKFLOWDEFID", OtherKey:="WORKFLOWDEFID", DeleteRule:="CASCADE")>  _
	Public Property TBL_ATTACHMENT() As EntitySet(Of TBL_ATTACHMENT)
		Get
			Return Me._TBL_ATTACHMENT
		End Get
		Set
			Me._TBL_ATTACHMENT.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOW_SUBSCRIPTION_WORKFLOWDEFID_FK", Storage:="_TBL_WORKFLOW_SUBSCRIPTION", ThisKey:="WORKFLOWDEFID", OtherKey:="WORKFLOWDEFID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOW_SUBSCRIPTION() As EntitySet(Of TBL_WORKFLOW_SUBSCRIPTION)
		Get
			Return Me._TBL_WORKFLOW_SUBSCRIPTION
		End Get
		Set
			Me._TBL_WORKFLOW_SUBSCRIPTION.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOWDEF_ACL_WORKFLOWDEFID_FK", Storage:="_TBL_WORKFLOWDEF_ACL", ThisKey:="WORKFLOWDEFID", OtherKey:="WORKFLOWDEFID", DeleteRule:="CASCADE")>  _
	Public Property TBL_WORKFLOWDEF_ACL() As EntitySet(Of TBL_WORKFLOWDEF_ACL)
		Get
			Return Me._TBL_WORKFLOWDEF_ACL
		End Get
		Set
			Me._TBL_WORKFLOWDEF_ACL.Assign(value)
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOWDEF_ENTITYNAME_FK", Storage:="_TBL_SYSENTITY", ThisKey:="ENTITYNAME", OtherKey:="NAME", IsForeignKey:=true)>  _
	Public Property TBL_SYSENTITY() As TBL_SYSENTITY
		Get
			Return Me._TBL_SYSENTITY.Entity
		End Get
		Set
			Dim previousValue As TBL_SYSENTITY = Me._TBL_SYSENTITY.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_SYSENTITY.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_SYSENTITY.Entity = Nothing
					previousValue.TBL_WORKFLOWDEF.Remove(Me)
				End If
				Me._TBL_SYSENTITY.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOWDEF.Add(Me)
					Me._ENTITYNAME = value.NAME
				Else
					Me._ENTITYNAME = CType(Nothing, String)
				End If
				Me.SendPropertyChanged("TBL_SYSENTITY")
			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
	
	Private Sub attach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOWDEF = Me
	End Sub
	
	Private Sub detach_TBL_ATTACHMENT(ByVal entity As TBL_ATTACHMENT)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOWDEF = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOW_SUBSCRIPTION(ByVal entity As TBL_WORKFLOW_SUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOWDEF = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOW_SUBSCRIPTION(ByVal entity As TBL_WORKFLOW_SUBSCRIPTION)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOWDEF = Nothing
	End Sub
	
	Private Sub attach_TBL_WORKFLOWDEF_ACL(ByVal entity As TBL_WORKFLOWDEF_ACL)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOWDEF = Me
	End Sub
	
	Private Sub detach_TBL_WORKFLOWDEF_ACL(ByVal entity As TBL_WORKFLOWDEF_ACL)
		Me.SendPropertyChanging
		entity.TBL_WORKFLOWDEF = Nothing
	End Sub
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TBL_WORKFLOWDEF_ACL")>  _
Partial Public Class TBL_WORKFLOWDEF_ACL
	Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
	
	Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _ROWSOURCE As String
	
	Private _TBL_ACCESSOR As EntityRef(Of TBL_ACCESSOR)
	
	Private _TBL_WORKFLOWDEF As EntityRef(Of TBL_WORKFLOWDEF)
	
    #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 OnWORKFLOWDEFIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnWORKFLOWDEFIDChanged()
    End Sub
    Partial Private Sub OnACCESSORIDChanging(value As System.Guid)
    End Sub
    Partial Private Sub OnACCESSORIDChanged()
    End Sub
    Partial Private Sub OnROWSOURCEChanging(value As String)
    End Sub
    Partial Private Sub OnROWSOURCEChanged()
    End Sub
    #End Region
	
	Public Sub New()
		MyBase.New
		Me._TBL_ACCESSOR = CType(Nothing, EntityRef(Of TBL_ACCESSOR))
		Me._TBL_WORKFLOWDEF = CType(Nothing, EntityRef(Of TBL_WORKFLOWDEF))
		OnCreated
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				If Me._TBL_WORKFLOWDEF.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnWORKFLOWDEFIDChanging(value)
				Me.SendPropertyChanging
				Me._WORKFLOWDEFID = value
				Me.SendPropertyChanged("WORKFLOWDEFID")
				Me.OnWORKFLOWDEFIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL", IsPrimaryKey:=true)>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				If Me._TBL_ACCESSOR.HasLoadedOrAssignedValue Then
					Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException()
				End If
				Me.OnACCESSORIDChanging(value)
				Me.SendPropertyChanging
				Me._ACCESSORID = value
				Me.SendPropertyChanged("ACCESSORID")
				Me.OnACCESSORIDChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWSOURCE", DbType:="Char(1) NOT NULL", CanBeNull:=false)>  _
	Public Property ROWSOURCE() As String
		Get
			Return Me._ROWSOURCE
		End Get
		Set
			If (String.Equals(Me._ROWSOURCE, value) = false) Then
				Me.OnROWSOURCEChanging(value)
				Me.SendPropertyChanging
				Me._ROWSOURCE = value
				Me.SendPropertyChanged("ROWSOURCE")
				Me.OnROWSOURCEChanged
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOWDEF_ACL_ACCESSORID_FK", Storage:="_TBL_ACCESSOR", ThisKey:="ACCESSORID", OtherKey:="ACCESSORID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_ACCESSOR() As TBL_ACCESSOR
		Get
			Return Me._TBL_ACCESSOR.Entity
		End Get
		Set
			Dim previousValue As TBL_ACCESSOR = Me._TBL_ACCESSOR.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_ACCESSOR.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_ACCESSOR.Entity = Nothing
					previousValue.TBL_WORKFLOWDEF_ACL.Remove(Me)
				End If
				Me._TBL_ACCESSOR.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOWDEF_ACL.Add(Me)
					Me._ACCESSORID = value.ACCESSORID
				Else
					Me._ACCESSORID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_ACCESSOR")
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.AssociationAttribute(Name:="WORKFLOWDEF_ACL_WORKFLOWDEFID_FK", Storage:="_TBL_WORKFLOWDEF", ThisKey:="WORKFLOWDEFID", OtherKey:="WORKFLOWDEFID", IsForeignKey:=true, DeleteOnNull:=true)>  _
	Public Property TBL_WORKFLOWDEF() As TBL_WORKFLOWDEF
		Get
			Return Me._TBL_WORKFLOWDEF.Entity
		End Get
		Set
			Dim previousValue As TBL_WORKFLOWDEF = Me._TBL_WORKFLOWDEF.Entity
			If ((Object.Equals(previousValue, value) = false)  _
						OrElse (Me._TBL_WORKFLOWDEF.HasLoadedOrAssignedValue = false)) Then
				Me.SendPropertyChanging
				If ((previousValue Is Nothing)  _
							= false) Then
					Me._TBL_WORKFLOWDEF.Entity = Nothing
					previousValue.TBL_WORKFLOWDEF_ACL.Remove(Me)
				End If
				Me._TBL_WORKFLOWDEF.Entity = value
				If ((value Is Nothing)  _
							= false) Then
					value.TBL_WORKFLOWDEF_ACL.Add(Me)
					Me._WORKFLOWDEFID = value.WORKFLOWDEFID
				Else
					Me._WORKFLOWDEFID = CType(Nothing, System.Guid)
				End If
				Me.SendPropertyChanged("TBL_WORKFLOWDEF")
			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

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TEAM")>  _
Partial Public Class TEAM
	
	Private _ACCESSORID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _TYPENUM As Byte
	
	Private _STATUS As String
	
	Private _TEAMID As System.Guid
	
	Private _DESCRIPTION As String
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISSYSTEM As Boolean
	
	Private _DISPLAYED As String
	
	Private _SYSTEM_TEAM As String
	
	Private _RECORD_CREATOR As String
	
	Private _LAST_EDITED_BY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMID() As System.Guid
		Get
			Return Me._TEAMID
		End Get
		Set
			If ((Me._TEAMID = value)  _
						= false) Then
				Me._TEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSYSTEM", DbType:="Bit NOT NULL")>  _
	Public Property ISSYSTEM() As Boolean
		Get
			Return Me._ISSYSTEM
		End Get
		Set
			If ((Me._ISSYSTEM = value)  _
						= false) Then
				Me._ISSYSTEM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYED", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYED() As String
		Get
			Return Me._DISPLAYED
		End Get
		Set
			If (String.Equals(Me._DISPLAYED, value) = false) Then
				Me._DISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYSTEM_TEAM", DbType:="NVarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property SYSTEM_TEAM() As String
		Get
			Return Me._SYSTEM_TEAM
		End Get
		Set
			If (String.Equals(Me._SYSTEM_TEAM, value) = false) Then
				Me._SYSTEM_TEAM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.TEAM_USER")>  _
Partial Public Class TEAM_USER
	
	Private _TEAMID As System.Guid
	
	Private _USERID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMID() As System.Guid
		Get
			Return Me._TEAMID
		End Get
		Set
			If ((Me._TEAMID = value)  _
						= false) Then
				Me._TEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.USER")>  _
Partial Public Class USER
	
	Private _ACCESSORID As System.Guid
	
	Private _CREATE_DATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _TYPENUM As Byte
	
	Private _STATUS As String
	
	Private _USERID As System.Guid
	
	Private _IS_ALLOW_PASSWORD_CHANGE As System.Nullable(Of Boolean)
	
	Private _IS_CASE_SENSITIVE_PASSWORD As System.Nullable(Of Boolean)
	
	Private _CONTACTID As System.Guid
	
	Private _IS_FORCE_PASSWORD_CHANGE As System.Nullable(Of Boolean)
	
	Private _LAST_LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _LOGIN As String
	
	Private _IS_PASSWORD_NEVER_EXPIRES As System.Nullable(Of Boolean)
	
	Private _ROLEID As System.Guid
	
	Private _ROLE_DISPLAYNAME As String
	
	Private _ROLE_NAME As String
	
	Private _ROLE_DESCRIPTION As String
	
	Private _IS_USEPERSONALFILES As System.Nullable(Of Boolean)
	
	Private _UTC_OFFSET As System.Nullable(Of Short)
	
	Private _IS_VERIFIED As System.Nullable(Of Boolean)
	
	Private _RECORD_CREATOR As String
	
	Private _LAST_EDITED_BY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATE_DATE() As Date
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If ((Me._CREATE_DATE = value)  _
						= false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALLOW_PASSWORD_CHANGE", DbType:="Bit")>  _
	Public Property IS_ALLOW_PASSWORD_CHANGE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ALLOW_PASSWORD_CHANGE
		End Get
		Set
			If (Me._IS_ALLOW_PASSWORD_CHANGE.Equals(value) = false) Then
				Me._IS_ALLOW_PASSWORD_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CASE_SENSITIVE_PASSWORD", DbType:="Bit")>  _
	Public Property IS_CASE_SENSITIVE_PASSWORD() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CASE_SENSITIVE_PASSWORD
		End Get
		Set
			If (Me._IS_CASE_SENSITIVE_PASSWORD.Equals(value) = false) Then
				Me._IS_CASE_SENSITIVE_PASSWORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_FORCE_PASSWORD_CHANGE", DbType:="Bit")>  _
	Public Property IS_FORCE_PASSWORD_CHANGE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_FORCE_PASSWORD_CHANGE
		End Get
		Set
			If (Me._IS_FORCE_PASSWORD_CHANGE.Equals(value) = false) Then
				Me._IS_FORCE_PASSWORD_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property LAST_LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LAST_LOGONHISTORYID
		End Get
		Set
			If (Me._LAST_LOGONHISTORYID.Equals(value) = false) Then
				Me._LAST_LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGIN", DbType:="NVarChar(128)")>  _
	Public Property LOGIN() As String
		Get
			Return Me._LOGIN
		End Get
		Set
			If (String.Equals(Me._LOGIN, value) = false) Then
				Me._LOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PASSWORD_NEVER_EXPIRES", DbType:="Bit")>  _
	Public Property IS_PASSWORD_NEVER_EXPIRES() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PASSWORD_NEVER_EXPIRES
		End Get
		Set
			If (Me._IS_PASSWORD_NEVER_EXPIRES.Equals(value) = false) Then
				Me._IS_PASSWORD_NEVER_EXPIRES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROLEID() As System.Guid
		Get
			Return Me._ROLEID
		End Get
		Set
			If ((Me._ROLEID = value)  _
						= false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE_DISPLAYNAME", DbType:="NVarChar(96) NOT NULL", CanBeNull:=false)>  _
	Public Property ROLE_DISPLAYNAME() As String
		Get
			Return Me._ROLE_DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._ROLE_DISPLAYNAME, value) = false) Then
				Me._ROLE_DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ROLE_NAME() As String
		Get
			Return Me._ROLE_NAME
		End Get
		Set
			If (String.Equals(Me._ROLE_NAME, value) = false) Then
				Me._ROLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property ROLE_DESCRIPTION() As String
		Get
			Return Me._ROLE_DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ROLE_DESCRIPTION, value) = false) Then
				Me._ROLE_DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USEPERSONALFILES", DbType:="Bit")>  _
	Public Property IS_USEPERSONALFILES() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_USEPERSONALFILES
		End Get
		Set
			If (Me._IS_USEPERSONALFILES.Equals(value) = false) Then
				Me._IS_USEPERSONALFILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UTC_OFFSET", DbType:="SmallInt")>  _
	Public Property UTC_OFFSET() As System.Nullable(Of Short)
		Get
			Return Me._UTC_OFFSET
		End Get
		Set
			If (Me._UTC_OFFSET.Equals(value) = false) Then
				Me._UTC_OFFSET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_VERIFIED", DbType:="Bit")>  _
	Public Property IS_VERIFIED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_VERIFIED
		End Get
		Set
			If (Me._IS_VERIFIED.Equals(value) = false) Then
				Me._IS_VERIFIED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_COLUMN")>  _
Partial Public Class VRP_COLUMN
	
	Private _TABLEID As System.Guid
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMNLUID As System.Nullable(Of Short)
	
	Private _COLUMNNAME As String
	
	Private _COLUMNDISPLAY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt")>  _
	Public Property COLUMNLUID() As System.Nullable(Of Short)
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If (Me._COLUMNLUID.Equals(value) = false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNDISPLAY", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNDISPLAY() As String
		Get
			Return Me._COLUMNDISPLAY
		End Get
		Set
			If (String.Equals(Me._COLUMNDISPLAY, value) = false) Then
				Me._COLUMNDISPLAY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_COMPANY")>  _
Partial Public Class VRP_COMPANY
	
	Private _COMPANYAddress1 As String
	
	Private _COMPANYAddress2 As String
	
	Private _COMPANYAddress3 As String
	
	Private _COMPANYBillingAddress1 As String
	
	Private _COMPANYBillingAddress2 As String
	
	Private _COMPANYBillingAddress3 As String
	
	Private _COMPANYBillingCity As String
	
	Private _COMPANYBillingCountry As String
	
	Private _COMPANYBillingState As String
	
	Private _COMPANYBillingZIPCode As String
	
	Private _COMPANYCity As String
	
	Private _COMPANYCompany As String
	
	Private _COMPANYCompanyDescription As String
	
	Private _COMPANYCOMPANYID As System.Guid
	
	Private _COMPANYCountry As String
	
	Private _COMPANYCreateDate As Date
	
	Private _COMPANYCustomerID As String
	
	Private _COMPANYDivision As String
	
	Private _COMPANYEditDate As System.Nullable(Of Date)
	
	Private _COMPANYExtension As String
	
	Private _COMPANYFaxExtension As String
	
	Private _COMPANYFaxPhone As String
	
	Private _COMPANYHasDivisions As Boolean
	
	Private _COMPANYHierarchyLevel As System.Nullable(Of Integer)
	
	Private _COMPANYID_Status As String
	
	Private _COMPANYImportDate As System.Nullable(Of Date)
	
	Private _COMPANYIndustry As String
	
	Private _COMPANYLastEditedBy As String
	
	Private _COMPANYNumberOfEmployees As System.Nullable(Of Integer)
	
	Private _COMPANYPARENTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYPhone As String
	
	Private _COMPANYPrivateCompany As Boolean
	
	Private _COMPANYQUERYVERSIONID As System.Guid
	
	Private _COMPANYRecordCreator As String
	
	Private _COMPANYRecordManager As String
	
	Private _COMPANYReferredBy As String
	
	Private _COMPANYRegion As String
	
	Private _COMPANYRevenue As System.Nullable(Of Decimal)
	
	Private _COMPANYShippingAddress1 As String
	
	Private _COMPANYShippingAddress2 As String
	
	Private _COMPANYShippingAddress3 As String
	
	Private _COMPANYShippingCity As String
	
	Private _COMPANYShippingCountry As String
	
	Private _COMPANYShippingState As String
	
	Private _COMPANYShippingZIPCode As String
	
	Private _COMPANYSICCode As String
	
	Private _COMPANYState As String
	
	Private _COMPANYTerritory As String
	
	Private _COMPANYTickerSymbol As String
	
	Private _COMPANYToll_FreeExtension As String
	
	Private _COMPANYToll_FreePhone As String
	
	Private _COMPANYWebSite As String
	
	Private _COMPANYZIPCode As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Address 1", Storage:="_COMPANYAddress1", DbType:="NVarChar(256)")>  _
	Public Property COMPANYAddress1() As String
		Get
			Return Me._COMPANYAddress1
		End Get
		Set
			If (String.Equals(Me._COMPANYAddress1, value) = false) Then
				Me._COMPANYAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Address 2", Storage:="_COMPANYAddress2", DbType:="NVarChar(256)")>  _
	Public Property COMPANYAddress2() As String
		Get
			Return Me._COMPANYAddress2
		End Get
		Set
			If (String.Equals(Me._COMPANYAddress2, value) = false) Then
				Me._COMPANYAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Address 3", Storage:="_COMPANYAddress3", DbType:="NVarChar(256)")>  _
	Public Property COMPANYAddress3() As String
		Get
			Return Me._COMPANYAddress3
		End Get
		Set
			If (String.Equals(Me._COMPANYAddress3, value) = false) Then
				Me._COMPANYAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Address 1", Storage:="_COMPANYBillingAddress1", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingAddress1() As String
		Get
			Return Me._COMPANYBillingAddress1
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingAddress1, value) = false) Then
				Me._COMPANYBillingAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Address 2", Storage:="_COMPANYBillingAddress2", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingAddress2() As String
		Get
			Return Me._COMPANYBillingAddress2
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingAddress2, value) = false) Then
				Me._COMPANYBillingAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Address 3", Storage:="_COMPANYBillingAddress3", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingAddress3() As String
		Get
			Return Me._COMPANYBillingAddress3
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingAddress3, value) = false) Then
				Me._COMPANYBillingAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing City", Storage:="_COMPANYBillingCity", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingCity() As String
		Get
			Return Me._COMPANYBillingCity
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingCity, value) = false) Then
				Me._COMPANYBillingCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Country", Storage:="_COMPANYBillingCountry", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingCountry() As String
		Get
			Return Me._COMPANYBillingCountry
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingCountry, value) = false) Then
				Me._COMPANYBillingCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing State", Storage:="_COMPANYBillingState", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingState() As String
		Get
			Return Me._COMPANYBillingState
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingState, value) = false) Then
				Me._COMPANYBillingState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing ZIP Code", Storage:="_COMPANYBillingZIPCode", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingZIPCode() As String
		Get
			Return Me._COMPANYBillingZIPCode
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingZIPCode, value) = false) Then
				Me._COMPANYBillingZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY City", Storage:="_COMPANYCity", DbType:="NVarChar(256)")>  _
	Public Property COMPANYCity() As String
		Get
			Return Me._COMPANYCity
		End Get
		Set
			If (String.Equals(Me._COMPANYCity, value) = false) Then
				Me._COMPANYCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Company", Storage:="_COMPANYCompany", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANYCompany() As String
		Get
			Return Me._COMPANYCompany
		End Get
		Set
			If (String.Equals(Me._COMPANYCompany, value) = false) Then
				Me._COMPANYCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Company Description", Storage:="_COMPANYCompanyDescription", DbType:="NVarChar(128)")>  _
	Public Property COMPANYCompanyDescription() As String
		Get
			Return Me._COMPANYCompanyDescription
		End Get
		Set
			If (String.Equals(Me._COMPANYCompanyDescription, value) = false) Then
				Me._COMPANYCompanyDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY COMPANYID", Storage:="_COMPANYCOMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYCOMPANYID() As System.Guid
		Get
			Return Me._COMPANYCOMPANYID
		End Get
		Set
			If ((Me._COMPANYCOMPANYID = value)  _
						= false) Then
				Me._COMPANYCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Country", Storage:="_COMPANYCountry", DbType:="NVarChar(256)")>  _
	Public Property COMPANYCountry() As String
		Get
			Return Me._COMPANYCountry
		End Get
		Set
			If (String.Equals(Me._COMPANYCountry, value) = false) Then
				Me._COMPANYCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Create Date", Storage:="_COMPANYCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property COMPANYCreateDate() As Date
		Get
			Return Me._COMPANYCreateDate
		End Get
		Set
			If ((Me._COMPANYCreateDate = value)  _
						= false) Then
				Me._COMPANYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Customer ID", Storage:="_COMPANYCustomerID", DbType:="NVarChar(8)")>  _
	Public Property COMPANYCustomerID() As String
		Get
			Return Me._COMPANYCustomerID
		End Get
		Set
			If (String.Equals(Me._COMPANYCustomerID, value) = false) Then
				Me._COMPANYCustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Division", Storage:="_COMPANYDivision", DbType:="NVarChar(64)")>  _
	Public Property COMPANYDivision() As String
		Get
			Return Me._COMPANYDivision
		End Get
		Set
			If (String.Equals(Me._COMPANYDivision, value) = false) Then
				Me._COMPANYDivision = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Edit Date", Storage:="_COMPANYEditDate", DbType:="DateTime")>  _
	Public Property COMPANYEditDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYEditDate
		End Get
		Set
			If (Me._COMPANYEditDate.Equals(value) = false) Then
				Me._COMPANYEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Extension", Storage:="_COMPANYExtension", DbType:="NVarChar(256)")>  _
	Public Property COMPANYExtension() As String
		Get
			Return Me._COMPANYExtension
		End Get
		Set
			If (String.Equals(Me._COMPANYExtension, value) = false) Then
				Me._COMPANYExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Fax Extension", Storage:="_COMPANYFaxExtension", DbType:="NVarChar(256)")>  _
	Public Property COMPANYFaxExtension() As String
		Get
			Return Me._COMPANYFaxExtension
		End Get
		Set
			If (String.Equals(Me._COMPANYFaxExtension, value) = false) Then
				Me._COMPANYFaxExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Fax Phone", Storage:="_COMPANYFaxPhone", DbType:="NVarChar(32)")>  _
	Public Property COMPANYFaxPhone() As String
		Get
			Return Me._COMPANYFaxPhone
		End Get
		Set
			If (String.Equals(Me._COMPANYFaxPhone, value) = false) Then
				Me._COMPANYFaxPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Has Divisions", Storage:="_COMPANYHasDivisions", DbType:="Bit NOT NULL")>  _
	Public Property COMPANYHasDivisions() As Boolean
		Get
			Return Me._COMPANYHasDivisions
		End Get
		Set
			If ((Me._COMPANYHasDivisions = value)  _
						= false) Then
				Me._COMPANYHasDivisions = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Hierarchy Level", Storage:="_COMPANYHierarchyLevel", DbType:="Int")>  _
	Public Property COMPANYHierarchyLevel() As System.Nullable(Of Integer)
		Get
			Return Me._COMPANYHierarchyLevel
		End Get
		Set
			If (Me._COMPANYHierarchyLevel.Equals(value) = false) Then
				Me._COMPANYHierarchyLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ID/Status", Storage:="_COMPANYID_Status", DbType:="NVarChar(128)")>  _
	Public Property COMPANYID_Status() As String
		Get
			Return Me._COMPANYID_Status
		End Get
		Set
			If (String.Equals(Me._COMPANYID_Status, value) = false) Then
				Me._COMPANYID_Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Import Date", Storage:="_COMPANYImportDate", DbType:="DateTime")>  _
	Public Property COMPANYImportDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYImportDate
		End Get
		Set
			If (Me._COMPANYImportDate.Equals(value) = false) Then
				Me._COMPANYImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Industry", Storage:="_COMPANYIndustry", DbType:="NVarChar(64)")>  _
	Public Property COMPANYIndustry() As String
		Get
			Return Me._COMPANYIndustry
		End Get
		Set
			If (String.Equals(Me._COMPANYIndustry, value) = false) Then
				Me._COMPANYIndustry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Last Edited By", Storage:="_COMPANYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property COMPANYLastEditedBy() As String
		Get
			Return Me._COMPANYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._COMPANYLastEditedBy, value) = false) Then
				Me._COMPANYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Number of Employees", Storage:="_COMPANYNumberOfEmployees", DbType:="Int")>  _
	Public Property COMPANYNumberOfEmployees() As System.Nullable(Of Integer)
		Get
			Return Me._COMPANYNumberOfEmployees
		End Get
		Set
			If (Me._COMPANYNumberOfEmployees.Equals(value) = false) Then
				Me._COMPANYNumberOfEmployees = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY PARENTCOMPANYID", Storage:="_COMPANYPARENTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYPARENTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYPARENTCOMPANYID
		End Get
		Set
			If (Me._COMPANYPARENTCOMPANYID.Equals(value) = false) Then
				Me._COMPANYPARENTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Phone", Storage:="_COMPANYPhone", DbType:="NVarChar(32)")>  _
	Public Property COMPANYPhone() As String
		Get
			Return Me._COMPANYPhone
		End Get
		Set
			If (String.Equals(Me._COMPANYPhone, value) = false) Then
				Me._COMPANYPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Private Company", Storage:="_COMPANYPrivateCompany", DbType:="Bit NOT NULL")>  _
	Public Property COMPANYPrivateCompany() As Boolean
		Get
			Return Me._COMPANYPrivateCompany
		End Get
		Set
			If ((Me._COMPANYPrivateCompany = value)  _
						= false) Then
				Me._COMPANYPrivateCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY QUERYVERSIONID", Storage:="_COMPANYQUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYQUERYVERSIONID() As System.Guid
		Get
			Return Me._COMPANYQUERYVERSIONID
		End Get
		Set
			If ((Me._COMPANYQUERYVERSIONID = value)  _
						= false) Then
				Me._COMPANYQUERYVERSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Record Creator", Storage:="_COMPANYRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANYRecordCreator() As String
		Get
			Return Me._COMPANYRecordCreator
		End Get
		Set
			If (String.Equals(Me._COMPANYRecordCreator, value) = false) Then
				Me._COMPANYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Record Manager", Storage:="_COMPANYRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANYRecordManager() As String
		Get
			Return Me._COMPANYRecordManager
		End Get
		Set
			If (String.Equals(Me._COMPANYRecordManager, value) = false) Then
				Me._COMPANYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Referred By", Storage:="_COMPANYReferredBy", DbType:="NVarChar(64)")>  _
	Public Property COMPANYReferredBy() As String
		Get
			Return Me._COMPANYReferredBy
		End Get
		Set
			If (String.Equals(Me._COMPANYReferredBy, value) = false) Then
				Me._COMPANYReferredBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Region", Storage:="_COMPANYRegion", DbType:="NVarChar(64)")>  _
	Public Property COMPANYRegion() As String
		Get
			Return Me._COMPANYRegion
		End Get
		Set
			If (String.Equals(Me._COMPANYRegion, value) = false) Then
				Me._COMPANYRegion = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Revenue", Storage:="_COMPANYRevenue", DbType:="Decimal(18,2)")>  _
	Public Property COMPANYRevenue() As System.Nullable(Of Decimal)
		Get
			Return Me._COMPANYRevenue
		End Get
		Set
			If (Me._COMPANYRevenue.Equals(value) = false) Then
				Me._COMPANYRevenue = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Address 1", Storage:="_COMPANYShippingAddress1", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingAddress1() As String
		Get
			Return Me._COMPANYShippingAddress1
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingAddress1, value) = false) Then
				Me._COMPANYShippingAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Address 2", Storage:="_COMPANYShippingAddress2", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingAddress2() As String
		Get
			Return Me._COMPANYShippingAddress2
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingAddress2, value) = false) Then
				Me._COMPANYShippingAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Address 3", Storage:="_COMPANYShippingAddress3", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingAddress3() As String
		Get
			Return Me._COMPANYShippingAddress3
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingAddress3, value) = false) Then
				Me._COMPANYShippingAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping City", Storage:="_COMPANYShippingCity", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingCity() As String
		Get
			Return Me._COMPANYShippingCity
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingCity, value) = false) Then
				Me._COMPANYShippingCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Country", Storage:="_COMPANYShippingCountry", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingCountry() As String
		Get
			Return Me._COMPANYShippingCountry
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingCountry, value) = false) Then
				Me._COMPANYShippingCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping State", Storage:="_COMPANYShippingState", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingState() As String
		Get
			Return Me._COMPANYShippingState
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingState, value) = false) Then
				Me._COMPANYShippingState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping ZIP Code", Storage:="_COMPANYShippingZIPCode", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingZIPCode() As String
		Get
			Return Me._COMPANYShippingZIPCode
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingZIPCode, value) = false) Then
				Me._COMPANYShippingZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY SIC Code", Storage:="_COMPANYSICCode", DbType:="NVarChar(8)")>  _
	Public Property COMPANYSICCode() As String
		Get
			Return Me._COMPANYSICCode
		End Get
		Set
			If (String.Equals(Me._COMPANYSICCode, value) = false) Then
				Me._COMPANYSICCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY State", Storage:="_COMPANYState", DbType:="NVarChar(256)")>  _
	Public Property COMPANYState() As String
		Get
			Return Me._COMPANYState
		End Get
		Set
			If (String.Equals(Me._COMPANYState, value) = false) Then
				Me._COMPANYState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Territory", Storage:="_COMPANYTerritory", DbType:="NVarChar(64)")>  _
	Public Property COMPANYTerritory() As String
		Get
			Return Me._COMPANYTerritory
		End Get
		Set
			If (String.Equals(Me._COMPANYTerritory, value) = false) Then
				Me._COMPANYTerritory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Ticker Symbol", Storage:="_COMPANYTickerSymbol", DbType:="NVarChar(12)")>  _
	Public Property COMPANYTickerSymbol() As String
		Get
			Return Me._COMPANYTickerSymbol
		End Get
		Set
			If (String.Equals(Me._COMPANYTickerSymbol, value) = false) Then
				Me._COMPANYTickerSymbol = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Toll-Free Extension", Storage:="_COMPANYToll_FreeExtension", DbType:="NVarChar(256)")>  _
	Public Property COMPANYToll_FreeExtension() As String
		Get
			Return Me._COMPANYToll_FreeExtension
		End Get
		Set
			If (String.Equals(Me._COMPANYToll_FreeExtension, value) = false) Then
				Me._COMPANYToll_FreeExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Toll-Free Phone", Storage:="_COMPANYToll_FreePhone", DbType:="NVarChar(32)")>  _
	Public Property COMPANYToll_FreePhone() As String
		Get
			Return Me._COMPANYToll_FreePhone
		End Get
		Set
			If (String.Equals(Me._COMPANYToll_FreePhone, value) = false) Then
				Me._COMPANYToll_FreePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Web Site", Storage:="_COMPANYWebSite", DbType:="NVarChar(128)")>  _
	Public Property COMPANYWebSite() As String
		Get
			Return Me._COMPANYWebSite
		End Get
		Set
			If (String.Equals(Me._COMPANYWebSite, value) = false) Then
				Me._COMPANYWebSite = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ZIP Code", Storage:="_COMPANYZIPCode", DbType:="NVarChar(256)")>  _
	Public Property COMPANYZIPCode() As String
		Get
			Return Me._COMPANYZIPCode
		End Get
		Set
			If (String.Equals(Me._COMPANYZIPCode, value) = false) Then
				Me._COMPANYZIPCode = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_COMPANY_HISTORY")>  _
Partial Public Class VRP_COMPANY_HISTORY
	
	Private _COMPANYHISTORYCOMPANYID As System.Guid
	
	Private _COMPANYHISTORYHISTORYID As System.Guid
	
	Private _HISTORYACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _HISTORYCreatedOn As Date
	
	Private _HISTORYDetails As String
	
	Private _HISTORYDuration As System.Nullable(Of Integer)
	
	Private _HISTORYEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYEndDate_Time As Date
	
	Private _HISTORYHISTORYID As System.Guid
	
	Private _HISTORYHISTORYTYPEID As Short
	
	Private _HISTORYLastEditedBy As String
	
	Private _HISTORYPrivateHistory As Byte
	
	Private _HISTORYRecordCreator As String
	
	Private _HISTORYRecordManager As String
	
	Private _HISTORYRegarding As String
	
	Private _HISTORYStartDate_Time As Date
	
	Private _HISTORYTYPESActive As Boolean
	
	Private _HISTORYTYPEACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYTYPESCreatedOn As Date
	
	Private _HISTORYTYPESCustom As Boolean
	
	Private _HISTORYTYPESDESCRIPTION As String
	
	Private _HISTORYTYPESEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYTYPEHISTORYTYPEGROUPID As Short
	
	Private _HISTORYTYPEHISTORYTYPEGUID As System.Guid
	
	Private _HISTORYTYPEHISTORYTYPEID As Short
	
	Private _HISTORYTYPESISDEFAULT As Boolean
	
	Private _HISTORYTYPESName As String
	
	Private _HISTORYTYPESRecordable As Boolean
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY HISTORY COMPANYID", Storage:="_COMPANYHISTORYCOMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYHISTORYCOMPANYID() As System.Guid
		Get
			Return Me._COMPANYHISTORYCOMPANYID
		End Get
		Set
			If ((Me._COMPANYHISTORYCOMPANYID = value)  _
						= false) Then
				Me._COMPANYHISTORYCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY HISTORY HISTORYID", Storage:="_COMPANYHISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYHISTORYHISTORYID() As System.Guid
		Get
			Return Me._COMPANYHISTORYHISTORYID
		End Get
		Set
			If ((Me._COMPANYHISTORYHISTORYID = value)  _
						= false) Then
				Me._COMPANYHISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY ACCESSOR_ACTIVITY_CLEAREDID", Storage:="_HISTORYACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Created On", Storage:="_HISTORYCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYCreatedOn() As Date
		Get
			Return Me._HISTORYCreatedOn
		End Get
		Set
			If ((Me._HISTORYCreatedOn = value)  _
						= false) Then
				Me._HISTORYCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Details", Storage:="_HISTORYDetails", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property HISTORYDetails() As String
		Get
			Return Me._HISTORYDetails
		End Get
		Set
			If (String.Equals(Me._HISTORYDetails, value) = false) Then
				Me._HISTORYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Duration", Storage:="_HISTORYDuration", DbType:="Int")>  _
	Public Property HISTORYDuration() As System.Nullable(Of Integer)
		Get
			Return Me._HISTORYDuration
		End Get
		Set
			If (Me._HISTORYDuration.Equals(value) = false) Then
				Me._HISTORYDuration = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Edited On", Storage:="_HISTORYEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYEditedOn
		End Get
		Set
			If (Me._HISTORYEditedOn.Equals(value) = false) Then
				Me._HISTORYEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY End Date/Time", Storage:="_HISTORYEndDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYEndDate_Time() As Date
		Get
			Return Me._HISTORYEndDate_Time
		End Get
		Set
			If ((Me._HISTORYEndDate_Time = value)  _
						= false) Then
				Me._HISTORYEndDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYID", Storage:="_HISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYHISTORYID() As System.Guid
		Get
			Return Me._HISTORYHISTORYID
		End Get
		Set
			If ((Me._HISTORYHISTORYID = value)  _
						= false) Then
				Me._HISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYTYPEID", Storage:="_HISTORYHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Last Edited By", Storage:="_HISTORYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property HISTORYLastEditedBy() As String
		Get
			Return Me._HISTORYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._HISTORYLastEditedBy, value) = false) Then
				Me._HISTORYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Private History", Storage:="_HISTORYPrivateHistory", DbType:="TinyInt NOT NULL")>  _
	Public Property HISTORYPrivateHistory() As Byte
		Get
			Return Me._HISTORYPrivateHistory
		End Get
		Set
			If ((Me._HISTORYPrivateHistory = value)  _
						= false) Then
				Me._HISTORYPrivateHistory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Creator", Storage:="_HISTORYRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordCreator() As String
		Get
			Return Me._HISTORYRecordCreator
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordCreator, value) = false) Then
				Me._HISTORYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Manager", Storage:="_HISTORYRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordManager() As String
		Get
			Return Me._HISTORYRecordManager
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordManager, value) = false) Then
				Me._HISTORYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Regarding", Storage:="_HISTORYRegarding", DbType:="NVarChar(256)")>  _
	Public Property HISTORYRegarding() As String
		Get
			Return Me._HISTORYRegarding
		End Get
		Set
			If (String.Equals(Me._HISTORYRegarding, value) = false) Then
				Me._HISTORYRegarding = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Start Date/Time", Storage:="_HISTORYStartDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYStartDate_Time() As Date
		Get
			Return Me._HISTORYStartDate_Time
		End Get
		Set
			If ((Me._HISTORYStartDate_Time = value)  _
						= false) Then
				Me._HISTORYStartDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Active", Storage:="_HISTORYTYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESActive() As Boolean
		Get
			Return Me._HISTORYTYPESActive
		End Get
		Set
			If ((Me._HISTORYTYPESActive = value)  _
						= false) Then
				Me._HISTORYTYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE ACTIVITYTYPEID", Storage:="_HISTORYTYPEACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEACTIVITYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEACTIVITYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Created On", Storage:="_HISTORYTYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYTYPESCreatedOn() As Date
		Get
			Return Me._HISTORYTYPESCreatedOn
		End Get
		Set
			If ((Me._HISTORYTYPESCreatedOn = value)  _
						= false) Then
				Me._HISTORYTYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Custom", Storage:="_HISTORYTYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESCustom() As Boolean
		Get
			Return Me._HISTORYTYPESCustom
		End Get
		Set
			If ((Me._HISTORYTYPESCustom = value)  _
						= false) Then
				Me._HISTORYTYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES DESCRIPTION", Storage:="_HISTORYTYPESDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property HISTORYTYPESDESCRIPTION() As String
		Get
			Return Me._HISTORYTYPESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESDESCRIPTION, value) = false) Then
				Me._HISTORYTYPESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Edited On", Storage:="_HISTORYTYPESEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYTYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYTYPESEditedOn
		End Get
		Set
			If (Me._HISTORYTYPESEditedOn.Equals(value) = false) Then
				Me._HISTORYTYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGROUPID", Storage:="_HISTORYTYPEHISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGROUPID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGUID", Storage:="_HISTORYTYPEHISTORYTYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGUID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGUID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEID", Storage:="_HISTORYTYPEHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES ISDEFAULT", Storage:="_HISTORYTYPESISDEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESISDEFAULT() As Boolean
		Get
			Return Me._HISTORYTYPESISDEFAULT
		End Get
		Set
			If ((Me._HISTORYTYPESISDEFAULT = value)  _
						= false) Then
				Me._HISTORYTYPESISDEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Name", Storage:="_HISTORYTYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYTYPESName() As String
		Get
			Return Me._HISTORYTYPESName
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESName, value) = false) Then
				Me._HISTORYTYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Recordable", Storage:="_HISTORYTYPESRecordable", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESRecordable() As Boolean
		Get
			Return Me._HISTORYTYPESRecordable
		End Get
		Set
			If ((Me._HISTORYTYPESRecordable = value)  _
						= false) Then
				Me._HISTORYTYPESRecordable = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_COMPANY_NOTE")>  _
Partial Public Class VRP_COMPANY_NOTE
	
	Private _COMPANYNOTECOMPANYID As System.Guid
	
	Private _COMPANYNOTENOTEID As System.Guid
	
	Private _NOTECreatedOn As Date
	
	Private _NOTEEditedOn As System.Nullable(Of Date)
	
	Private _NOTELastEditedBy As String
	
	Private _NOTENote As String
	
	Private _NOTENoteDate As Date
	
	Private _NOTENOTEID As System.Guid
	
	Private _NOTENOTETYPEID As Short
	
	Private _NOTEPrivateNote As Byte
	
	Private _NOTERecordCreator As String
	
	Private _NOTERecordManager As String
	
	Private _NOTETYPESActive As Boolean
	
	Private _NOTETYPESCreatedOn As Date
	
	Private _NOTETYPESCustom As Boolean
	
	Private _NOTETYPESDescription As String
	
	Private _NOTETYPESEditedOn As System.Nullable(Of Date)
	
	Private _NOTETYPESName As String
	
	Private _NOTETYPENOTETYPEGUID As System.Guid
	
	Private _NOTETYPENOTETYPEID As Short
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY NOTE COMPANYID", Storage:="_COMPANYNOTECOMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYNOTECOMPANYID() As System.Guid
		Get
			Return Me._COMPANYNOTECOMPANYID
		End Get
		Set
			If ((Me._COMPANYNOTECOMPANYID = value)  _
						= false) Then
				Me._COMPANYNOTECOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY NOTE NOTEID", Storage:="_COMPANYNOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYNOTENOTEID() As System.Guid
		Get
			Return Me._COMPANYNOTENOTEID
		End Get
		Set
			If ((Me._COMPANYNOTENOTEID = value)  _
						= false) Then
				Me._COMPANYNOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Created On", Storage:="_NOTECreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTECreatedOn() As Date
		Get
			Return Me._NOTECreatedOn
		End Get
		Set
			If ((Me._NOTECreatedOn = value)  _
						= false) Then
				Me._NOTECreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Edited On", Storage:="_NOTEEditedOn", DbType:="DateTime")>  _
	Public Property NOTEEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTEEditedOn
		End Get
		Set
			If (Me._NOTEEditedOn.Equals(value) = false) Then
				Me._NOTEEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Last Edited By", Storage:="_NOTELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property NOTELastEditedBy() As String
		Get
			Return Me._NOTELastEditedBy
		End Get
		Set
			If (String.Equals(Me._NOTELastEditedBy, value) = false) Then
				Me._NOTELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note", Storage:="_NOTENote", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property NOTENote() As String
		Get
			Return Me._NOTENote
		End Get
		Set
			If (String.Equals(Me._NOTENote, value) = false) Then
				Me._NOTENote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note Date", Storage:="_NOTENoteDate", DbType:="SmallDateTime NOT NULL")>  _
	Public Property NOTENoteDate() As Date
		Get
			Return Me._NOTENoteDate
		End Get
		Set
			If ((Me._NOTENoteDate = value)  _
						= false) Then
				Me._NOTENoteDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTEID", Storage:="_NOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTENOTEID() As System.Guid
		Get
			Return Me._NOTENOTEID
		End Get
		Set
			If ((Me._NOTENOTEID = value)  _
						= false) Then
				Me._NOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTETYPEID", Storage:="_NOTENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTENOTETYPEID() As Short
		Get
			Return Me._NOTENOTETYPEID
		End Get
		Set
			If ((Me._NOTENOTETYPEID = value)  _
						= false) Then
				Me._NOTENOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Private Note", Storage:="_NOTEPrivateNote", DbType:="TinyInt NOT NULL")>  _
	Public Property NOTEPrivateNote() As Byte
		Get
			Return Me._NOTEPrivateNote
		End Get
		Set
			If ((Me._NOTEPrivateNote = value)  _
						= false) Then
				Me._NOTEPrivateNote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Creator", Storage:="_NOTERecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordCreator() As String
		Get
			Return Me._NOTERecordCreator
		End Get
		Set
			If (String.Equals(Me._NOTERecordCreator, value) = false) Then
				Me._NOTERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Manager", Storage:="_NOTERecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordManager() As String
		Get
			Return Me._NOTERecordManager
		End Get
		Set
			If (String.Equals(Me._NOTERecordManager, value) = false) Then
				Me._NOTERecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Active", Storage:="_NOTETYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESActive() As Boolean
		Get
			Return Me._NOTETYPESActive
		End Get
		Set
			If ((Me._NOTETYPESActive = value)  _
						= false) Then
				Me._NOTETYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Created On", Storage:="_NOTETYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTETYPESCreatedOn() As Date
		Get
			Return Me._NOTETYPESCreatedOn
		End Get
		Set
			If ((Me._NOTETYPESCreatedOn = value)  _
						= false) Then
				Me._NOTETYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Custom", Storage:="_NOTETYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESCustom() As Boolean
		Get
			Return Me._NOTETYPESCustom
		End Get
		Set
			If ((Me._NOTETYPESCustom = value)  _
						= false) Then
				Me._NOTETYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Description", Storage:="_NOTETYPESDescription", DbType:="NVarChar(128)")>  _
	Public Property NOTETYPESDescription() As String
		Get
			Return Me._NOTETYPESDescription
		End Get
		Set
			If (String.Equals(Me._NOTETYPESDescription, value) = false) Then
				Me._NOTETYPESDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Edited On", Storage:="_NOTETYPESEditedOn", DbType:="DateTime")>  _
	Public Property NOTETYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTETYPESEditedOn
		End Get
		Set
			If (Me._NOTETYPESEditedOn.Equals(value) = false) Then
				Me._NOTETYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Name", Storage:="_NOTETYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTETYPESName() As String
		Get
			Return Me._NOTETYPESName
		End Get
		Set
			If (String.Equals(Me._NOTETYPESName, value) = false) Then
				Me._NOTETYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEGUID", Storage:="_NOTETYPENOTETYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTETYPENOTETYPEGUID() As System.Guid
		Get
			Return Me._NOTETYPENOTETYPEGUID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEGUID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEID", Storage:="_NOTETYPENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPENOTETYPEID() As Short
		Get
			Return Me._NOTETYPENOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_COMPANY_OPPORTUNITY")>  _
Partial Public Class VRP_COMPANY_OPPORTUNITY
	
	Private _COMPANYOPPORTUNITYCOMPANYID As System.Guid
	
	Private _COMPANYOPPORTUNITYISMEMBER As Boolean
	
	Private _COMPANYOPPORTUNITYOPPORTUNITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY OPPORTUNITY COMPANYID", Storage:="_COMPANYOPPORTUNITYCOMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYOPPORTUNITYCOMPANYID() As System.Guid
		Get
			Return Me._COMPANYOPPORTUNITYCOMPANYID
		End Get
		Set
			If ((Me._COMPANYOPPORTUNITYCOMPANYID = value)  _
						= false) Then
				Me._COMPANYOPPORTUNITYCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY OPPORTUNITY ISMEMBER", Storage:="_COMPANYOPPORTUNITYISMEMBER", DbType:="Bit NOT NULL")>  _
	Public Property COMPANYOPPORTUNITYISMEMBER() As Boolean
		Get
			Return Me._COMPANYOPPORTUNITYISMEMBER
		End Get
		Set
			If ((Me._COMPANYOPPORTUNITYISMEMBER = value)  _
						= false) Then
				Me._COMPANYOPPORTUNITYISMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY OPPORTUNITY OPPORTUNITYID", Storage:="_COMPANYOPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYOPPORTUNITYOPPORTUNITYID() As System.Guid
		Get
			Return Me._COMPANYOPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If ((Me._COMPANYOPPORTUNITYOPPORTUNITYID = value)  _
						= false) Then
				Me._COMPANYOPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_CONTACT")>  _
Partial Public Class VRP_CONTACT
	
	Private _CONTACTAddress1 As String
	
	Private _CONTACTAddress2 As String
	
	Private _CONTACTAddress3 As String
	
	Private _CONTACTAlternateExtension As String
	
	Private _CONTACTAlternatePhone As String
	
	Private _CONTACTBirthDate As System.Nullable(Of Date)
	
	Private _CONTACTCity As String
	
	Private _CONTACTCompany As String
	
	Private _CONTACTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTContact As String
	
	Private _CONTACTCONTACTID As System.Guid
	
	Private _CONTACTCountry As String
	
	Private _CONTACTCreateDate As Date
	
	Private _CONTACTCustomerID As String
	
	Private _CONTACTDepartment As String
	
	Private _CONTACTEditDate As System.Nullable(Of Date)
	
	Private _CONTACTE_Mail As String
	
	Private _CONTACTEmailPermission As String
	
	Private _CONTACTExtension As String
	
	Private _CONTACTFaxExtension As String
	
	Private _CONTACTFaxPhone As String
	
	Private _CONTACTFirstName As String
	
	Private _CONTACTFirstPurchase As System.Nullable(Of Date)
	
	Private _CONTACTHomeAddress1 As String
	
	Private _CONTACTHomeAddress2 As String
	
	Private _CONTACTHomeAddress3 As String
	
	Private _CONTACTHomeCity As String
	
	Private _CONTACTHomeCountry As String
	
	Private _CONTACTHomeExtension As String
	
	Private _CONTACTHomePhone As String
	
	Private _CONTACTHomeState As String
	
	Private _CONTACTHomeZIPCode As String
	
	Private _CONTACTID_Status As String
	
	Private _CONTACTImportDate As System.Nullable(Of Date)
	
	Private _CONTACTIsImported As Boolean
	
	Private _CONTACTIsUser As System.Nullable(Of Boolean)
	
	Private _CONTACTKeyContact As Boolean
	
	Private _CONTACTLastAttempt As System.Nullable(Of Date)
	
	Private _CONTACTLastEditedBy As String
	
	Private _CONTACTLastE_Mail As System.Nullable(Of Date)
	
	Private _CONTACTLastMeeting As System.Nullable(Of Date)
	
	Private _CONTACTLastName As String
	
	Private _CONTACTLastReach As System.Nullable(Of Date)
	
	Private _CONTACTLastResults As String
	
	Private _CONTACTLastYrsPurchases As System.Nullable(Of Decimal)
	
	Private _CONTACTLetterDate As System.Nullable(Of Date)
	
	Private _CONTACTMessengerID As String
	
	Private _CONTACTMiddleName As String
	
	Private _CONTACTMobileExtension As String
	
	Private _CONTACTMobilePhone As String
	
	Private _CONTACTNamePrefix As String
	
	Private _CONTACTNameSuffix As String
	
	Private _CONTACTPagerExtension As String
	
	Private _CONTACTPagerPhone As String
	
	Private _CONTACTPersonalE_Mail As String
	
	Private _CONTACTPhone As String
	
	Private _CONTACTPhoto As System.Data.Linq.Binary
	
	Private _CONTACTPrivateContact As Boolean
	
	Private _CONTACTRecordCreator As String
	
	Private _CONTACTRecordManager As String
	
	Private _CONTACTReferredBy As String
	
	Private _CONTACTSalutation As String
	
	Private _CONTACTSnapshotContactGrade As String
	
	Private _CONTACTSnapshotContactRank As System.Nullable(Of Integer)
	
	Private _CONTACTSnapshotFavorites As String
	
	Private _CONTACTSnapshotWhoIs As String
	
	Private _CONTACTSpouse As String
	
	Private _CONTACTState As String
	
	Private _CONTACTTitle As String
	
	Private _CONTACTTrivia As String
	
	Private _CONTACTUser1 As String
	
	Private _CONTACTUser10 As String
	
	Private _CONTACTUser2 As String
	
	Private _CONTACTUser3 As String
	
	Private _CONTACTUser4 As String
	
	Private _CONTACTUser5 As String
	
	Private _CONTACTUser6 As String
	
	Private _CONTACTUser7 As String
	
	Private _CONTACTUser8 As String
	
	Private _CONTACTUser9 As String
	
	Private _CONTACTWebSite As String
	
	Private _CONTACTZIPCode As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Address 1", Storage:="_CONTACTAddress1", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAddress1() As String
		Get
			Return Me._CONTACTAddress1
		End Get
		Set
			If (String.Equals(Me._CONTACTAddress1, value) = false) Then
				Me._CONTACTAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Address 2", Storage:="_CONTACTAddress2", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAddress2() As String
		Get
			Return Me._CONTACTAddress2
		End Get
		Set
			If (String.Equals(Me._CONTACTAddress2, value) = false) Then
				Me._CONTACTAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Address 3", Storage:="_CONTACTAddress3", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAddress3() As String
		Get
			Return Me._CONTACTAddress3
		End Get
		Set
			If (String.Equals(Me._CONTACTAddress3, value) = false) Then
				Me._CONTACTAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Alternate Extension", Storage:="_CONTACTAlternateExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAlternateExtension() As String
		Get
			Return Me._CONTACTAlternateExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTAlternateExtension, value) = false) Then
				Me._CONTACTAlternateExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Alternate Phone", Storage:="_CONTACTAlternatePhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTAlternatePhone() As String
		Get
			Return Me._CONTACTAlternatePhone
		End Get
		Set
			If (String.Equals(Me._CONTACTAlternatePhone, value) = false) Then
				Me._CONTACTAlternatePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Birth Date", Storage:="_CONTACTBirthDate", DbType:="DateTime")>  _
	Public Property CONTACTBirthDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTBirthDate
		End Get
		Set
			If (Me._CONTACTBirthDate.Equals(value) = false) Then
				Me._CONTACTBirthDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT City", Storage:="_CONTACTCity", DbType:="NVarChar(256)")>  _
	Public Property CONTACTCity() As String
		Get
			Return Me._CONTACTCity
		End Get
		Set
			If (String.Equals(Me._CONTACTCity, value) = false) Then
				Me._CONTACTCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Company", Storage:="_CONTACTCompany", DbType:="NVarChar(128)")>  _
	Public Property CONTACTCompany() As String
		Get
			Return Me._CONTACTCompany
		End Get
		Set
			If (String.Equals(Me._CONTACTCompany, value) = false) Then
				Me._CONTACTCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT COMPANYID", Storage:="_CONTACTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTCOMPANYID
		End Get
		Set
			If (Me._CONTACTCOMPANYID.Equals(value) = false) Then
				Me._CONTACTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Contact", Storage:="_CONTACTContact", DbType:="NVarChar(128)")>  _
	Public Property CONTACTContact() As String
		Get
			Return Me._CONTACTContact
		End Get
		Set
			If (String.Equals(Me._CONTACTContact, value) = false) Then
				Me._CONTACTContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT CONTACTID", Storage:="_CONTACTCONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTCONTACTID() As System.Guid
		Get
			Return Me._CONTACTCONTACTID
		End Get
		Set
			If ((Me._CONTACTCONTACTID = value)  _
						= false) Then
				Me._CONTACTCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Country", Storage:="_CONTACTCountry", DbType:="NVarChar(256)")>  _
	Public Property CONTACTCountry() As String
		Get
			Return Me._CONTACTCountry
		End Get
		Set
			If (String.Equals(Me._CONTACTCountry, value) = false) Then
				Me._CONTACTCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Create Date", Storage:="_CONTACTCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property CONTACTCreateDate() As Date
		Get
			Return Me._CONTACTCreateDate
		End Get
		Set
			If ((Me._CONTACTCreateDate = value)  _
						= false) Then
				Me._CONTACTCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Customer ID", Storage:="_CONTACTCustomerID", DbType:="NVarChar(8)")>  _
	Public Property CONTACTCustomerID() As String
		Get
			Return Me._CONTACTCustomerID
		End Get
		Set
			If (String.Equals(Me._CONTACTCustomerID, value) = false) Then
				Me._CONTACTCustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Department", Storage:="_CONTACTDepartment", DbType:="NVarChar(128)")>  _
	Public Property CONTACTDepartment() As String
		Get
			Return Me._CONTACTDepartment
		End Get
		Set
			If (String.Equals(Me._CONTACTDepartment, value) = false) Then
				Me._CONTACTDepartment = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Edit Date", Storage:="_CONTACTEditDate", DbType:="DateTime")>  _
	Public Property CONTACTEditDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTEditDate
		End Get
		Set
			If (Me._CONTACTEditDate.Equals(value) = false) Then
				Me._CONTACTEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT E-mail", Storage:="_CONTACTE_Mail", DbType:="NVarChar(256)")>  _
	Public Property CONTACTE_Mail() As String
		Get
			Return Me._CONTACTE_Mail
		End Get
		Set
			If (String.Equals(Me._CONTACTE_Mail, value) = false) Then
				Me._CONTACTE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Email Permission", Storage:="_CONTACTEmailPermission", DbType:="NVarChar(20)")>  _
	Public Property CONTACTEmailPermission() As String
		Get
			Return Me._CONTACTEmailPermission
		End Get
		Set
			If (String.Equals(Me._CONTACTEmailPermission, value) = false) Then
				Me._CONTACTEmailPermission = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Extension", Storage:="_CONTACTExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTExtension() As String
		Get
			Return Me._CONTACTExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTExtension, value) = false) Then
				Me._CONTACTExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Fax Extension", Storage:="_CONTACTFaxExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTFaxExtension() As String
		Get
			Return Me._CONTACTFaxExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTFaxExtension, value) = false) Then
				Me._CONTACTFaxExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Fax Phone", Storage:="_CONTACTFaxPhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTFaxPhone() As String
		Get
			Return Me._CONTACTFaxPhone
		End Get
		Set
			If (String.Equals(Me._CONTACTFaxPhone, value) = false) Then
				Me._CONTACTFaxPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT First Name", Storage:="_CONTACTFirstName", DbType:="NVarChar(64)")>  _
	Public Property CONTACTFirstName() As String
		Get
			Return Me._CONTACTFirstName
		End Get
		Set
			If (String.Equals(Me._CONTACTFirstName, value) = false) Then
				Me._CONTACTFirstName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT First Purchase", Storage:="_CONTACTFirstPurchase", DbType:="DateTime")>  _
	Public Property CONTACTFirstPurchase() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTFirstPurchase
		End Get
		Set
			If (Me._CONTACTFirstPurchase.Equals(value) = false) Then
				Me._CONTACTFirstPurchase = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Address 1", Storage:="_CONTACTHomeAddress1", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeAddress1() As String
		Get
			Return Me._CONTACTHomeAddress1
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeAddress1, value) = false) Then
				Me._CONTACTHomeAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Address 2", Storage:="_CONTACTHomeAddress2", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeAddress2() As String
		Get
			Return Me._CONTACTHomeAddress2
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeAddress2, value) = false) Then
				Me._CONTACTHomeAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Address 3", Storage:="_CONTACTHomeAddress3", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeAddress3() As String
		Get
			Return Me._CONTACTHomeAddress3
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeAddress3, value) = false) Then
				Me._CONTACTHomeAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home City", Storage:="_CONTACTHomeCity", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeCity() As String
		Get
			Return Me._CONTACTHomeCity
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeCity, value) = false) Then
				Me._CONTACTHomeCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Country", Storage:="_CONTACTHomeCountry", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeCountry() As String
		Get
			Return Me._CONTACTHomeCountry
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeCountry, value) = false) Then
				Me._CONTACTHomeCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Extension", Storage:="_CONTACTHomeExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeExtension() As String
		Get
			Return Me._CONTACTHomeExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeExtension, value) = false) Then
				Me._CONTACTHomeExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Phone", Storage:="_CONTACTHomePhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTHomePhone() As String
		Get
			Return Me._CONTACTHomePhone
		End Get
		Set
			If (String.Equals(Me._CONTACTHomePhone, value) = false) Then
				Me._CONTACTHomePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home State", Storage:="_CONTACTHomeState", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeState() As String
		Get
			Return Me._CONTACTHomeState
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeState, value) = false) Then
				Me._CONTACTHomeState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home ZIP Code", Storage:="_CONTACTHomeZIPCode", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeZIPCode() As String
		Get
			Return Me._CONTACTHomeZIPCode
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeZIPCode, value) = false) Then
				Me._CONTACTHomeZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ID/Status", Storage:="_CONTACTID_Status", DbType:="NVarChar(128)")>  _
	Public Property CONTACTID_Status() As String
		Get
			Return Me._CONTACTID_Status
		End Get
		Set
			If (String.Equals(Me._CONTACTID_Status, value) = false) Then
				Me._CONTACTID_Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Import Date", Storage:="_CONTACTImportDate", DbType:="DateTime")>  _
	Public Property CONTACTImportDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTImportDate
		End Get
		Set
			If (Me._CONTACTImportDate.Equals(value) = false) Then
				Me._CONTACTImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Is Imported", Storage:="_CONTACTIsImported", DbType:="Bit NOT NULL")>  _
	Public Property CONTACTIsImported() As Boolean
		Get
			Return Me._CONTACTIsImported
		End Get
		Set
			If ((Me._CONTACTIsImported = value)  _
						= false) Then
				Me._CONTACTIsImported = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Is User", Storage:="_CONTACTIsUser", DbType:="Bit")>  _
	Public Property CONTACTIsUser() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTACTIsUser
		End Get
		Set
			If (Me._CONTACTIsUser.Equals(value) = false) Then
				Me._CONTACTIsUser = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Key Contact", Storage:="_CONTACTKeyContact", DbType:="Bit NOT NULL")>  _
	Public Property CONTACTKeyContact() As Boolean
		Get
			Return Me._CONTACTKeyContact
		End Get
		Set
			If ((Me._CONTACTKeyContact = value)  _
						= false) Then
				Me._CONTACTKeyContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Attempt", Storage:="_CONTACTLastAttempt", DbType:="DateTime")>  _
	Public Property CONTACTLastAttempt() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastAttempt
		End Get
		Set
			If (Me._CONTACTLastAttempt.Equals(value) = false) Then
				Me._CONTACTLastAttempt = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Edited By", Storage:="_CONTACTLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property CONTACTLastEditedBy() As String
		Get
			Return Me._CONTACTLastEditedBy
		End Get
		Set
			If (String.Equals(Me._CONTACTLastEditedBy, value) = false) Then
				Me._CONTACTLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last E-mail", Storage:="_CONTACTLastE_Mail", DbType:="DateTime")>  _
	Public Property CONTACTLastE_Mail() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastE_Mail
		End Get
		Set
			If (Me._CONTACTLastE_Mail.Equals(value) = false) Then
				Me._CONTACTLastE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Meeting", Storage:="_CONTACTLastMeeting", DbType:="DateTime")>  _
	Public Property CONTACTLastMeeting() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastMeeting
		End Get
		Set
			If (Me._CONTACTLastMeeting.Equals(value) = false) Then
				Me._CONTACTLastMeeting = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Name", Storage:="_CONTACTLastName", DbType:="NVarChar(128)")>  _
	Public Property CONTACTLastName() As String
		Get
			Return Me._CONTACTLastName
		End Get
		Set
			If (String.Equals(Me._CONTACTLastName, value) = false) Then
				Me._CONTACTLastName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Reach", Storage:="_CONTACTLastReach", DbType:="DateTime")>  _
	Public Property CONTACTLastReach() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastReach
		End Get
		Set
			If (Me._CONTACTLastReach.Equals(value) = false) Then
				Me._CONTACTLastReach = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Results", Storage:="_CONTACTLastResults", DbType:="NVarChar(128)")>  _
	Public Property CONTACTLastResults() As String
		Get
			Return Me._CONTACTLastResults
		End Get
		Set
			If (String.Equals(Me._CONTACTLastResults, value) = false) Then
				Me._CONTACTLastResults = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Yrs Purchases", Storage:="_CONTACTLastYrsPurchases", DbType:="Decimal(7,0)")>  _
	Public Property CONTACTLastYrsPurchases() As System.Nullable(Of Decimal)
		Get
			Return Me._CONTACTLastYrsPurchases
		End Get
		Set
			If (Me._CONTACTLastYrsPurchases.Equals(value) = false) Then
				Me._CONTACTLastYrsPurchases = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Letter Date", Storage:="_CONTACTLetterDate", DbType:="DateTime")>  _
	Public Property CONTACTLetterDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLetterDate
		End Get
		Set
			If (Me._CONTACTLetterDate.Equals(value) = false) Then
				Me._CONTACTLetterDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Messenger ID", Storage:="_CONTACTMessengerID", DbType:="NVarChar(16)")>  _
	Public Property CONTACTMessengerID() As String
		Get
			Return Me._CONTACTMessengerID
		End Get
		Set
			If (String.Equals(Me._CONTACTMessengerID, value) = false) Then
				Me._CONTACTMessengerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Middle Name", Storage:="_CONTACTMiddleName", DbType:="NVarChar(64)")>  _
	Public Property CONTACTMiddleName() As String
		Get
			Return Me._CONTACTMiddleName
		End Get
		Set
			If (String.Equals(Me._CONTACTMiddleName, value) = false) Then
				Me._CONTACTMiddleName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Mobile Extension", Storage:="_CONTACTMobileExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTMobileExtension() As String
		Get
			Return Me._CONTACTMobileExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTMobileExtension, value) = false) Then
				Me._CONTACTMobileExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Mobile Phone", Storage:="_CONTACTMobilePhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTMobilePhone() As String
		Get
			Return Me._CONTACTMobilePhone
		End Get
		Set
			If (String.Equals(Me._CONTACTMobilePhone, value) = false) Then
				Me._CONTACTMobilePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Name Prefix", Storage:="_CONTACTNamePrefix", DbType:="NVarChar(32)")>  _
	Public Property CONTACTNamePrefix() As String
		Get
			Return Me._CONTACTNamePrefix
		End Get
		Set
			If (String.Equals(Me._CONTACTNamePrefix, value) = false) Then
				Me._CONTACTNamePrefix = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Name Suffix", Storage:="_CONTACTNameSuffix", DbType:="NVarChar(32)")>  _
	Public Property CONTACTNameSuffix() As String
		Get
			Return Me._CONTACTNameSuffix
		End Get
		Set
			If (String.Equals(Me._CONTACTNameSuffix, value) = false) Then
				Me._CONTACTNameSuffix = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Pager Extension", Storage:="_CONTACTPagerExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTPagerExtension() As String
		Get
			Return Me._CONTACTPagerExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTPagerExtension, value) = false) Then
				Me._CONTACTPagerExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Pager Phone", Storage:="_CONTACTPagerPhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTPagerPhone() As String
		Get
			Return Me._CONTACTPagerPhone
		End Get
		Set
			If (String.Equals(Me._CONTACTPagerPhone, value) = false) Then
				Me._CONTACTPagerPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Personal E-mail", Storage:="_CONTACTPersonalE_Mail", DbType:="NVarChar(256)")>  _
	Public Property CONTACTPersonalE_Mail() As String
		Get
			Return Me._CONTACTPersonalE_Mail
		End Get
		Set
			If (String.Equals(Me._CONTACTPersonalE_Mail, value) = false) Then
				Me._CONTACTPersonalE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Phone", Storage:="_CONTACTPhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTPhone() As String
		Get
			Return Me._CONTACTPhone
		End Get
		Set
			If (String.Equals(Me._CONTACTPhone, value) = false) Then
				Me._CONTACTPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Photo", Storage:="_CONTACTPhoto", DbType:="VarBinary(MAX)", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTPhoto() As System.Data.Linq.Binary
		Get
			Return Me._CONTACTPhoto
		End Get
		Set
			If (Object.Equals(Me._CONTACTPhoto, value) = false) Then
				Me._CONTACTPhoto = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Private Contact", Storage:="_CONTACTPrivateContact", DbType:="Bit NOT NULL")>  _
	Public Property CONTACTPrivateContact() As Boolean
		Get
			Return Me._CONTACTPrivateContact
		End Get
		Set
			If ((Me._CONTACTPrivateContact = value)  _
						= false) Then
				Me._CONTACTPrivateContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Record Creator", Storage:="_CONTACTRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACTRecordCreator() As String
		Get
			Return Me._CONTACTRecordCreator
		End Get
		Set
			If (String.Equals(Me._CONTACTRecordCreator, value) = false) Then
				Me._CONTACTRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Record Manager", Storage:="_CONTACTRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACTRecordManager() As String
		Get
			Return Me._CONTACTRecordManager
		End Get
		Set
			If (String.Equals(Me._CONTACTRecordManager, value) = false) Then
				Me._CONTACTRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Referred By", Storage:="_CONTACTReferredBy", DbType:="NVarChar(64)")>  _
	Public Property CONTACTReferredBy() As String
		Get
			Return Me._CONTACTReferredBy
		End Get
		Set
			If (String.Equals(Me._CONTACTReferredBy, value) = false) Then
				Me._CONTACTReferredBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Salutation", Storage:="_CONTACTSalutation", DbType:="NVarChar(32)")>  _
	Public Property CONTACTSalutation() As String
		Get
			Return Me._CONTACTSalutation
		End Get
		Set
			If (String.Equals(Me._CONTACTSalutation, value) = false) Then
				Me._CONTACTSalutation = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot Contact Grade", Storage:="_CONTACTSnapshotContactGrade", DbType:="NVarChar(50)")>  _
	Public Property CONTACTSnapshotContactGrade() As String
		Get
			Return Me._CONTACTSnapshotContactGrade
		End Get
		Set
			If (String.Equals(Me._CONTACTSnapshotContactGrade, value) = false) Then
				Me._CONTACTSnapshotContactGrade = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot Contact Rank", Storage:="_CONTACTSnapshotContactRank", DbType:="Int")>  _
	Public Property CONTACTSnapshotContactRank() As System.Nullable(Of Integer)
		Get
			Return Me._CONTACTSnapshotContactRank
		End Get
		Set
			If (Me._CONTACTSnapshotContactRank.Equals(value) = false) Then
				Me._CONTACTSnapshotContactRank = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot Favorites", Storage:="_CONTACTSnapshotFavorites", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTSnapshotFavorites() As String
		Get
			Return Me._CONTACTSnapshotFavorites
		End Get
		Set
			If (String.Equals(Me._CONTACTSnapshotFavorites, value) = false) Then
				Me._CONTACTSnapshotFavorites = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot WhoIs", Storage:="_CONTACTSnapshotWhoIs", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTSnapshotWhoIs() As String
		Get
			Return Me._CONTACTSnapshotWhoIs
		End Get
		Set
			If (String.Equals(Me._CONTACTSnapshotWhoIs, value) = false) Then
				Me._CONTACTSnapshotWhoIs = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Spouse", Storage:="_CONTACTSpouse", DbType:="NVarChar(64)")>  _
	Public Property CONTACTSpouse() As String
		Get
			Return Me._CONTACTSpouse
		End Get
		Set
			If (String.Equals(Me._CONTACTSpouse, value) = false) Then
				Me._CONTACTSpouse = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT State", Storage:="_CONTACTState", DbType:="NVarChar(256)")>  _
	Public Property CONTACTState() As String
		Get
			Return Me._CONTACTState
		End Get
		Set
			If (String.Equals(Me._CONTACTState, value) = false) Then
				Me._CONTACTState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Title", Storage:="_CONTACTTitle", DbType:="NVarChar(128)")>  _
	Public Property CONTACTTitle() As String
		Get
			Return Me._CONTACTTitle
		End Get
		Set
			If (String.Equals(Me._CONTACTTitle, value) = false) Then
				Me._CONTACTTitle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Trivia", Storage:="_CONTACTTrivia", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTTrivia() As String
		Get
			Return Me._CONTACTTrivia
		End Get
		Set
			If (String.Equals(Me._CONTACTTrivia, value) = false) Then
				Me._CONTACTTrivia = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 1", Storage:="_CONTACTUser1", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser1() As String
		Get
			Return Me._CONTACTUser1
		End Get
		Set
			If (String.Equals(Me._CONTACTUser1, value) = false) Then
				Me._CONTACTUser1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 10", Storage:="_CONTACTUser10", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser10() As String
		Get
			Return Me._CONTACTUser10
		End Get
		Set
			If (String.Equals(Me._CONTACTUser10, value) = false) Then
				Me._CONTACTUser10 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 2", Storage:="_CONTACTUser2", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser2() As String
		Get
			Return Me._CONTACTUser2
		End Get
		Set
			If (String.Equals(Me._CONTACTUser2, value) = false) Then
				Me._CONTACTUser2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 3", Storage:="_CONTACTUser3", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser3() As String
		Get
			Return Me._CONTACTUser3
		End Get
		Set
			If (String.Equals(Me._CONTACTUser3, value) = false) Then
				Me._CONTACTUser3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 4", Storage:="_CONTACTUser4", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser4() As String
		Get
			Return Me._CONTACTUser4
		End Get
		Set
			If (String.Equals(Me._CONTACTUser4, value) = false) Then
				Me._CONTACTUser4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 5", Storage:="_CONTACTUser5", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser5() As String
		Get
			Return Me._CONTACTUser5
		End Get
		Set
			If (String.Equals(Me._CONTACTUser5, value) = false) Then
				Me._CONTACTUser5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 6", Storage:="_CONTACTUser6", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser6() As String
		Get
			Return Me._CONTACTUser6
		End Get
		Set
			If (String.Equals(Me._CONTACTUser6, value) = false) Then
				Me._CONTACTUser6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 7", Storage:="_CONTACTUser7", DbType:="NVarChar(75)")>  _
	Public Property CONTACTUser7() As String
		Get
			Return Me._CONTACTUser7
		End Get
		Set
			If (String.Equals(Me._CONTACTUser7, value) = false) Then
				Me._CONTACTUser7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 8", Storage:="_CONTACTUser8", DbType:="NVarChar(75)")>  _
	Public Property CONTACTUser8() As String
		Get
			Return Me._CONTACTUser8
		End Get
		Set
			If (String.Equals(Me._CONTACTUser8, value) = false) Then
				Me._CONTACTUser8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 9", Storage:="_CONTACTUser9", DbType:="NVarChar(75)")>  _
	Public Property CONTACTUser9() As String
		Get
			Return Me._CONTACTUser9
		End Get
		Set
			If (String.Equals(Me._CONTACTUser9, value) = false) Then
				Me._CONTACTUser9 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Web Site", Storage:="_CONTACTWebSite", DbType:="NVarChar(128)")>  _
	Public Property CONTACTWebSite() As String
		Get
			Return Me._CONTACTWebSite
		End Get
		Set
			If (String.Equals(Me._CONTACTWebSite, value) = false) Then
				Me._CONTACTWebSite = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ZIP Code", Storage:="_CONTACTZIPCode", DbType:="NVarChar(256)")>  _
	Public Property CONTACTZIPCode() As String
		Get
			Return Me._CONTACTZIPCode
		End Get
		Set
			If (String.Equals(Me._CONTACTZIPCode, value) = false) Then
				Me._CONTACTZIPCode = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_CONTACT_CONTACT")>  _
Partial Public Class VRP_CONTACT_CONTACT
	
	Private _CONTACTID1 As System.Guid
	
	Private _CONTACTID2 As System.Guid
	
	Private _CreateDate As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _Details As String
	
	Private _EditDate As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _LastEditedBy As String
	
	Private _RecordCreator As String
	
	Private _Relationship As String
	
	Private _RelationshipFrom As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID1() As System.Guid
		Get
			Return Me._CONTACTID1
		End Get
		Set
			If ((Me._CONTACTID1 = value)  _
						= false) Then
				Me._CONTACTID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID2", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID2() As System.Guid
		Get
			Return Me._CONTACTID2
		End Get
		Set
			If ((Me._CONTACTID2 = value)  _
						= false) Then
				Me._CONTACTID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Create Date", Storage:="_CreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property CreateDate() As Date
		Get
			Return Me._CreateDate
		End Get
		Set
			If ((Me._CreateDate = value)  _
						= false) Then
				Me._CreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Details", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property Details() As String
		Get
			Return Me._Details
		End Get
		Set
			If (String.Equals(Me._Details, value) = false) Then
				Me._Details = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Edit Date", Storage:="_EditDate", DbType:="DateTime")>  _
	Public Property EditDate() As System.Nullable(Of Date)
		Get
			Return Me._EditDate
		End Get
		Set
			If (Me._EditDate.Equals(value) = false) Then
				Me._EditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Last Edited By", Storage:="_LastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property LastEditedBy() As String
		Get
			Return Me._LastEditedBy
		End Get
		Set
			If (String.Equals(Me._LastEditedBy, value) = false) Then
				Me._LastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Record Creator", Storage:="_RecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property RecordCreator() As String
		Get
			Return Me._RecordCreator
		End Get
		Set
			If (String.Equals(Me._RecordCreator, value) = false) Then
				Me._RecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Relationship", DbType:="NVarChar(128)")>  _
	Public Property Relationship() As String
		Get
			Return Me._Relationship
		End Get
		Set
			If (String.Equals(Me._Relationship, value) = false) Then
				Me._Relationship = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Relationship From", Storage:="_RelationshipFrom", DbType:="NVarChar(128)")>  _
	Public Property RelationshipFrom() As String
		Get
			Return Me._RelationshipFrom
		End Get
		Set
			If (String.Equals(Me._RelationshipFrom, value) = false) Then
				Me._RelationshipFrom = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_CONTACT_HISTORY")>  _
Partial Public Class VRP_CONTACT_HISTORY
	
	Private _CONTACTHISTORYCONTACTID As System.Guid
	
	Private _CONTACTHISTORYHISTORYID As System.Guid
	
	Private _HISTORYACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _HISTORYCreatedOn As Date
	
	Private _HISTORYDetails As String
	
	Private _HISTORYDuration As System.Nullable(Of Integer)
	
	Private _HISTORYEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYEndDate_Time As Date
	
	Private _HISTORYHISTORYID As System.Guid
	
	Private _HISTORYHISTORYTYPEID As Short
	
	Private _HISTORYLastEditedBy As String
	
	Private _HISTORYPrivateHistory As Byte
	
	Private _HISTORYRecordCreator As String
	
	Private _HISTORYRecordManager As String
	
	Private _HISTORYRegarding As String
	
	Private _HISTORYStartDate_Time As Date
	
	Private _HISTORYTYPESActive As Boolean
	
	Private _HISTORYTYPEACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYTYPESCreatedOn As Date
	
	Private _HISTORYTYPESCustom As Boolean
	
	Private _HISTORYTYPESDESCRIPTION As String
	
	Private _HISTORYTYPESEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYTYPEHISTORYTYPEGROUPID As Short
	
	Private _HISTORYTYPEHISTORYTYPEGUID As System.Guid
	
	Private _HISTORYTYPEHISTORYTYPEID As Short
	
	Private _HISTORYTYPESISDEFAULT As Boolean
	
	Private _HISTORYTYPESName As String
	
	Private _HISTORYTYPESRecordable As Boolean
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT HISTORY CONTACTID", Storage:="_CONTACTHISTORYCONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTHISTORYCONTACTID() As System.Guid
		Get
			Return Me._CONTACTHISTORYCONTACTID
		End Get
		Set
			If ((Me._CONTACTHISTORYCONTACTID = value)  _
						= false) Then
				Me._CONTACTHISTORYCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT HISTORY HISTORYID", Storage:="_CONTACTHISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTHISTORYHISTORYID() As System.Guid
		Get
			Return Me._CONTACTHISTORYHISTORYID
		End Get
		Set
			If ((Me._CONTACTHISTORYHISTORYID = value)  _
						= false) Then
				Me._CONTACTHISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY ACCESSOR_ACTIVITY_CLEAREDID", Storage:="_HISTORYACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Created On", Storage:="_HISTORYCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYCreatedOn() As Date
		Get
			Return Me._HISTORYCreatedOn
		End Get
		Set
			If ((Me._HISTORYCreatedOn = value)  _
						= false) Then
				Me._HISTORYCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Details", Storage:="_HISTORYDetails", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property HISTORYDetails() As String
		Get
			Return Me._HISTORYDetails
		End Get
		Set
			If (String.Equals(Me._HISTORYDetails, value) = false) Then
				Me._HISTORYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Duration", Storage:="_HISTORYDuration", DbType:="Int")>  _
	Public Property HISTORYDuration() As System.Nullable(Of Integer)
		Get
			Return Me._HISTORYDuration
		End Get
		Set
			If (Me._HISTORYDuration.Equals(value) = false) Then
				Me._HISTORYDuration = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Edited On", Storage:="_HISTORYEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYEditedOn
		End Get
		Set
			If (Me._HISTORYEditedOn.Equals(value) = false) Then
				Me._HISTORYEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY End Date/Time", Storage:="_HISTORYEndDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYEndDate_Time() As Date
		Get
			Return Me._HISTORYEndDate_Time
		End Get
		Set
			If ((Me._HISTORYEndDate_Time = value)  _
						= false) Then
				Me._HISTORYEndDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYID", Storage:="_HISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYHISTORYID() As System.Guid
		Get
			Return Me._HISTORYHISTORYID
		End Get
		Set
			If ((Me._HISTORYHISTORYID = value)  _
						= false) Then
				Me._HISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYTYPEID", Storage:="_HISTORYHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Last Edited By", Storage:="_HISTORYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property HISTORYLastEditedBy() As String
		Get
			Return Me._HISTORYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._HISTORYLastEditedBy, value) = false) Then
				Me._HISTORYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Private History", Storage:="_HISTORYPrivateHistory", DbType:="TinyInt NOT NULL")>  _
	Public Property HISTORYPrivateHistory() As Byte
		Get
			Return Me._HISTORYPrivateHistory
		End Get
		Set
			If ((Me._HISTORYPrivateHistory = value)  _
						= false) Then
				Me._HISTORYPrivateHistory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Creator", Storage:="_HISTORYRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordCreator() As String
		Get
			Return Me._HISTORYRecordCreator
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordCreator, value) = false) Then
				Me._HISTORYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Manager", Storage:="_HISTORYRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordManager() As String
		Get
			Return Me._HISTORYRecordManager
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordManager, value) = false) Then
				Me._HISTORYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Regarding", Storage:="_HISTORYRegarding", DbType:="NVarChar(256)")>  _
	Public Property HISTORYRegarding() As String
		Get
			Return Me._HISTORYRegarding
		End Get
		Set
			If (String.Equals(Me._HISTORYRegarding, value) = false) Then
				Me._HISTORYRegarding = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Start Date/Time", Storage:="_HISTORYStartDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYStartDate_Time() As Date
		Get
			Return Me._HISTORYStartDate_Time
		End Get
		Set
			If ((Me._HISTORYStartDate_Time = value)  _
						= false) Then
				Me._HISTORYStartDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Active", Storage:="_HISTORYTYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESActive() As Boolean
		Get
			Return Me._HISTORYTYPESActive
		End Get
		Set
			If ((Me._HISTORYTYPESActive = value)  _
						= false) Then
				Me._HISTORYTYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE ACTIVITYTYPEID", Storage:="_HISTORYTYPEACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEACTIVITYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEACTIVITYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Created On", Storage:="_HISTORYTYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYTYPESCreatedOn() As Date
		Get
			Return Me._HISTORYTYPESCreatedOn
		End Get
		Set
			If ((Me._HISTORYTYPESCreatedOn = value)  _
						= false) Then
				Me._HISTORYTYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Custom", Storage:="_HISTORYTYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESCustom() As Boolean
		Get
			Return Me._HISTORYTYPESCustom
		End Get
		Set
			If ((Me._HISTORYTYPESCustom = value)  _
						= false) Then
				Me._HISTORYTYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES DESCRIPTION", Storage:="_HISTORYTYPESDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property HISTORYTYPESDESCRIPTION() As String
		Get
			Return Me._HISTORYTYPESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESDESCRIPTION, value) = false) Then
				Me._HISTORYTYPESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Edited On", Storage:="_HISTORYTYPESEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYTYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYTYPESEditedOn
		End Get
		Set
			If (Me._HISTORYTYPESEditedOn.Equals(value) = false) Then
				Me._HISTORYTYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGROUPID", Storage:="_HISTORYTYPEHISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGROUPID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGUID", Storage:="_HISTORYTYPEHISTORYTYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGUID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGUID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEID", Storage:="_HISTORYTYPEHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES ISDEFAULT", Storage:="_HISTORYTYPESISDEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESISDEFAULT() As Boolean
		Get
			Return Me._HISTORYTYPESISDEFAULT
		End Get
		Set
			If ((Me._HISTORYTYPESISDEFAULT = value)  _
						= false) Then
				Me._HISTORYTYPESISDEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Name", Storage:="_HISTORYTYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYTYPESName() As String
		Get
			Return Me._HISTORYTYPESName
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESName, value) = false) Then
				Me._HISTORYTYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Recordable", Storage:="_HISTORYTYPESRecordable", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESRecordable() As Boolean
		Get
			Return Me._HISTORYTYPESRecordable
		End Get
		Set
			If ((Me._HISTORYTYPESRecordable = value)  _
						= false) Then
				Me._HISTORYTYPESRecordable = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_CONTACT_NOTE")>  _
Partial Public Class VRP_CONTACT_NOTE
	
	Private _CONTACTNOTECONTACTID As System.Guid
	
	Private _CONTACTNOTENOTEID As System.Guid
	
	Private _NOTECreatedOn As Date
	
	Private _NOTEEditedOn As System.Nullable(Of Date)
	
	Private _NOTELastEditedBy As String
	
	Private _NOTENote As String
	
	Private _NOTENoteDate As Date
	
	Private _NOTENOTEID As System.Guid
	
	Private _NOTENOTETYPEID As Short
	
	Private _NOTEPrivateNote As Byte
	
	Private _NOTERecordCreator As String
	
	Private _NOTERecordManager As String
	
	Private _NOTETYPESActive As Boolean
	
	Private _NOTETYPESCreatedOn As Date
	
	Private _NOTETYPESCustom As Boolean
	
	Private _NOTETYPESDescription As String
	
	Private _NOTETYPESEditedOn As System.Nullable(Of Date)
	
	Private _NOTETYPESName As String
	
	Private _NOTETYPENOTETYPEGUID As System.Guid
	
	Private _NOTETYPENOTETYPEID As Short
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT NOTE CONTACTID", Storage:="_CONTACTNOTECONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTNOTECONTACTID() As System.Guid
		Get
			Return Me._CONTACTNOTECONTACTID
		End Get
		Set
			If ((Me._CONTACTNOTECONTACTID = value)  _
						= false) Then
				Me._CONTACTNOTECONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT NOTE NOTEID", Storage:="_CONTACTNOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTNOTENOTEID() As System.Guid
		Get
			Return Me._CONTACTNOTENOTEID
		End Get
		Set
			If ((Me._CONTACTNOTENOTEID = value)  _
						= false) Then
				Me._CONTACTNOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Created On", Storage:="_NOTECreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTECreatedOn() As Date
		Get
			Return Me._NOTECreatedOn
		End Get
		Set
			If ((Me._NOTECreatedOn = value)  _
						= false) Then
				Me._NOTECreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Edited On", Storage:="_NOTEEditedOn", DbType:="DateTime")>  _
	Public Property NOTEEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTEEditedOn
		End Get
		Set
			If (Me._NOTEEditedOn.Equals(value) = false) Then
				Me._NOTEEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Last Edited By", Storage:="_NOTELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property NOTELastEditedBy() As String
		Get
			Return Me._NOTELastEditedBy
		End Get
		Set
			If (String.Equals(Me._NOTELastEditedBy, value) = false) Then
				Me._NOTELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note", Storage:="_NOTENote", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property NOTENote() As String
		Get
			Return Me._NOTENote
		End Get
		Set
			If (String.Equals(Me._NOTENote, value) = false) Then
				Me._NOTENote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note Date", Storage:="_NOTENoteDate", DbType:="SmallDateTime NOT NULL")>  _
	Public Property NOTENoteDate() As Date
		Get
			Return Me._NOTENoteDate
		End Get
		Set
			If ((Me._NOTENoteDate = value)  _
						= false) Then
				Me._NOTENoteDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTEID", Storage:="_NOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTENOTEID() As System.Guid
		Get
			Return Me._NOTENOTEID
		End Get
		Set
			If ((Me._NOTENOTEID = value)  _
						= false) Then
				Me._NOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTETYPEID", Storage:="_NOTENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTENOTETYPEID() As Short
		Get
			Return Me._NOTENOTETYPEID
		End Get
		Set
			If ((Me._NOTENOTETYPEID = value)  _
						= false) Then
				Me._NOTENOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Private Note", Storage:="_NOTEPrivateNote", DbType:="TinyInt NOT NULL")>  _
	Public Property NOTEPrivateNote() As Byte
		Get
			Return Me._NOTEPrivateNote
		End Get
		Set
			If ((Me._NOTEPrivateNote = value)  _
						= false) Then
				Me._NOTEPrivateNote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Creator", Storage:="_NOTERecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordCreator() As String
		Get
			Return Me._NOTERecordCreator
		End Get
		Set
			If (String.Equals(Me._NOTERecordCreator, value) = false) Then
				Me._NOTERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Manager", Storage:="_NOTERecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordManager() As String
		Get
			Return Me._NOTERecordManager
		End Get
		Set
			If (String.Equals(Me._NOTERecordManager, value) = false) Then
				Me._NOTERecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Active", Storage:="_NOTETYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESActive() As Boolean
		Get
			Return Me._NOTETYPESActive
		End Get
		Set
			If ((Me._NOTETYPESActive = value)  _
						= false) Then
				Me._NOTETYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Created On", Storage:="_NOTETYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTETYPESCreatedOn() As Date
		Get
			Return Me._NOTETYPESCreatedOn
		End Get
		Set
			If ((Me._NOTETYPESCreatedOn = value)  _
						= false) Then
				Me._NOTETYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Custom", Storage:="_NOTETYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESCustom() As Boolean
		Get
			Return Me._NOTETYPESCustom
		End Get
		Set
			If ((Me._NOTETYPESCustom = value)  _
						= false) Then
				Me._NOTETYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Description", Storage:="_NOTETYPESDescription", DbType:="NVarChar(128)")>  _
	Public Property NOTETYPESDescription() As String
		Get
			Return Me._NOTETYPESDescription
		End Get
		Set
			If (String.Equals(Me._NOTETYPESDescription, value) = false) Then
				Me._NOTETYPESDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Edited On", Storage:="_NOTETYPESEditedOn", DbType:="DateTime")>  _
	Public Property NOTETYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTETYPESEditedOn
		End Get
		Set
			If (Me._NOTETYPESEditedOn.Equals(value) = false) Then
				Me._NOTETYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Name", Storage:="_NOTETYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTETYPESName() As String
		Get
			Return Me._NOTETYPESName
		End Get
		Set
			If (String.Equals(Me._NOTETYPESName, value) = false) Then
				Me._NOTETYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEGUID", Storage:="_NOTETYPENOTETYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTETYPENOTETYPEGUID() As System.Guid
		Get
			Return Me._NOTETYPENOTETYPEGUID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEGUID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEID", Storage:="_NOTETYPENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPENOTETYPEID() As Short
		Get
			Return Me._NOTETYPENOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_CONTACT_OPPORTUNITY")>  _
Partial Public Class VRP_CONTACT_OPPORTUNITY
	
	Private _CONTACTOPPORTUNITYCONTACTID As System.Guid
	
	Private _CONTACTOPPORTUNITYOPPORTUNITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT OPPORTUNITY CONTACTID", Storage:="_CONTACTOPPORTUNITYCONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTOPPORTUNITYCONTACTID() As System.Guid
		Get
			Return Me._CONTACTOPPORTUNITYCONTACTID
		End Get
		Set
			If ((Me._CONTACTOPPORTUNITYCONTACTID = value)  _
						= false) Then
				Me._CONTACTOPPORTUNITYCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT OPPORTUNITY OPPORTUNITYID", Storage:="_CONTACTOPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTOPPORTUNITYOPPORTUNITYID() As System.Guid
		Get
			Return Me._CONTACTOPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If ((Me._CONTACTOPPORTUNITYOPPORTUNITYID = value)  _
						= false) Then
				Me._CONTACTOPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_GROUP")>  _
Partial Public Class VRP_GROUP
	
	Private _GROUPAddress1 As String
	
	Private _GROUPAddress2 As String
	
	Private _GROUPAddress3 As String
	
	Private _GROUPCity As String
	
	Private _GROUPCountry As String
	
	Private _GROUPCreateDate As Date
	
	Private _GROUPEditDate As System.Nullable(Of Date)
	
	Private _GROUPGroupDescription As String
	
	Private _GROUPGroupName As String
	
	Private _GROUPGROUPID As System.Guid
	
	Private _GROUPHasSubgroups As Boolean
	
	Private _GROUPHierarchyLevel As System.Nullable(Of Integer)
	
	Private _GROUPImportDate As System.Nullable(Of Date)
	
	Private _GROUPLastEditedBy As String
	
	Private _GROUPPARENTGROUPID As System.Nullable(Of System.Guid)
	
	Private _GROUPPrivateGroup As Boolean
	
	Private _GROUPQUERYVERSIONID As System.Guid
	
	Private _GROUPRecordCreator As String
	
	Private _GROUPRecordManager As String
	
	Private _GROUPState As String
	
	Private _GROUPZIPCode As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Address 1", Storage:="_GROUPAddress1", DbType:="NVarChar(256)")>  _
	Public Property GROUPAddress1() As String
		Get
			Return Me._GROUPAddress1
		End Get
		Set
			If (String.Equals(Me._GROUPAddress1, value) = false) Then
				Me._GROUPAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Address 2", Storage:="_GROUPAddress2", DbType:="NVarChar(256)")>  _
	Public Property GROUPAddress2() As String
		Get
			Return Me._GROUPAddress2
		End Get
		Set
			If (String.Equals(Me._GROUPAddress2, value) = false) Then
				Me._GROUPAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Address 3", Storage:="_GROUPAddress3", DbType:="NVarChar(256)")>  _
	Public Property GROUPAddress3() As String
		Get
			Return Me._GROUPAddress3
		End Get
		Set
			If (String.Equals(Me._GROUPAddress3, value) = false) Then
				Me._GROUPAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP City", Storage:="_GROUPCity", DbType:="NVarChar(256)")>  _
	Public Property GROUPCity() As String
		Get
			Return Me._GROUPCity
		End Get
		Set
			If (String.Equals(Me._GROUPCity, value) = false) Then
				Me._GROUPCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Country", Storage:="_GROUPCountry", DbType:="NVarChar(256)")>  _
	Public Property GROUPCountry() As String
		Get
			Return Me._GROUPCountry
		End Get
		Set
			If (String.Equals(Me._GROUPCountry, value) = false) Then
				Me._GROUPCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Create Date", Storage:="_GROUPCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property GROUPCreateDate() As Date
		Get
			Return Me._GROUPCreateDate
		End Get
		Set
			If ((Me._GROUPCreateDate = value)  _
						= false) Then
				Me._GROUPCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Edit Date", Storage:="_GROUPEditDate", DbType:="DateTime")>  _
	Public Property GROUPEditDate() As System.Nullable(Of Date)
		Get
			Return Me._GROUPEditDate
		End Get
		Set
			If (Me._GROUPEditDate.Equals(value) = false) Then
				Me._GROUPEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Group Description", Storage:="_GROUPGroupDescription", DbType:="NVarChar(128)")>  _
	Public Property GROUPGroupDescription() As String
		Get
			Return Me._GROUPGroupDescription
		End Get
		Set
			If (String.Equals(Me._GROUPGroupDescription, value) = false) Then
				Me._GROUPGroupDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Group Name", Storage:="_GROUPGroupName", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property GROUPGroupName() As String
		Get
			Return Me._GROUPGroupName
		End Get
		Set
			If (String.Equals(Me._GROUPGroupName, value) = false) Then
				Me._GROUPGroupName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP GROUPID", Storage:="_GROUPGROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPGROUPID() As System.Guid
		Get
			Return Me._GROUPGROUPID
		End Get
		Set
			If ((Me._GROUPGROUPID = value)  _
						= false) Then
				Me._GROUPGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Has Subgroups", Storage:="_GROUPHasSubgroups", DbType:="Bit NOT NULL")>  _
	Public Property GROUPHasSubgroups() As Boolean
		Get
			Return Me._GROUPHasSubgroups
		End Get
		Set
			If ((Me._GROUPHasSubgroups = value)  _
						= false) Then
				Me._GROUPHasSubgroups = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Hierarchy Level", Storage:="_GROUPHierarchyLevel", DbType:="Int")>  _
	Public Property GROUPHierarchyLevel() As System.Nullable(Of Integer)
		Get
			Return Me._GROUPHierarchyLevel
		End Get
		Set
			If (Me._GROUPHierarchyLevel.Equals(value) = false) Then
				Me._GROUPHierarchyLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Import Date", Storage:="_GROUPImportDate", DbType:="DateTime")>  _
	Public Property GROUPImportDate() As System.Nullable(Of Date)
		Get
			Return Me._GROUPImportDate
		End Get
		Set
			If (Me._GROUPImportDate.Equals(value) = false) Then
				Me._GROUPImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Last Edited By", Storage:="_GROUPLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property GROUPLastEditedBy() As String
		Get
			Return Me._GROUPLastEditedBy
		End Get
		Set
			If (String.Equals(Me._GROUPLastEditedBy, value) = false) Then
				Me._GROUPLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP PARENTGROUPID", Storage:="_GROUPPARENTGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPPARENTGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPPARENTGROUPID
		End Get
		Set
			If (Me._GROUPPARENTGROUPID.Equals(value) = false) Then
				Me._GROUPPARENTGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Private Group", Storage:="_GROUPPrivateGroup", DbType:="Bit NOT NULL")>  _
	Public Property GROUPPrivateGroup() As Boolean
		Get
			Return Me._GROUPPrivateGroup
		End Get
		Set
			If ((Me._GROUPPrivateGroup = value)  _
						= false) Then
				Me._GROUPPrivateGroup = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP QUERYVERSIONID", Storage:="_GROUPQUERYVERSIONID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPQUERYVERSIONID() As System.Guid
		Get
			Return Me._GROUPQUERYVERSIONID
		End Get
		Set
			If ((Me._GROUPQUERYVERSIONID = value)  _
						= false) Then
				Me._GROUPQUERYVERSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Record Creator", Storage:="_GROUPRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property GROUPRecordCreator() As String
		Get
			Return Me._GROUPRecordCreator
		End Get
		Set
			If (String.Equals(Me._GROUPRecordCreator, value) = false) Then
				Me._GROUPRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Record Manager", Storage:="_GROUPRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property GROUPRecordManager() As String
		Get
			Return Me._GROUPRecordManager
		End Get
		Set
			If (String.Equals(Me._GROUPRecordManager, value) = false) Then
				Me._GROUPRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP State", Storage:="_GROUPState", DbType:="NVarChar(256)")>  _
	Public Property GROUPState() As String
		Get
			Return Me._GROUPState
		End Get
		Set
			If (String.Equals(Me._GROUPState, value) = false) Then
				Me._GROUPState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ZIP Code", Storage:="_GROUPZIPCode", DbType:="NVarChar(256)")>  _
	Public Property GROUPZIPCode() As String
		Get
			Return Me._GROUPZIPCode
		End Get
		Set
			If (String.Equals(Me._GROUPZIPCode, value) = false) Then
				Me._GROUPZIPCode = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_GROUP_HISTORY")>  _
Partial Public Class VRP_GROUP_HISTORY
	
	Private _GROUPHISTORYGROUPID As System.Guid
	
	Private _GROUPHISTORYHISTORYID As System.Guid
	
	Private _HISTORYACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _HISTORYCreatedOn As Date
	
	Private _HISTORYDetails As String
	
	Private _HISTORYDuration As System.Nullable(Of Integer)
	
	Private _HISTORYEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYEndDate_Time As Date
	
	Private _HISTORYHISTORYID As System.Guid
	
	Private _HISTORYHISTORYTYPEID As Short
	
	Private _HISTORYLastEditedBy As String
	
	Private _HISTORYPrivateHistory As Byte
	
	Private _HISTORYRecordCreator As String
	
	Private _HISTORYRecordManager As String
	
	Private _HISTORYRegarding As String
	
	Private _HISTORYStartDate_Time As Date
	
	Private _HISTORYTYPESActive As Boolean
	
	Private _HISTORYTYPEACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYTYPESCreatedOn As Date
	
	Private _HISTORYTYPESCustom As Boolean
	
	Private _HISTORYTYPESDESCRIPTION As String
	
	Private _HISTORYTYPESEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYTYPEHISTORYTYPEGROUPID As Short
	
	Private _HISTORYTYPEHISTORYTYPEGUID As System.Guid
	
	Private _HISTORYTYPEHISTORYTYPEID As Short
	
	Private _HISTORYTYPESISDEFAULT As Boolean
	
	Private _HISTORYTYPESName As String
	
	Private _HISTORYTYPESRecordable As Boolean
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP HISTORY GROUPID", Storage:="_GROUPHISTORYGROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPHISTORYGROUPID() As System.Guid
		Get
			Return Me._GROUPHISTORYGROUPID
		End Get
		Set
			If ((Me._GROUPHISTORYGROUPID = value)  _
						= false) Then
				Me._GROUPHISTORYGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP HISTORY HISTORYID", Storage:="_GROUPHISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPHISTORYHISTORYID() As System.Guid
		Get
			Return Me._GROUPHISTORYHISTORYID
		End Get
		Set
			If ((Me._GROUPHISTORYHISTORYID = value)  _
						= false) Then
				Me._GROUPHISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY ACCESSOR_ACTIVITY_CLEAREDID", Storage:="_HISTORYACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Created On", Storage:="_HISTORYCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYCreatedOn() As Date
		Get
			Return Me._HISTORYCreatedOn
		End Get
		Set
			If ((Me._HISTORYCreatedOn = value)  _
						= false) Then
				Me._HISTORYCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Details", Storage:="_HISTORYDetails", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property HISTORYDetails() As String
		Get
			Return Me._HISTORYDetails
		End Get
		Set
			If (String.Equals(Me._HISTORYDetails, value) = false) Then
				Me._HISTORYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Duration", Storage:="_HISTORYDuration", DbType:="Int")>  _
	Public Property HISTORYDuration() As System.Nullable(Of Integer)
		Get
			Return Me._HISTORYDuration
		End Get
		Set
			If (Me._HISTORYDuration.Equals(value) = false) Then
				Me._HISTORYDuration = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Edited On", Storage:="_HISTORYEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYEditedOn
		End Get
		Set
			If (Me._HISTORYEditedOn.Equals(value) = false) Then
				Me._HISTORYEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY End Date/Time", Storage:="_HISTORYEndDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYEndDate_Time() As Date
		Get
			Return Me._HISTORYEndDate_Time
		End Get
		Set
			If ((Me._HISTORYEndDate_Time = value)  _
						= false) Then
				Me._HISTORYEndDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYID", Storage:="_HISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYHISTORYID() As System.Guid
		Get
			Return Me._HISTORYHISTORYID
		End Get
		Set
			If ((Me._HISTORYHISTORYID = value)  _
						= false) Then
				Me._HISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYTYPEID", Storage:="_HISTORYHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Last Edited By", Storage:="_HISTORYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property HISTORYLastEditedBy() As String
		Get
			Return Me._HISTORYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._HISTORYLastEditedBy, value) = false) Then
				Me._HISTORYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Private History", Storage:="_HISTORYPrivateHistory", DbType:="TinyInt NOT NULL")>  _
	Public Property HISTORYPrivateHistory() As Byte
		Get
			Return Me._HISTORYPrivateHistory
		End Get
		Set
			If ((Me._HISTORYPrivateHistory = value)  _
						= false) Then
				Me._HISTORYPrivateHistory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Creator", Storage:="_HISTORYRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordCreator() As String
		Get
			Return Me._HISTORYRecordCreator
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordCreator, value) = false) Then
				Me._HISTORYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Manager", Storage:="_HISTORYRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordManager() As String
		Get
			Return Me._HISTORYRecordManager
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordManager, value) = false) Then
				Me._HISTORYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Regarding", Storage:="_HISTORYRegarding", DbType:="NVarChar(256)")>  _
	Public Property HISTORYRegarding() As String
		Get
			Return Me._HISTORYRegarding
		End Get
		Set
			If (String.Equals(Me._HISTORYRegarding, value) = false) Then
				Me._HISTORYRegarding = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Start Date/Time", Storage:="_HISTORYStartDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYStartDate_Time() As Date
		Get
			Return Me._HISTORYStartDate_Time
		End Get
		Set
			If ((Me._HISTORYStartDate_Time = value)  _
						= false) Then
				Me._HISTORYStartDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Active", Storage:="_HISTORYTYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESActive() As Boolean
		Get
			Return Me._HISTORYTYPESActive
		End Get
		Set
			If ((Me._HISTORYTYPESActive = value)  _
						= false) Then
				Me._HISTORYTYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE ACTIVITYTYPEID", Storage:="_HISTORYTYPEACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEACTIVITYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEACTIVITYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Created On", Storage:="_HISTORYTYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYTYPESCreatedOn() As Date
		Get
			Return Me._HISTORYTYPESCreatedOn
		End Get
		Set
			If ((Me._HISTORYTYPESCreatedOn = value)  _
						= false) Then
				Me._HISTORYTYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Custom", Storage:="_HISTORYTYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESCustom() As Boolean
		Get
			Return Me._HISTORYTYPESCustom
		End Get
		Set
			If ((Me._HISTORYTYPESCustom = value)  _
						= false) Then
				Me._HISTORYTYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES DESCRIPTION", Storage:="_HISTORYTYPESDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property HISTORYTYPESDESCRIPTION() As String
		Get
			Return Me._HISTORYTYPESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESDESCRIPTION, value) = false) Then
				Me._HISTORYTYPESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Edited On", Storage:="_HISTORYTYPESEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYTYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYTYPESEditedOn
		End Get
		Set
			If (Me._HISTORYTYPESEditedOn.Equals(value) = false) Then
				Me._HISTORYTYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGROUPID", Storage:="_HISTORYTYPEHISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGROUPID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGUID", Storage:="_HISTORYTYPEHISTORYTYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGUID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGUID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEID", Storage:="_HISTORYTYPEHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES ISDEFAULT", Storage:="_HISTORYTYPESISDEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESISDEFAULT() As Boolean
		Get
			Return Me._HISTORYTYPESISDEFAULT
		End Get
		Set
			If ((Me._HISTORYTYPESISDEFAULT = value)  _
						= false) Then
				Me._HISTORYTYPESISDEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Name", Storage:="_HISTORYTYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYTYPESName() As String
		Get
			Return Me._HISTORYTYPESName
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESName, value) = false) Then
				Me._HISTORYTYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Recordable", Storage:="_HISTORYTYPESRecordable", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESRecordable() As Boolean
		Get
			Return Me._HISTORYTYPESRecordable
		End Get
		Set
			If ((Me._HISTORYTYPESRecordable = value)  _
						= false) Then
				Me._HISTORYTYPESRecordable = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_GROUP_NOTE")>  _
Partial Public Class VRP_GROUP_NOTE
	
	Private _GROUPNOTEGROUPID As System.Guid
	
	Private _GROUPNOTENOTEID As System.Guid
	
	Private _NOTECreatedOn As Date
	
	Private _NOTEEditedOn As System.Nullable(Of Date)
	
	Private _NOTELastEditedBy As String
	
	Private _NOTENote As String
	
	Private _NOTENoteDate As Date
	
	Private _NOTENOTEID As System.Guid
	
	Private _NOTENOTETYPEID As Short
	
	Private _NOTEPrivateNote As Byte
	
	Private _NOTERecordCreator As String
	
	Private _NOTERecordManager As String
	
	Private _NOTETYPESActive As Boolean
	
	Private _NOTETYPESCreatedOn As Date
	
	Private _NOTETYPESCustom As Boolean
	
	Private _NOTETYPESDescription As String
	
	Private _NOTETYPESEditedOn As System.Nullable(Of Date)
	
	Private _NOTETYPESName As String
	
	Private _NOTETYPENOTETYPEGUID As System.Guid
	
	Private _NOTETYPENOTETYPEID As Short
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP NOTE GROUPID", Storage:="_GROUPNOTEGROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPNOTEGROUPID() As System.Guid
		Get
			Return Me._GROUPNOTEGROUPID
		End Get
		Set
			If ((Me._GROUPNOTEGROUPID = value)  _
						= false) Then
				Me._GROUPNOTEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP NOTE NOTEID", Storage:="_GROUPNOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPNOTENOTEID() As System.Guid
		Get
			Return Me._GROUPNOTENOTEID
		End Get
		Set
			If ((Me._GROUPNOTENOTEID = value)  _
						= false) Then
				Me._GROUPNOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Created On", Storage:="_NOTECreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTECreatedOn() As Date
		Get
			Return Me._NOTECreatedOn
		End Get
		Set
			If ((Me._NOTECreatedOn = value)  _
						= false) Then
				Me._NOTECreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Edited On", Storage:="_NOTEEditedOn", DbType:="DateTime")>  _
	Public Property NOTEEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTEEditedOn
		End Get
		Set
			If (Me._NOTEEditedOn.Equals(value) = false) Then
				Me._NOTEEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Last Edited By", Storage:="_NOTELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property NOTELastEditedBy() As String
		Get
			Return Me._NOTELastEditedBy
		End Get
		Set
			If (String.Equals(Me._NOTELastEditedBy, value) = false) Then
				Me._NOTELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note", Storage:="_NOTENote", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property NOTENote() As String
		Get
			Return Me._NOTENote
		End Get
		Set
			If (String.Equals(Me._NOTENote, value) = false) Then
				Me._NOTENote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note Date", Storage:="_NOTENoteDate", DbType:="SmallDateTime NOT NULL")>  _
	Public Property NOTENoteDate() As Date
		Get
			Return Me._NOTENoteDate
		End Get
		Set
			If ((Me._NOTENoteDate = value)  _
						= false) Then
				Me._NOTENoteDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTEID", Storage:="_NOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTENOTEID() As System.Guid
		Get
			Return Me._NOTENOTEID
		End Get
		Set
			If ((Me._NOTENOTEID = value)  _
						= false) Then
				Me._NOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTETYPEID", Storage:="_NOTENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTENOTETYPEID() As Short
		Get
			Return Me._NOTENOTETYPEID
		End Get
		Set
			If ((Me._NOTENOTETYPEID = value)  _
						= false) Then
				Me._NOTENOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Private Note", Storage:="_NOTEPrivateNote", DbType:="TinyInt NOT NULL")>  _
	Public Property NOTEPrivateNote() As Byte
		Get
			Return Me._NOTEPrivateNote
		End Get
		Set
			If ((Me._NOTEPrivateNote = value)  _
						= false) Then
				Me._NOTEPrivateNote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Creator", Storage:="_NOTERecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordCreator() As String
		Get
			Return Me._NOTERecordCreator
		End Get
		Set
			If (String.Equals(Me._NOTERecordCreator, value) = false) Then
				Me._NOTERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Manager", Storage:="_NOTERecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordManager() As String
		Get
			Return Me._NOTERecordManager
		End Get
		Set
			If (String.Equals(Me._NOTERecordManager, value) = false) Then
				Me._NOTERecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Active", Storage:="_NOTETYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESActive() As Boolean
		Get
			Return Me._NOTETYPESActive
		End Get
		Set
			If ((Me._NOTETYPESActive = value)  _
						= false) Then
				Me._NOTETYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Created On", Storage:="_NOTETYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTETYPESCreatedOn() As Date
		Get
			Return Me._NOTETYPESCreatedOn
		End Get
		Set
			If ((Me._NOTETYPESCreatedOn = value)  _
						= false) Then
				Me._NOTETYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Custom", Storage:="_NOTETYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESCustom() As Boolean
		Get
			Return Me._NOTETYPESCustom
		End Get
		Set
			If ((Me._NOTETYPESCustom = value)  _
						= false) Then
				Me._NOTETYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Description", Storage:="_NOTETYPESDescription", DbType:="NVarChar(128)")>  _
	Public Property NOTETYPESDescription() As String
		Get
			Return Me._NOTETYPESDescription
		End Get
		Set
			If (String.Equals(Me._NOTETYPESDescription, value) = false) Then
				Me._NOTETYPESDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Edited On", Storage:="_NOTETYPESEditedOn", DbType:="DateTime")>  _
	Public Property NOTETYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTETYPESEditedOn
		End Get
		Set
			If (Me._NOTETYPESEditedOn.Equals(value) = false) Then
				Me._NOTETYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Name", Storage:="_NOTETYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTETYPESName() As String
		Get
			Return Me._NOTETYPESName
		End Get
		Set
			If (String.Equals(Me._NOTETYPESName, value) = false) Then
				Me._NOTETYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEGUID", Storage:="_NOTETYPENOTETYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTETYPENOTETYPEGUID() As System.Guid
		Get
			Return Me._NOTETYPENOTETYPEGUID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEGUID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEID", Storage:="_NOTETYPENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPENOTETYPEID() As Short
		Get
			Return Me._NOTETYPENOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_GROUP_OPPORTUNITY")>  _
Partial Public Class VRP_GROUP_OPPORTUNITY
	
	Private _GROUPOPPORTUNITYGROUPID As System.Guid
	
	Private _GROUPOPPORTUNITYISMEMBER As Boolean
	
	Private _GROUPOPPORTUNITYOPPORTUNITYID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP OPPORTUNITY GROUPID", Storage:="_GROUPOPPORTUNITYGROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPOPPORTUNITYGROUPID() As System.Guid
		Get
			Return Me._GROUPOPPORTUNITYGROUPID
		End Get
		Set
			If ((Me._GROUPOPPORTUNITYGROUPID = value)  _
						= false) Then
				Me._GROUPOPPORTUNITYGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP OPPORTUNITY ISMEMBER", Storage:="_GROUPOPPORTUNITYISMEMBER", DbType:="Bit NOT NULL")>  _
	Public Property GROUPOPPORTUNITYISMEMBER() As Boolean
		Get
			Return Me._GROUPOPPORTUNITYISMEMBER
		End Get
		Set
			If ((Me._GROUPOPPORTUNITYISMEMBER = value)  _
						= false) Then
				Me._GROUPOPPORTUNITYISMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP OPPORTUNITY OPPORTUNITYID", Storage:="_GROUPOPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPOPPORTUNITYOPPORTUNITYID() As System.Guid
		Get
			Return Me._GROUPOPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If ((Me._GROUPOPPORTUNITYOPPORTUNITYID = value)  _
						= false) Then
				Me._GROUPOPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_LOGONHISTORY")>  _
Partial Public Class VRP_LOGONHISTORY
	
	Private _NAME As String
	
	Private _USERLOGIN As String
	
	Private _LOGONHISTORYApplicationName As String
	
	Private _LOGONHISTORYApplicationVersion As String
	
	Private _LOGONHISTORYClientIPAddress As String
	
	Private _LOGONHISTORYClientMachine As String
	
	Private _LOGONHISTORYClientUsername As String
	
	Private _LOGONHISTORYDatabaseName As String
	
	Private _LOGONHISTORYDatabaseServer As String
	
	Private _LOGONHISTORYLogoffDate As System.Nullable(Of Date)
	
	Private _LOGONHISTORYLogonDate As Date
	
	Private _LOGONHISTORYLogonStatus As Byte
	
	Private _LOGONHISTORYLOGONHISTORYID As System.Guid
	
	Private _LOGONHISTORYUSERID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128)")>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Application Name", Storage:="_LOGONHISTORYApplicationName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property LOGONHISTORYApplicationName() As String
		Get
			Return Me._LOGONHISTORYApplicationName
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYApplicationName, value) = false) Then
				Me._LOGONHISTORYApplicationName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Application Version", Storage:="_LOGONHISTORYApplicationVersion", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYApplicationVersion() As String
		Get
			Return Me._LOGONHISTORYApplicationVersion
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYApplicationVersion, value) = false) Then
				Me._LOGONHISTORYApplicationVersion = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Client IP Address", Storage:="_LOGONHISTORYClientIPAddress", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYClientIPAddress() As String
		Get
			Return Me._LOGONHISTORYClientIPAddress
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYClientIPAddress, value) = false) Then
				Me._LOGONHISTORYClientIPAddress = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Client Machine", Storage:="_LOGONHISTORYClientMachine", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property LOGONHISTORYClientMachine() As String
		Get
			Return Me._LOGONHISTORYClientMachine
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYClientMachine, value) = false) Then
				Me._LOGONHISTORYClientMachine = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Client Username", Storage:="_LOGONHISTORYClientUsername", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYClientUsername() As String
		Get
			Return Me._LOGONHISTORYClientUsername
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYClientUsername, value) = false) Then
				Me._LOGONHISTORYClientUsername = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Database Name", Storage:="_LOGONHISTORYDatabaseName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property LOGONHISTORYDatabaseName() As String
		Get
			Return Me._LOGONHISTORYDatabaseName
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYDatabaseName, value) = false) Then
				Me._LOGONHISTORYDatabaseName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Database Server", Storage:="_LOGONHISTORYDatabaseServer", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property LOGONHISTORYDatabaseServer() As String
		Get
			Return Me._LOGONHISTORYDatabaseServer
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYDatabaseServer, value) = false) Then
				Me._LOGONHISTORYDatabaseServer = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Logoff Date", Storage:="_LOGONHISTORYLogoffDate", DbType:="DateTime")>  _
	Public Property LOGONHISTORYLogoffDate() As System.Nullable(Of Date)
		Get
			Return Me._LOGONHISTORYLogoffDate
		End Get
		Set
			If (Me._LOGONHISTORYLogoffDate.Equals(value) = false) Then
				Me._LOGONHISTORYLogoffDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Logon Date", Storage:="_LOGONHISTORYLogonDate", DbType:="DateTime NOT NULL")>  _
	Public Property LOGONHISTORYLogonDate() As Date
		Get
			Return Me._LOGONHISTORYLogonDate
		End Get
		Set
			If ((Me._LOGONHISTORYLogonDate = value)  _
						= false) Then
				Me._LOGONHISTORYLogonDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Logon Status", Storage:="_LOGONHISTORYLogonStatus", DbType:="TinyInt NOT NULL")>  _
	Public Property LOGONHISTORYLogonStatus() As Byte
		Get
			Return Me._LOGONHISTORYLogonStatus
		End Get
		Set
			If ((Me._LOGONHISTORYLogonStatus = value)  _
						= false) Then
				Me._LOGONHISTORYLogonStatus = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGONHISTORY LOGONHISTORYID", Storage:="_LOGONHISTORYLOGONHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LOGONHISTORYLOGONHISTORYID() As System.Guid
		Get
			Return Me._LOGONHISTORYLOGONHISTORYID
		End Get
		Set
			If ((Me._LOGONHISTORYLOGONHISTORYID = value)  _
						= false) Then
				Me._LOGONHISTORYLOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGONHISTORY USERID", Storage:="_LOGONHISTORYUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property LOGONHISTORYUSERID() As System.Guid
		Get
			Return Me._LOGONHISTORYUSERID
		End Get
		Set
			If ((Me._LOGONHISTORYUSERID = value)  _
						= false) Then
				Me._LOGONHISTORYUSERID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_MYRECORD")>  _
Partial Public Class VRP_MYRECORD
	
	Private _ACCESSORID As System.Guid
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _DESCRIPTION As System.Nullable(Of Integer)
	
	Private _STATUSNUM As Byte
	
	Private _STATUS As String
	
	Private _ISVERIFIED As System.Nullable(Of Boolean)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _ROLENAME As String
	
	Private _USERLOGIN As String
	
	Private _PASSWORD As String
	
	Private _ISPWDCASESENSITIVE As System.Nullable(Of Boolean)
	
	Private _LOGONDATE As System.Nullable(Of Date)
	
	Private _LOGOFFDATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="Int")>  _
	Public Property DESCRIPTION() As System.Nullable(Of Integer)
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (Me._DESCRIPTION.Equals(value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(20) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVERIFIED", DbType:="Bit")>  _
	Public Property ISVERIFIED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISVERIFIED
		End Get
		Set
			If (Me._ISVERIFIED.Equals(value) = false) Then
				Me._ISVERIFIED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLENAME", DbType:="NVarChar(64)")>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128)")>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PASSWORD", DbType:="NVarChar(50)")>  _
	Public Property PASSWORD() As String
		Get
			Return Me._PASSWORD
		End Get
		Set
			If (String.Equals(Me._PASSWORD, value) = false) Then
				Me._PASSWORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPWDCASESENSITIVE", DbType:="Bit")>  _
	Public Property ISPWDCASESENSITIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._ISPWDCASESENSITIVE
		End Get
		Set
			If (Me._ISPWDCASESENSITIVE.Equals(value) = false) Then
				Me._ISPWDCASESENSITIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONDATE", DbType:="DateTime")>  _
	Public Property LOGONDATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGONDATE
		End Get
		Set
			If (Me._LOGONDATE.Equals(value) = false) Then
				Me._LOGONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGOFFDATE", DbType:="DateTime")>  _
	Public Property LOGOFFDATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGOFFDATE
		End Get
		Set
			If (Me._LOGOFFDATE.Equals(value) = false) Then
				Me._LOGOFFDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_OPPORTUNITY")>  _
Partial Public Class VRP_OPPORTUNITY
	
	Private _OPPORTUNITYActualCloseDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYBudget As String
	
	Private _OPPORTUNITYCompetitor As String
	
	Private _OPPORTUNITYCreateDate As Date
	
	Private _OPPORTUNITYCurrentlyUsing As String
	
	Private _OPPORTUNITYDaysOpen As System.Nullable(Of Integer)
	
	Private _OPPORTUNITYDecisionBasedOn As String
	
	Private _OPPORTUNITYEditDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYEstimatedCloseDate As Date
	
	Private _OPPORTUNITYGrossMargin As System.Nullable(Of Decimal)
	
	Private _OPPORTUNITYImportDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYLastEditedBy As String
	
	Private _OPPORTUNITYMajorObstacle As String
	
	Private _OPPORTUNITYOpenDate As Date
	
	Private _OPPORTUNITYOpportunityField1 As String
	
	Private _OPPORTUNITYOpportunityField2 As System.Nullable(Of Date)
	
	Private _OPPORTUNITYOpportunityField3 As String
	
	Private _OPPORTUNITYOpportunityField4 As String
	
	Private _OPPORTUNITYOpportunityField5 As String
	
	Private _OPPORTUNITYOpportunityField6 As String
	
	Private _OPPORTUNITYOpportunityField7 As String
	
	Private _OPPORTUNITYOpportunityField8 As String
	
	Private _OPPORTUNITYOpportunityName As String
	
	Private _OPPORTUNITYOPPORTUNITYID As System.Guid
	
	Private _OPPORTUNITYPrivateOpportunity As Boolean
	
	Private _OPPORTUNITYProbabilityOfClose As Byte
	
	Private _OPPORTUNITYReason As String
	
	Private _OPPORTUNITYRecordCreator As String
	
	Private _OPPORTUNITYRecordManager As String
	
	Private _OPPORTUNITYReferredBy As String
	
	Private _OPPORTUNITYSTAGEID As System.Guid
	
	Private _OPPORTUNITYStatus As Byte
	
	Private _OPPORTUNITYProductSubtotal As Decimal
	
	Private _OPPORTUNITYWeightedTotal As Decimal
	
	Private _OPPORTUNITYWhatIsTheirPain As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Actual Close Date", Storage:="_OPPORTUNITYActualCloseDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYActualCloseDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYActualCloseDate
		End Get
		Set
			If (Me._OPPORTUNITYActualCloseDate.Equals(value) = false) Then
				Me._OPPORTUNITYActualCloseDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Budget", Storage:="_OPPORTUNITYBudget", DbType:="NVarChar(50)")>  _
	Public Property OPPORTUNITYBudget() As String
		Get
			Return Me._OPPORTUNITYBudget
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYBudget, value) = false) Then
				Me._OPPORTUNITYBudget = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Competitor", Storage:="_OPPORTUNITYCompetitor", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYCompetitor() As String
		Get
			Return Me._OPPORTUNITYCompetitor
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYCompetitor, value) = false) Then
				Me._OPPORTUNITYCompetitor = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Create Date", Storage:="_OPPORTUNITYCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property OPPORTUNITYCreateDate() As Date
		Get
			Return Me._OPPORTUNITYCreateDate
		End Get
		Set
			If ((Me._OPPORTUNITYCreateDate = value)  _
						= false) Then
				Me._OPPORTUNITYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Currently Using", Storage:="_OPPORTUNITYCurrentlyUsing", DbType:="NVarChar(50)")>  _
	Public Property OPPORTUNITYCurrentlyUsing() As String
		Get
			Return Me._OPPORTUNITYCurrentlyUsing
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYCurrentlyUsing, value) = false) Then
				Me._OPPORTUNITYCurrentlyUsing = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Days Open", Storage:="_OPPORTUNITYDaysOpen", DbType:="Int")>  _
	Public Property OPPORTUNITYDaysOpen() As System.Nullable(Of Integer)
		Get
			Return Me._OPPORTUNITYDaysOpen
		End Get
		Set
			If (Me._OPPORTUNITYDaysOpen.Equals(value) = false) Then
				Me._OPPORTUNITYDaysOpen = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Decision Based on", Storage:="_OPPORTUNITYDecisionBasedOn", DbType:="NVarChar(70)")>  _
	Public Property OPPORTUNITYDecisionBasedOn() As String
		Get
			Return Me._OPPORTUNITYDecisionBasedOn
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYDecisionBasedOn, value) = false) Then
				Me._OPPORTUNITYDecisionBasedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Edit Date", Storage:="_OPPORTUNITYEditDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYEditDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYEditDate
		End Get
		Set
			If (Me._OPPORTUNITYEditDate.Equals(value) = false) Then
				Me._OPPORTUNITYEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Estimated Close Date", Storage:="_OPPORTUNITYEstimatedCloseDate", DbType:="DateTime NOT NULL")>  _
	Public Property OPPORTUNITYEstimatedCloseDate() As Date
		Get
			Return Me._OPPORTUNITYEstimatedCloseDate
		End Get
		Set
			If ((Me._OPPORTUNITYEstimatedCloseDate = value)  _
						= false) Then
				Me._OPPORTUNITYEstimatedCloseDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Gross Margin", Storage:="_OPPORTUNITYGrossMargin", DbType:="Decimal(17,2)")>  _
	Public Property OPPORTUNITYGrossMargin() As System.Nullable(Of Decimal)
		Get
			Return Me._OPPORTUNITYGrossMargin
		End Get
		Set
			If (Me._OPPORTUNITYGrossMargin.Equals(value) = false) Then
				Me._OPPORTUNITYGrossMargin = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Import Date", Storage:="_OPPORTUNITYImportDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYImportDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYImportDate
		End Get
		Set
			If (Me._OPPORTUNITYImportDate.Equals(value) = false) Then
				Me._OPPORTUNITYImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Last Edited By", Storage:="_OPPORTUNITYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYLastEditedBy() As String
		Get
			Return Me._OPPORTUNITYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYLastEditedBy, value) = false) Then
				Me._OPPORTUNITYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Major Obstacle", Storage:="_OPPORTUNITYMajorObstacle", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property OPPORTUNITYMajorObstacle() As String
		Get
			Return Me._OPPORTUNITYMajorObstacle
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYMajorObstacle, value) = false) Then
				Me._OPPORTUNITYMajorObstacle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Open Date", Storage:="_OPPORTUNITYOpenDate", DbType:="DateTime NOT NULL")>  _
	Public Property OPPORTUNITYOpenDate() As Date
		Get
			Return Me._OPPORTUNITYOpenDate
		End Get
		Set
			If ((Me._OPPORTUNITYOpenDate = value)  _
						= false) Then
				Me._OPPORTUNITYOpenDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 1", Storage:="_OPPORTUNITYOpportunityField1", DbType:="NVarChar(10)")>  _
	Public Property OPPORTUNITYOpportunityField1() As String
		Get
			Return Me._OPPORTUNITYOpportunityField1
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField1, value) = false) Then
				Me._OPPORTUNITYOpportunityField1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 2", Storage:="_OPPORTUNITYOpportunityField2", DbType:="DateTime")>  _
	Public Property OPPORTUNITYOpportunityField2() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYOpportunityField2
		End Get
		Set
			If (Me._OPPORTUNITYOpportunityField2.Equals(value) = false) Then
				Me._OPPORTUNITYOpportunityField2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 3", Storage:="_OPPORTUNITYOpportunityField3", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField3() As String
		Get
			Return Me._OPPORTUNITYOpportunityField3
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField3, value) = false) Then
				Me._OPPORTUNITYOpportunityField3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 4", Storage:="_OPPORTUNITYOpportunityField4", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField4() As String
		Get
			Return Me._OPPORTUNITYOpportunityField4
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField4, value) = false) Then
				Me._OPPORTUNITYOpportunityField4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 5", Storage:="_OPPORTUNITYOpportunityField5", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField5() As String
		Get
			Return Me._OPPORTUNITYOpportunityField5
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField5, value) = false) Then
				Me._OPPORTUNITYOpportunityField5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 6", Storage:="_OPPORTUNITYOpportunityField6", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField6() As String
		Get
			Return Me._OPPORTUNITYOpportunityField6
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField6, value) = false) Then
				Me._OPPORTUNITYOpportunityField6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 7", Storage:="_OPPORTUNITYOpportunityField7", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField7() As String
		Get
			Return Me._OPPORTUNITYOpportunityField7
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField7, value) = false) Then
				Me._OPPORTUNITYOpportunityField7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 8", Storage:="_OPPORTUNITYOpportunityField8", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField8() As String
		Get
			Return Me._OPPORTUNITYOpportunityField8
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField8, value) = false) Then
				Me._OPPORTUNITYOpportunityField8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Name", Storage:="_OPPORTUNITYOpportunityName", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityName() As String
		Get
			Return Me._OPPORTUNITYOpportunityName
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityName, value) = false) Then
				Me._OPPORTUNITYOpportunityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY OPPORTUNITYID", Storage:="_OPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYOPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYOPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Private Opportunity", Storage:="_OPPORTUNITYPrivateOpportunity", DbType:="Bit NOT NULL")>  _
	Public Property OPPORTUNITYPrivateOpportunity() As Boolean
		Get
			Return Me._OPPORTUNITYPrivateOpportunity
		End Get
		Set
			If ((Me._OPPORTUNITYPrivateOpportunity = value)  _
						= false) Then
				Me._OPPORTUNITYPrivateOpportunity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Probability of Close", Storage:="_OPPORTUNITYProbabilityOfClose", DbType:="TinyInt NOT NULL")>  _
	Public Property OPPORTUNITYProbabilityOfClose() As Byte
		Get
			Return Me._OPPORTUNITYProbabilityOfClose
		End Get
		Set
			If ((Me._OPPORTUNITYProbabilityOfClose = value)  _
						= false) Then
				Me._OPPORTUNITYProbabilityOfClose = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Reason", Storage:="_OPPORTUNITYReason", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYReason() As String
		Get
			Return Me._OPPORTUNITYReason
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYReason, value) = false) Then
				Me._OPPORTUNITYReason = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Record Creator", Storage:="_OPPORTUNITYRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property OPPORTUNITYRecordCreator() As String
		Get
			Return Me._OPPORTUNITYRecordCreator
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYRecordCreator, value) = false) Then
				Me._OPPORTUNITYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Record Manager", Storage:="_OPPORTUNITYRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property OPPORTUNITYRecordManager() As String
		Get
			Return Me._OPPORTUNITYRecordManager
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYRecordManager, value) = false) Then
				Me._OPPORTUNITYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Referred By", Storage:="_OPPORTUNITYReferredBy", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYReferredBy() As String
		Get
			Return Me._OPPORTUNITYReferredBy
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYReferredBy, value) = false) Then
				Me._OPPORTUNITYReferredBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGEID", Storage:="_OPPORTUNITYSTAGEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYSTAGEID() As System.Guid
		Get
			Return Me._OPPORTUNITYSTAGEID
		End Get
		Set
			If ((Me._OPPORTUNITYSTAGEID = value)  _
						= false) Then
				Me._OPPORTUNITYSTAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Status", Storage:="_OPPORTUNITYStatus", DbType:="TinyInt NOT NULL")>  _
	Public Property OPPORTUNITYStatus() As Byte
		Get
			Return Me._OPPORTUNITYStatus
		End Get
		Set
			If ((Me._OPPORTUNITYStatus = value)  _
						= false) Then
				Me._OPPORTUNITYStatus = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Product Subtotal", Storage:="_OPPORTUNITYProductSubtotal", DbType:="Decimal(17,2) NOT NULL")>  _
	Public Property OPPORTUNITYProductSubtotal() As Decimal
		Get
			Return Me._OPPORTUNITYProductSubtotal
		End Get
		Set
			If ((Me._OPPORTUNITYProductSubtotal = value)  _
						= false) Then
				Me._OPPORTUNITYProductSubtotal = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Weighted Total", Storage:="_OPPORTUNITYWeightedTotal", DbType:="Decimal(17,2) NOT NULL")>  _
	Public Property OPPORTUNITYWeightedTotal() As Decimal
		Get
			Return Me._OPPORTUNITYWeightedTotal
		End Get
		Set
			If ((Me._OPPORTUNITYWeightedTotal = value)  _
						= false) Then
				Me._OPPORTUNITYWeightedTotal = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY What is their pain", Storage:="_OPPORTUNITYWhatIsTheirPain", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property OPPORTUNITYWhatIsTheirPain() As String
		Get
			Return Me._OPPORTUNITYWhatIsTheirPain
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYWhatIsTheirPain, value) = false) Then
				Me._OPPORTUNITYWhatIsTheirPain = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_OPPORTUNITY_HISTORY")>  _
Partial Public Class VRP_OPPORTUNITY_HISTORY
	
	Private _OPPORTUNITYHISTORYHISTORYID As System.Guid
	
	Private _OPPORTUNITYHISTORYOPPORTUNITYID As System.Guid
	
	Private _HISTORYACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _HISTORYCreatedOn As Date
	
	Private _HISTORYDetails As String
	
	Private _HISTORYDuration As System.Nullable(Of Integer)
	
	Private _HISTORYEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYEndDate_Time As Date
	
	Private _HISTORYHISTORYID As System.Guid
	
	Private _HISTORYHISTORYTYPEID As Short
	
	Private _HISTORYLastEditedBy As String
	
	Private _HISTORYPrivateHistory As Byte
	
	Private _HISTORYRecordCreator As String
	
	Private _HISTORYRecordManager As String
	
	Private _HISTORYRegarding As String
	
	Private _HISTORYStartDate_Time As Date
	
	Private _HISTORYTYPESActive As Boolean
	
	Private _HISTORYTYPEACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYTYPESCreatedOn As Date
	
	Private _HISTORYTYPESCustom As Boolean
	
	Private _HISTORYTYPESDESCRIPTION As String
	
	Private _HISTORYTYPESEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYTYPEHISTORYTYPEGROUPID As Short
	
	Private _HISTORYTYPEHISTORYTYPEGUID As System.Guid
	
	Private _HISTORYTYPEHISTORYTYPEID As Short
	
	Private _HISTORYTYPESISDEFAULT As Boolean
	
	Private _HISTORYTYPESName As String
	
	Private _HISTORYTYPESRecordable As Boolean
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY HISTORY HISTORYID", Storage:="_OPPORTUNITYHISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYHISTORYHISTORYID() As System.Guid
		Get
			Return Me._OPPORTUNITYHISTORYHISTORYID
		End Get
		Set
			If ((Me._OPPORTUNITYHISTORYHISTORYID = value)  _
						= false) Then
				Me._OPPORTUNITYHISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY HISTORY OPPORTUNITYID", Storage:="_OPPORTUNITYHISTORYOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYHISTORYOPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYHISTORYOPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYHISTORYOPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYHISTORYOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY ACCESSOR_ACTIVITY_CLEAREDID", Storage:="_HISTORYACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Created On", Storage:="_HISTORYCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYCreatedOn() As Date
		Get
			Return Me._HISTORYCreatedOn
		End Get
		Set
			If ((Me._HISTORYCreatedOn = value)  _
						= false) Then
				Me._HISTORYCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Details", Storage:="_HISTORYDetails", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property HISTORYDetails() As String
		Get
			Return Me._HISTORYDetails
		End Get
		Set
			If (String.Equals(Me._HISTORYDetails, value) = false) Then
				Me._HISTORYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Duration", Storage:="_HISTORYDuration", DbType:="Int")>  _
	Public Property HISTORYDuration() As System.Nullable(Of Integer)
		Get
			Return Me._HISTORYDuration
		End Get
		Set
			If (Me._HISTORYDuration.Equals(value) = false) Then
				Me._HISTORYDuration = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Edited On", Storage:="_HISTORYEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYEditedOn
		End Get
		Set
			If (Me._HISTORYEditedOn.Equals(value) = false) Then
				Me._HISTORYEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY End Date/Time", Storage:="_HISTORYEndDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYEndDate_Time() As Date
		Get
			Return Me._HISTORYEndDate_Time
		End Get
		Set
			If ((Me._HISTORYEndDate_Time = value)  _
						= false) Then
				Me._HISTORYEndDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYID", Storage:="_HISTORYHISTORYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYHISTORYID() As System.Guid
		Get
			Return Me._HISTORYHISTORYID
		End Get
		Set
			If ((Me._HISTORYHISTORYID = value)  _
						= false) Then
				Me._HISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYTYPEID", Storage:="_HISTORYHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Last Edited By", Storage:="_HISTORYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property HISTORYLastEditedBy() As String
		Get
			Return Me._HISTORYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._HISTORYLastEditedBy, value) = false) Then
				Me._HISTORYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Private History", Storage:="_HISTORYPrivateHistory", DbType:="TinyInt NOT NULL")>  _
	Public Property HISTORYPrivateHistory() As Byte
		Get
			Return Me._HISTORYPrivateHistory
		End Get
		Set
			If ((Me._HISTORYPrivateHistory = value)  _
						= false) Then
				Me._HISTORYPrivateHistory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Creator", Storage:="_HISTORYRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordCreator() As String
		Get
			Return Me._HISTORYRecordCreator
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordCreator, value) = false) Then
				Me._HISTORYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Manager", Storage:="_HISTORYRecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYRecordManager() As String
		Get
			Return Me._HISTORYRecordManager
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordManager, value) = false) Then
				Me._HISTORYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Regarding", Storage:="_HISTORYRegarding", DbType:="NVarChar(256)")>  _
	Public Property HISTORYRegarding() As String
		Get
			Return Me._HISTORYRegarding
		End Get
		Set
			If (String.Equals(Me._HISTORYRegarding, value) = false) Then
				Me._HISTORYRegarding = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Start Date/Time", Storage:="_HISTORYStartDate_Time", DbType:="SmallDateTime NOT NULL")>  _
	Public Property HISTORYStartDate_Time() As Date
		Get
			Return Me._HISTORYStartDate_Time
		End Get
		Set
			If ((Me._HISTORYStartDate_Time = value)  _
						= false) Then
				Me._HISTORYStartDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Active", Storage:="_HISTORYTYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESActive() As Boolean
		Get
			Return Me._HISTORYTYPESActive
		End Get
		Set
			If ((Me._HISTORYTYPESActive = value)  _
						= false) Then
				Me._HISTORYTYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE ACTIVITYTYPEID", Storage:="_HISTORYTYPEACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEACTIVITYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEACTIVITYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Created On", Storage:="_HISTORYTYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property HISTORYTYPESCreatedOn() As Date
		Get
			Return Me._HISTORYTYPESCreatedOn
		End Get
		Set
			If ((Me._HISTORYTYPESCreatedOn = value)  _
						= false) Then
				Me._HISTORYTYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Custom", Storage:="_HISTORYTYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESCustom() As Boolean
		Get
			Return Me._HISTORYTYPESCustom
		End Get
		Set
			If ((Me._HISTORYTYPESCustom = value)  _
						= false) Then
				Me._HISTORYTYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES DESCRIPTION", Storage:="_HISTORYTYPESDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property HISTORYTYPESDESCRIPTION() As String
		Get
			Return Me._HISTORYTYPESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESDESCRIPTION, value) = false) Then
				Me._HISTORYTYPESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Edited On", Storage:="_HISTORYTYPESEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYTYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYTYPESEditedOn
		End Get
		Set
			If (Me._HISTORYTYPESEditedOn.Equals(value) = false) Then
				Me._HISTORYTYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGROUPID", Storage:="_HISTORYTYPEHISTORYTYPEGROUPID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGROUPID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGROUPID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGROUPID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGUID", Storage:="_HISTORYTYPEHISTORYTYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEGUID() As System.Guid
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGUID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEGUID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEID", Storage:="_HISTORYTYPEHISTORYTYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property HISTORYTYPEHISTORYTYPEID() As Short
		Get
			Return Me._HISTORYTYPEHISTORYTYPEID
		End Get
		Set
			If ((Me._HISTORYTYPEHISTORYTYPEID = value)  _
						= false) Then
				Me._HISTORYTYPEHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES ISDEFAULT", Storage:="_HISTORYTYPESISDEFAULT", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESISDEFAULT() As Boolean
		Get
			Return Me._HISTORYTYPESISDEFAULT
		End Get
		Set
			If ((Me._HISTORYTYPESISDEFAULT = value)  _
						= false) Then
				Me._HISTORYTYPESISDEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Name", Storage:="_HISTORYTYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property HISTORYTYPESName() As String
		Get
			Return Me._HISTORYTYPESName
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESName, value) = false) Then
				Me._HISTORYTYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Recordable", Storage:="_HISTORYTYPESRecordable", DbType:="Bit NOT NULL")>  _
	Public Property HISTORYTYPESRecordable() As Boolean
		Get
			Return Me._HISTORYTYPESRecordable
		End Get
		Set
			If ((Me._HISTORYTYPESRecordable = value)  _
						= false) Then
				Me._HISTORYTYPESRecordable = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_OPPORTUNITY_NOTE")>  _
Partial Public Class VRP_OPPORTUNITY_NOTE
	
	Private _OPPORTUNITYNOTENOTEID As System.Guid
	
	Private _OPPORTUNITYNOTEOPPORTUNITYID As System.Guid
	
	Private _NOTECreatedOn As Date
	
	Private _NOTEEditedOn As System.Nullable(Of Date)
	
	Private _NOTELastEditedBy As String
	
	Private _NOTENote As String
	
	Private _NOTENoteDate As Date
	
	Private _NOTENOTEID As System.Guid
	
	Private _NOTENOTETYPEID As Short
	
	Private _NOTEPrivateNote As Byte
	
	Private _NOTERecordCreator As String
	
	Private _NOTERecordManager As String
	
	Private _NOTETYPESActive As Boolean
	
	Private _NOTETYPESCreatedOn As Date
	
	Private _NOTETYPESCustom As Boolean
	
	Private _NOTETYPESDescription As String
	
	Private _NOTETYPESEditedOn As System.Nullable(Of Date)
	
	Private _NOTETYPESName As String
	
	Private _NOTETYPENOTETYPEGUID As System.Guid
	
	Private _NOTETYPENOTETYPEID As Short
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY NOTE NOTEID", Storage:="_OPPORTUNITYNOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYNOTENOTEID() As System.Guid
		Get
			Return Me._OPPORTUNITYNOTENOTEID
		End Get
		Set
			If ((Me._OPPORTUNITYNOTENOTEID = value)  _
						= false) Then
				Me._OPPORTUNITYNOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY NOTE OPPORTUNITYID", Storage:="_OPPORTUNITYNOTEOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYNOTEOPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYNOTEOPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYNOTEOPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYNOTEOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Created On", Storage:="_NOTECreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTECreatedOn() As Date
		Get
			Return Me._NOTECreatedOn
		End Get
		Set
			If ((Me._NOTECreatedOn = value)  _
						= false) Then
				Me._NOTECreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Edited On", Storage:="_NOTEEditedOn", DbType:="DateTime")>  _
	Public Property NOTEEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTEEditedOn
		End Get
		Set
			If (Me._NOTEEditedOn.Equals(value) = false) Then
				Me._NOTEEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Last Edited By", Storage:="_NOTELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property NOTELastEditedBy() As String
		Get
			Return Me._NOTELastEditedBy
		End Get
		Set
			If (String.Equals(Me._NOTELastEditedBy, value) = false) Then
				Me._NOTELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note", Storage:="_NOTENote", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property NOTENote() As String
		Get
			Return Me._NOTENote
		End Get
		Set
			If (String.Equals(Me._NOTENote, value) = false) Then
				Me._NOTENote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note Date", Storage:="_NOTENoteDate", DbType:="SmallDateTime NOT NULL")>  _
	Public Property NOTENoteDate() As Date
		Get
			Return Me._NOTENoteDate
		End Get
		Set
			If ((Me._NOTENoteDate = value)  _
						= false) Then
				Me._NOTENoteDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTEID", Storage:="_NOTENOTEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTENOTEID() As System.Guid
		Get
			Return Me._NOTENOTEID
		End Get
		Set
			If ((Me._NOTENOTEID = value)  _
						= false) Then
				Me._NOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTETYPEID", Storage:="_NOTENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTENOTETYPEID() As Short
		Get
			Return Me._NOTENOTETYPEID
		End Get
		Set
			If ((Me._NOTENOTETYPEID = value)  _
						= false) Then
				Me._NOTENOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Private Note", Storage:="_NOTEPrivateNote", DbType:="TinyInt NOT NULL")>  _
	Public Property NOTEPrivateNote() As Byte
		Get
			Return Me._NOTEPrivateNote
		End Get
		Set
			If ((Me._NOTEPrivateNote = value)  _
						= false) Then
				Me._NOTEPrivateNote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Creator", Storage:="_NOTERecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordCreator() As String
		Get
			Return Me._NOTERecordCreator
		End Get
		Set
			If (String.Equals(Me._NOTERecordCreator, value) = false) Then
				Me._NOTERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Manager", Storage:="_NOTERecordManager", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTERecordManager() As String
		Get
			Return Me._NOTERecordManager
		End Get
		Set
			If (String.Equals(Me._NOTERecordManager, value) = false) Then
				Me._NOTERecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Active", Storage:="_NOTETYPESActive", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESActive() As Boolean
		Get
			Return Me._NOTETYPESActive
		End Get
		Set
			If ((Me._NOTETYPESActive = value)  _
						= false) Then
				Me._NOTETYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Created On", Storage:="_NOTETYPESCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property NOTETYPESCreatedOn() As Date
		Get
			Return Me._NOTETYPESCreatedOn
		End Get
		Set
			If ((Me._NOTETYPESCreatedOn = value)  _
						= false) Then
				Me._NOTETYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Custom", Storage:="_NOTETYPESCustom", DbType:="Bit NOT NULL")>  _
	Public Property NOTETYPESCustom() As Boolean
		Get
			Return Me._NOTETYPESCustom
		End Get
		Set
			If ((Me._NOTETYPESCustom = value)  _
						= false) Then
				Me._NOTETYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Description", Storage:="_NOTETYPESDescription", DbType:="NVarChar(128)")>  _
	Public Property NOTETYPESDescription() As String
		Get
			Return Me._NOTETYPESDescription
		End Get
		Set
			If (String.Equals(Me._NOTETYPESDescription, value) = false) Then
				Me._NOTETYPESDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Edited On", Storage:="_NOTETYPESEditedOn", DbType:="DateTime")>  _
	Public Property NOTETYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTETYPESEditedOn
		End Get
		Set
			If (Me._NOTETYPESEditedOn.Equals(value) = false) Then
				Me._NOTETYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Name", Storage:="_NOTETYPESName", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NOTETYPESName() As String
		Get
			Return Me._NOTETYPESName
		End Get
		Set
			If (String.Equals(Me._NOTETYPESName, value) = false) Then
				Me._NOTETYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEGUID", Storage:="_NOTETYPENOTETYPEGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property NOTETYPENOTETYPEGUID() As System.Guid
		Get
			Return Me._NOTETYPENOTETYPEGUID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEGUID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEID", Storage:="_NOTETYPENOTETYPEID", DbType:="SmallInt NOT NULL")>  _
	Public Property NOTETYPENOTETYPEID() As Short
		Get
			Return Me._NOTETYPENOTETYPEID
		End Get
		Set
			If ((Me._NOTETYPENOTETYPEID = value)  _
						= false) Then
				Me._NOTETYPENOTETYPEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_OPPORTUNITY_PRODUCTSERVICE")>  _
Partial Public Class VRP_OPPORTUNITY_PRODUCTSERVICE
	
	Private _OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID As System.Guid
	
	Private _PRODUCTSERVICEAdjustedPrice As Decimal
	
	Private _PRODUCTSERVICECost As Decimal
	
	Private _PRODUCTSERVICECreateDate As Date
	
	Private _PRODUCTSERVICEDiscount As Decimal
	
	Private _PRODUCTSERVICEDiscountType As String
	
	Private _PRODUCTSERVICEEditDate As System.Nullable(Of Date)
	
	Private _PRODUCTSERVICEItem_ As String
	
	Private _PRODUCTSERVICELastEditedBy As String
	
	Private _PRODUCTSERVICEName As String
	
	Private _PRODUCTSERVICEPrice As Decimal
	
	Private _PRODUCTSERVICEPRODUCTID As System.Nullable(Of System.Guid)
	
	Private _PRODUCTSERVICEPRODUCTSERVICEID As System.Guid
	
	Private _PRODUCTSERVICEQuantity As Decimal
	
	Private _PRODUCTSERVICERecordCreator As String
	
	Private _PRODUCTSERVICESubtotal As Decimal
	
	Private _PRODUCTSERVICEType As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PRODUCTSERVICE OPPORTUNITYID", Storage:="_OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Adjusted Price", Storage:="_PRODUCTSERVICEAdjustedPrice", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property PRODUCTSERVICEAdjustedPrice() As Decimal
		Get
			Return Me._PRODUCTSERVICEAdjustedPrice
		End Get
		Set
			If ((Me._PRODUCTSERVICEAdjustedPrice = value)  _
						= false) Then
				Me._PRODUCTSERVICEAdjustedPrice = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Cost", Storage:="_PRODUCTSERVICECost", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property PRODUCTSERVICECost() As Decimal
		Get
			Return Me._PRODUCTSERVICECost
		End Get
		Set
			If ((Me._PRODUCTSERVICECost = value)  _
						= false) Then
				Me._PRODUCTSERVICECost = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Create Date", Storage:="_PRODUCTSERVICECreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property PRODUCTSERVICECreateDate() As Date
		Get
			Return Me._PRODUCTSERVICECreateDate
		End Get
		Set
			If ((Me._PRODUCTSERVICECreateDate = value)  _
						= false) Then
				Me._PRODUCTSERVICECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Discount", Storage:="_PRODUCTSERVICEDiscount", DbType:="Decimal(19,10) NOT NULL")>  _
	Public Property PRODUCTSERVICEDiscount() As Decimal
		Get
			Return Me._PRODUCTSERVICEDiscount
		End Get
		Set
			If ((Me._PRODUCTSERVICEDiscount = value)  _
						= false) Then
				Me._PRODUCTSERVICEDiscount = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Discount Type", Storage:="_PRODUCTSERVICEDiscountType", DbType:="NVarChar(10) NOT NULL", CanBeNull:=false)>  _
	Public Property PRODUCTSERVICEDiscountType() As String
		Get
			Return Me._PRODUCTSERVICEDiscountType
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEDiscountType, value) = false) Then
				Me._PRODUCTSERVICEDiscountType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Edit Date", Storage:="_PRODUCTSERVICEEditDate", DbType:="DateTime")>  _
	Public Property PRODUCTSERVICEEditDate() As System.Nullable(Of Date)
		Get
			Return Me._PRODUCTSERVICEEditDate
		End Get
		Set
			If (Me._PRODUCTSERVICEEditDate.Equals(value) = false) Then
				Me._PRODUCTSERVICEEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Item #", Storage:="_PRODUCTSERVICEItem_", DbType:="NVarChar(64)")>  _
	Public Property PRODUCTSERVICEItem_() As String
		Get
			Return Me._PRODUCTSERVICEItem_
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEItem_, value) = false) Then
				Me._PRODUCTSERVICEItem_ = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Last Edited By", Storage:="_PRODUCTSERVICELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTSERVICELastEditedBy() As String
		Get
			Return Me._PRODUCTSERVICELastEditedBy
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICELastEditedBy, value) = false) Then
				Me._PRODUCTSERVICELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Name", Storage:="_PRODUCTSERVICEName", DbType:="NVarChar(256)")>  _
	Public Property PRODUCTSERVICEName() As String
		Get
			Return Me._PRODUCTSERVICEName
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEName, value) = false) Then
				Me._PRODUCTSERVICEName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Price", Storage:="_PRODUCTSERVICEPrice", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property PRODUCTSERVICEPrice() As Decimal
		Get
			Return Me._PRODUCTSERVICEPrice
		End Get
		Set
			If ((Me._PRODUCTSERVICEPrice = value)  _
						= false) Then
				Me._PRODUCTSERVICEPrice = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCTSERVICE PRODUCTID", Storage:="_PRODUCTSERVICEPRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTSERVICEPRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTSERVICEPRODUCTID
		End Get
		Set
			If (Me._PRODUCTSERVICEPRODUCTID.Equals(value) = false) Then
				Me._PRODUCTSERVICEPRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCTSERVICE PRODUCTSERVICEID", Storage:="_PRODUCTSERVICEPRODUCTSERVICEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PRODUCTSERVICEPRODUCTSERVICEID() As System.Guid
		Get
			Return Me._PRODUCTSERVICEPRODUCTSERVICEID
		End Get
		Set
			If ((Me._PRODUCTSERVICEPRODUCTSERVICEID = value)  _
						= false) Then
				Me._PRODUCTSERVICEPRODUCTSERVICEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Quantity", Storage:="_PRODUCTSERVICEQuantity", DbType:="Decimal(16,2) NOT NULL")>  _
	Public Property PRODUCTSERVICEQuantity() As Decimal
		Get
			Return Me._PRODUCTSERVICEQuantity
		End Get
		Set
			If ((Me._PRODUCTSERVICEQuantity = value)  _
						= false) Then
				Me._PRODUCTSERVICEQuantity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Record Creator", Storage:="_PRODUCTSERVICERecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property PRODUCTSERVICERecordCreator() As String
		Get
			Return Me._PRODUCTSERVICERecordCreator
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICERecordCreator, value) = false) Then
				Me._PRODUCTSERVICERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Subtotal", Storage:="_PRODUCTSERVICESubtotal", DbType:="Decimal(23,8) NOT NULL")>  _
	Public Property PRODUCTSERVICESubtotal() As Decimal
		Get
			Return Me._PRODUCTSERVICESubtotal
		End Get
		Set
			If ((Me._PRODUCTSERVICESubtotal = value)  _
						= false) Then
				Me._PRODUCTSERVICESubtotal = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Type", Storage:="_PRODUCTSERVICEType", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTSERVICEType() As String
		Get
			Return Me._PRODUCTSERVICEType
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEType, value) = false) Then
				Me._PRODUCTSERVICEType = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_PICKLIST")>  _
Partial Public Class VRP_PICKLIST
	
	Private _PICKLISTCREATEDATE As Date
	
	Private _PICKLISTCREATEUSERID As System.Guid
	
	Private _PICKLISTDATATYPEID As Byte
	
	Private _PICKLISTDESCRIPTION As String
	
	Private _PICKLISTEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTISADDTOLIST As Boolean
	
	Private _PICKLISTISAUTOINSERT As Boolean
	
	Private _PICKLISTISUSERCREATED As Boolean
	
	Private _PICKLISTMODIFYDATE As System.Nullable(Of Date)
	
	Private _PICKLISTNAME As String
	
	Private _PICKLISTPICKLISTID As System.Guid
	
	Private _PICKLISTTYPENUM As Byte
	
	Private _PICKLISTITEMSCREATEDATE As Date
	
	Private _PICKLISTITEMSCREATEUSERID As System.Guid
	
	Private _PICKLISTITEMSDESCRIPTION As String
	
	Private _PICKLISTITEMSEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTITEMSIsCustom As Boolean
	
	Private _PICKLISTITEMPICKLISTITEMID As System.Guid
	
	Private _PICKLISTITEMSMODIFYDATE As System.Nullable(Of Date)
	
	Private _PICKLISTITEMSNAME As String
	
	Private _PICKLISTITEMPICKLISTID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST CREATEDATE", Storage:="_PICKLISTCREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property PICKLISTCREATEDATE() As Date
		Get
			Return Me._PICKLISTCREATEDATE
		End Get
		Set
			If ((Me._PICKLISTCREATEDATE = value)  _
						= false) Then
				Me._PICKLISTCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST CREATEUSERID", Storage:="_PICKLISTCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTCREATEUSERID() As System.Guid
		Get
			Return Me._PICKLISTCREATEUSERID
		End Get
		Set
			If ((Me._PICKLISTCREATEUSERID = value)  _
						= false) Then
				Me._PICKLISTCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST DATATYPEID", Storage:="_PICKLISTDATATYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property PICKLISTDATATYPEID() As Byte
		Get
			Return Me._PICKLISTDATATYPEID
		End Get
		Set
			If ((Me._PICKLISTDATATYPEID = value)  _
						= false) Then
				Me._PICKLISTDATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST DESCRIPTION", Storage:="_PICKLISTDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property PICKLISTDESCRIPTION() As String
		Get
			Return Me._PICKLISTDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._PICKLISTDESCRIPTION, value) = false) Then
				Me._PICKLISTDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST EDITUSERID", Storage:="_PICKLISTEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTEDITUSERID
		End Get
		Set
			If (Me._PICKLISTEDITUSERID.Equals(value) = false) Then
				Me._PICKLISTEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ISADDTOLIST", Storage:="_PICKLISTISADDTOLIST", DbType:="Bit NOT NULL")>  _
	Public Property PICKLISTISADDTOLIST() As Boolean
		Get
			Return Me._PICKLISTISADDTOLIST
		End Get
		Set
			If ((Me._PICKLISTISADDTOLIST = value)  _
						= false) Then
				Me._PICKLISTISADDTOLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ISAUTOINSERT", Storage:="_PICKLISTISAUTOINSERT", DbType:="Bit NOT NULL")>  _
	Public Property PICKLISTISAUTOINSERT() As Boolean
		Get
			Return Me._PICKLISTISAUTOINSERT
		End Get
		Set
			If ((Me._PICKLISTISAUTOINSERT = value)  _
						= false) Then
				Me._PICKLISTISAUTOINSERT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ISUSERCREATED", Storage:="_PICKLISTISUSERCREATED", DbType:="Bit NOT NULL")>  _
	Public Property PICKLISTISUSERCREATED() As Boolean
		Get
			Return Me._PICKLISTISUSERCREATED
		End Get
		Set
			If ((Me._PICKLISTISUSERCREATED = value)  _
						= false) Then
				Me._PICKLISTISUSERCREATED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST MODIFYDATE", Storage:="_PICKLISTMODIFYDATE", DbType:="DateTime")>  _
	Public Property PICKLISTMODIFYDATE() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTMODIFYDATE
		End Get
		Set
			If (Me._PICKLISTMODIFYDATE.Equals(value) = false) Then
				Me._PICKLISTMODIFYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST NAME", Storage:="_PICKLISTNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLISTNAME() As String
		Get
			Return Me._PICKLISTNAME
		End Get
		Set
			If (String.Equals(Me._PICKLISTNAME, value) = false) Then
				Me._PICKLISTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST PICKLISTID", Storage:="_PICKLISTPICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTPICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTPICKLISTID
		End Get
		Set
			If ((Me._PICKLISTPICKLISTID = value)  _
						= false) Then
				Me._PICKLISTPICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST TYPENUM", Storage:="_PICKLISTTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property PICKLISTTYPENUM() As Byte
		Get
			Return Me._PICKLISTTYPENUM
		End Get
		Set
			If ((Me._PICKLISTTYPENUM = value)  _
						= false) Then
				Me._PICKLISTTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS CREATEDATE", Storage:="_PICKLISTITEMSCREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property PICKLISTITEMSCREATEDATE() As Date
		Get
			Return Me._PICKLISTITEMSCREATEDATE
		End Get
		Set
			If ((Me._PICKLISTITEMSCREATEDATE = value)  _
						= false) Then
				Me._PICKLISTITEMSCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS CREATEUSERID", Storage:="_PICKLISTITEMSCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMSCREATEUSERID() As System.Guid
		Get
			Return Me._PICKLISTITEMSCREATEUSERID
		End Get
		Set
			If ((Me._PICKLISTITEMSCREATEUSERID = value)  _
						= false) Then
				Me._PICKLISTITEMSCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS DESCRIPTION", Storage:="_PICKLISTITEMSDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property PICKLISTITEMSDESCRIPTION() As String
		Get
			Return Me._PICKLISTITEMSDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._PICKLISTITEMSDESCRIPTION, value) = false) Then
				Me._PICKLISTITEMSDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS EDITUSERID", Storage:="_PICKLISTITEMSEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMSEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMSEDITUSERID
		End Get
		Set
			If (Me._PICKLISTITEMSEDITUSERID.Equals(value) = false) Then
				Me._PICKLISTITEMSEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS Is Custom", Storage:="_PICKLISTITEMSIsCustom", DbType:="Bit NOT NULL")>  _
	Public Property PICKLISTITEMSIsCustom() As Boolean
		Get
			Return Me._PICKLISTITEMSIsCustom
		End Get
		Set
			If ((Me._PICKLISTITEMSIsCustom = value)  _
						= false) Then
				Me._PICKLISTITEMSIsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLISTITEM PICKLISTITEMID", Storage:="_PICKLISTITEMPICKLISTITEMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMPICKLISTITEMID() As System.Guid
		Get
			Return Me._PICKLISTITEMPICKLISTITEMID
		End Get
		Set
			If ((Me._PICKLISTITEMPICKLISTITEMID = value)  _
						= false) Then
				Me._PICKLISTITEMPICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS MODIFYDATE", Storage:="_PICKLISTITEMSMODIFYDATE", DbType:="DateTime")>  _
	Public Property PICKLISTITEMSMODIFYDATE() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTITEMSMODIFYDATE
		End Get
		Set
			If (Me._PICKLISTITEMSMODIFYDATE.Equals(value) = false) Then
				Me._PICKLISTITEMSMODIFYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS NAME", Storage:="_PICKLISTITEMSNAME", DbType:="NVarChar(442) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLISTITEMSNAME() As String
		Get
			Return Me._PICKLISTITEMSNAME
		End Get
		Set
			If (String.Equals(Me._PICKLISTITEMSNAME, value) = false) Then
				Me._PICKLISTITEMSNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLISTITEM PICKLISTID", Storage:="_PICKLISTITEMPICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMPICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTITEMPICKLISTID
		End Get
		Set
			If ((Me._PICKLISTITEMPICKLISTID = value)  _
						= false) Then
				Me._PICKLISTITEMPICKLISTID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_PRODUCT")>  _
Partial Public Class VRP_PRODUCT
	
	Private _PRODUCTCreatedOn As Date
	
	Private _PRODUCTEditedOn As System.Nullable(Of Date)
	
	Private _PRODUCTProduct As String
	
	Private _PRODUCTProductCode As String
	
	Private _PRODUCTProductCost As Decimal
	
	Private _PRODUCTProductDescription As String
	
	Private _PRODUCTProductPrice As Decimal
	
	Private _PRODUCTProductType As String
	
	Private _PRODUCTPRODUCTID As System.Guid
	
	Private _PRODUCTUnitOfIssue As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Created On", Storage:="_PRODUCTCreatedOn", DbType:="DateTime NOT NULL")>  _
	Public Property PRODUCTCreatedOn() As Date
		Get
			Return Me._PRODUCTCreatedOn
		End Get
		Set
			If ((Me._PRODUCTCreatedOn = value)  _
						= false) Then
				Me._PRODUCTCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Edited On", Storage:="_PRODUCTEditedOn", DbType:="DateTime")>  _
	Public Property PRODUCTEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._PRODUCTEditedOn
		End Get
		Set
			If (Me._PRODUCTEditedOn.Equals(value) = false) Then
				Me._PRODUCTEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product", Storage:="_PRODUCTProduct", DbType:="NVarChar(256) NOT NULL", CanBeNull:=false)>  _
	Public Property PRODUCTProduct() As String
		Get
			Return Me._PRODUCTProduct
		End Get
		Set
			If (String.Equals(Me._PRODUCTProduct, value) = false) Then
				Me._PRODUCTProduct = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Code", Storage:="_PRODUCTProductCode", DbType:="NVarChar(64)")>  _
	Public Property PRODUCTProductCode() As String
		Get
			Return Me._PRODUCTProductCode
		End Get
		Set
			If (String.Equals(Me._PRODUCTProductCode, value) = false) Then
				Me._PRODUCTProductCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Cost", Storage:="_PRODUCTProductCost", DbType:="Decimal(19,4) NOT NULL")>  _
	Public Property PRODUCTProductCost() As Decimal
		Get
			Return Me._PRODUCTProductCost
		End Get
		Set
			If ((Me._PRODUCTProductCost = value)  _
						= false) Then
				Me._PRODUCTProductCost = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Description", Storage:="_PRODUCTProductDescription", DbType:="NVarChar(256)")>  _
	Public Property PRODUCTProductDescription() As String
		Get
			Return Me._PRODUCTProductDescription
		End Get
		Set
			If (String.Equals(Me._PRODUCTProductDescription, value) = false) Then
				Me._PRODUCTProductDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Price", Storage:="_PRODUCTProductPrice", DbType:="Decimal(19,4) NOT NULL")>  _
	Public Property PRODUCTProductPrice() As Decimal
		Get
			Return Me._PRODUCTProductPrice
		End Get
		Set
			If ((Me._PRODUCTProductPrice = value)  _
						= false) Then
				Me._PRODUCTProductPrice = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Type", Storage:="_PRODUCTProductType", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTProductType() As String
		Get
			Return Me._PRODUCTProductType
		End Get
		Set
			If (String.Equals(Me._PRODUCTProductType, value) = false) Then
				Me._PRODUCTProductType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT PRODUCTID", Storage:="_PRODUCTPRODUCTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PRODUCTPRODUCTID() As System.Guid
		Get
			Return Me._PRODUCTPRODUCTID
		End Get
		Set
			If ((Me._PRODUCTPRODUCTID = value)  _
						= false) Then
				Me._PRODUCTPRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Unit of Issue", Storage:="_PRODUCTUnitOfIssue", DbType:="NVarChar(32)")>  _
	Public Property PRODUCTUnitOfIssue() As String
		Get
			Return Me._PRODUCTUnitOfIssue
		End Get
		Set
			If (String.Equals(Me._PRODUCTUnitOfIssue, value) = false) Then
				Me._PRODUCTUnitOfIssue = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_RESOURCE")>  _
Partial Public Class VRP_RESOURCE
	
	Private _ACCESSORACCESSORID As System.Guid
	
	Private _ACCESSORCreateDate As Date
	
	Private _ACCESSORCREATEUSERID As System.Guid
	
	Private _ACCESSOREditDate As System.Nullable(Of Date)
	
	Private _ACCESSOREDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORName As String
	
	Private _ACCESSORStatusnum As Byte
	
	Private _ACCESSORTypenum As Byte
	
	Private _RESOURCEDescription As String
	
	Private _RESOURCERESOURCEID As System.Guid
	
	Private _RESOURCETypenum As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACCESSORID", Storage:="_ACCESSORACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORACCESSORID
		End Get
		Set
			If ((Me._ACCESSORACCESSORID = value)  _
						= false) Then
				Me._ACCESSORACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Create Date", Storage:="_ACCESSORCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property ACCESSORCreateDate() As Date
		Get
			Return Me._ACCESSORCreateDate
		End Get
		Set
			If ((Me._ACCESSORCreateDate = value)  _
						= false) Then
				Me._ACCESSORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR CREATEUSERID", Storage:="_ACCESSORCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORCREATEUSERID() As System.Guid
		Get
			Return Me._ACCESSORCREATEUSERID
		End Get
		Set
			If ((Me._ACCESSORCREATEUSERID = value)  _
						= false) Then
				Me._ACCESSORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Edit Date", Storage:="_ACCESSOREditDate", DbType:="DateTime")>  _
	Public Property ACCESSOREditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSOREditDate
		End Get
		Set
			If (Me._ACCESSOREditDate.Equals(value) = false) Then
				Me._ACCESSOREditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR EDITUSERID", Storage:="_ACCESSOREDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOREDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOREDITUSERID
		End Get
		Set
			If (Me._ACCESSOREDITUSERID.Equals(value) = false) Then
				Me._ACCESSOREDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Name", Storage:="_ACCESSORName", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESSORName() As String
		Get
			Return Me._ACCESSORName
		End Get
		Set
			If (String.Equals(Me._ACCESSORName, value) = false) Then
				Me._ACCESSORName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Statusnum", Storage:="_ACCESSORStatusnum", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSORStatusnum() As Byte
		Get
			Return Me._ACCESSORStatusnum
		End Get
		Set
			If ((Me._ACCESSORStatusnum = value)  _
						= false) Then
				Me._ACCESSORStatusnum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Typenum", Storage:="_ACCESSORTypenum", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSORTypenum() As Byte
		Get
			Return Me._ACCESSORTypenum
		End Get
		Set
			If ((Me._ACCESSORTypenum = value)  _
						= false) Then
				Me._ACCESSORTypenum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RESOURCE Description", Storage:="_RESOURCEDescription", DbType:="NVarChar(128)")>  _
	Public Property RESOURCEDescription() As String
		Get
			Return Me._RESOURCEDescription
		End Get
		Set
			If (String.Equals(Me._RESOURCEDescription, value) = false) Then
				Me._RESOURCEDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RESOURCE RESOURCEID", Storage:="_RESOURCERESOURCEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property RESOURCERESOURCEID() As System.Guid
		Get
			Return Me._RESOURCERESOURCEID
		End Get
		Set
			If ((Me._RESOURCERESOURCEID = value)  _
						= false) Then
				Me._RESOURCERESOURCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RESOURCE Typenum", Storage:="_RESOURCETypenum", DbType:="TinyInt NOT NULL")>  _
	Public Property RESOURCETypenum() As Byte
		Get
			Return Me._RESOURCETypenum
		End Get
		Set
			If ((Me._RESOURCETypenum = value)  _
						= false) Then
				Me._RESOURCETypenum = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SECONDARY_CONTACT")>  _
Partial Public Class VRP_SECONDARY_CONTACT
	
	Private _SECONDARYCONTACTContactid As System.Guid
	
	Private _SECONDARYCONTACTSecondaryAccessLevel As Boolean
	
	Private _SECONDARYCONTACTSecondaryAddress1 As String
	
	Private _SECONDARYCONTACTSecondaryAddress2 As String
	
	Private _SECONDARYCONTACTSecondaryAddress3 As String
	
	Private _SECONDARYCONTACTSecondaryCity As String
	
	Private _SECONDARYCONTACTSecondaryCompany As String
	
	Private _SECONDARYCONTACTSecondaryContact As String
	
	Private _SECONDARYCONTACTSecondaryCountry As String
	
	Private _SECONDARYCONTACTSecondaryE_Mail As String
	
	Private _SECONDARYCONTACTSecondaryFaxPhone As String
	
	Private _SECONDARYCONTACTSecondaryFirstName As String
	
	Private _SECONDARYCONTACTSecondaryID_Status As String
	
	Private _SECONDARYCONTACTSecondaryLastName As String
	
	Private _SECONDARYCONTACTSecondaryManageuserid As System.Guid
	
	Private _SECONDARYCONTACTSecondaryMobilePhone As String
	
	Private _SECONDARYCONTACTSecondaryPhone As String
	
	Private _SECONDARYCONTACTSecondaryPhoneExtension As String
	
	Private _SECONDARYCONTACTSecondaryState As String
	
	Private _SECONDARYCONTACTSecondaryTitle As String
	
	Private _SECONDARYCONTACTSecondaryWebSite As String
	
	Private _SECONDARYCONTACTSecondaryZIPCode As String
	
	Private _SECONDARYCONTACTSecondaryid As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Contactid", Storage:="_SECONDARYCONTACTContactid", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SECONDARYCONTACTContactid() As System.Guid
		Get
			Return Me._SECONDARYCONTACTContactid
		End Get
		Set
			If ((Me._SECONDARYCONTACTContactid = value)  _
						= false) Then
				Me._SECONDARYCONTACTContactid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Access Level", Storage:="_SECONDARYCONTACTSecondaryAccessLevel", DbType:="Bit NOT NULL")>  _
	Public Property SECONDARYCONTACTSecondaryAccessLevel() As Boolean
		Get
			Return Me._SECONDARYCONTACTSecondaryAccessLevel
		End Get
		Set
			If ((Me._SECONDARYCONTACTSecondaryAccessLevel = value)  _
						= false) Then
				Me._SECONDARYCONTACTSecondaryAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Address 1", Storage:="_SECONDARYCONTACTSecondaryAddress1", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryAddress1() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryAddress1
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryAddress1, value) = false) Then
				Me._SECONDARYCONTACTSecondaryAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Address 2", Storage:="_SECONDARYCONTACTSecondaryAddress2", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryAddress2() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryAddress2
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryAddress2, value) = false) Then
				Me._SECONDARYCONTACTSecondaryAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Address 3", Storage:="_SECONDARYCONTACTSecondaryAddress3", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryAddress3() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryAddress3
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryAddress3, value) = false) Then
				Me._SECONDARYCONTACTSecondaryAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary City", Storage:="_SECONDARYCONTACTSecondaryCity", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryCity() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryCity
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryCity, value) = false) Then
				Me._SECONDARYCONTACTSecondaryCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Company", Storage:="_SECONDARYCONTACTSecondaryCompany", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryCompany() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryCompany
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryCompany, value) = false) Then
				Me._SECONDARYCONTACTSecondaryCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Contact", Storage:="_SECONDARYCONTACTSecondaryContact", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryContact() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryContact
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryContact, value) = false) Then
				Me._SECONDARYCONTACTSecondaryContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Country", Storage:="_SECONDARYCONTACTSecondaryCountry", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryCountry() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryCountry
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryCountry, value) = false) Then
				Me._SECONDARYCONTACTSecondaryCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary E-mail", Storage:="_SECONDARYCONTACTSecondaryE_Mail", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryE_Mail() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryE_Mail
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryE_Mail, value) = false) Then
				Me._SECONDARYCONTACTSecondaryE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Fax Phone", Storage:="_SECONDARYCONTACTSecondaryFaxPhone", DbType:="NVarChar(32)")>  _
	Public Property SECONDARYCONTACTSecondaryFaxPhone() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryFaxPhone
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryFaxPhone, value) = false) Then
				Me._SECONDARYCONTACTSecondaryFaxPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary First Name", Storage:="_SECONDARYCONTACTSecondaryFirstName", DbType:="NVarChar(64)")>  _
	Public Property SECONDARYCONTACTSecondaryFirstName() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryFirstName
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryFirstName, value) = false) Then
				Me._SECONDARYCONTACTSecondaryFirstName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary ID/Status", Storage:="_SECONDARYCONTACTSecondaryID_Status", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryID_Status() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryID_Status
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryID_Status, value) = false) Then
				Me._SECONDARYCONTACTSecondaryID_Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Last Name", Storage:="_SECONDARYCONTACTSecondaryLastName", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryLastName() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryLastName
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryLastName, value) = false) Then
				Me._SECONDARYCONTACTSecondaryLastName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Manageuserid", Storage:="_SECONDARYCONTACTSecondaryManageuserid", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SECONDARYCONTACTSecondaryManageuserid() As System.Guid
		Get
			Return Me._SECONDARYCONTACTSecondaryManageuserid
		End Get
		Set
			If ((Me._SECONDARYCONTACTSecondaryManageuserid = value)  _
						= false) Then
				Me._SECONDARYCONTACTSecondaryManageuserid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Mobile Phone", Storage:="_SECONDARYCONTACTSecondaryMobilePhone", DbType:="NVarChar(32)")>  _
	Public Property SECONDARYCONTACTSecondaryMobilePhone() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryMobilePhone
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryMobilePhone, value) = false) Then
				Me._SECONDARYCONTACTSecondaryMobilePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Phone", Storage:="_SECONDARYCONTACTSecondaryPhone", DbType:="NVarChar(32)")>  _
	Public Property SECONDARYCONTACTSecondaryPhone() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryPhone
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryPhone, value) = false) Then
				Me._SECONDARYCONTACTSecondaryPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Phone Extension", Storage:="_SECONDARYCONTACTSecondaryPhoneExtension", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryPhoneExtension() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryPhoneExtension
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryPhoneExtension, value) = false) Then
				Me._SECONDARYCONTACTSecondaryPhoneExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary State", Storage:="_SECONDARYCONTACTSecondaryState", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryState() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryState
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryState, value) = false) Then
				Me._SECONDARYCONTACTSecondaryState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Title", Storage:="_SECONDARYCONTACTSecondaryTitle", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryTitle() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryTitle
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryTitle, value) = false) Then
				Me._SECONDARYCONTACTSecondaryTitle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Web Site", Storage:="_SECONDARYCONTACTSecondaryWebSite", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryWebSite() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryWebSite
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryWebSite, value) = false) Then
				Me._SECONDARYCONTACTSecondaryWebSite = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary ZIP Code", Storage:="_SECONDARYCONTACTSecondaryZIPCode", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryZIPCode() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryZIPCode
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryZIPCode, value) = false) Then
				Me._SECONDARYCONTACTSecondaryZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondaryid", Storage:="_SECONDARYCONTACTSecondaryid", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SECONDARYCONTACTSecondaryid() As System.Guid
		Get
			Return Me._SECONDARYCONTACTSecondaryid
		End Get
		Set
			If ((Me._SECONDARYCONTACTSecondaryid = value)  _
						= false) Then
				Me._SECONDARYCONTACTSecondaryid = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCDB")>  _
Partial Public Class VRP_SYNCDB
	
	Private _SYNCDBCreateDate As Date
	
	Private _SYNCDBCREATEUSERID As System.Guid
	
	Private _SYNCDBDATABASEID As System.Guid
	
	Private _SYNCDBDATABASENAME As String
	
	Private _SYNCDBDEVICE_SERIALNUM As String
	
	Private _SYNCDBEditDate As System.Nullable(Of Date)
	
	Private _SYNCDBEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBExpireDays As Short
	
	Private _SYNCDBExpired As Boolean
	
	Private _SYNCDBIncludeAttachments As Boolean
	
	Private _SYNCDBLastEditedBy As String
	
	Private _SYNCDBMAXATTACHBYTES As Integer
	
	Private _SYNCDBOriginalCreateDate As Date
	
	Private _SYNCDBPUB_SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBRecordCreator As String
	
	Private _SYNCDBSERVERNAME As String
	
	Private _SYNCDBSTATUSNUM As Byte
	
	Private _SYNCDBSyncAttachments As Boolean
	
	Private _SYNCDBSyncSupplementalFiles As Boolean
	
	Private _SYNCDBSYNC_SERVER_MACHINE_NAME As String
	
	Private _SYNCDBSYNC_SERVER_PORT As System.Nullable(Of Integer)
	
	Private _SYNCDBSYNCDBGUID As System.Guid
	
	Private _SYNCDBSYNCSETID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBTYPENUM As Byte
	
	Private _SYNCDBWEB_SERVER_ADDRESS As String
	
	Private _SYNCDBID As Short
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Create Date", Storage:="_SYNCDBCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property SYNCDBCreateDate() As Date
		Get
			Return Me._SYNCDBCreateDate
		End Get
		Set
			If ((Me._SYNCDBCreateDate = value)  _
						= false) Then
				Me._SYNCDBCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB CREATEUSERID", Storage:="_SYNCDBCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBCREATEUSERID() As System.Guid
		Get
			Return Me._SYNCDBCREATEUSERID
		End Get
		Set
			If ((Me._SYNCDBCREATEUSERID = value)  _
						= false) Then
				Me._SYNCDBCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB DATABASEID", Storage:="_SYNCDBDATABASEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBDATABASEID() As System.Guid
		Get
			Return Me._SYNCDBDATABASEID
		End Get
		Set
			If ((Me._SYNCDBDATABASEID = value)  _
						= false) Then
				Me._SYNCDBDATABASEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB DATABASENAME", Storage:="_SYNCDBDATABASENAME", DbType:="NVarChar(196) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCDBDATABASENAME() As String
		Get
			Return Me._SYNCDBDATABASENAME
		End Get
		Set
			If (String.Equals(Me._SYNCDBDATABASENAME, value) = false) Then
				Me._SYNCDBDATABASENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB DEVICE_SERIALNUM", Storage:="_SYNCDBDEVICE_SERIALNUM", DbType:="NVarChar(64)")>  _
	Public Property SYNCDBDEVICE_SERIALNUM() As String
		Get
			Return Me._SYNCDBDEVICE_SERIALNUM
		End Get
		Set
			If (String.Equals(Me._SYNCDBDEVICE_SERIALNUM, value) = false) Then
				Me._SYNCDBDEVICE_SERIALNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Edit Date", Storage:="_SYNCDBEditDate", DbType:="DateTime")>  _
	Public Property SYNCDBEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBEditDate
		End Get
		Set
			If (Me._SYNCDBEditDate.Equals(value) = false) Then
				Me._SYNCDBEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB EDITUSERID", Storage:="_SYNCDBEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBEDITUSERID
		End Get
		Set
			If (Me._SYNCDBEDITUSERID.Equals(value) = false) Then
				Me._SYNCDBEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Expire Days", Storage:="_SYNCDBExpireDays", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBExpireDays() As Short
		Get
			Return Me._SYNCDBExpireDays
		End Get
		Set
			If ((Me._SYNCDBExpireDays = value)  _
						= false) Then
				Me._SYNCDBExpireDays = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Expired", Storage:="_SYNCDBExpired", DbType:="Bit NOT NULL")>  _
	Public Property SYNCDBExpired() As Boolean
		Get
			Return Me._SYNCDBExpired
		End Get
		Set
			If ((Me._SYNCDBExpired = value)  _
						= false) Then
				Me._SYNCDBExpired = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Include Attachments", Storage:="_SYNCDBIncludeAttachments", DbType:="Bit NOT NULL")>  _
	Public Property SYNCDBIncludeAttachments() As Boolean
		Get
			Return Me._SYNCDBIncludeAttachments
		End Get
		Set
			If ((Me._SYNCDBIncludeAttachments = value)  _
						= false) Then
				Me._SYNCDBIncludeAttachments = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Last Edited By", Storage:="_SYNCDBLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property SYNCDBLastEditedBy() As String
		Get
			Return Me._SYNCDBLastEditedBy
		End Get
		Set
			If (String.Equals(Me._SYNCDBLastEditedBy, value) = false) Then
				Me._SYNCDBLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB MAXATTACHBYTES", Storage:="_SYNCDBMAXATTACHBYTES", DbType:="Int NOT NULL")>  _
	Public Property SYNCDBMAXATTACHBYTES() As Integer
		Get
			Return Me._SYNCDBMAXATTACHBYTES
		End Get
		Set
			If ((Me._SYNCDBMAXATTACHBYTES = value)  _
						= false) Then
				Me._SYNCDBMAXATTACHBYTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Original Create Date", Storage:="_SYNCDBOriginalCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property SYNCDBOriginalCreateDate() As Date
		Get
			Return Me._SYNCDBOriginalCreateDate
		End Get
		Set
			If ((Me._SYNCDBOriginalCreateDate = value)  _
						= false) Then
				Me._SYNCDBOriginalCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB PUB_SYNCDBGUID", Storage:="_SYNCDBPUB_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBPUB_SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBPUB_SYNCDBGUID
		End Get
		Set
			If (Me._SYNCDBPUB_SYNCDBGUID.Equals(value) = false) Then
				Me._SYNCDBPUB_SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Record Creator", Storage:="_SYNCDBRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCDBRecordCreator() As String
		Get
			Return Me._SYNCDBRecordCreator
		End Get
		Set
			If (String.Equals(Me._SYNCDBRecordCreator, value) = false) Then
				Me._SYNCDBRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SERVERNAME", Storage:="_SYNCDBSERVERNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCDBSERVERNAME() As String
		Get
			Return Me._SYNCDBSERVERNAME
		End Get
		Set
			If (String.Equals(Me._SYNCDBSERVERNAME, value) = false) Then
				Me._SYNCDBSERVERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB STATUSNUM", Storage:="_SYNCDBSTATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCDBSTATUSNUM() As Byte
		Get
			Return Me._SYNCDBSTATUSNUM
		End Get
		Set
			If ((Me._SYNCDBSTATUSNUM = value)  _
						= false) Then
				Me._SYNCDBSTATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Sync Attachments", Storage:="_SYNCDBSyncAttachments", DbType:="Bit NOT NULL")>  _
	Public Property SYNCDBSyncAttachments() As Boolean
		Get
			Return Me._SYNCDBSyncAttachments
		End Get
		Set
			If ((Me._SYNCDBSyncAttachments = value)  _
						= false) Then
				Me._SYNCDBSyncAttachments = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Sync Supplemental Files", Storage:="_SYNCDBSyncSupplementalFiles", DbType:="Bit NOT NULL")>  _
	Public Property SYNCDBSyncSupplementalFiles() As Boolean
		Get
			Return Me._SYNCDBSyncSupplementalFiles
		End Get
		Set
			If ((Me._SYNCDBSyncSupplementalFiles = value)  _
						= false) Then
				Me._SYNCDBSyncSupplementalFiles = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNC_SERVER_MACHINE_NAME", Storage:="_SYNCDBSYNC_SERVER_MACHINE_NAME", DbType:="NVarChar(64)")>  _
	Public Property SYNCDBSYNC_SERVER_MACHINE_NAME() As String
		Get
			Return Me._SYNCDBSYNC_SERVER_MACHINE_NAME
		End Get
		Set
			If (String.Equals(Me._SYNCDBSYNC_SERVER_MACHINE_NAME, value) = false) Then
				Me._SYNCDBSYNC_SERVER_MACHINE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNC_SERVER_PORT", Storage:="_SYNCDBSYNC_SERVER_PORT", DbType:="Int")>  _
	Public Property SYNCDBSYNC_SERVER_PORT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBSYNC_SERVER_PORT
		End Get
		Set
			If (Me._SYNCDBSYNC_SERVER_PORT.Equals(value) = false) Then
				Me._SYNCDBSYNC_SERVER_PORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNCDBGUID", Storage:="_SYNCDBSYNCDBGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBSYNCDBGUID() As System.Guid
		Get
			Return Me._SYNCDBSYNCDBGUID
		End Get
		Set
			If ((Me._SYNCDBSYNCDBGUID = value)  _
						= false) Then
				Me._SYNCDBSYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNCSETID", Storage:="_SYNCDBSYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBSYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBSYNCSETID
		End Get
		Set
			If (Me._SYNCDBSYNCSETID.Equals(value) = false) Then
				Me._SYNCDBSYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB TYPENUM", Storage:="_SYNCDBTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCDBTYPENUM() As Byte
		Get
			Return Me._SYNCDBTYPENUM
		End Get
		Set
			If ((Me._SYNCDBTYPENUM = value)  _
						= false) Then
				Me._SYNCDBTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB WEB_SERVER_ADDRESS", Storage:="_SYNCDBWEB_SERVER_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property SYNCDBWEB_SERVER_ADDRESS() As String
		Get
			Return Me._SYNCDBWEB_SERVER_ADDRESS
		End Get
		Set
			If (String.Equals(Me._SYNCDBWEB_SERVER_ADDRESS, value) = false) Then
				Me._SYNCDBWEB_SERVER_ADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBID() As Short
		Get
			Return Me._SYNCDBID
		End Get
		Set
			If ((Me._SYNCDBID = value)  _
						= false) Then
				Me._SYNCDBID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCDBMAP_SESSION")>  _
Partial Public Class VRP_SYNCDBMAP_SESSION
	
	Private _SYNCDBMAPPUBDBID As Short
	
	Private _SYNCDBMAPSUBDBID As Short
	
	Private _SYNCDBMAPSYNCDBMAPID As Short
	
	Private _SYNCDBMAPSESSIONROWATTACHMENT_ACCESS As System.Xml.Linq.XElement
	
	Private _SYNCDBMAPSESSIONROWNUM_ACTIVE As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_DELETEDROW As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_NEWMEMBER As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_NEWROW As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWSESSION_DATETIME As System.Nullable(Of Date)
	
	Private _SYNCDBMAPSESSIONSESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWSYNC_USER As System.Xml.Linq.XElement
	
	Private _SYNCDBMAPSESSIONSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP PUBDBID", Storage:="_SYNCDBMAPPUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPPUBDBID() As Short
		Get
			Return Me._SYNCDBMAPPUBDBID
		End Get
		Set
			If ((Me._SYNCDBMAPPUBDBID = value)  _
						= false) Then
				Me._SYNCDBMAPPUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SUBDBID", Storage:="_SYNCDBMAPSUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPSUBDBID() As Short
		Get
			Return Me._SYNCDBMAPSUBDBID
		End Get
		Set
			If ((Me._SYNCDBMAPSUBDBID = value)  _
						= false) Then
				Me._SYNCDBMAPSUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SYNCDBMAPID", Storage:="_SYNCDBMAPSYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPSYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPSYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPSYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPSYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW ATTACHMENT_ACCESS", Storage:="_SYNCDBMAPSESSIONROWATTACHMENT_ACCESS", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNCDBMAPSESSIONROWATTACHMENT_ACCESS() As System.Xml.Linq.XElement
		Get
			Return Me._SYNCDBMAPSESSIONROWATTACHMENT_ACCESS
		End Get
		Set
			If (Object.Equals(Me._SYNCDBMAPSESSIONROWATTACHMENT_ACCESS, value) = false) Then
				Me._SYNCDBMAPSESSIONROWATTACHMENT_ACCESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_ACTIVE", Storage:="_SYNCDBMAPSESSIONROWNUM_ACTIVE", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_ACTIVE() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_ACTIVE
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_ACTIVE.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_DELETEDMEMBER", Storage:="_SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_DELETEDROW", Storage:="_SYNCDBMAPSESSIONROWNUM_DELETEDROW", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_DELETEDROW() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_DELETEDROW
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_DELETEDROW.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_DELETEDROW = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_NEWMEMBER", Storage:="_SYNCDBMAPSESSIONROWNUM_NEWMEMBER", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_NEWMEMBER() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_NEWMEMBER
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_NEWMEMBER.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_NEWMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_NEWROW", Storage:="_SYNCDBMAPSESSIONROWNUM_NEWROW", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_NEWROW() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_NEWROW
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_NEWROW.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_NEWROW = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW SESSION_DATETIME", Storage:="_SYNCDBMAPSESSIONROWSESSION_DATETIME", DbType:="DateTime")>  _
	Public Property SYNCDBMAPSESSIONROWSESSION_DATETIME() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPSESSIONROWSESSION_DATETIME
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWSESSION_DATETIME.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWSESSION_DATETIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSION SESSIONID", Storage:="_SYNCDBMAPSESSIONSESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONSESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONSESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONSESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONSESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW SYNC_USER", Storage:="_SYNCDBMAPSESSIONROWSYNC_USER", DbType:="Xml", CanBeNull:=true, UpdateCheck:=UpdateCheck.Never)>  _
	Public Property SYNCDBMAPSESSIONROWSYNC_USER() As System.Xml.Linq.XElement
		Get
			Return Me._SYNCDBMAPSESSIONROWSYNC_USER
		End Get
		Set
			If (Object.Equals(Me._SYNCDBMAPSESSIONROWSYNC_USER, value) = false) Then
				Me._SYNCDBMAPSESSIONROWSYNC_USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSION SYNCDBMAPID", Storage:="_SYNCDBMAPSESSIONSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPSESSIONSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPSESSIONSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCDBMAPINFO")>  _
Partial Public Class VRP_SYNCDBMAPINFO
	
	Private _SYNCDBMAPPUBDBID As Short
	
	Private _SYNCDBMAPSUBDBID As Short
	
	Private _SYNCDBMAPSYNCDBMAPID As Short
	
	Private _SYNCDBMAPINFOISREPLAY As System.Nullable(Of Boolean)
	
	Private _SYNCDBMAPINFOLAST_ADSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_ATTEMPDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_SNAPSHOTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_SYNCSTATUS As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_UPDRECVDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFONEXT_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFONEXT_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFONEXT_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFORECV_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFORECV_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFORECV_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_RESULT As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP PUBDBID", Storage:="_SYNCDBMAPPUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPPUBDBID() As Short
		Get
			Return Me._SYNCDBMAPPUBDBID
		End Get
		Set
			If ((Me._SYNCDBMAPPUBDBID = value)  _
						= false) Then
				Me._SYNCDBMAPPUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SUBDBID", Storage:="_SYNCDBMAPSUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPSUBDBID() As Short
		Get
			Return Me._SYNCDBMAPSUBDBID
		End Get
		Set
			If ((Me._SYNCDBMAPSUBDBID = value)  _
						= false) Then
				Me._SYNCDBMAPSUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SYNCDBMAPID", Storage:="_SYNCDBMAPSYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPSYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPSYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPSYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPSYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO ISREPLAY", Storage:="_SYNCDBMAPINFOISREPLAY", DbType:="Bit")>  _
	Public Property SYNCDBMAPINFOISREPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBMAPINFOISREPLAY
		End Get
		Set
			If (Me._SYNCDBMAPINFOISREPLAY.Equals(value) = false) Then
				Me._SYNCDBMAPINFOISREPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_ADSYNCROWID", Storage:="_SYNCDBMAPINFOLAST_ADSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_ADSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_ADSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_ADSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_ADSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_ATTEMPDATE", Storage:="_SYNCDBMAPINFOLAST_ATTEMPDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_ATTEMPDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_ATTEMPDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_ATTEMPDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_ATTEMPDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_COMPLETEDATE", Storage:="_SYNCDBMAPINFOLAST_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_DELSYNCROWID", Storage:="_SYNCDBMAPINFOLAST_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SESSIONID", Storage:="_SYNCDBMAPINFOLAST_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SNAPSHOTDATE", Storage:="_SYNCDBMAPINFOLAST_SNAPSHOTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_SNAPSHOTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_SNAPSHOTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SNAPSHOTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SNAPSHOTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SUCCESSDATE", Storage:="_SYNCDBMAPINFOLAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SYNCSTATUS", Storage:="_SYNCDBMAPINFOLAST_SYNCSTATUS", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_SYNCSTATUS() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_SYNCSTATUS
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SYNCSTATUS.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SYNCSTATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_UPDRECVDATE", Storage:="_SYNCDBMAPINFOLAST_UPDRECVDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_UPDRECVDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_UPDRECVDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_UPDRECVDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_UPDRECVDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_UPDSENDDATE", Storage:="_SYNCDBMAPINFOLAST_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO NEXT_ADDSYNCROWID", Storage:="_SYNCDBMAPINFONEXT_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFONEXT_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFONEXT_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFONEXT_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFONEXT_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO NEXT_DELSYNCROWID", Storage:="_SYNCDBMAPINFONEXT_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFONEXT_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFONEXT_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFONEXT_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFONEXT_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO NEXT_UPDSENDDATE", Storage:="_SYNCDBMAPINFONEXT_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFONEXT_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFONEXT_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFONEXT_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFONEXT_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_ADDSYNCROWID", Storage:="_SYNCDBMAPINFORECV_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_ATTEMPTDATE", Storage:="_SYNCDBMAPINFORECV_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFORECV_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFORECV_ATTEMPTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_ATTEMPTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_ATTEMPTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_COMPLETEDATE", Storage:="_SYNCDBMAPINFORECV_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFORECV_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFORECV_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_DELSYNCROWID", Storage:="_SYNCDBMAPINFORECV_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_RESULT", Storage:="_SYNCDBMAPINFORECV_RESULT", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_RESULT
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_RESULT.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_SESSIONID", Storage:="_SYNCDBMAPINFORECV_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_SUCCESSDATE", Storage:="_SYNCDBMAPINFORECV_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFORECV_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFORECV_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO SYNCDBMAPID", Storage:="_SYNCDBMAPINFOSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPINFOSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPINFOSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPINFOSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCDBMAPINFO_HISTORY")>  _
Partial Public Class VRP_SYNCDBMAPINFO_HISTORY
	
	Private _SYNCDBMAPPUBDBID As Short
	
	Private _SYNCDBMAPSUBDBID As Short
	
	Private _SYNCDBMAPINFOHISTORYISREPLAY As System.Nullable(Of Boolean)
	
	Private _SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_RESULT As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_RESULT As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_UPDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP PUBDBID", Storage:="_SYNCDBMAPPUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPPUBDBID() As Short
		Get
			Return Me._SYNCDBMAPPUBDBID
		End Get
		Set
			If ((Me._SYNCDBMAPPUBDBID = value)  _
						= false) Then
				Me._SYNCDBMAPPUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SUBDBID", Storage:="_SYNCDBMAPSUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPSUBDBID() As Short
		Get
			Return Me._SYNCDBMAPSUBDBID
		End Get
		Set
			If ((Me._SYNCDBMAPSUBDBID = value)  _
						= false) Then
				Me._SYNCDBMAPSUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY ISREPLAY", Storage:="_SYNCDBMAPINFOHISTORYISREPLAY", DbType:="Bit")>  _
	Public Property SYNCDBMAPINFOHISTORYISREPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBMAPINFOHISTORYISREPLAY
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYISREPLAY.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYISREPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_ADDSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_ATTEMPTDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_COMPLETEDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_DELSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_RESULT", Storage:="_SYNCDBMAPINFOHISTORYLAST_RESULT", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_RESULT
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_RESULT.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_SESSIONID", Storage:="_SYNCDBMAPINFOHISTORYLAST_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_SNAPSHOTDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_SUCCESSDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_UPDSENDDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY SYNCDBMAPINFO_HISTORYID", Storage:="_SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY NEXT_ADDSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY NEXT_DELSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY NEXT_UPDSENDDATE", Storage:="_SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_ADDSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_ATTEMPTDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_COMPLETEDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_DELSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_RESULT", Storage:="_SYNCDBMAPINFOHISTORYRECV_RESULT", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_RESULT
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_RESULT.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_SESSIONID", Storage:="_SYNCDBMAPINFOHISTORYRECV_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_SUCCESSDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_UPDDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_UPDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_UPDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_UPDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_UPDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_UPDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY SYNCDBMAPID", Storage:="_SYNCDBMAPINFOHISTORYSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPINFOHISTORYSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPINFOHISTORYSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCROW_ADD")>  _
Partial Public Class VRP_SYNCROW_ADD
	
	Private _ACTIONDATE As Date
	
	Private _SYNCROWID As Integer
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _UserName As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="User Name", Storage:="_UserName", DbType:="NVarChar(128)")>  _
	Public Property UserName() As String
		Get
			Return Me._UserName
		End Get
		Set
			If (String.Equals(Me._UserName, value) = false) Then
				Me._UserName = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCROW_DELETE")>  _
Partial Public Class VRP_SYNCROW_DELETE
	
	Private _ACTIONDATE As Date
	
	Private _SYNCROWID As Integer
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ROWINFO As String
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _UserName As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWINFO", DbType:="NVarChar(512)")>  _
	Public Property ROWINFO() As String
		Get
			Return Me._ROWINFO
		End Get
		Set
			If (String.Equals(Me._ROWINFO, value) = false) Then
				Me._ROWINFO = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="User Name", Storage:="_UserName", DbType:="NVarChar(128)")>  _
	Public Property UserName() As String
		Get
			Return Me._UserName
		End Get
		Set
			If (String.Equals(Me._UserName, value) = false) Then
				Me._UserName = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCROW_EXCEPTION")>  _
Partial Public Class VRP_SYNCROW_EXCEPTION
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _SYNCDBMAPID As Short
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As Short
	
	Private _TABLEID As System.Guid
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _DB_ERRORNUM As System.Nullable(Of Integer)
	
	Private _DETAILS As String
	
	Private _STATUSNUM As Byte
	
	Private _REF_ROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DB_ERRORNUM", DbType:="Int")>  _
	Public Property DB_ERRORNUM() As System.Nullable(Of Integer)
		Get
			Return Me._DB_ERRORNUM
		End Get
		Set
			If (Me._DB_ERRORNUM.Equals(value) = false) Then
				Me._DB_ERRORNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1000)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_ROWEXCEPTIONID", DbType:="Int")>  _
	Public Property REF_ROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._REF_ROWEXCEPTIONID
		End Get
		Set
			If (Me._REF_ROWEXCEPTIONID.Equals(value) = false) Then
				Me._REF_ROWEXCEPTIONID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCROW_FILE")>  _
Partial Public Class VRP_SYNCROW_FILE
	
	Private _SYNCROWID As Integer
	
	Private _APPLYDATE As Date
	
	Private _ACTIONDATE As Date
	
	Private _ACTIONCODE As String
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _FILENAME As String
	
	Private _FOLDERID As Byte
	
	Private _PATH As String
	
	Private _EXTENSIONS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLYDATE() As Date
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If ((Me._APPLYDATE = value)  _
						= false) Then
				Me._APPLYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="NVarChar(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512) NOT NULL", CanBeNull:=false)>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me._FILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt NOT NULL")>  _
	Public Property FOLDERID() As Byte
		Get
			Return Me._FOLDERID
		End Get
		Set
			If ((Me._FOLDERID = value)  _
						= false) Then
				Me._FOLDERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PATH", DbType:="NVarChar(256)")>  _
	Public Property PATH() As String
		Get
			Return Me._PATH
		End Get
		Set
			If (String.Equals(Me._PATH, value) = false) Then
				Me._PATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSIONS", DbType:="NVarChar(1024)")>  _
	Public Property EXTENSIONS() As String
		Get
			Return Me._EXTENSIONS
		End Get
		Set
			If (String.Equals(Me._EXTENSIONS, value) = false) Then
				Me._EXTENSIONS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCROW_UPDATE")>  _
Partial Public Class VRP_SYNCROW_UPDATE
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _SYNCROWID As Integer
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMNLUID As Short
	
	Private _COLUMNNAME As String
	
	Private _COLUMNDISPLAY As String
	
	Private _ACTIONDATE As Date
	
	Private _APPLYDATE As Date
	
	Private _COLUMNVALUE As String
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _UserName As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt NOT NULL")>  _
	Public Property COLUMNLUID() As Short
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If ((Me._COLUMNLUID = value)  _
						= false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNDISPLAY", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNDISPLAY() As String
		Get
			Return Me._COLUMNDISPLAY
		End Get
		Set
			If (String.Equals(Me._COLUMNDISPLAY, value) = false) Then
				Me._COLUMNDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLYDATE() As Date
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If ((Me._APPLYDATE = value)  _
						= false) Then
				Me._APPLYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNVALUE", DbType:="NVarChar(500)")>  _
	Public Property COLUMNVALUE() As String
		Get
			Return Me._COLUMNVALUE
		End Get
		Set
			If (String.Equals(Me._COLUMNVALUE, value) = false) Then
				Me._COLUMNVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="User Name", Storage:="_UserName", DbType:="NVarChar(128)")>  _
	Public Property UserName() As String
		Get
			Return Me._UserName
		End Get
		Set
			If (String.Equals(Me._UserName, value) = false) Then
				Me._UserName = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCSET")>  _
Partial Public Class VRP_SYNCSET
	
	Private _SYNCSETAllUsers As Boolean
	
	Private _SYNCSETCreateDate As Date
	
	Private _SYNCSETCREATEUSERID As System.Guid
	
	Private _SYNCSETDESCRIPTION As String
	
	Private _SYNCSETEditDate As System.Nullable(Of Date)
	
	Private _SYNCSETEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETLastEditedBy As String
	
	Private _SYNCSETMANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETNAME As String
	
	Private _SYNCSETRecordCreator As String
	
	Private _SYNCSETRecordManager As String
	
	Private _SYNCSETSYNCSETID As System.Guid
	
	Private _SYNCSETTYPENUM As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET All Users", Storage:="_SYNCSETAllUsers", DbType:="Bit NOT NULL")>  _
	Public Property SYNCSETAllUsers() As Boolean
		Get
			Return Me._SYNCSETAllUsers
		End Get
		Set
			If ((Me._SYNCSETAllUsers = value)  _
						= false) Then
				Me._SYNCSETAllUsers = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Create Date", Storage:="_SYNCSETCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property SYNCSETCreateDate() As Date
		Get
			Return Me._SYNCSETCreateDate
		End Get
		Set
			If ((Me._SYNCSETCreateDate = value)  _
						= false) Then
				Me._SYNCSETCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET CREATEUSERID", Storage:="_SYNCSETCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETCREATEUSERID() As System.Guid
		Get
			Return Me._SYNCSETCREATEUSERID
		End Get
		Set
			If ((Me._SYNCSETCREATEUSERID = value)  _
						= false) Then
				Me._SYNCSETCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET DESCRIPTION", Storage:="_SYNCSETDESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property SYNCSETDESCRIPTION() As String
		Get
			Return Me._SYNCSETDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._SYNCSETDESCRIPTION, value) = false) Then
				Me._SYNCSETDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Edit Date", Storage:="_SYNCSETEditDate", DbType:="DateTime")>  _
	Public Property SYNCSETEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCSETEditDate
		End Get
		Set
			If (Me._SYNCSETEditDate.Equals(value) = false) Then
				Me._SYNCSETEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET EDITUSERID", Storage:="_SYNCSETEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETEDITUSERID
		End Get
		Set
			If (Me._SYNCSETEDITUSERID.Equals(value) = false) Then
				Me._SYNCSETEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Last Edited By", Storage:="_SYNCSETLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property SYNCSETLastEditedBy() As String
		Get
			Return Me._SYNCSETLastEditedBy
		End Get
		Set
			If (String.Equals(Me._SYNCSETLastEditedBy, value) = false) Then
				Me._SYNCSETLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET MANAGEUSERID", Storage:="_SYNCSETMANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETMANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETMANAGEUSERID
		End Get
		Set
			If (Me._SYNCSETMANAGEUSERID.Equals(value) = false) Then
				Me._SYNCSETMANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET NAME", Storage:="_SYNCSETNAME", DbType:="NVarChar(312) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCSETNAME() As String
		Get
			Return Me._SYNCSETNAME
		End Get
		Set
			If (String.Equals(Me._SYNCSETNAME, value) = false) Then
				Me._SYNCSETNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Record Creator", Storage:="_SYNCSETRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCSETRecordCreator() As String
		Get
			Return Me._SYNCSETRecordCreator
		End Get
		Set
			If (String.Equals(Me._SYNCSETRecordCreator, value) = false) Then
				Me._SYNCSETRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Record Manager", Storage:="_SYNCSETRecordManager", DbType:="NVarChar(128)")>  _
	Public Property SYNCSETRecordManager() As String
		Get
			Return Me._SYNCSETRecordManager
		End Get
		Set
			If (String.Equals(Me._SYNCSETRecordManager, value) = false) Then
				Me._SYNCSETRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET SYNCSETID", Storage:="_SYNCSETSYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETSYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETSYNCSETID
		End Get
		Set
			If ((Me._SYNCSETSYNCSETID = value)  _
						= false) Then
				Me._SYNCSETSYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET TYPENUM", Storage:="_SYNCSETTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCSETTYPENUM() As Byte
		Get
			Return Me._SYNCSETTYPENUM
		End Get
		Set
			If ((Me._SYNCSETTYPENUM = value)  _
						= false) Then
				Me._SYNCSETTYPENUM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCSET_ACCESSOR")>  _
Partial Public Class VRP_SYNCSET_ACCESSOR
	
	Private _SYNCSETACCESSORACCESSORID As System.Guid
	
	Private _SYNCSETACCESSORCreateDate As Date
	
	Private _SYNCSETACCESSORCREATEUSERID As System.Guid
	
	Private _SYNCSETACCESSORRecordCreator As String
	
	Private _SYNCSETACCESSORSYNCSETID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR ACCESSORID", Storage:="_SYNCSETACCESSORACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETACCESSORACCESSORID() As System.Guid
		Get
			Return Me._SYNCSETACCESSORACCESSORID
		End Get
		Set
			If ((Me._SYNCSETACCESSORACCESSORID = value)  _
						= false) Then
				Me._SYNCSETACCESSORACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR Create Date", Storage:="_SYNCSETACCESSORCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property SYNCSETACCESSORCreateDate() As Date
		Get
			Return Me._SYNCSETACCESSORCreateDate
		End Get
		Set
			If ((Me._SYNCSETACCESSORCreateDate = value)  _
						= false) Then
				Me._SYNCSETACCESSORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR CREATEUSERID", Storage:="_SYNCSETACCESSORCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETACCESSORCREATEUSERID() As System.Guid
		Get
			Return Me._SYNCSETACCESSORCREATEUSERID
		End Get
		Set
			If ((Me._SYNCSETACCESSORCREATEUSERID = value)  _
						= false) Then
				Me._SYNCSETACCESSORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR Record Creator", Storage:="_SYNCSETACCESSORRecordCreator", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCSETACCESSORRecordCreator() As String
		Get
			Return Me._SYNCSETACCESSORRecordCreator
		End Get
		Set
			If (String.Equals(Me._SYNCSETACCESSORRecordCreator, value) = false) Then
				Me._SYNCSETACCESSORRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR SYNCSETID", Storage:="_SYNCSETACCESSORSYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETACCESSORSYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETACCESSORSYNCSETID
		End Get
		Set
			If ((Me._SYNCSETACCESSORSYNCSETID = value)  _
						= false) Then
				Me._SYNCSETACCESSORSYNCSETID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_SYNCSUBSCRIPTION")>  _
Partial Public Class VRP_SYNCSUBSCRIPTION
	
	Private _SYNCSUBSCRIPTIONCONTACTID As System.Guid
	
	Private _SYNCSUBSCRIPTIONSUBDBGUID As System.Nullable(Of System.Guid)
	
	Private _SYNCSUBSCRIPTIONSubscribeDate As System.Nullable(Of Date)
	
	Private _SYNCSUBSCRIPTIONSubscribedBy As System.Nullable(Of System.Guid)
	
	Private _SYNCSUBSCRIPTIONSUBSOURCE As Byte
	
	Private _SYNCSUBSCRIPTIONSUBSTATUS As Byte
	
	Private _SYNCSUBSCRIPTIONSYNCSETID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION CONTACTID", Storage:="_SYNCSUBSCRIPTIONCONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSUBSCRIPTIONCONTACTID() As System.Guid
		Get
			Return Me._SYNCSUBSCRIPTIONCONTACTID
		End Get
		Set
			If ((Me._SYNCSUBSCRIPTIONCONTACTID = value)  _
						= false) Then
				Me._SYNCSUBSCRIPTIONCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SUBDBGUID", Storage:="_SYNCSUBSCRIPTIONSUBDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSUBSCRIPTIONSUBDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSUBSCRIPTIONSUBDBGUID
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSUBDBGUID.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSUBDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION Subscribe Date", Storage:="_SYNCSUBSCRIPTIONSubscribeDate", DbType:="DateTime")>  _
	Public Property SYNCSUBSCRIPTIONSubscribeDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCSUBSCRIPTIONSubscribeDate
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSubscribeDate.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSubscribeDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION Subscribed By", Storage:="_SYNCSUBSCRIPTIONSubscribedBy", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSUBSCRIPTIONSubscribedBy() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSUBSCRIPTIONSubscribedBy
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSubscribedBy.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSubscribedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SUBSOURCE", Storage:="_SYNCSUBSCRIPTIONSUBSOURCE", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCSUBSCRIPTIONSUBSOURCE() As Byte
		Get
			Return Me._SYNCSUBSCRIPTIONSUBSOURCE
		End Get
		Set
			If ((Me._SYNCSUBSCRIPTIONSUBSOURCE = value)  _
						= false) Then
				Me._SYNCSUBSCRIPTIONSUBSOURCE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SUBSTATUS", Storage:="_SYNCSUBSCRIPTIONSUBSTATUS", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCSUBSCRIPTIONSUBSTATUS() As Byte
		Get
			Return Me._SYNCSUBSCRIPTIONSUBSTATUS
		End Get
		Set
			If ((Me._SYNCSUBSCRIPTIONSUBSTATUS = value)  _
						= false) Then
				Me._SYNCSUBSCRIPTIONSUBSTATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SYNCSETID", Storage:="_SYNCSUBSCRIPTIONSYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSUBSCRIPTIONSYNCSETID() As System.Guid
		Get
			Return Me._SYNCSUBSCRIPTIONSYNCSETID
		End Get
		Set
			If ((Me._SYNCSUBSCRIPTIONSYNCSETID = value)  _
						= false) Then
				Me._SYNCSUBSCRIPTIONSYNCSETID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_TABLE")>  _
Partial Public Class VRP_TABLE
	
	Private _TABLEID As System.Guid
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _TABLEDOMAIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAIN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDOMAIN() As String
		Get
			Return Me._TABLEDOMAIN
		End Get
		Set
			If (String.Equals(Me._TABLEDOMAIN, value) = false) Then
				Me._TABLEDOMAIN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_TEAM")>  _
Partial Public Class VRP_TEAM
	
	Private _ACCESSORACCESSORID As System.Guid
	
	Private _ACCESSORCreateDate As Date
	
	Private _ACCESSORCREATEUSERID As System.Guid
	
	Private _ACCESSOREditDate As System.Nullable(Of Date)
	
	Private _ACCESSOREDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORName As String
	
	Private _ACCESSORStatusnum As Byte
	
	Private _ACCESSORTypenum As Byte
	
	Private _TEAMDESCRIPTION As String
	
	Private _TEAMISDISPLAYED As Boolean
	
	Private _TEAMISSYSTEM As Boolean
	
	Private _TEAMTEAMID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACCESSORID", Storage:="_ACCESSORACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORACCESSORID
		End Get
		Set
			If ((Me._ACCESSORACCESSORID = value)  _
						= false) Then
				Me._ACCESSORACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Create Date", Storage:="_ACCESSORCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property ACCESSORCreateDate() As Date
		Get
			Return Me._ACCESSORCreateDate
		End Get
		Set
			If ((Me._ACCESSORCreateDate = value)  _
						= false) Then
				Me._ACCESSORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR CREATEUSERID", Storage:="_ACCESSORCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORCREATEUSERID() As System.Guid
		Get
			Return Me._ACCESSORCREATEUSERID
		End Get
		Set
			If ((Me._ACCESSORCREATEUSERID = value)  _
						= false) Then
				Me._ACCESSORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Edit Date", Storage:="_ACCESSOREditDate", DbType:="DateTime")>  _
	Public Property ACCESSOREditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSOREditDate
		End Get
		Set
			If (Me._ACCESSOREditDate.Equals(value) = false) Then
				Me._ACCESSOREditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR EDITUSERID", Storage:="_ACCESSOREDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOREDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOREDITUSERID
		End Get
		Set
			If (Me._ACCESSOREDITUSERID.Equals(value) = false) Then
				Me._ACCESSOREDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Name", Storage:="_ACCESSORName", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESSORName() As String
		Get
			Return Me._ACCESSORName
		End Get
		Set
			If (String.Equals(Me._ACCESSORName, value) = false) Then
				Me._ACCESSORName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Statusnum", Storage:="_ACCESSORStatusnum", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSORStatusnum() As Byte
		Get
			Return Me._ACCESSORStatusnum
		End Get
		Set
			If ((Me._ACCESSORStatusnum = value)  _
						= false) Then
				Me._ACCESSORStatusnum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Typenum", Storage:="_ACCESSORTypenum", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSORTypenum() As Byte
		Get
			Return Me._ACCESSORTypenum
		End Get
		Set
			If ((Me._ACCESSORTypenum = value)  _
						= false) Then
				Me._ACCESSORTypenum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM DESCRIPTION", Storage:="_TEAMDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property TEAMDESCRIPTION() As String
		Get
			Return Me._TEAMDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._TEAMDESCRIPTION, value) = false) Then
				Me._TEAMDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM ISDISPLAYED", Storage:="_TEAMISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property TEAMISDISPLAYED() As Boolean
		Get
			Return Me._TEAMISDISPLAYED
		End Get
		Set
			If ((Me._TEAMISDISPLAYED = value)  _
						= false) Then
				Me._TEAMISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM ISSYSTEM", Storage:="_TEAMISSYSTEM", DbType:="Bit NOT NULL")>  _
	Public Property TEAMISSYSTEM() As Boolean
		Get
			Return Me._TEAMISSYSTEM
		End Get
		Set
			If ((Me._TEAMISSYSTEM = value)  _
						= false) Then
				Me._TEAMISSYSTEM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM TEAMID", Storage:="_TEAMTEAMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMTEAMID() As System.Guid
		Get
			Return Me._TEAMTEAMID
		End Get
		Set
			If ((Me._TEAMTEAMID = value)  _
						= false) Then
				Me._TEAMTEAMID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_TEAM_USER")>  _
Partial Public Class VRP_TEAM_USER
	
	Private _TEAMUSERCREATEDATE As Date
	
	Private _TEAMUSERCREATEUSERID As System.Guid
	
	Private _TEAMUSERTEAMID As System.Guid
	
	Private _TEAMUSERUSERID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER CREATEDATE", Storage:="_TEAMUSERCREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property TEAMUSERCREATEDATE() As Date
		Get
			Return Me._TEAMUSERCREATEDATE
		End Get
		Set
			If ((Me._TEAMUSERCREATEDATE = value)  _
						= false) Then
				Me._TEAMUSERCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER CREATEUSERID", Storage:="_TEAMUSERCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMUSERCREATEUSERID() As System.Guid
		Get
			Return Me._TEAMUSERCREATEUSERID
		End Get
		Set
			If ((Me._TEAMUSERCREATEUSERID = value)  _
						= false) Then
				Me._TEAMUSERCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER TEAMID", Storage:="_TEAMUSERTEAMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMUSERTEAMID() As System.Guid
		Get
			Return Me._TEAMUSERTEAMID
		End Get
		Set
			If ((Me._TEAMUSERTEAMID = value)  _
						= false) Then
				Me._TEAMUSERTEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER USERID", Storage:="_TEAMUSERUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMUSERUSERID() As System.Guid
		Get
			Return Me._TEAMUSERUSERID
		End Get
		Set
			If ((Me._TEAMUSERUSERID = value)  _
						= false) Then
				Me._TEAMUSERUSERID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VRP_USER")>  _
Partial Public Class VRP_USER
	
	Private _ACCESSORACCESSORID As System.Guid
	
	Private _ACCESSORCreateDate As Date
	
	Private _ACCESSORCREATEUSERID As System.Guid
	
	Private _ACCESSOREditDate As System.Nullable(Of Date)
	
	Private _ACCESSOREDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORName As String
	
	Private _ACCESSORStatusnum As Byte
	
	Private _ACCESSORTypenum As Byte
	
	Private _USERAllowPasswordChange As Boolean
	
	Private _USERCaseSensitivePassword As Boolean
	
	Private _USERCONTACTID As System.Guid
	
	Private _USERForcePasswordChange As Boolean
	
	Private _USERLAST_LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _USERLOGIN As String
	
	Private _USERPasswordNeverExpires As Boolean
	
	Private _USERROLEID As System.Guid
	
	Private _USERUSEPERSONALFILES As Boolean
	
	Private _USERUSERID As System.Guid
	
	Private _USERUTC_OFFSET As System.Nullable(Of Short)
	
	Private _USERVerified As Boolean
	
	Private _ROLECREATEDATE As Date
	
	Private _ROLECREATEUSERID As System.Guid
	
	Private _ROLEDESCRIPTION As String
	
	Private _ROLEDISPLAYNAME As String
	
	Private _ROLEEDITDATE As System.Nullable(Of Date)
	
	Private _ROLEEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ROLENAME As String
	
	Private _ROLEROLEID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACCESSORID", Storage:="_ACCESSORACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORACCESSORID
		End Get
		Set
			If ((Me._ACCESSORACCESSORID = value)  _
						= false) Then
				Me._ACCESSORACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Create Date", Storage:="_ACCESSORCreateDate", DbType:="DateTime NOT NULL")>  _
	Public Property ACCESSORCreateDate() As Date
		Get
			Return Me._ACCESSORCreateDate
		End Get
		Set
			If ((Me._ACCESSORCreateDate = value)  _
						= false) Then
				Me._ACCESSORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR CREATEUSERID", Storage:="_ACCESSORCREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORCREATEUSERID() As System.Guid
		Get
			Return Me._ACCESSORCREATEUSERID
		End Get
		Set
			If ((Me._ACCESSORCREATEUSERID = value)  _
						= false) Then
				Me._ACCESSORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Edit Date", Storage:="_ACCESSOREditDate", DbType:="DateTime")>  _
	Public Property ACCESSOREditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSOREditDate
		End Get
		Set
			If (Me._ACCESSOREditDate.Equals(value) = false) Then
				Me._ACCESSOREditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR EDITUSERID", Storage:="_ACCESSOREDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOREDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOREDITUSERID
		End Get
		Set
			If (Me._ACCESSOREDITUSERID.Equals(value) = false) Then
				Me._ACCESSOREDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Name", Storage:="_ACCESSORName", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESSORName() As String
		Get
			Return Me._ACCESSORName
		End Get
		Set
			If (String.Equals(Me._ACCESSORName, value) = false) Then
				Me._ACCESSORName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Statusnum", Storage:="_ACCESSORStatusnum", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSORStatusnum() As Byte
		Get
			Return Me._ACCESSORStatusnum
		End Get
		Set
			If ((Me._ACCESSORStatusnum = value)  _
						= false) Then
				Me._ACCESSORStatusnum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Typenum", Storage:="_ACCESSORTypenum", DbType:="TinyInt NOT NULL")>  _
	Public Property ACCESSORTypenum() As Byte
		Get
			Return Me._ACCESSORTypenum
		End Get
		Set
			If ((Me._ACCESSORTypenum = value)  _
						= false) Then
				Me._ACCESSORTypenum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Allow Password Change", Storage:="_USERAllowPasswordChange", DbType:="Bit NOT NULL")>  _
	Public Property USERAllowPasswordChange() As Boolean
		Get
			Return Me._USERAllowPasswordChange
		End Get
		Set
			If ((Me._USERAllowPasswordChange = value)  _
						= false) Then
				Me._USERAllowPasswordChange = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Case Sensitive Password", Storage:="_USERCaseSensitivePassword", DbType:="Bit NOT NULL")>  _
	Public Property USERCaseSensitivePassword() As Boolean
		Get
			Return Me._USERCaseSensitivePassword
		End Get
		Set
			If ((Me._USERCaseSensitivePassword = value)  _
						= false) Then
				Me._USERCaseSensitivePassword = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER CONTACTID", Storage:="_USERCONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERCONTACTID() As System.Guid
		Get
			Return Me._USERCONTACTID
		End Get
		Set
			If ((Me._USERCONTACTID = value)  _
						= false) Then
				Me._USERCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Force Password Change", Storage:="_USERForcePasswordChange", DbType:="Bit NOT NULL")>  _
	Public Property USERForcePasswordChange() As Boolean
		Get
			Return Me._USERForcePasswordChange
		End Get
		Set
			If ((Me._USERForcePasswordChange = value)  _
						= false) Then
				Me._USERForcePasswordChange = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER LAST_LOGONHISTORYID", Storage:="_USERLAST_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property USERLAST_LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERLAST_LOGONHISTORYID
		End Get
		Set
			If (Me._USERLAST_LOGONHISTORYID.Equals(value) = false) Then
				Me._USERLAST_LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER LOGIN", Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Password Never Expires", Storage:="_USERPasswordNeverExpires", DbType:="Bit NOT NULL")>  _
	Public Property USERPasswordNeverExpires() As Boolean
		Get
			Return Me._USERPasswordNeverExpires
		End Get
		Set
			If ((Me._USERPasswordNeverExpires = value)  _
						= false) Then
				Me._USERPasswordNeverExpires = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER ROLEID", Storage:="_USERROLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERROLEID() As System.Guid
		Get
			Return Me._USERROLEID
		End Get
		Set
			If ((Me._USERROLEID = value)  _
						= false) Then
				Me._USERROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER USEPERSONALFILES", Storage:="_USERUSEPERSONALFILES", DbType:="Bit NOT NULL")>  _
	Public Property USERUSEPERSONALFILES() As Boolean
		Get
			Return Me._USERUSEPERSONALFILES
		End Get
		Set
			If ((Me._USERUSEPERSONALFILES = value)  _
						= false) Then
				Me._USERUSEPERSONALFILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER USERID", Storage:="_USERUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERUSERID() As System.Guid
		Get
			Return Me._USERUSERID
		End Get
		Set
			If ((Me._USERUSERID = value)  _
						= false) Then
				Me._USERUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER UTC_OFFSET", Storage:="_USERUTC_OFFSET", DbType:="SmallInt")>  _
	Public Property USERUTC_OFFSET() As System.Nullable(Of Short)
		Get
			Return Me._USERUTC_OFFSET
		End Get
		Set
			If (Me._USERUTC_OFFSET.Equals(value) = false) Then
				Me._USERUTC_OFFSET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Verified", Storage:="_USERVerified", DbType:="Bit NOT NULL")>  _
	Public Property USERVerified() As Boolean
		Get
			Return Me._USERVerified
		End Get
		Set
			If ((Me._USERVerified = value)  _
						= false) Then
				Me._USERVerified = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE CREATEDATE", Storage:="_ROLECREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ROLECREATEDATE() As Date
		Get
			Return Me._ROLECREATEDATE
		End Get
		Set
			If ((Me._ROLECREATEDATE = value)  _
						= false) Then
				Me._ROLECREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE CREATEUSERID", Storage:="_ROLECREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROLECREATEUSERID() As System.Guid
		Get
			Return Me._ROLECREATEUSERID
		End Get
		Set
			If ((Me._ROLECREATEUSERID = value)  _
						= false) Then
				Me._ROLECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE DESCRIPTION", Storage:="_ROLEDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property ROLEDESCRIPTION() As String
		Get
			Return Me._ROLEDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ROLEDESCRIPTION, value) = false) Then
				Me._ROLEDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE DISPLAYNAME", Storage:="_ROLEDISPLAYNAME", DbType:="NVarChar(96) NOT NULL", CanBeNull:=false)>  _
	Public Property ROLEDISPLAYNAME() As String
		Get
			Return Me._ROLEDISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._ROLEDISPLAYNAME, value) = false) Then
				Me._ROLEDISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE EDITDATE", Storage:="_ROLEEDITDATE", DbType:="DateTime")>  _
	Public Property ROLEEDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._ROLEEDITDATE
		End Get
		Set
			If (Me._ROLEEDITDATE.Equals(value) = false) Then
				Me._ROLEEDITDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE EDITUSERID", Storage:="_ROLEEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEEDITUSERID
		End Get
		Set
			If (Me._ROLEEDITUSERID.Equals(value) = false) Then
				Me._ROLEEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE NAME", Storage:="_ROLENAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE ROLEID", Storage:="_ROLEROLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROLEROLEID() As System.Guid
		Get
			Return Me._ROLEROLEID
		End Get
		Set
			If ((Me._ROLEROLEID = value)  _
						= false) Then
				Me._ROLEROLEID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_COMPANY_ACCESS")>  _
Partial Public Class VWT_COMPANY_ACCESS
	
	Private _COMPANYID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_COMPANY_BUSINESSLINK")>  _
Partial Public Class VWT_COMPANY_BUSINESSLINK
	
	Private _COMPANYID As System.Guid
	
	Private _IS_ABL_LINKED As System.Nullable(Of Boolean)
	
	Private _Some_Company_Name_ID As System.Nullable(Of Integer)
	
	Private _Some_Company_Name_RT As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ABL_LINKED", DbType:="Bit")>  _
	Public Property IS_ABL_LINKED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ABL_LINKED
		End Get
		Set
			If (Me._IS_ABL_LINKED.Equals(value) = false) Then
				Me._IS_ABL_LINKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Some_Company_Name_ID", DbType:="Int")>  _
	Public Property Some_Company_Name_ID() As System.Nullable(Of Integer)
		Get
			Return Me._Some_Company_Name_ID
		End Get
		Set
			If (Me._Some_Company_Name_ID.Equals(value) = false) Then
				Me._Some_Company_Name_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Some_Company_Name_RT", DbType:="NVarChar(50)")>  _
	Public Property Some_Company_Name_RT() As String
		Get
			Return Me._Some_Company_Name_RT
		End Get
		Set
			If (String.Equals(Me._Some_Company_Name_RT, value) = false) Then
				Me._Some_Company_Name_RT = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_CONTACT_ACCESS")>  _
Partial Public Class VWT_CONTACT_ACCESS
	
	Private _CONTACTID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_CONTACT_BUSINESSLINK")>  _
Partial Public Class VWT_CONTACT_BUSINESSLINK
	
	Private _CONTACTID As System.Guid
	
	Private _IS_ABL_LINKED As System.Nullable(Of Boolean)
	
	Private _Some_Company_Name_ID As System.Nullable(Of Integer)
	
	Private _Some_Company_Name_RT As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ABL_LINKED", DbType:="Bit")>  _
	Public Property IS_ABL_LINKED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ABL_LINKED
		End Get
		Set
			If (Me._IS_ABL_LINKED.Equals(value) = false) Then
				Me._IS_ABL_LINKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Some_Company_Name_ID", DbType:="Int")>  _
	Public Property Some_Company_Name_ID() As System.Nullable(Of Integer)
		Get
			Return Me._Some_Company_Name_ID
		End Get
		Set
			If (Me._Some_Company_Name_ID.Equals(value) = false) Then
				Me._Some_Company_Name_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Some_Company_Name_RT", DbType:="NVarChar(50)")>  _
	Public Property Some_Company_Name_RT() As String
		Get
			Return Me._Some_Company_Name_RT
		End Get
		Set
			If (String.Equals(Me._Some_Company_Name_RT, value) = false) Then
				Me._Some_Company_Name_RT = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_GROUP_ACCESS")>  _
Partial Public Class VWT_GROUP_ACCESS
	
	Private _GROUPID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_OPPORTUNITY_ACCESS")>  _
Partial Public Class VWT_OPPORTUNITY_ACCESS
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_OPPORTUNITY_ASSOCIATED_DATA")>  _
Partial Public Class VWT_OPPORTUNITY_ASSOCIATED_DATA
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _CONTACT As String
	
	Private _COMPANY As String
	
	Private _PRODUCT As String
	
	Private _ASSOCIATED_WITH As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT", DbType:="NVarChar(450)")>  _
	Public Property CONTACT() As String
		Get
			Return Me._CONTACT
		End Get
		Set
			If (String.Equals(Me._CONTACT, value) = false) Then
				Me._CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(450)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCT", DbType:="NVarChar(450)")>  _
	Public Property PRODUCT() As String
		Get
			Return Me._PRODUCT
		End Get
		Set
			If (String.Equals(Me._PRODUCT, value) = false) Then
				Me._PRODUCT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATED_WITH", DbType:="NVarChar(2000)")>  _
	Public Property ASSOCIATED_WITH() As String
		Get
			Return Me._ASSOCIATED_WITH
		End Get
		Set
			If (String.Equals(Me._ASSOCIATED_WITH, value) = false) Then
				Me._ASSOCIATED_WITH = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_OPPORTUNITY_STAGE_PROCESS")>  _
Partial Public Class VWT_OPPORTUNITY_STAGE_PROCESS
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _STAGE As String
	
	Private _PROCESS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property STAGE() As String
		Get
			Return Me._STAGE
		End Get
		Set
			If (String.Equals(Me._STAGE, value) = false) Then
				Me._STAGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESS", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PROCESS() As String
		Get
			Return Me._PROCESS
		End Get
		Set
			If (String.Equals(Me._PROCESS, value) = false) Then
				Me._PROCESS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_SECONDARY_CONTACT")>  _
Partial Public Class VWT_SECONDARY_CONTACT
	
	Private _CONTACTID As System.Guid
	
	Private _SECONDARYID As System.Guid
	
	Private _SECONDARY_CONTACT As String
	
	Private _SECONDARY_LAST_NAME As String
	
	Private _SECONDARY_FIRST_NAME As String
	
	Private _SECONDARY_COMPANY As String
	
	Private _SECONDARY_TITLE As String
	
	Private _SECONDARY_IDSTATUS As String
	
	Private _SECONDARY_IS_PRIVATE As Boolean
	
	Private _SECONDARY_WEBSITE As String
	
	Private _SECONDARY_PHONE As String
	
	Private _SECONDARY_PHONE_EXTENSION As String
	
	Private _SECONDARY_MOBILE_PHONE As String
	
	Private _SECONDARY_FAX_PHONE As String
	
	Private _SECONDARY_EMAIL As String
	
	Private _SECONDARY_ADDRESS_1 As String
	
	Private _SECONDARY_ADDRESS_2 As String
	
	Private _SECONDARY_ADDRESS_3 As String
	
	Private _SECONDARY_CITY As String
	
	Private _SECONDARY_STATE As String
	
	Private _SECONDARY_POSTALCODE As String
	
	Private _SECONDARY_COUNTRY As String
	
	Private _SECONDARY_MANAGEUSERID As System.Guid
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SECONDARYID() As System.Guid
		Get
			Return Me._SECONDARYID
		End Get
		Set
			If ((Me._SECONDARYID = value)  _
						= false) Then
				Me._SECONDARYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CONTACT", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_CONTACT() As String
		Get
			Return Me._SECONDARY_CONTACT
		End Get
		Set
			If (String.Equals(Me._SECONDARY_CONTACT, value) = false) Then
				Me._SECONDARY_CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_LAST_NAME", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_LAST_NAME() As String
		Get
			Return Me._SECONDARY_LAST_NAME
		End Get
		Set
			If (String.Equals(Me._SECONDARY_LAST_NAME, value) = false) Then
				Me._SECONDARY_LAST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_FIRST_NAME", DbType:="NVarChar(64)")>  _
	Public Property SECONDARY_FIRST_NAME() As String
		Get
			Return Me._SECONDARY_FIRST_NAME
		End Get
		Set
			If (String.Equals(Me._SECONDARY_FIRST_NAME, value) = false) Then
				Me._SECONDARY_FIRST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_COMPANY() As String
		Get
			Return Me._SECONDARY_COMPANY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_COMPANY, value) = false) Then
				Me._SECONDARY_COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_TITLE", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_TITLE() As String
		Get
			Return Me._SECONDARY_TITLE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_TITLE, value) = false) Then
				Me._SECONDARY_TITLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_IDSTATUS", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_IDSTATUS() As String
		Get
			Return Me._SECONDARY_IDSTATUS
		End Get
		Set
			If (String.Equals(Me._SECONDARY_IDSTATUS, value) = false) Then
				Me._SECONDARY_IDSTATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_IS_PRIVATE", DbType:="Bit NOT NULL")>  _
	Public Property SECONDARY_IS_PRIVATE() As Boolean
		Get
			Return Me._SECONDARY_IS_PRIVATE
		End Get
		Set
			If ((Me._SECONDARY_IS_PRIVATE = value)  _
						= false) Then
				Me._SECONDARY_IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_WEBSITE", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_WEBSITE() As String
		Get
			Return Me._SECONDARY_WEBSITE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_WEBSITE, value) = false) Then
				Me._SECONDARY_WEBSITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_PHONE() As String
		Get
			Return Me._SECONDARY_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PHONE, value) = false) Then
				Me._SECONDARY_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PHONE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_PHONE_EXTENSION() As String
		Get
			Return Me._SECONDARY_PHONE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PHONE_EXTENSION, value) = false) Then
				Me._SECONDARY_PHONE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_MOBILE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_MOBILE_PHONE() As String
		Get
			Return Me._SECONDARY_MOBILE_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_MOBILE_PHONE, value) = false) Then
				Me._SECONDARY_MOBILE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_FAX_PHONE() As String
		Get
			Return Me._SECONDARY_FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_FAX_PHONE, value) = false) Then
				Me._SECONDARY_FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_EMAIL", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_EMAIL() As String
		Get
			Return Me._SECONDARY_EMAIL
		End Get
		Set
			If (String.Equals(Me._SECONDARY_EMAIL, value) = false) Then
				Me._SECONDARY_EMAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_1() As String
		Get
			Return Me._SECONDARY_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_1, value) = false) Then
				Me._SECONDARY_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_2() As String
		Get
			Return Me._SECONDARY_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_2, value) = false) Then
				Me._SECONDARY_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_3() As String
		Get
			Return Me._SECONDARY_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_3, value) = false) Then
				Me._SECONDARY_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CITY", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_CITY() As String
		Get
			Return Me._SECONDARY_CITY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_CITY, value) = false) Then
				Me._SECONDARY_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_STATE", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_STATE() As String
		Get
			Return Me._SECONDARY_STATE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_STATE, value) = false) Then
				Me._SECONDARY_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_POSTALCODE", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_POSTALCODE() As String
		Get
			Return Me._SECONDARY_POSTALCODE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_POSTALCODE, value) = false) Then
				Me._SECONDARY_POSTALCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_COUNTRY() As String
		Get
			Return Me._SECONDARY_COUNTRY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_COUNTRY, value) = false) Then
				Me._SECONDARY_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_MANAGEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SECONDARY_MANAGEUSERID() As System.Guid
		Get
			Return Me._SECONDARY_MANAGEUSERID
		End Get
		Set
			If ((Me._SECONDARY_MANAGEUSERID = value)  _
						= false) Then
				Me._SECONDARY_MANAGEUSERID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_WORKFLOW_ARCHIVE")>  _
Partial Public Class VWT_WORKFLOW_ARCHIVE
	
	Private _INSTANCEID As System.Guid
	
	Private _MUTABLEENTITYID As System.Guid
	
	Private _NAME As String
	
	Private _ENTITYNAME As String
	
	Private _USERID As System.Guid
	
	Private _USERNAME As String
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _WORKFLOWNAME As String
	
	Private _TABLEID As System.Guid
	
	Private _TABLENAME As String
	
	Private _WORKFLOWSTATUS As Byte
	
	Private _WORKFLOWSTARTDATE As System.Nullable(Of Date)
	
	Private _WORKFLOWENDDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property INSTANCEID() As System.Guid
		Get
			Return Me._INSTANCEID
		End Get
		Set
			If ((Me._INSTANCEID = value)  _
						= false) Then
				Me._INSTANCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="MUTABLE ENTITYID", Storage:="_MUTABLEENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property MUTABLEENTITYID() As System.Guid
		Get
			Return Me._MUTABLEENTITYID
		End Get
		Set
			If ((Me._MUTABLEENTITYID = value)  _
						= false) Then
				Me._MUTABLEENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ENTITY NAME", Storage:="_ENTITYNAME", DbType:="NVarChar(64)")>  _
	Public Property ENTITYNAME() As String
		Get
			Return Me._ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._ENTITYNAME, value) = false) Then
				Me._ENTITYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER NAME", Storage:="_USERNAME", DbType:="NVarChar(128) 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._USERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				Me._WORKFLOWDEFID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW NAME", Storage:="_WORKFLOWNAME", DbType:="NVarChar(256)")>  _
	Public Property WORKFLOWNAME() As String
		Get
			Return Me._WORKFLOWNAME
		End Get
		Set
			If (String.Equals(Me._WORKFLOWNAME, value) = false) Then
				Me._WORKFLOWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TABLE NAME", Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW STATUS", Storage:="_WORKFLOWSTATUS", DbType:="TinyInt NOT NULL")>  _
	Public Property WORKFLOWSTATUS() As Byte
		Get
			Return Me._WORKFLOWSTATUS
		End Get
		Set
			If ((Me._WORKFLOWSTATUS = value)  _
						= false) Then
				Me._WORKFLOWSTATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW START DATE", Storage:="_WORKFLOWSTARTDATE", DbType:="DateTime")>  _
	Public Property WORKFLOWSTARTDATE() As System.Nullable(Of Date)
		Get
			Return Me._WORKFLOWSTARTDATE
		End Get
		Set
			If (Me._WORKFLOWSTARTDATE.Equals(value) = false) Then
				Me._WORKFLOWSTARTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW END DATE", Storage:="_WORKFLOWENDDATE", DbType:="DateTime")>  _
	Public Property WORKFLOWENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._WORKFLOWENDDATE
		End Get
		Set
			If (Me._WORKFLOWENDDATE.Equals(value) = false) Then
				Me._WORKFLOWENDDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWT_WORKFLOWDEF_ACCESS")>  _
Partial Public Class VWT_WORKFLOWDEF_ACCESS
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _ACCESS_LEVEL As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				Me._WORKFLOWDEFID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ACCESSOR")>  _
Partial Public Class VWX_ACCESSOR
	
	Private _ACCESSORID As System.Guid
	
	Private _NAME As String
	
	Private _TYPENUM As Byte
	
	Private _ACCESSORTYPE As String
	
	Private _STATUSNUM As Byte
	
	Private _STATUS As String
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _ROLENAME As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORTYPE", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESSORTYPE() As String
		Get
			Return Me._ACCESSORTYPE
		End Get
		Set
			If (String.Equals(Me._ACCESSORTYPE, value) = false) Then
				Me._ACCESSORTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLENAME", DbType:="NVarChar(64)")>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ADDRESSTYPES")>  _
Partial Public Class VWX_ADDRESSTYPES
	
	Private _PICKLIST As String
	
	Private _PICKLISTITEMID As System.Guid
	
	Private _PICKLISTID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLIST() As String
		Get
			Return Me._PICKLIST
		End Get
		Set
			If (String.Equals(Me._PICKLIST, value) = false) Then
				Me._PICKLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMID() As System.Guid
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If ((Me._PICKLISTITEMID = value)  _
						= false) Then
				Me._PICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ATTACHMENT_ASSOCIATIONS")>  _
Partial Public Class VWX_ATTACHMENT_ASSOCIATIONS
	
	Private _ATTACHMENT_JOINTYPE As String
	
	Private _ATTACHMENT_JOINTABLE As String
	
	Private _ATTACHMENT_JOINCOLUMN As String
	
	Private _ASSOCIATION_JOINTYPE As String
	
	Private _ASSOCIATION_JOINTABLE As String
	
	Private _ASSOCIATION_JOINCOLUMN As String
	
	Private _ENTITY_JOINTYPE As String
	
	Private _ENTITY_JOINTABLE As String
	
	Private _ENTITY_JOINCOLUMN As String
	
	Private _ENTITY_NAME As String
	
	Private _ENTITY_TYPE As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENT_JOINTYPE", DbType:="VarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property ATTACHMENT_JOINTYPE() As String
		Get
			Return Me._ATTACHMENT_JOINTYPE
		End Get
		Set
			If (String.Equals(Me._ATTACHMENT_JOINTYPE, value) = false) Then
				Me._ATTACHMENT_JOINTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENT_JOINTABLE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ATTACHMENT_JOINTABLE() As String
		Get
			Return Me._ATTACHMENT_JOINTABLE
		End Get
		Set
			If (String.Equals(Me._ATTACHMENT_JOINTABLE, value) = false) Then
				Me._ATTACHMENT_JOINTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENT_JOINCOLUMN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ATTACHMENT_JOINCOLUMN() As String
		Get
			Return Me._ATTACHMENT_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._ATTACHMENT_JOINCOLUMN, value) = false) Then
				Me._ATTACHMENT_JOINCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATION_JOINTYPE", DbType:="VarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property ASSOCIATION_JOINTYPE() As String
		Get
			Return Me._ASSOCIATION_JOINTYPE
		End Get
		Set
			If (String.Equals(Me._ASSOCIATION_JOINTYPE, value) = false) Then
				Me._ASSOCIATION_JOINTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATION_JOINTABLE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ASSOCIATION_JOINTABLE() As String
		Get
			Return Me._ASSOCIATION_JOINTABLE
		End Get
		Set
			If (String.Equals(Me._ASSOCIATION_JOINTABLE, value) = false) Then
				Me._ASSOCIATION_JOINTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATION_JOINCOLUMN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ASSOCIATION_JOINCOLUMN() As String
		Get
			Return Me._ASSOCIATION_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._ASSOCIATION_JOINCOLUMN, value) = false) Then
				Me._ASSOCIATION_JOINCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_JOINTYPE", DbType:="VarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITY_JOINTYPE() As String
		Get
			Return Me._ENTITY_JOINTYPE
		End Get
		Set
			If (String.Equals(Me._ENTITY_JOINTYPE, value) = false) Then
				Me._ENTITY_JOINTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_JOINTABLE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITY_JOINTABLE() As String
		Get
			Return Me._ENTITY_JOINTABLE
		End Get
		Set
			If (String.Equals(Me._ENTITY_JOINTABLE, value) = false) Then
				Me._ENTITY_JOINTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_JOINCOLUMN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITY_JOINCOLUMN() As String
		Get
			Return Me._ENTITY_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._ENTITY_JOINCOLUMN, value) = false) Then
				Me._ENTITY_JOINCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITY_NAME() As String
		Get
			Return Me._ENTITY_NAME
		End Get
		Set
			If (String.Equals(Me._ENTITY_NAME, value) = false) Then
				Me._ENTITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITY_TYPE", DbType:="TinyInt NOT NULL")>  _
	Public Property ENTITY_TYPE() As Byte
		Get
			Return Me._ENTITY_TYPE
		End Get
		Set
			If ((Me._ENTITY_TYPE = value)  _
						= false) Then
				Me._ENTITY_TYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_BACKUPAPPLOCK")>  _
Partial Public Class VWX_BACKUPAPPLOCK
	
	Private _Req_spid As Integer
	
	Private _Req_mode As Byte
	
	Private _Req_status As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="req_spid", Storage:="_Req_spid", DbType:="Int NOT NULL")>  _
	Public Property Req_spid() As Integer
		Get
			Return Me._Req_spid
		End Get
		Set
			If ((Me._Req_spid = value)  _
						= false) Then
				Me._Req_spid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="req_mode", Storage:="_Req_mode", DbType:="TinyInt NOT NULL")>  _
	Public Property Req_mode() As Byte
		Get
			Return Me._Req_mode
		End Get
		Set
			If ((Me._Req_mode = value)  _
						= false) Then
				Me._Req_mode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="req_status", Storage:="_Req_status", DbType:="TinyInt NOT NULL")>  _
	Public Property Req_status() As Byte
		Get
			Return Me._Req_status
		End Get
		Set
			If ((Me._Req_status = value)  _
						= false) Then
				Me._Req_status = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_BI_HistoryView_Full")>  _
Partial Public Class VWX_BI_HistoryView_Full
	
	Private _Year As String
	
	Private _Quarter As String
	
	Private _Month As String
	
	Private _CalendarDate As System.Nullable(Of Date)
	
	Private _CompanyName As String
	
	Private _OpportunityName As String
	
	Private _HistoryTypeName As String
	
	Private _HistoryTypeGroupName As String
	
	Private _HistoryTypeSuperGroupName As String
	
	Private _ContactName As String
	
	Private _GroupName As String
	
	Private _UserName As String
	
	Private _Count As System.Nullable(Of Long)
	
	Private _Minutes As System.Nullable(Of Long)
	
	Private _Hours As System.Nullable(Of Double)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Year", DbType:="NVarChar(64)")>  _
	Public Property Year() As String
		Get
			Return Me._Year
		End Get
		Set
			If (String.Equals(Me._Year, value) = false) Then
				Me._Year = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Quarter", DbType:="NVarChar(64)")>  _
	Public Property Quarter() As String
		Get
			Return Me._Quarter
		End Get
		Set
			If (String.Equals(Me._Quarter, value) = false) Then
				Me._Quarter = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Month", DbType:="NVarChar(64)")>  _
	Public Property Month() As String
		Get
			Return Me._Month
		End Get
		Set
			If (String.Equals(Me._Month, value) = false) Then
				Me._Month = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CalendarDate", DbType:="DateTime")>  _
	Public Property CalendarDate() As System.Nullable(Of Date)
		Get
			Return Me._CalendarDate
		End Get
		Set
			If (Me._CalendarDate.Equals(value) = false) Then
				Me._CalendarDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CompanyName", DbType:="NVarChar(255)")>  _
	Public Property CompanyName() As String
		Get
			Return Me._CompanyName
		End Get
		Set
			If (String.Equals(Me._CompanyName, value) = false) Then
				Me._CompanyName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OpportunityName", DbType:="NVarChar(255)")>  _
	Public Property OpportunityName() As String
		Get
			Return Me._OpportunityName
		End Get
		Set
			If (String.Equals(Me._OpportunityName, value) = false) Then
				Me._OpportunityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HistoryTypeName", DbType:="NVarChar(255)")>  _
	Public Property HistoryTypeName() As String
		Get
			Return Me._HistoryTypeName
		End Get
		Set
			If (String.Equals(Me._HistoryTypeName, value) = false) Then
				Me._HistoryTypeName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HistoryTypeGroupName", DbType:="NVarChar(255)")>  _
	Public Property HistoryTypeGroupName() As String
		Get
			Return Me._HistoryTypeGroupName
		End Get
		Set
			If (String.Equals(Me._HistoryTypeGroupName, value) = false) Then
				Me._HistoryTypeGroupName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HistoryTypeSuperGroupName", DbType:="NVarChar(255)")>  _
	Public Property HistoryTypeSuperGroupName() As String
		Get
			Return Me._HistoryTypeSuperGroupName
		End Get
		Set
			If (String.Equals(Me._HistoryTypeSuperGroupName, value) = false) Then
				Me._HistoryTypeSuperGroupName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ContactName", DbType:="NVarChar(255)")>  _
	Public Property ContactName() As String
		Get
			Return Me._ContactName
		End Get
		Set
			If (String.Equals(Me._ContactName, value) = false) Then
				Me._ContactName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GroupName", DbType:="NVarChar(255)")>  _
	Public Property GroupName() As String
		Get
			Return Me._GroupName
		End Get
		Set
			If (String.Equals(Me._GroupName, value) = false) Then
				Me._GroupName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UserName", DbType:="NVarChar(255)")>  _
	Public Property UserName() As String
		Get
			Return Me._UserName
		End Get
		Set
			If (String.Equals(Me._UserName, value) = false) Then
				Me._UserName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Count", DbType:="BigInt")>  _
	Public Property Count() As System.Nullable(Of Long)
		Get
			Return Me._Count
		End Get
		Set
			If (Me._Count.Equals(value) = false) Then
				Me._Count = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Minutes", DbType:="BigInt")>  _
	Public Property Minutes() As System.Nullable(Of Long)
		Get
			Return Me._Minutes
		End Get
		Set
			If (Me._Minutes.Equals(value) = false) Then
				Me._Minutes = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Hours", DbType:="Float")>  _
	Public Property Hours() As System.Nullable(Of Double)
		Get
			Return Me._Hours
		End Get
		Set
			If (Me._Hours.Equals(value) = false) Then
				Me._Hours = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_BI_OpportunityView_Full")>  _
Partial Public Class VWX_BI_OpportunityView_Full
	
	Private _Year As String
	
	Private _Quarter As String
	
	Private _Month As String
	
	Private _CalendarDate As System.Nullable(Of Date)
	
	Private _CompanyName As String
	
	Private _IndustryName As String
	
	Private _Status As String
	
	Private _UserName As String
	
	Private _ZipOrPostalCode As String
	
	Private _City As String
	
	Private _StateOrProvince As String
	
	Private _CountryName As String
	
	Private _GrossMargin As System.Nullable(Of Decimal)
	
	Private _Count As System.Nullable(Of Integer)
	
	Private _Amount As System.Nullable(Of Decimal)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Year", DbType:="NVarChar(64)")>  _
	Public Property Year() As String
		Get
			Return Me._Year
		End Get
		Set
			If (String.Equals(Me._Year, value) = false) Then
				Me._Year = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Quarter", DbType:="NVarChar(64)")>  _
	Public Property Quarter() As String
		Get
			Return Me._Quarter
		End Get
		Set
			If (String.Equals(Me._Quarter, value) = false) Then
				Me._Quarter = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Month", DbType:="NVarChar(64)")>  _
	Public Property Month() As String
		Get
			Return Me._Month
		End Get
		Set
			If (String.Equals(Me._Month, value) = false) Then
				Me._Month = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CalendarDate", DbType:="DateTime")>  _
	Public Property CalendarDate() As System.Nullable(Of Date)
		Get
			Return Me._CalendarDate
		End Get
		Set
			If (Me._CalendarDate.Equals(value) = false) Then
				Me._CalendarDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CompanyName", DbType:="NVarChar(255)")>  _
	Public Property CompanyName() As String
		Get
			Return Me._CompanyName
		End Get
		Set
			If (String.Equals(Me._CompanyName, value) = false) Then
				Me._CompanyName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IndustryName", DbType:="NVarChar(255)")>  _
	Public Property IndustryName() As String
		Get
			Return Me._IndustryName
		End Get
		Set
			If (String.Equals(Me._IndustryName, value) = false) Then
				Me._IndustryName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Status", DbType:="NVarChar(255)")>  _
	Public Property Status() As String
		Get
			Return Me._Status
		End Get
		Set
			If (String.Equals(Me._Status, value) = false) Then
				Me._Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UserName", DbType:="NVarChar(255)")>  _
	Public Property UserName() As String
		Get
			Return Me._UserName
		End Get
		Set
			If (String.Equals(Me._UserName, value) = false) Then
				Me._UserName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZipOrPostalCode", DbType:="NVarChar(255)")>  _
	Public Property ZipOrPostalCode() As String
		Get
			Return Me._ZipOrPostalCode
		End Get
		Set
			If (String.Equals(Me._ZipOrPostalCode, value) = false) Then
				Me._ZipOrPostalCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_City", DbType:="NVarChar(255)")>  _
	Public Property City() As String
		Get
			Return Me._City
		End Get
		Set
			If (String.Equals(Me._City, value) = false) Then
				Me._City = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_StateOrProvince", DbType:="NVarChar(255)")>  _
	Public Property StateOrProvince() As String
		Get
			Return Me._StateOrProvince
		End Get
		Set
			If (String.Equals(Me._StateOrProvince, value) = false) Then
				Me._StateOrProvince = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CountryName", DbType:="NVarChar(255)")>  _
	Public Property CountryName() As String
		Get
			Return Me._CountryName
		End Get
		Set
			If (String.Equals(Me._CountryName, value) = false) Then
				Me._CountryName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GrossMargin", DbType:="Money")>  _
	Public Property GrossMargin() As System.Nullable(Of Decimal)
		Get
			Return Me._GrossMargin
		End Get
		Set
			If (Me._GrossMargin.Equals(value) = false) Then
				Me._GrossMargin = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Count", DbType:="Int")>  _
	Public Property Count() As System.Nullable(Of Integer)
		Get
			Return Me._Count
		End Get
		Set
			If (Me._Count.Equals(value) = false) Then
				Me._Count = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Amount", DbType:="Money")>  _
	Public Property Amount() As System.Nullable(Of Decimal)
		Get
			Return Me._Amount
		End Get
		Set
			If (Me._Amount.Equals(value) = false) Then
				Me._Amount = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_CALCCOLUMNINFO")>  _
Partial Public Class VWX_CALCCOLUMNINFO
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAYNAME As String
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMNNAME As String
	
	Private _DISPLAYNAME As String
	
	Private _ACTDATATYPE As String
	
	Private _TYPENUM As Byte
	
	Private _CALCDEFINITION As String
	
	Private _BASECOLUMNID As System.Guid
	
	Private _BASECOLUMNNAME As String
	
	Private _BASEDISPLAYNAME As String
	
	Private _BASEDATATYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAYNAME() As String
		Get
			Return Me._TABLEDISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAYNAME, value) = false) Then
				Me._TABLEDISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCDEFINITION", DbType:="NVarChar(500)")>  _
	Public Property CALCDEFINITION() As String
		Get
			Return Me._CALCDEFINITION
		End Get
		Set
			If (String.Equals(Me._CALCDEFINITION, value) = false) Then
				Me._CALCDEFINITION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASECOLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property BASECOLUMNID() As System.Guid
		Get
			Return Me._BASECOLUMNID
		End Get
		Set
			If ((Me._BASECOLUMNID = value)  _
						= false) Then
				Me._BASECOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASECOLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property BASECOLUMNNAME() As String
		Get
			Return Me._BASECOLUMNNAME
		End Get
		Set
			If (String.Equals(Me._BASECOLUMNNAME, value) = false) Then
				Me._BASECOLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASEDISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property BASEDISPLAYNAME() As String
		Get
			Return Me._BASEDISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._BASEDISPLAYNAME, value) = false) Then
				Me._BASEDISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASEDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property BASEDATATYPE() As String
		Get
			Return Me._BASEDATATYPE
		End Get
		Set
			If (String.Equals(Me._BASEDATATYPE, value) = false) Then
				Me._BASEDATATYPE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_COLUMNINFO")>  _
Partial Public Class VWX_COLUMNINFO
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _COLUMNNAME As String
	
	Private _ALIASNAME As String
	
	Private _COLUMNDISPLAY As String
	
	Private _OLEDBNAME As String
	
	Private _ACTDATATYPE As String
	
	Private _PHYDATATYPE As String
	
	Private _TYPENUM As Byte
	
	Private _OLEDBTYPENUM As Byte
	
	Private _ISCUSTOM As Boolean
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISDEFINEFIELD As Boolean
	
	Private _ISRESIZEABLE As Boolean
	
	Private _ISPRIMARY As Boolean
	
	Private _ORDINAL As Short
	
	Private _COLUMNID As System.Guid
	
	Private _TABLEID As System.Guid
	
	Private _TABLE_ISDISPLAYED As Boolean
	
	Private _TABLE_TYPENUM As Byte
	
	Private _TABLEDOMAIN As String
	
	Private _COLUMNTYPE As String
	
	Private _DOMAIN As String
	
	Private _SYNCTYPENUM As Byte
	
	Private _RECORDIDENTIFIER As System.Nullable(Of Byte)
	
	Private _MIN_COLUMNLENGTH As System.Nullable(Of Short)
	
	Private _VALIDACCESSLEVELS As Byte
	
	Private _DEFAULT_ACCESSLEVEL As String
	
	Private _ACCESSORS As String
	
	Private _ISPROTECTED As Boolean
	
	Private _ISTRACKED As Boolean
	
	Private _ISREMOVEABLE As Boolean
	
	Private _ISNULLABLE As Boolean
	
	Private _ISALLOWBLANK As Boolean
	
	Private _ALLOWDATATYPECHANGE As Boolean
	
	Private _LENGTH As System.Nullable(Of Short)
	
	Private _DECIMALPRECISION As System.Nullable(Of Byte)
	
	Private _DEFAULTVALUE As String
	
	Private _REF_REALCOLUMN As String
	
	Private _REF_REALCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _REF_TYPEID As System.Nullable(Of System.Guid)
	
	Private _FIELDFORMAT As String
	
	Private _EVENTONFOCUS As String
	
	Private _EVENTONLOSTFOCUS As String
	
	Private _EVENTONCHANGE As String
	
	Private _PICKLIST As String
	
	Private _TABLEDESCRIPTION As String
	
	Private _COLUMNDESCRIPTION As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me._ALIASNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNDISPLAY", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNDISPLAY() As String
		Get
			Return Me._COLUMNDISPLAY
		End Get
		Set
			If (String.Equals(Me._COLUMNDISPLAY, value) = false) Then
				Me._COLUMNDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLEDBNAME", DbType:="NVarChar(96)")>  _
	Public Property OLEDBNAME() As String
		Get
			Return Me._OLEDBNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBNAME, value) = false) Then
				Me._OLEDBNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHYDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PHYDATATYPE() As String
		Get
			Return Me._PHYDATATYPE
		End Get
		Set
			If (String.Equals(Me._PHYDATATYPE, value) = false) Then
				Me._PHYDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLEDBTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property OLEDBTYPENUM() As Byte
		Get
			Return Me._OLEDBTYPENUM
		End Get
		Set
			If ((Me._OLEDBTYPENUM = value)  _
						= false) Then
				Me._OLEDBTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFINEFIELD() As Boolean
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If ((Me._ISDEFINEFIELD = value)  _
						= false) Then
				Me._ISDEFINEFIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISRESIZEABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISRESIZEABLE() As Boolean
		Get
			Return Me._ISRESIZEABLE
		End Get
		Set
			If ((Me._ISRESIZEABLE = value)  _
						= false) Then
				Me._ISRESIZEABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARY", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARY() As Boolean
		Get
			Return Me._ISPRIMARY
		End Get
		Set
			If ((Me._ISPRIMARY = value)  _
						= false) Then
				Me._ISPRIMARY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property TABLE_ISDISPLAYED() As Boolean
		Get
			Return Me._TABLE_ISDISPLAYED
		End Get
		Set
			If ((Me._TABLE_ISDISPLAYED = value)  _
						= false) Then
				Me._TABLE_ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLE_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TABLE_TYPENUM() As Byte
		Get
			Return Me._TABLE_TYPENUM
		End Get
		Set
			If ((Me._TABLE_TYPENUM = value)  _
						= false) Then
				Me._TABLE_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAIN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDOMAIN() As String
		Get
			Return Me._TABLEDOMAIN
		End Get
		Set
			If (String.Equals(Me._TABLEDOMAIN, value) = false) Then
				Me._TABLEDOMAIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNTYPE", DbType:="VarChar(17) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNTYPE() As String
		Get
			Return Me._COLUMNTYPE
		End Get
		Set
			If (String.Equals(Me._COLUMNTYPE, value) = false) Then
				Me._COLUMNTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAIN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property DOMAIN() As String
		Get
			Return Me._DOMAIN
		End Get
		Set
			If (String.Equals(Me._DOMAIN, value) = false) Then
				Me._DOMAIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCTYPENUM() As Byte
		Get
			Return Me._SYNCTYPENUM
		End Get
		Set
			If ((Me._SYNCTYPENUM = value)  _
						= false) Then
				Me._SYNCTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDIDENTIFIER", DbType:="TinyInt")>  _
	Public Property RECORDIDENTIFIER() As System.Nullable(Of Byte)
		Get
			Return Me._RECORDIDENTIFIER
		End Get
		Set
			If (Me._RECORDIDENTIFIER.Equals(value) = false) Then
				Me._RECORDIDENTIFIER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIN_COLUMNLENGTH", DbType:="SmallInt")>  _
	Public Property MIN_COLUMNLENGTH() As System.Nullable(Of Short)
		Get
			Return Me._MIN_COLUMNLENGTH
		End Get
		Set
			If (Me._MIN_COLUMNLENGTH.Equals(value) = false) Then
				Me._MIN_COLUMNLENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALIDACCESSLEVELS", DbType:="TinyInt NOT NULL")>  _
	Public Property VALIDACCESSLEVELS() As Byte
		Get
			Return Me._VALIDACCESSLEVELS
		End Get
		Set
			If ((Me._VALIDACCESSLEVELS = value)  _
						= false) Then
				Me._VALIDACCESSLEVELS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEFAULT_ACCESSLEVEL", DbType:="VarChar(15) NOT NULL", CanBeNull:=false)>  _
	Public Property DEFAULT_ACCESSLEVEL() As String
		Get
			Return Me._DEFAULT_ACCESSLEVEL
		End Get
		Set
			If (String.Equals(Me._DEFAULT_ACCESSLEVEL, value) = false) Then
				Me._DEFAULT_ACCESSLEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORS", DbType:="NVarChar(4000)")>  _
	Public Property ACCESSORS() As String
		Get
			Return Me._ACCESSORS
		End Get
		Set
			If (String.Equals(Me._ACCESSORS, value) = false) Then
				Me._ACCESSORS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPROTECTED", DbType:="Bit NOT NULL")>  _
	Public Property ISPROTECTED() As Boolean
		Get
			Return Me._ISPROTECTED
		End Get
		Set
			If ((Me._ISPROTECTED = value)  _
						= false) Then
				Me._ISPROTECTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISTRACKED", DbType:="Bit NOT NULL")>  _
	Public Property ISTRACKED() As Boolean
		Get
			Return Me._ISTRACKED
		End Get
		Set
			If ((Me._ISTRACKED = value)  _
						= false) Then
				Me._ISTRACKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREMOVEABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISREMOVEABLE() As Boolean
		Get
			Return Me._ISREMOVEABLE
		End Get
		Set
			If ((Me._ISREMOVEABLE = value)  _
						= false) Then
				Me._ISREMOVEABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISNULLABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISNULLABLE() As Boolean
		Get
			Return Me._ISNULLABLE
		End Get
		Set
			If ((Me._ISNULLABLE = value)  _
						= false) Then
				Me._ISNULLABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALLOWBLANK", DbType:="Bit NOT NULL")>  _
	Public Property ISALLOWBLANK() As Boolean
		Get
			Return Me._ISALLOWBLANK
		End Get
		Set
			If ((Me._ISALLOWBLANK = value)  _
						= false) Then
				Me._ISALLOWBLANK = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALLOWDATATYPECHANGE", DbType:="Bit NOT NULL")>  _
	Public Property ALLOWDATATYPECHANGE() As Boolean
		Get
			Return Me._ALLOWDATATYPECHANGE
		End Get
		Set
			If ((Me._ALLOWDATATYPECHANGE = value)  _
						= false) Then
				Me._ALLOWDATATYPECHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTH", DbType:="SmallInt")>  _
	Public Property LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._LENGTH
		End Get
		Set
			If (Me._LENGTH.Equals(value) = false) Then
				Me._LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DECIMALPRECISION", DbType:="TinyInt")>  _
	Public Property DECIMALPRECISION() As System.Nullable(Of Byte)
		Get
			Return Me._DECIMALPRECISION
		End Get
		Set
			If (Me._DECIMALPRECISION.Equals(value) = false) Then
				Me._DECIMALPRECISION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEFAULTVALUE", DbType:="NVarChar(500)")>  _
	Public Property DEFAULTVALUE() As String
		Get
			Return Me._DEFAULTVALUE
		End Get
		Set
			If (String.Equals(Me._DEFAULTVALUE, value) = false) Then
				Me._DEFAULTVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_REALCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property REF_REALCOLUMN() As String
		Get
			Return Me._REF_REALCOLUMN
		End Get
		Set
			If (String.Equals(Me._REF_REALCOLUMN, value) = false) Then
				Me._REF_REALCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_REALCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property REF_REALCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._REF_REALCOLUMNID
		End Get
		Set
			If (Me._REF_REALCOLUMNID.Equals(value) = false) Then
				Me._REF_REALCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property REF_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._REF_TYPEID
		End Get
		Set
			If (Me._REF_TYPEID.Equals(value) = false) Then
				Me._REF_TYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIELDFORMAT", DbType:="NVarChar(500)")>  _
	Public Property FIELDFORMAT() As String
		Get
			Return Me._FIELDFORMAT
		End Get
		Set
			If (String.Equals(Me._FIELDFORMAT, value) = false) Then
				Me._FIELDFORMAT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTONFOCUS", DbType:="NVarChar(512)")>  _
	Public Property EVENTONFOCUS() As String
		Get
			Return Me._EVENTONFOCUS
		End Get
		Set
			If (String.Equals(Me._EVENTONFOCUS, value) = false) Then
				Me._EVENTONFOCUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTONLOSTFOCUS", DbType:="NVarChar(512)")>  _
	Public Property EVENTONLOSTFOCUS() As String
		Get
			Return Me._EVENTONLOSTFOCUS
		End Get
		Set
			If (String.Equals(Me._EVENTONLOSTFOCUS, value) = false) Then
				Me._EVENTONLOSTFOCUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTONCHANGE", DbType:="NVarChar(512)")>  _
	Public Property EVENTONCHANGE() As String
		Get
			Return Me._EVENTONCHANGE
		End Get
		Set
			If (String.Equals(Me._EVENTONCHANGE, value) = false) Then
				Me._EVENTONCHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST", DbType:="NVarChar(64)")>  _
	Public Property PICKLIST() As String
		Get
			Return Me._PICKLIST
		End Get
		Set
			If (String.Equals(Me._PICKLIST, value) = false) Then
				Me._PICKLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDESCRIPTION", DbType:="NVarChar(512)")>  _
	Public Property TABLEDESCRIPTION() As String
		Get
			Return Me._TABLEDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._TABLEDESCRIPTION, value) = false) Then
				Me._TABLEDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNDESCRIPTION", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property COLUMNDESCRIPTION() As String
		Get
			Return Me._COLUMNDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._COLUMNDESCRIPTION, value) = false) Then
				Me._COLUMNDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_COMPANY_ALPHAHIERSORT")>  _
Partial Public Class VWX_COMPANY_ALPHAHIERSORT
	
	Private _COMPANYID As System.Guid
	
	Private _NAME As String
	
	Private _ALPHA_HIER_SORT As String
	
	Private _HIERPATH As String
	
	Private _HIERLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALPHA_HIER_SORT", DbType:="NVarChar(1934) NOT NULL", CanBeNull:=false)>  _
	Public Property ALPHA_HIER_SORT() As String
		Get
			Return Me._ALPHA_HIER_SORT
		End Get
		Set
			If (String.Equals(Me._ALPHA_HIER_SORT, value) = false) Then
				Me._ALPHA_HIER_SORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERPATH", DbType:="VarChar(556)")>  _
	Public Property HIERPATH() As String
		Get
			Return Me._HIERPATH
		End Get
		Set
			If (String.Equals(Me._HIERPATH, value) = false) Then
				Me._HIERPATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERLEVEL", DbType:="Int")>  _
	Public Property HIERLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERLEVEL
		End Get
		Set
			If (Me._HIERLEVEL.Equals(value) = false) Then
				Me._HIERLEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_COMPANY_USER_ENUM")>  _
Partial Public Class VWX_COMPANY_USER_ENUM
	
	Private _COMPANYID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _USERLOGIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANYID() As System.Guid
		Get
			Return Me._COMPANYID
		End Get
		Set
			If ((Me._COMPANYID = value)  _
						= false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_COMPANYCONTACT_MAP")>  _
Partial Public Class VWX_COMPANYCONTACT_MAP
	
	Private _COMPANY_TABLENAME As String
	
	Private _COMPANY_TABLEDISPLAY As String
	
	Private _COMPANY_COLUMNID As System.Guid
	
	Private _COMPANY_COLUMNNAME As String
	
	Private _COMPANY_DISPLAYNAME As String
	
	Private _COMPANY_DATATYPE As String
	
	Private _COMPANY_TYPENUM As Byte
	
	Private _COMPANY_LENGTH As System.Nullable(Of Short)
	
	Private _COMPANY_REF_TABLE As String
	
	Private _COMPANY_REF_TYPEID As System.Nullable(Of System.Guid)
	
	Private _COMPANY_DOMAINID As Byte
	
	Private _CONTACT_TABLENAME As String
	
	Private _CONTACT_TABLEDISPLAY As String
	
	Private _CONTACT_COLUMNID As System.Guid
	
	Private _CONTACT_COLUMNNAME As String
	
	Private _CONTACT_DISPLAYNAME As String
	
	Private _CONTACT_DATATYPE As String
	
	Private _CONTACT_TYPENUM As Byte
	
	Private _CONTACT_LENGTH As System.Nullable(Of Short)
	
	Private _CONTACT_REF_TABLE As String
	
	Private _CONTACT_REF_TYPEID As System.Nullable(Of System.Guid)
	
	Private _CONTACT_DOMAINID As Byte
	
	Private _ISCUSTOM As Boolean
	
	Private _ISACTIVE As Boolean
	
	Private _ISMANDATORY As Boolean
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANY_TABLENAME() As String
		Get
			Return Me._COMPANY_TABLENAME
		End Get
		Set
			If (String.Equals(Me._COMPANY_TABLENAME, value) = false) Then
				Me._COMPANY_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANY_TABLEDISPLAY() As String
		Get
			Return Me._COMPANY_TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._COMPANY_TABLEDISPLAY, value) = false) Then
				Me._COMPANY_TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COMPANY_COLUMNID() As System.Guid
		Get
			Return Me._COMPANY_COLUMNID
		End Get
		Set
			If ((Me._COMPANY_COLUMNID = value)  _
						= false) Then
				Me._COMPANY_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANY_COLUMNNAME() As String
		Get
			Return Me._COMPANY_COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COMPANY_COLUMNNAME, value) = false) Then
				Me._COMPANY_COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_DISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANY_DISPLAYNAME() As String
		Get
			Return Me._COMPANY_DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANY_DISPLAYNAME, value) = false) Then
				Me._COMPANY_DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_DATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property COMPANY_DATATYPE() As String
		Get
			Return Me._COMPANY_DATATYPE
		End Get
		Set
			If (String.Equals(Me._COMPANY_DATATYPE, value) = false) Then
				Me._COMPANY_DATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property COMPANY_TYPENUM() As Byte
		Get
			Return Me._COMPANY_TYPENUM
		End Get
		Set
			If ((Me._COMPANY_TYPENUM = value)  _
						= false) Then
				Me._COMPANY_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_LENGTH", DbType:="SmallInt")>  _
	Public Property COMPANY_LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._COMPANY_LENGTH
		End Get
		Set
			If (Me._COMPANY_LENGTH.Equals(value) = false) Then
				Me._COMPANY_LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_REF_TABLE", DbType:="NVarChar(128)")>  _
	Public Property COMPANY_REF_TABLE() As String
		Get
			Return Me._COMPANY_REF_TABLE
		End Get
		Set
			If (String.Equals(Me._COMPANY_REF_TABLE, value) = false) Then
				Me._COMPANY_REF_TABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_REF_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANY_REF_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANY_REF_TYPEID
		End Get
		Set
			If (Me._COMPANY_REF_TYPEID.Equals(value) = false) Then
				Me._COMPANY_REF_TYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_DOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property COMPANY_DOMAINID() As Byte
		Get
			Return Me._COMPANY_DOMAINID
		End Get
		Set
			If ((Me._COMPANY_DOMAINID = value)  _
						= false) Then
				Me._COMPANY_DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACT_TABLENAME() As String
		Get
			Return Me._CONTACT_TABLENAME
		End Get
		Set
			If (String.Equals(Me._CONTACT_TABLENAME, value) = false) Then
				Me._CONTACT_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACT_TABLEDISPLAY() As String
		Get
			Return Me._CONTACT_TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._CONTACT_TABLEDISPLAY, value) = false) Then
				Me._CONTACT_TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACT_COLUMNID() As System.Guid
		Get
			Return Me._CONTACT_COLUMNID
		End Get
		Set
			If ((Me._CONTACT_COLUMNID = value)  _
						= false) Then
				Me._CONTACT_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACT_COLUMNNAME() As String
		Get
			Return Me._CONTACT_COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._CONTACT_COLUMNNAME, value) = false) Then
				Me._CONTACT_COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_DISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACT_DISPLAYNAME() As String
		Get
			Return Me._CONTACT_DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._CONTACT_DISPLAYNAME, value) = false) Then
				Me._CONTACT_DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_DATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property CONTACT_DATATYPE() As String
		Get
			Return Me._CONTACT_DATATYPE
		End Get
		Set
			If (String.Equals(Me._CONTACT_DATATYPE, value) = false) Then
				Me._CONTACT_DATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property CONTACT_TYPENUM() As Byte
		Get
			Return Me._CONTACT_TYPENUM
		End Get
		Set
			If ((Me._CONTACT_TYPENUM = value)  _
						= false) Then
				Me._CONTACT_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_LENGTH", DbType:="SmallInt")>  _
	Public Property CONTACT_LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._CONTACT_LENGTH
		End Get
		Set
			If (Me._CONTACT_LENGTH.Equals(value) = false) Then
				Me._CONTACT_LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_REF_TABLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT_REF_TABLE() As String
		Get
			Return Me._CONTACT_REF_TABLE
		End Get
		Set
			If (String.Equals(Me._CONTACT_REF_TABLE, value) = false) Then
				Me._CONTACT_REF_TABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_REF_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACT_REF_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACT_REF_TYPEID
		End Get
		Set
			If (Me._CONTACT_REF_TYPEID.Equals(value) = false) Then
				Me._CONTACT_REF_TYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_DOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property CONTACT_DOMAINID() As Byte
		Get
			Return Me._CONTACT_DOMAINID
		End Get
		Set
			If ((Me._CONTACT_DOMAINID = value)  _
						= false) Then
				Me._CONTACT_DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISACTIVE", DbType:="Bit NOT NULL")>  _
	Public Property ISACTIVE() As Boolean
		Get
			Return Me._ISACTIVE
		End Get
		Set
			If ((Me._ISACTIVE = value)  _
						= false) Then
				Me._ISACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISMANDATORY", DbType:="Bit NOT NULL")>  _
	Public Property ISMANDATORY() As Boolean
		Get
			Return Me._ISMANDATORY
		End Get
		Set
			If ((Me._ISMANDATORY = value)  _
						= false) Then
				Me._ISMANDATORY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_CONTACT_USER_ENUM")>  _
Partial Public Class VWX_CONTACT_USER_ENUM
	
	Private _CONTACTID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _USERLOGIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CONTACTID() As System.Guid
		Get
			Return Me._CONTACTID
		End Get
		Set
			If ((Me._CONTACTID = value)  _
						= false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_DBLOCKINFO")>  _
Partial Public Class VWX_DBLOCKINFO
	
	Private _LOCK_LEVEL As System.Nullable(Of Integer)
	
	Private _LOCK_EFFECTIVE As System.Nullable(Of Date)
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _USERNAME As String
	
	Private _ISSUED_DATETIME As System.Nullable(Of Date)
	
	Private _REMAINING_MINUTES As System.Nullable(Of Decimal)
	
	Private _REASON As String
	
	Private _LOCK_HOST As String
	
	Private _COMMENTS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCK_LEVEL", DbType:="Int")>  _
	Public Property LOCK_LEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._LOCK_LEVEL
		End Get
		Set
			If (Me._LOCK_LEVEL.Equals(value) = false) Then
				Me._LOCK_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCK_EFFECTIVE", DbType:="DateTime")>  _
	Public Property LOCK_EFFECTIVE() As System.Nullable(Of Date)
		Get
			Return Me._LOCK_EFFECTIVE
		End Get
		Set
			If (Me._LOCK_EFFECTIVE.Equals(value) = false) Then
				Me._LOCK_EFFECTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERNAME", DbType:="NVarChar(128)")>  _
	Public Property USERNAME() As String
		Get
			Return Me._USERNAME
		End Get
		Set
			If (String.Equals(Me._USERNAME, value) = false) Then
				Me._USERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSUED_DATETIME", DbType:="DateTime")>  _
	Public Property ISSUED_DATETIME() As System.Nullable(Of Date)
		Get
			Return Me._ISSUED_DATETIME
		End Get
		Set
			If (Me._ISSUED_DATETIME.Equals(value) = false) Then
				Me._ISSUED_DATETIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REMAINING_MINUTES", DbType:="Decimal(12,2)")>  _
	Public Property REMAINING_MINUTES() As System.Nullable(Of Decimal)
		Get
			Return Me._REMAINING_MINUTES
		End Get
		Set
			If (Me._REMAINING_MINUTES.Equals(value) = false) Then
				Me._REMAINING_MINUTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REASON", DbType:="NVarChar(512)")>  _
	Public Property REASON() As String
		Get
			Return Me._REASON
		End Get
		Set
			If (String.Equals(Me._REASON, value) = false) Then
				Me._REASON = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCK_HOST", DbType:="NVarChar(512)")>  _
	Public Property LOCK_HOST() As String
		Get
			Return Me._LOCK_HOST
		End Get
		Set
			If (String.Equals(Me._LOCK_HOST, value) = false) Then
				Me._LOCK_HOST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMMENTS", DbType:="NVarChar(512)")>  _
	Public Property COMMENTS() As String
		Get
			Return Me._COMMENTS
		End Get
		Set
			If (String.Equals(Me._COMMENTS, value) = false) Then
				Me._COMMENTS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_DELEGATETO")>  _
Partial Public Class VWX_DELEGATETO
	
	Private _USERID As System.Guid
	
	Private _ACCESSORID As System.Guid
	
	Private _NAME As String
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _CALENDARLEVEL As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARLEVEL", DbType:="TinyInt")>  _
	Public Property CALENDARLEVEL() As System.Nullable(Of Byte)
		Get
			Return Me._CALENDARLEVEL
		End Get
		Set
			If (Me._CALENDARLEVEL.Equals(value) = false) Then
				Me._CALENDARLEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_DOMAINOPERATORS")>  _
Partial Public Class VWX_DOMAINOPERATORS
	
	Private _DOMAIN As String
	
	Private _OPERATOR As String
	
	Private _OPERATORSQL As String
	
	Private _DOMAINID As Byte
	
	Private _OPERATORID As Byte
	
	Private _DOMAINDESCRIPTION As String
	
	Private _OPERATORDESCRIPTION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAIN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property DOMAIN() As String
		Get
			Return Me._DOMAIN
		End Get
		Set
			If (String.Equals(Me._DOMAIN, value) = false) Then
				Me._DOMAIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPERATOR", Storage:="_OPERATOR", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property [OPERATOR]() As String
		Get
			Return Me._OPERATOR
		End Get
		Set
			If (String.Equals(Me._OPERATOR, value) = false) Then
				Me._OPERATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORSQL", DbType:="NVarChar(1000) NOT NULL", CanBeNull:=false)>  _
	Public Property OPERATORSQL() As String
		Get
			Return Me._OPERATORSQL
		End Get
		Set
			If (String.Equals(Me._OPERATORSQL, value) = false) Then
				Me._OPERATORSQL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property DOMAINID() As Byte
		Get
			Return Me._DOMAINID
		End Get
		Set
			If ((Me._DOMAINID = value)  _
						= false) Then
				Me._DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL")>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				Me._OPERATORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DOMAINDESCRIPTION() As String
		Get
			Return Me._DOMAINDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DOMAINDESCRIPTION, value) = false) Then
				Me._DOMAINDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORDESCRIPTION", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property OPERATORDESCRIPTION() As String
		Get
			Return Me._OPERATORDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._OPERATORDESCRIPTION, value) = false) Then
				Me._OPERATORDESCRIPTION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_DOMAINOPERATORVALUES")>  _
Partial Public Class VWX_DOMAINOPERATORVALUES
	
	Private _DOMAIN As String
	
	Private _OPERATOR As String
	
	Private _OPERATORSQL As String
	
	Private _VALUE As String
	
	Private _DOMAINID As Byte
	
	Private _OPERATORID As Byte
	
	Private _DOMAINDESCRIPTION As String
	
	Private _OPERATORDESCRIPTION As String
	
	Private _VALUEDESCRIPTION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAIN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property DOMAIN() As String
		Get
			Return Me._DOMAIN
		End Get
		Set
			If (String.Equals(Me._DOMAIN, value) = false) Then
				Me._DOMAIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPERATOR", Storage:="_OPERATOR", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property [OPERATOR]() As String
		Get
			Return Me._OPERATOR
		End Get
		Set
			If (String.Equals(Me._OPERATOR, value) = false) Then
				Me._OPERATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORSQL", DbType:="NVarChar(1000) NOT NULL", CanBeNull:=false)>  _
	Public Property OPERATORSQL() As String
		Get
			Return Me._OPERATORSQL
		End Get
		Set
			If (String.Equals(Me._OPERATORSQL, value) = false) Then
				Me._OPERATORSQL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property VALUE() As String
		Get
			Return Me._VALUE
		End Get
		Set
			If (String.Equals(Me._VALUE, value) = false) Then
				Me._VALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt NOT NULL")>  _
	Public Property DOMAINID() As Byte
		Get
			Return Me._DOMAINID
		End Get
		Set
			If ((Me._DOMAINID = value)  _
						= false) Then
				Me._DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt NOT NULL")>  _
	Public Property OPERATORID() As Byte
		Get
			Return Me._OPERATORID
		End Get
		Set
			If ((Me._OPERATORID = value)  _
						= false) Then
				Me._OPERATORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DOMAINDESCRIPTION() As String
		Get
			Return Me._DOMAINDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DOMAINDESCRIPTION, value) = false) Then
				Me._DOMAINDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORDESCRIPTION", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property OPERATORDESCRIPTION() As String
		Get
			Return Me._OPERATORDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._OPERATORDESCRIPTION, value) = false) Then
				Me._OPERATORDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEDESCRIPTION", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property VALUEDESCRIPTION() As String
		Get
			Return Me._VALUEDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._VALUEDESCRIPTION, value) = false) Then
				Me._VALUEDESCRIPTION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_EMAILTYPES")>  _
Partial Public Class VWX_EMAILTYPES
	
	Private _PICKLIST As String
	
	Private _PICKLISTITEMID As System.Guid
	
	Private _PICKLISTID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLIST() As String
		Get
			Return Me._PICKLIST
		End Get
		Set
			If (String.Equals(Me._PICKLIST, value) = false) Then
				Me._PICKLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMID() As System.Guid
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If ((Me._PICKLISTITEMID = value)  _
						= false) Then
				Me._PICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ENTITY_TABLE_PAGESIZE")>  _
Partial Public Class VWX_ENTITY_TABLE_PAGESIZE
	
	Private _ENTITYNAME As String
	
	Private _TABLEID As System.Guid
	
	Private _ISPRIMARYTABLE As Boolean
	
	Private _TABLENAME As String
	
	Private _DISPLAYNAME As String
	
	Private _TYPENUM As Byte
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _CURRENT_SIZE As System.Nullable(Of Integer)
	
	Private _AVAILABLE_SIZE As System.Nullable(Of Integer)
	
	Private _CREATEDATE As Date
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYNAME() As String
		Get
			Return Me._ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._ENTITYNAME, value) = false) Then
				Me._ENTITYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYTABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARYTABLE() As Boolean
		Get
			Return Me._ISPRIMARYTABLE
		End Get
		Set
			If ((Me._ISPRIMARYTABLE = value)  _
						= false) Then
				Me._ISPRIMARYTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CURRENT_SIZE", DbType:="Int")>  _
	Public Property CURRENT_SIZE() As System.Nullable(Of Integer)
		Get
			Return Me._CURRENT_SIZE
		End Get
		Set
			If (Me._CURRENT_SIZE.Equals(value) = false) Then
				Me._CURRENT_SIZE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AVAILABLE_SIZE", DbType:="Int")>  _
	Public Property AVAILABLE_SIZE() As System.Nullable(Of Integer)
		Get
			Return Me._AVAILABLE_SIZE
		End Get
		Set
			If (Me._AVAILABLE_SIZE.Equals(value) = false) Then
				Me._AVAILABLE_SIZE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ENTITYINFO")>  _
Partial Public Class VWX_ENTITYINFO
	
	Private _ENTITYNAME As String
	
	Private _ENTITYDISPLAY As String
	
	Private _ENTITYTYPENUM As Byte
	
	Private _TABLEID As System.Guid
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _TABLETYPENUM As Byte
	
	Private _ISPRIMARYTABLE As Boolean
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMNNAME As String
	
	Private _COLUMNDISPLAY As String
	
	Private _ALIASNAME As String
	
	Private _ORDINAL As Short
	
	Private _TYPENUM As Byte
	
	Private _COLUMNTYPE As String
	
	Private _ACTDATATYPE As String
	
	Private _PHYDATATYPE As String
	
	Private _DOMAIN As String
	
	Private _ISCUSTOM As Boolean
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISDEFINEFIELD As Boolean
	
	Private _ISNULLABLE As Boolean
	
	Private _LENGTH As System.Nullable(Of Short)
	
	Private _DECIMALPRECISION As System.Nullable(Of Byte)
	
	Private _PICKLIST As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYNAME() As String
		Get
			Return Me._ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._ENTITYNAME, value) = false) Then
				Me._ENTITYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYDISPLAY() As String
		Get
			Return Me._ENTITYDISPLAY
		End Get
		Set
			If (String.Equals(Me._ENTITYDISPLAY, value) = false) Then
				Me._ENTITYDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property ENTITYTYPENUM() As Byte
		Get
			Return Me._ENTITYTYPENUM
		End Get
		Set
			If ((Me._ENTITYTYPENUM = value)  _
						= false) Then
				Me._ENTITYTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLETYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TABLETYPENUM() As Byte
		Get
			Return Me._TABLETYPENUM
		End Get
		Set
			If ((Me._TABLETYPENUM = value)  _
						= false) Then
				Me._TABLETYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYTABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARYTABLE() As Boolean
		Get
			Return Me._ISPRIMARYTABLE
		End Get
		Set
			If ((Me._ISPRIMARYTABLE = value)  _
						= false) Then
				Me._ISPRIMARYTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNDISPLAY", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNDISPLAY() As String
		Get
			Return Me._COLUMNDISPLAY
		End Get
		Set
			If (String.Equals(Me._COLUMNDISPLAY, value) = false) Then
				Me._COLUMNDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me._ALIASNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNTYPE", DbType:="VarChar(18)")>  _
	Public Property COLUMNTYPE() As String
		Get
			Return Me._COLUMNTYPE
		End Get
		Set
			If (String.Equals(Me._COLUMNTYPE, value) = false) Then
				Me._COLUMNTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHYDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PHYDATATYPE() As String
		Get
			Return Me._PHYDATATYPE
		End Get
		Set
			If (String.Equals(Me._PHYDATATYPE, value) = false) Then
				Me._PHYDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAIN", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property DOMAIN() As String
		Get
			Return Me._DOMAIN
		End Get
		Set
			If (String.Equals(Me._DOMAIN, value) = false) Then
				Me._DOMAIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFINEFIELD() As Boolean
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If ((Me._ISDEFINEFIELD = value)  _
						= false) Then
				Me._ISDEFINEFIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISNULLABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISNULLABLE() As Boolean
		Get
			Return Me._ISNULLABLE
		End Get
		Set
			If ((Me._ISNULLABLE = value)  _
						= false) Then
				Me._ISNULLABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTH", DbType:="SmallInt")>  _
	Public Property LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._LENGTH
		End Get
		Set
			If (Me._LENGTH.Equals(value) = false) Then
				Me._LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DECIMALPRECISION", DbType:="TinyInt")>  _
	Public Property DECIMALPRECISION() As System.Nullable(Of Byte)
		Get
			Return Me._DECIMALPRECISION
		End Get
		Set
			If (Me._DECIMALPRECISION.Equals(value) = false) Then
				Me._DECIMALPRECISION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST", DbType:="NVarChar(64)")>  _
	Public Property PICKLIST() As String
		Get
			Return Me._PICKLIST
		End Get
		Set
			If (String.Equals(Me._PICKLIST, value) = false) Then
				Me._PICKLIST = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ENTITYRELATIONINFO")>  _
Partial Public Class VWX_ENTITYRELATIONINFO
	
	Private _FROM_ENTITYID As System.Guid
	
	Private _FROM_ENTITYNAME As String
	
	Private _FROM_ENTITYDISPLAY As String
	
	Private _FROM_ENTITYTYPE As Byte
	
	Private _FROM_CARDINALITY As String
	
	Private _FROM_TABLEID As System.Guid
	
	Private _FROM_TABLENAME As String
	
	Private _FROM_TABLEDISPLAY As String
	
	Private _FROM_TABLEISCUSTOM As Boolean
	
	Private _TO_ENTITYID As System.Guid
	
	Private _TO_ENTITYNAME As String
	
	Private _TO_ENTITYDISPLAY As String
	
	Private _TO_ENTITYTYPE As Byte
	
	Private _TO_CARDINALITY As String
	
	Private _TO_TABLEID As System.Guid
	
	Private _TO_TABLENAME As String
	
	Private _TO_TABLEDISPLAY As String
	
	Private _TO_TABLEISCUSTOM As Boolean
	
	Private _ASSOC_TABLENAME As String
	
	Private _FROM_ASSOCCOLUMN As String
	
	Private _TO_ASSOCCOLUMN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property FROM_ENTITYID() As System.Guid
		Get
			Return Me._FROM_ENTITYID
		End Get
		Set
			If ((Me._FROM_ENTITYID = value)  _
						= false) Then
				Me._FROM_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ENTITYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FROM_ENTITYNAME() As String
		Get
			Return Me._FROM_ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._FROM_ENTITYNAME, value) = false) Then
				Me._FROM_ENTITYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ENTITYDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FROM_ENTITYDISPLAY() As String
		Get
			Return Me._FROM_ENTITYDISPLAY
		End Get
		Set
			If (String.Equals(Me._FROM_ENTITYDISPLAY, value) = false) Then
				Me._FROM_ENTITYDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ENTITYTYPE", DbType:="TinyInt NOT NULL")>  _
	Public Property FROM_ENTITYTYPE() As Byte
		Get
			Return Me._FROM_ENTITYTYPE
		End Get
		Set
			If ((Me._FROM_ENTITYTYPE = value)  _
						= false) Then
				Me._FROM_ENTITYTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_CARDINALITY", DbType:="VarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property FROM_CARDINALITY() As String
		Get
			Return Me._FROM_CARDINALITY
		End Get
		Set
			If (String.Equals(Me._FROM_CARDINALITY, value) = false) Then
				Me._FROM_CARDINALITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property FROM_TABLEID() As System.Guid
		Get
			Return Me._FROM_TABLEID
		End Get
		Set
			If ((Me._FROM_TABLEID = value)  _
						= false) Then
				Me._FROM_TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property FROM_TABLENAME() As String
		Get
			Return Me._FROM_TABLENAME
		End Get
		Set
			If (String.Equals(Me._FROM_TABLENAME, value) = false) Then
				Me._FROM_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FROM_TABLEDISPLAY() As String
		Get
			Return Me._FROM_TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._FROM_TABLEDISPLAY, value) = false) Then
				Me._FROM_TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_TABLEISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property FROM_TABLEISCUSTOM() As Boolean
		Get
			Return Me._FROM_TABLEISCUSTOM
		End Get
		Set
			If ((Me._FROM_TABLEISCUSTOM = value)  _
						= false) Then
				Me._FROM_TABLEISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TO_ENTITYID() As System.Guid
		Get
			Return Me._TO_ENTITYID
		End Get
		Set
			If ((Me._TO_ENTITYID = value)  _
						= false) Then
				Me._TO_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ENTITYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TO_ENTITYNAME() As String
		Get
			Return Me._TO_ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._TO_ENTITYNAME, value) = false) Then
				Me._TO_ENTITYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ENTITYDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TO_ENTITYDISPLAY() As String
		Get
			Return Me._TO_ENTITYDISPLAY
		End Get
		Set
			If (String.Equals(Me._TO_ENTITYDISPLAY, value) = false) Then
				Me._TO_ENTITYDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ENTITYTYPE", DbType:="TinyInt NOT NULL")>  _
	Public Property TO_ENTITYTYPE() As Byte
		Get
			Return Me._TO_ENTITYTYPE
		End Get
		Set
			If ((Me._TO_ENTITYTYPE = value)  _
						= false) Then
				Me._TO_ENTITYTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_CARDINALITY", DbType:="VarChar(3) NOT NULL", CanBeNull:=false)>  _
	Public Property TO_CARDINALITY() As String
		Get
			Return Me._TO_CARDINALITY
		End Get
		Set
			If (String.Equals(Me._TO_CARDINALITY, value) = false) Then
				Me._TO_CARDINALITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TO_TABLEID() As System.Guid
		Get
			Return Me._TO_TABLEID
		End Get
		Set
			If ((Me._TO_TABLEID = value)  _
						= false) Then
				Me._TO_TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TO_TABLENAME() As String
		Get
			Return Me._TO_TABLENAME
		End Get
		Set
			If (String.Equals(Me._TO_TABLENAME, value) = false) Then
				Me._TO_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TO_TABLEDISPLAY() As String
		Get
			Return Me._TO_TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TO_TABLEDISPLAY, value) = false) Then
				Me._TO_TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_TABLEISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property TO_TABLEISCUSTOM() As Boolean
		Get
			Return Me._TO_TABLEISCUSTOM
		End Get
		Set
			If ((Me._TO_TABLEISCUSTOM = value)  _
						= false) Then
				Me._TO_TABLEISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOC_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property ASSOC_TABLENAME() As String
		Get
			Return Me._ASSOC_TABLENAME
		End Get
		Set
			If (String.Equals(Me._ASSOC_TABLENAME, value) = false) Then
				Me._ASSOC_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ASSOCCOLUMN", DbType:="NVarChar(32)")>  _
	Public Property FROM_ASSOCCOLUMN() As String
		Get
			Return Me._FROM_ASSOCCOLUMN
		End Get
		Set
			If (String.Equals(Me._FROM_ASSOCCOLUMN, value) = false) Then
				Me._FROM_ASSOCCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ASSOCCOLUMN", DbType:="NVarChar(32)")>  _
	Public Property TO_ASSOCCOLUMN() As String
		Get
			Return Me._TO_ASSOCCOLUMN
		End Get
		Set
			If (String.Equals(Me._TO_ASSOCCOLUMN, value) = false) Then
				Me._TO_ASSOCCOLUMN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ENTITYTABLEINFO")>  _
Partial Public Class VWX_ENTITYTABLEINFO
	
	Private _ENTITYID As System.Guid
	
	Private _ENTITYNAME As String
	
	Private _ENTITYDISPLAY As String
	
	Private _ENTITYTYPENUM As Byte
	
	Private _ENTITYCREATEDATE As Date
	
	Private _ENTITYCREATEDBY As String
	
	Private _TABLEID As System.Guid
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _TABLETYPENUM As Byte
	
	Private _ISPRIMARYTABLE As Boolean
	
	Private _ENTITYDESCRIPTION As String
	
	Private _TABLEDESCRIPTION As String
	
	Private _TABLECREATEDATE As Date
	
	Private _TABLECREATEDBY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ENTITYID() As System.Guid
		Get
			Return Me._ENTITYID
		End Get
		Set
			If ((Me._ENTITYID = value)  _
						= false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYNAME() As String
		Get
			Return Me._ENTITYNAME
		End Get
		Set
			If (String.Equals(Me._ENTITYNAME, value) = false) Then
				Me._ENTITYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYDISPLAY() As String
		Get
			Return Me._ENTITYDISPLAY
		End Get
		Set
			If (String.Equals(Me._ENTITYDISPLAY, value) = false) Then
				Me._ENTITYDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYTYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property ENTITYTYPENUM() As Byte
		Get
			Return Me._ENTITYTYPENUM
		End Get
		Set
			If ((Me._ENTITYTYPENUM = value)  _
						= false) Then
				Me._ENTITYTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYCREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ENTITYCREATEDATE() As Date
		Get
			Return Me._ENTITYCREATEDATE
		End Get
		Set
			If ((Me._ENTITYCREATEDATE = value)  _
						= false) Then
				Me._ENTITYCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYCREATEDBY", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property ENTITYCREATEDBY() As String
		Get
			Return Me._ENTITYCREATEDBY
		End Get
		Set
			If (String.Equals(Me._ENTITYCREATEDBY, value) = false) Then
				Me._ENTITYCREATEDBY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLETYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TABLETYPENUM() As Byte
		Get
			Return Me._TABLETYPENUM
		End Get
		Set
			If ((Me._TABLETYPENUM = value)  _
						= false) Then
				Me._TABLETYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYTABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISPRIMARYTABLE() As Boolean
		Get
			Return Me._ISPRIMARYTABLE
		End Get
		Set
			If ((Me._ISPRIMARYTABLE = value)  _
						= false) Then
				Me._ISPRIMARYTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYDESCRIPTION", DbType:="NVarChar(512)")>  _
	Public Property ENTITYDESCRIPTION() As String
		Get
			Return Me._ENTITYDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ENTITYDESCRIPTION, value) = false) Then
				Me._ENTITYDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDESCRIPTION", DbType:="NVarChar(512)")>  _
	Public Property TABLEDESCRIPTION() As String
		Get
			Return Me._TABLEDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._TABLEDESCRIPTION, value) = false) Then
				Me._TABLEDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLECREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property TABLECREATEDATE() As Date
		Get
			Return Me._TABLECREATEDATE
		End Get
		Set
			If ((Me._TABLECREATEDATE = value)  _
						= false) Then
				Me._TABLECREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLECREATEDBY", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLECREATEDBY() As String
		Get
			Return Me._TABLECREATEDBY
		End Get
		Set
			If (String.Equals(Me._TABLECREATEDBY, value) = false) Then
				Me._TABLECREATEDBY = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_EVENTLOGINFO")>  _
Partial Public Class VWX_EVENTLOGINFO
	
	Private _EVENTLOGTYPEID As Byte
	
	Private _EVENTLOGID As Integer
	
	Private _SECTION As String
	
	Private _NAME As String
	
	Private _EVENTSOURCE As String
	
	Private _EVENTDATE As Date
	
	Private _USERNAME As String
	
	Private _SQLUSER As String
	
	Private _STATUSNUM As Byte
	
	Private _DETAILDATE As Date
	
	Private _DETAILS As String
	
	Private _OLDVALUE As String
	
	Private _NEWVALUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGTYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property EVENTLOGTYPEID() As Byte
		Get
			Return Me._EVENTLOGTYPEID
		End Get
		Set
			If ((Me._EVENTLOGTYPEID = value)  _
						= false) Then
				Me._EVENTLOGTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGID", DbType:="Int NOT NULL")>  _
	Public Property EVENTLOGID() As Integer
		Get
			Return Me._EVENTLOGID
		End Get
		Set
			If ((Me._EVENTLOGID = value)  _
						= false) Then
				Me._EVENTLOGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECTION", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SECTION() As String
		Get
			Return Me._SECTION
		End Get
		Set
			If (String.Equals(Me._SECTION, value) = false) Then
				Me._SECTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTSOURCE", DbType:="NVarChar(64)")>  _
	Public Property EVENTSOURCE() As String
		Get
			Return Me._EVENTSOURCE
		End Get
		Set
			If (String.Equals(Me._EVENTSOURCE, value) = false) Then
				Me._EVENTSOURCE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTDATE", DbType:="DateTime NOT NULL")>  _
	Public Property EVENTDATE() As Date
		Get
			Return Me._EVENTDATE
		End Get
		Set
			If ((Me._EVENTDATE = value)  _
						= false) Then
				Me._EVENTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERNAME", DbType:="NVarChar(128)")>  _
	Public Property USERNAME() As String
		Get
			Return Me._USERNAME
		End Get
		Set
			If (String.Equals(Me._USERNAME, value) = false) Then
				Me._USERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLUSER", DbType:="NVarChar(16) NOT NULL", CanBeNull:=false)>  _
	Public Property SQLUSER() As String
		Get
			Return Me._SQLUSER
		End Get
		Set
			If (String.Equals(Me._SQLUSER, value) = false) Then
				Me._SQLUSER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILDATE", DbType:="DateTime NOT NULL")>  _
	Public Property DETAILDATE() As Date
		Get
			Return Me._DETAILDATE
		End Get
		Set
			If ((Me._DETAILDATE = value)  _
						= false) Then
				Me._DETAILDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(2000) NOT NULL", CanBeNull:=false)>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLDVALUE", DbType:="NVarChar(500)")>  _
	Public Property OLDVALUE() As String
		Get
			Return Me._OLDVALUE
		End Get
		Set
			If (String.Equals(Me._OLDVALUE, value) = false) Then
				Me._OLDVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEWVALUE", DbType:="NVarChar(500)")>  _
	Public Property NEWVALUE() As String
		Get
			Return Me._NEWVALUE
		End Get
		Set
			If (String.Equals(Me._NEWVALUE, value) = false) Then
				Me._NEWVALUE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_GROUP_ALPHAHIERSORT")>  _
Partial Public Class VWX_GROUP_ALPHAHIERSORT
	
	Private _GROUPID As System.Guid
	
	Private _NAME As String
	
	Private _ALPHA_HIER_SORT As String
	
	Private _HIERPATH As String
	
	Private _HIERLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALPHA_HIER_SORT", DbType:="NVarChar(1934) NOT NULL", CanBeNull:=false)>  _
	Public Property ALPHA_HIER_SORT() As String
		Get
			Return Me._ALPHA_HIER_SORT
		End Get
		Set
			If (String.Equals(Me._ALPHA_HIER_SORT, value) = false) Then
				Me._ALPHA_HIER_SORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERPATH", DbType:="VarChar(556)")>  _
	Public Property HIERPATH() As String
		Get
			Return Me._HIERPATH
		End Get
		Set
			If (String.Equals(Me._HIERPATH, value) = false) Then
				Me._HIERPATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERLEVEL", DbType:="Int")>  _
	Public Property HIERLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERLEVEL
		End Get
		Set
			If (Me._HIERLEVEL.Equals(value) = false) Then
				Me._HIERLEVEL = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_GROUP_USER_ENUM")>  _
Partial Public Class VWX_GROUP_USER_ENUM
	
	Private _GROUPID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _USERLOGIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GROUPID() As System.Guid
		Get
			Return Me._GROUPID
		End Get
		Set
			If ((Me._GROUPID = value)  _
						= false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_MYDELEGATES")>  _
Partial Public Class VWX_MYDELEGATES
	
	Private _ACCESSORID As System.Guid
	
	Private _GRANTTOACCESSORID As System.Guid
	
	Private _CALENDARLEVEL As Byte
	
	Private _NAME As String
	
	Private _ACCESSORTYPE As String
	
	Private _TYPENUM As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GRANTTOACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property GRANTTOACCESSORID() As System.Guid
		Get
			Return Me._GRANTTOACCESSORID
		End Get
		Set
			If ((Me._GRANTTOACCESSORID = value)  _
						= false) Then
				Me._GRANTTOACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARLEVEL", DbType:="TinyInt NOT NULL")>  _
	Public Property CALENDARLEVEL() As Byte
		Get
			Return Me._CALENDARLEVEL
		End Get
		Set
			If ((Me._CALENDARLEVEL = value)  _
						= false) Then
				Me._CALENDARLEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORTYPE", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property ACCESSORTYPE() As String
		Get
			Return Me._ACCESSORTYPE
		End Get
		Set
			If (String.Equals(Me._ACCESSORTYPE, value) = false) Then
				Me._ACCESSORTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_OLEDBVIEW_COLUMNINFO")>  _
Partial Public Class VWX_OLEDBVIEW_COLUMNINFO
	
	Private _VIEWNAME As String
	
	Private _PROVIDER_VIEWNAME As String
	
	Private _VIEW_DISPLAYNAME As String
	
	Private _DESCRIPTION As String
	
	Private _FUNCTIONNAME As String
	
	Private _TABLENAME As String
	
	Private _VIEWCOLUMN As String
	
	Private _ACTDATATYPE As String
	
	Private _COLUMNNAME As String
	
	Private _ALIASNAME As String
	
	Private _COLUMN_DISPLAYNAME As String
	
	Private _FUNCTIONCOLUMN As String
	
	Private _ISVIEWCOLUMN As Integer
	
	Private _IS_DERIVED As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				Me._PROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEW_DISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEW_DISPLAYNAME() As String
		Get
			Return Me._VIEW_DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._VIEW_DISPLAYNAME, value) = false) Then
				Me._VIEW_DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(1024)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONNAME", DbType:="NVarChar(64)")>  _
	Public Property FUNCTIONNAME() As String
		Get
			Return Me._FUNCTIONNAME
		End Get
		Set
			If (String.Equals(Me._FUNCTIONNAME, value) = false) Then
				Me._FUNCTIONNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWCOLUMN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property VIEWCOLUMN() As String
		Get
			Return Me._VIEWCOLUMN
		End Get
		Set
			If (String.Equals(Me._VIEWCOLUMN, value) = false) Then
				Me._VIEWCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me._ALIASNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMN_DISPLAYNAME", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMN_DISPLAYNAME() As String
		Get
			Return Me._COLUMN_DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._COLUMN_DISPLAYNAME, value) = false) Then
				Me._COLUMN_DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property FUNCTIONCOLUMN() As String
		Get
			Return Me._FUNCTIONCOLUMN
		End Get
		Set
			If (String.Equals(Me._FUNCTIONCOLUMN, value) = false) Then
				Me._FUNCTIONCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVIEWCOLUMN", DbType:="Int NOT NULL")>  _
	Public Property ISVIEWCOLUMN() As Integer
		Get
			Return Me._ISVIEWCOLUMN
		End Get
		Set
			If ((Me._ISVIEWCOLUMN = value)  _
						= false) Then
				Me._ISVIEWCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DERIVED", DbType:="Bit")>  _
	Public Property IS_DERIVED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DERIVED
		End Get
		Set
			If (Me._IS_DERIVED.Equals(value) = false) Then
				Me._IS_DERIVED = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_OPPORTUNITY_USER_ENUM")>  _
Partial Public Class VWX_OPPORTUNITY_USER_ENUM
	
	Private _OPPORTUNITYID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _USERLOGIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property OPPORTUNITYID() As System.Guid
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If ((Me._OPPORTUNITYID = value)  _
						= false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_PERMISSIONINFO")>  _
Partial Public Class VWX_PERMISSIONINFO
	
	Private _FEATURESET As String
	
	Private _PERMISSION As String
	
	Private _DEPENDENTPERMISSION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESET", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FEATURESET() As String
		Get
			Return Me._FEATURESET
		End Get
		Set
			If (String.Equals(Me._FEATURESET, value) = false) Then
				Me._FEATURESET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSION", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PERMISSION() As String
		Get
			Return Me._PERMISSION
		End Get
		Set
			If (String.Equals(Me._PERMISSION, value) = false) Then
				Me._PERMISSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DEPENDENT PERMISSION", Storage:="_DEPENDENTPERMISSION", DbType:="NVarChar(64)")>  _
	Public Property DEPENDENTPERMISSION() As String
		Get
			Return Me._DEPENDENTPERMISSION
		End Get
		Set
			If (String.Equals(Me._DEPENDENTPERMISSION, value) = false) Then
				Me._DEPENDENTPERMISSION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_PHONETYPES")>  _
Partial Public Class VWX_PHONETYPES
	
	Private _PICKLIST As String
	
	Private _PICKLISTITEMID As System.Guid
	
	Private _PICKLISTID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _ISCUSTOM As Boolean
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLIST() As String
		Get
			Return Me._PICKLIST
		End Get
		Set
			If (String.Equals(Me._PICKLIST, value) = false) Then
				Me._PICKLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTITEMID() As System.Guid
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If ((Me._PICKLISTITEMID = value)  _
						= false) Then
				Me._PICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_PICKLISTINFO")>  _
Partial Public Class VWX_PICKLISTINFO
	
	Private _PICKLISTID As System.Guid
	
	Private _PICKLIST_NAME As String
	
	Private _ISCUSTOM_PICKLIST As Boolean
	
	Private _TYPENUM As Byte
	
	Private _PICKLIST_TYPE As String
	
	Private _ISEDITLIST As Boolean
	
	Private _ISAUTOINSERT As Boolean
	
	Private _DATATYPEID As Byte
	
	Private _ACTDATATYPE As String
	
	Private _NAME As String
	
	Private _PICKLISTITEMID As System.Nullable(Of System.Guid)
	
	Private _ISCUSTOM_ITEM As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property PICKLISTID() As System.Guid
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If ((Me._PICKLISTID = value)  _
						= false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST_NAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLIST_NAME() As String
		Get
			Return Me._PICKLIST_NAME
		End Get
		Set
			If (String.Equals(Me._PICKLIST_NAME, value) = false) Then
				Me._PICKLIST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM_PICKLIST", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM_PICKLIST() As Boolean
		Get
			Return Me._ISCUSTOM_PICKLIST
		End Get
		Set
			If ((Me._ISCUSTOM_PICKLIST = value)  _
						= false) Then
				Me._ISCUSTOM_PICKLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLIST_TYPE", DbType:="NVarChar(39) NOT NULL", CanBeNull:=false)>  _
	Public Property PICKLIST_TYPE() As String
		Get
			Return Me._PICKLIST_TYPE
		End Get
		Set
			If (String.Equals(Me._PICKLIST_TYPE, value) = false) Then
				Me._PICKLIST_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISEDITLIST", DbType:="Bit NOT NULL")>  _
	Public Property ISEDITLIST() As Boolean
		Get
			Return Me._ISEDITLIST
		End Get
		Set
			If ((Me._ISEDITLIST = value)  _
						= false) Then
				Me._ISEDITLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISAUTOINSERT", DbType:="Bit NOT NULL")>  _
	Public Property ISAUTOINSERT() As Boolean
		Get
			Return Me._ISAUTOINSERT
		End Get
		Set
			If ((Me._ISAUTOINSERT = value)  _
						= false) Then
				Me._ISAUTOINSERT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt NOT NULL")>  _
	Public Property DATATYPEID() As Byte
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If ((Me._DATATYPEID = value)  _
						= false) Then
				Me._DATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If (Me._PICKLISTITEMID.Equals(value) = false) Then
				Me._PICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM_ITEM", DbType:="Bit")>  _
	Public Property ISCUSTOM_ITEM() As System.Nullable(Of Boolean)
		Get
			Return Me._ISCUSTOM_ITEM
		End Get
		Set
			If (Me._ISCUSTOM_ITEM.Equals(value) = false) Then
				Me._ISCUSTOM_ITEM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_RESOURCE")>  _
Partial Public Class VWX_RESOURCE
	
	Private _ACCESSORID As System.Guid
	
	Private _RESOURCEID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _STATUSNUM As Byte
	
	Private _STATUS As String
	
	Private _RESOURCE_TYPE As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property RESOURCEID() As System.Guid
		Get
			Return Me._RESOURCEID
		End Get
		Set
			If ((Me._RESOURCEID = value)  _
						= false) Then
				Me._RESOURCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCE_TYPE", DbType:="NVarChar(9) NOT NULL", CanBeNull:=false)>  _
	Public Property RESOURCE_TYPE() As String
		Get
			Return Me._RESOURCE_TYPE
		End Get
		Set
			If (String.Equals(Me._RESOURCE_TYPE, value) = false) Then
				Me._RESOURCE_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ROLE_PERMISSION_MATRIX")>  _
Partial Public Class VWX_ROLE_PERMISSION_MATRIX
	
	Private _FEATURESET As String
	
	Private _PERMISSION As String
	
	Private _Administrator As String
	
	Private _Manager As String
	
	Private _Standard As String
	
	Private _Restricted As String
	
	Private _Browse As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESET", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FEATURESET() As String
		Get
			Return Me._FEATURESET
		End Get
		Set
			If (String.Equals(Me._FEATURESET, value) = false) Then
				Me._FEATURESET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSION", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PERMISSION() As String
		Get
			Return Me._PERMISSION
		End Get
		Set
			If (String.Equals(Me._PERMISSION, value) = false) Then
				Me._PERMISSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Administrator", DbType:="VarChar(1)")>  _
	Public Property Administrator() As String
		Get
			Return Me._Administrator
		End Get
		Set
			If (String.Equals(Me._Administrator, value) = false) Then
				Me._Administrator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Manager", DbType:="VarChar(1)")>  _
	Public Property Manager() As String
		Get
			Return Me._Manager
		End Get
		Set
			If (String.Equals(Me._Manager, value) = false) Then
				Me._Manager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Standard", DbType:="VarChar(1)")>  _
	Public Property Standard() As String
		Get
			Return Me._Standard
		End Get
		Set
			If (String.Equals(Me._Standard, value) = false) Then
				Me._Standard = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Restricted", DbType:="VarChar(1)")>  _
	Public Property Restricted() As String
		Get
			Return Me._Restricted
		End Get
		Set
			If (String.Equals(Me._Restricted, value) = false) Then
				Me._Restricted = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Browse", DbType:="VarChar(1)")>  _
	Public Property Browse() As String
		Get
			Return Me._Browse
		End Get
		Set
			If (String.Equals(Me._Browse, value) = false) Then
				Me._Browse = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_ROLEINFO")>  _
Partial Public Class VWX_ROLEINFO
	
	Private _ROLE As String
	
	Private _FEATURESET As String
	
	Private _PERMISSION As String
	
	Private _DEPENDENTPERMISSION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property ROLE() As String
		Get
			Return Me._ROLE
		End Get
		Set
			If (String.Equals(Me._ROLE, value) = false) Then
				Me._ROLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESET", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property FEATURESET() As String
		Get
			Return Me._FEATURESET
		End Get
		Set
			If (String.Equals(Me._FEATURESET, value) = false) Then
				Me._FEATURESET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSION", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property PERMISSION() As String
		Get
			Return Me._PERMISSION
		End Get
		Set
			If (String.Equals(Me._PERMISSION, value) = false) Then
				Me._PERMISSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DEPENDENT PERMISSION", Storage:="_DEPENDENTPERMISSION", DbType:="NVarChar(64)")>  _
	Public Property DEPENDENTPERMISSION() As String
		Get
			Return Me._DEPENDENTPERMISSION
		End Get
		Set
			If (String.Equals(Me._DEPENDENTPERMISSION, value) = false) Then
				Me._DEPENDENTPERMISSION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNC_COLUMNS")>  _
Partial Public Class VWX_SYNC_COLUMNS
	
	Private _TABLENAME As String
	
	Private _TABLEID As System.Guid
	
	Private _TABLELUID As Short
	
	Private _COLUMNNAME As String
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMNLUID As Short
	
	Private _COLUMN_TYPENUM As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt NOT NULL")>  _
	Public Property COLUMNLUID() As Short
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If ((Me._COLUMNLUID = value)  _
						= false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMN_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property COLUMN_TYPENUM() As Byte
		Get
			Return Me._COLUMN_TYPENUM
		End Get
		Set
			If ((Me._COLUMN_TYPENUM = value)  _
						= false) Then
				Me._COLUMN_TYPENUM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNC_SYNCSETACCESSORS")>  _
Partial Public Class VWX_SYNC_SYNCSETACCESSORS
	
	Private _SYNCSETID As System.Guid
	
	Private _SYNCSETNAME As String
	
	Private _ISALLUSERSYNC As Boolean
	
	Private _CONTACTQUERYTEXT As String
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORNAME As String
	
	Private _ACCESSORTYPE As String
	
	Private _STATUS As String
	
	Private _ROLENAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCSETID() As System.Guid
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If ((Me._SYNCSETID = value)  _
						= false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETNAME", DbType:="NVarChar(312) NOT NULL", CanBeNull:=false)>  _
	Public Property SYNCSETNAME() As String
		Get
			Return Me._SYNCSETNAME
		End Get
		Set
			If (String.Equals(Me._SYNCSETNAME, value) = false) Then
				Me._SYNCSETNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISALLUSERSYNC", DbType:="Bit NOT NULL")>  _
	Public Property ISALLUSERSYNC() As Boolean
		Get
			Return Me._ISALLUSERSYNC
		End Get
		Set
			If ((Me._ISALLUSERSYNC = value)  _
						= false) Then
				Me._ISALLUSERSYNC = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTQUERYTEXT", DbType:="NVarChar(MAX)", UpdateCheck:=UpdateCheck.Never)>  _
	Public Property CONTACTQUERYTEXT() As String
		Get
			Return Me._CONTACTQUERYTEXT
		End Get
		Set
			If (String.Equals(Me._CONTACTQUERYTEXT, value) = false) Then
				Me._CONTACTQUERYTEXT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORNAME", DbType:="NVarChar(128)")>  _
	Public Property ACCESSORNAME() As String
		Get
			Return Me._ACCESSORNAME
		End Get
		Set
			If (String.Equals(Me._ACCESSORNAME, value) = false) Then
				Me._ACCESSORNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORTYPE", DbType:="NVarChar(8)")>  _
	Public Property ACCESSORTYPE() As String
		Get
			Return Me._ACCESSORTYPE
		End Get
		Set
			If (String.Equals(Me._ACCESSORTYPE, value) = false) Then
				Me._ACCESSORTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8)")>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLENAME", DbType:="NVarChar(64)")>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNC_TABLES")>  _
Partial Public Class VWX_SYNC_TABLES
	
	Private _TABLENAME As String
	
	Private _TABLEID As System.Guid
	
	Private _TABLELUID As Short
	
	Private _TABLEDOMAIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAIN", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDOMAIN() As String
		Get
			Return Me._TABLEDOMAIN
		End Get
		Set
			If (String.Equals(Me._TABLEDOMAIN, value) = false) Then
				Me._TABLEDOMAIN = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCAPPLOCK")>  _
Partial Public Class VWX_SYNCAPPLOCK
	
	Private _Req_spid As Integer
	
	Private _Req_mode As Byte
	
	Private _Last_batch As Date
	
	Private _Hostname As String
	
	Private _Application_name As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="req_spid", Storage:="_Req_spid", DbType:="Int NOT NULL")>  _
	Public Property Req_spid() As Integer
		Get
			Return Me._Req_spid
		End Get
		Set
			If ((Me._Req_spid = value)  _
						= false) Then
				Me._Req_spid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="req_mode", Storage:="_Req_mode", DbType:="TinyInt NOT NULL")>  _
	Public Property Req_mode() As Byte
		Get
			Return Me._Req_mode
		End Get
		Set
			If ((Me._Req_mode = value)  _
						= false) Then
				Me._Req_mode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="last_batch", Storage:="_Last_batch", DbType:="DateTime NOT NULL")>  _
	Public Property Last_batch() As Date
		Get
			Return Me._Last_batch
		End Get
		Set
			If ((Me._Last_batch = value)  _
						= false) Then
				Me._Last_batch = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="hostname", Storage:="_Hostname", DbType:="NVarChar(24)")>  _
	Public Property Hostname() As String
		Get
			Return Me._Hostname
		End Get
		Set
			If (String.Equals(Me._Hostname, value) = false) Then
				Me._Hostname = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="application_name", Storage:="_Application_name", DbType:="NVarChar(24)")>  _
	Public Property Application_name() As String
		Get
			Return Me._Application_name
		End Get
		Set
			If (String.Equals(Me._Application_name, value) = false) Then
				Me._Application_name = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCDB")>  _
Partial Public Class VWX_SYNCDB
	
	Private _SYNCDBID As System.Nullable(Of Short)
	
	Private _NAME As String
	
	Private _SYNCDBGUID As System.Guid
	
	Private _SERVERNAME As String
	
	Private _DATABASENAME As String
	
	Private _DATABASEID As System.Guid
	
	Private _SYNC_SERVER_MACHINE_NAME As String
	
	Private _SYNC_SERVER_PORT As System.Nullable(Of Integer)
	
	Private _WEB_SERVER_ADDRESS As String
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _PUB_SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _STATUSNUM As Byte
	
	Private _ISEXPIRED As Boolean
	
	Private _EXPIREACTION As Byte
	
	Private _CONFLICTRULE1 As Byte
	
	Private _CONFLICTRULE2 As Byte
	
	Private _EXPIREDAYS As Short
	
	Private _ISSUPPFILESYNC As Boolean
	
	Private _ISATTACHSYNC As Boolean
	
	Private _ISINCLUDEATTACH As Boolean
	
	Private _MAXATTACHBYTES As Integer
	
	Private _DEVICE_SERIALNUM As String
	
	Private _TYPENUM As Byte
	
	Private _ORIG_CREATEDATE As Date
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBID", DbType:="SmallInt")>  _
	Public Property SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBID
		End Get
		Set
			If (Me._SYNCDBID.Equals(value) = false) Then
				Me._SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property SYNCDBGUID() As System.Guid
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If ((Me._SYNCDBGUID = value)  _
						= false) Then
				Me._SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERVERNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property SERVERNAME() As String
		Get
			Return Me._SERVERNAME
		End Get
		Set
			If (String.Equals(Me._SERVERNAME, value) = false) Then
				Me._SERVERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASENAME", DbType:="NVarChar(196) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASENAME() As String
		Get
			Return Me._DATABASENAME
		End Get
		Set
			If (String.Equals(Me._DATABASENAME, value) = false) Then
				Me._DATABASENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property DATABASEID() As System.Guid
		Get
			Return Me._DATABASEID
		End Get
		Set
			If ((Me._DATABASEID = value)  _
						= false) Then
				Me._DATABASEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_MACHINE_NAME", DbType:="NVarChar(64)")>  _
	Public Property SYNC_SERVER_MACHINE_NAME() As String
		Get
			Return Me._SYNC_SERVER_MACHINE_NAME
		End Get
		Set
			If (String.Equals(Me._SYNC_SERVER_MACHINE_NAME, value) = false) Then
				Me._SYNC_SERVER_MACHINE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_PORT", DbType:="Int")>  _
	Public Property SYNC_SERVER_PORT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNC_SERVER_PORT
		End Get
		Set
			If (Me._SYNC_SERVER_PORT.Equals(value) = false) Then
				Me._SYNC_SERVER_PORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SERVER_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property WEB_SERVER_ADDRESS() As String
		Get
			Return Me._WEB_SERVER_ADDRESS
		End Get
		Set
			If (String.Equals(Me._WEB_SERVER_ADDRESS, value) = false) Then
				Me._WEB_SERVER_ADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUB_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property PUB_SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PUB_SYNCDBGUID
		End Get
		Set
			If (Me._PUB_SYNCDBGUID.Equals(value) = false) Then
				Me._PUB_SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISEXPIRED", DbType:="Bit NOT NULL")>  _
	Public Property ISEXPIRED() As Boolean
		Get
			Return Me._ISEXPIRED
		End Get
		Set
			If ((Me._ISEXPIRED = value)  _
						= false) Then
				Me._ISEXPIRED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREACTION", DbType:="TinyInt NOT NULL")>  _
	Public Property EXPIREACTION() As Byte
		Get
			Return Me._EXPIREACTION
		End Get
		Set
			If ((Me._EXPIREACTION = value)  _
						= false) Then
				Me._EXPIREACTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFLICTRULE1", DbType:="TinyInt NOT NULL")>  _
	Public Property CONFLICTRULE1() As Byte
		Get
			Return Me._CONFLICTRULE1
		End Get
		Set
			If ((Me._CONFLICTRULE1 = value)  _
						= false) Then
				Me._CONFLICTRULE1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONFLICTRULE2", DbType:="TinyInt NOT NULL")>  _
	Public Property CONFLICTRULE2() As Byte
		Get
			Return Me._CONFLICTRULE2
		End Get
		Set
			If ((Me._CONFLICTRULE2 = value)  _
						= false) Then
				Me._CONFLICTRULE2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREDAYS", DbType:="SmallInt NOT NULL")>  _
	Public Property EXPIREDAYS() As Short
		Get
			Return Me._EXPIREDAYS
		End Get
		Set
			If ((Me._EXPIREDAYS = value)  _
						= false) Then
				Me._EXPIREDAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSUPPFILESYNC", DbType:="Bit NOT NULL")>  _
	Public Property ISSUPPFILESYNC() As Boolean
		Get
			Return Me._ISSUPPFILESYNC
		End Get
		Set
			If ((Me._ISSUPPFILESYNC = value)  _
						= false) Then
				Me._ISSUPPFILESYNC = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISATTACHSYNC", DbType:="Bit NOT NULL")>  _
	Public Property ISATTACHSYNC() As Boolean
		Get
			Return Me._ISATTACHSYNC
		End Get
		Set
			If ((Me._ISATTACHSYNC = value)  _
						= false) Then
				Me._ISATTACHSYNC = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISINCLUDEATTACH", DbType:="Bit NOT NULL")>  _
	Public Property ISINCLUDEATTACH() As Boolean
		Get
			Return Me._ISINCLUDEATTACH
		End Get
		Set
			If ((Me._ISINCLUDEATTACH = value)  _
						= false) Then
				Me._ISINCLUDEATTACH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MAXATTACHBYTES", DbType:="Int NOT NULL")>  _
	Public Property MAXATTACHBYTES() As Integer
		Get
			Return Me._MAXATTACHBYTES
		End Get
		Set
			If ((Me._MAXATTACHBYTES = value)  _
						= false) Then
				Me._MAXATTACHBYTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEVICE_SERIALNUM", DbType:="NVarChar(64)")>  _
	Public Property DEVICE_SERIALNUM() As String
		Get
			Return Me._DEVICE_SERIALNUM
		End Get
		Set
			If (String.Equals(Me._DEVICE_SERIALNUM, value) = false) Then
				Me._DEVICE_SERIALNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIG_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ORIG_CREATEDATE() As Date
		Get
			Return Me._ORIG_CREATEDATE
		End Get
		Set
			If ((Me._ORIG_CREATEDATE = value)  _
						= false) Then
				Me._ORIG_CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCDB_DEVICETABLE")>  _
Partial Public Class VWX_SYNCDB_DEVICETABLE
	
	Private _SYNCDB_TYPENUM As Byte
	
	Private _DATABASE_TYPE As String
	
	Private _TABLENAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDB_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property SYNCDB_TYPENUM() As Byte
		Get
			Return Me._SYNCDB_TYPENUM
		End Get
		Set
			If ((Me._SYNCDB_TYPENUM = value)  _
						= false) Then
				Me._SYNCDB_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_TYPE", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property DATABASE_TYPE() As String
		Get
			Return Me._DATABASE_TYPE
		End Get
		Set
			If (String.Equals(Me._DATABASE_TYPE, value) = false) Then
				Me._DATABASE_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCDBMAPINFO_ALL")>  _
Partial Public Class VWX_SYNCDBMAPINFO_ALL
	
	Private _SYNCDBMAPID As Short
	
	Private _SUBDBID As Short
	
	Private _LAST_ADDSYNCROWID As Integer
	
	Private _LAST_DELSYNCROWID As Integer
	
	Private _LAST_UPDSENDDATE As Date
	
	Private _LAST_SESSIONID As Integer
	
	Private _LAST_SUCCESSDATE As Date
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property SUBDBID() As Short
		Get
			Return Me._SUBDBID
		End Get
		Set
			If ((Me._SUBDBID = value)  _
						= false) Then
				Me._SUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ADDSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property LAST_ADDSYNCROWID() As Integer
		Get
			Return Me._LAST_ADDSYNCROWID
		End Get
		Set
			If ((Me._LAST_ADDSYNCROWID = value)  _
						= false) Then
				Me._LAST_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_DELSYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property LAST_DELSYNCROWID() As Integer
		Get
			Return Me._LAST_DELSYNCROWID
		End Get
		Set
			If ((Me._LAST_DELSYNCROWID = value)  _
						= false) Then
				Me._LAST_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_UPDSENDDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_UPDSENDDATE() As Date
		Get
			Return Me._LAST_UPDSENDDATE
		End Get
		Set
			If ((Me._LAST_UPDSENDDATE = value)  _
						= false) Then
				Me._LAST_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SESSIONID", DbType:="Int NOT NULL")>  _
	Public Property LAST_SESSIONID() As Integer
		Get
			Return Me._LAST_SESSIONID
		End Get
		Set
			If ((Me._LAST_SESSIONID = value)  _
						= false) Then
				Me._LAST_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime NOT NULL")>  _
	Public Property LAST_SUCCESSDATE() As Date
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If ((Me._LAST_SUCCESSDATE = value)  _
						= false) Then
				Me._LAST_SUCCESSDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCROW_ADD")>  _
Partial Public Class VWX_SYNCROW_ADD
	
	Private _ACTIONDATE As Date
	
	Private _SYNCROWID As Integer
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _TABLENAME As String
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As Short
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCROW_DELETE")>  _
Partial Public Class VWX_SYNCROW_DELETE
	
	Private _ACTIONDATE As Date
	
	Private _SYNCROWID As Integer
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _TABLENAME As String
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ROWINFO As String
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWINFO", DbType:="NVarChar(512)")>  _
	Public Property ROWINFO() As String
		Get
			Return Me._ROWINFO
		End Get
		Set
			If (String.Equals(Me._ROWINFO, value) = false) Then
				Me._ROWINFO = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCROW_EXCEPTION")>  _
Partial Public Class VWX_SYNCROW_EXCEPTION
	
	Private _TABLENAME As String
	
	Private _SYNCDBMAPID As Short
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As Short
	
	Private _ACTIONCODE As String
	
	Private _ACTIONDATE As Date
	
	Private _DB_ERRORNUM As System.Nullable(Of Integer)
	
	Private _DETAILS As String
	
	Private _STATUSNUM As Byte
	
	Private _REF_ROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt NOT NULL")>  _
	Public Property SYNCDBMAPID() As Short
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If ((Me._SYNCDBMAPID = value)  _
						= false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="Char(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DB_ERRORNUM", DbType:="Int")>  _
	Public Property DB_ERRORNUM() As System.Nullable(Of Integer)
		Get
			Return Me._DB_ERRORNUM
		End Get
		Set
			If (Me._DB_ERRORNUM.Equals(value) = false) Then
				Me._DB_ERRORNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1000)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_ROWEXCEPTIONID", DbType:="Int")>  _
	Public Property REF_ROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._REF_ROWEXCEPTIONID
		End Get
		Set
			If (Me._REF_ROWEXCEPTIONID.Equals(value) = false) Then
				Me._REF_ROWEXCEPTIONID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCROW_FILE")>  _
Partial Public Class VWX_SYNCROW_FILE
	
	Private _SYNCROWID As Integer
	
	Private _APPLYDATE As Date
	
	Private _ACTIONDATE As Date
	
	Private _ACTIONCODE As String
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _FILENAME As String
	
	Private _FOLDERID As Byte
	
	Private _PATH As String
	
	Private _EXTENSIONS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLYDATE() As Date
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If ((Me._APPLYDATE = value)  _
						= false) Then
				Me._APPLYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="NVarChar(2) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512) NOT NULL", CanBeNull:=false)>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me._FILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt NOT NULL")>  _
	Public Property FOLDERID() As Byte
		Get
			Return Me._FOLDERID
		End Get
		Set
			If ((Me._FOLDERID = value)  _
						= false) Then
				Me._FOLDERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PATH", DbType:="NVarChar(256)")>  _
	Public Property PATH() As String
		Get
			Return Me._PATH
		End Get
		Set
			If (String.Equals(Me._PATH, value) = false) Then
				Me._PATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSIONS", DbType:="NVarChar(1024)")>  _
	Public Property EXTENSIONS() As String
		Get
			Return Me._EXTENSIONS
		End Get
		Set
			If (String.Equals(Me._EXTENSIONS, value) = false) Then
				Me._EXTENSIONS = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_SYNCROW_UPDATE")>  _
Partial Public Class VWX_SYNCROW_UPDATE
	
	Private _TABLENAME As String
	
	Private _SYNCROWID As Integer
	
	Private _ROWID1 As System.Guid
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _COLUMNLUID As Short
	
	Private _COLUMNNAME As String
	
	Private _ACTIONDATE As Date
	
	Private _APPLYDATE As Date
	
	Private _COLUMNVALUE As String
	
	Private _ORIGIN_SYNCDBID As Short
	
	Private _TABLELUID As Short
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int NOT NULL")>  _
	Public Property SYNCROWID() As Integer
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If ((Me._SYNCROWID = value)  _
						= false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ROWID1() As System.Guid
		Get
			Return Me._ROWID1
		End Get
		Set
			If ((Me._ROWID1 = value)  _
						= false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt NOT NULL")>  _
	Public Property COLUMNLUID() As Short
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If ((Me._COLUMNLUID = value)  _
						= false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime NOT NULL")>  _
	Public Property ACTIONDATE() As Date
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If ((Me._ACTIONDATE = value)  _
						= false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime NOT NULL")>  _
	Public Property APPLYDATE() As Date
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If ((Me._APPLYDATE = value)  _
						= false) Then
				Me._APPLYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNVALUE", DbType:="NVarChar(500)")>  _
	Public Property COLUMNVALUE() As String
		Get
			Return Me._COLUMNVALUE
		End Get
		Set
			If (String.Equals(Me._COLUMNVALUE, value) = false) Then
				Me._COLUMNVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt NOT NULL")>  _
	Public Property ORIGIN_SYNCDBID() As Short
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If ((Me._ORIGIN_SYNCDBID = value)  _
						= false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt NOT NULL")>  _
	Public Property TABLELUID() As Short
		Get
			Return Me._TABLELUID
		End Get
		Set
			If ((Me._TABLELUID = value)  _
						= false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_TABLEKEYINFO")>  _
Partial Public Class VWX_TABLEKEYINFO
	
	Private _TABLEID As System.Guid
	
	Private _TABLENAME As String
	
	Private _TABLEDISPLAY As String
	
	Private _KEYNAME As String
	
	Private _KEYDISPLAY As String
	
	Private _KEYTYPE As String
	
	Private _ISKEY As Boolean
	
	Private _ISCUSTOM As Boolean
	
	Private _ISREMOVEABLE As Boolean
	
	Private _NUMCOLUMNS As Byte
	
	Private _SQLTEXT As String
	
	Private _COLUMNID As System.Guid
	
	Private _COLUMNNAME As String
	
	Private _COLUMNDISPLAY As String
	
	Private _ALIASNAME As String
	
	Private _ISDISPLAYED As Boolean
	
	Private _ISDEFINEFIELD As Boolean
	
	Private _ORDINAL As Short
	
	Private _ACTDATATYPE As String
	
	Private _PHYDATATYPE As String
	
	Private _TYPENUM As Byte
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TABLEID() As System.Guid
		Get
			Return Me._TABLEID
		End Get
		Set
			If ((Me._TABLEID = value)  _
						= false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDISPLAY", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLEDISPLAY() As String
		Get
			Return Me._TABLEDISPLAY
		End Get
		Set
			If (String.Equals(Me._TABLEDISPLAY, value) = false) Then
				Me._TABLEDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property KEYNAME() As String
		Get
			Return Me._KEYNAME
		End Get
		Set
			If (String.Equals(Me._KEYNAME, value) = false) Then
				Me._KEYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYDISPLAY", DbType:="NVarChar(64)")>  _
	Public Property KEYDISPLAY() As String
		Get
			Return Me._KEYDISPLAY
		End Get
		Set
			If (String.Equals(Me._KEYDISPLAY, value) = false) Then
				Me._KEYDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYTYPE", DbType:="NChar(2) NOT NULL", CanBeNull:=false)>  _
	Public Property KEYTYPE() As String
		Get
			Return Me._KEYTYPE
		End Get
		Set
			If (String.Equals(Me._KEYTYPE, value) = false) Then
				Me._KEYTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISKEY", DbType:="Bit NOT NULL")>  _
	Public Property ISKEY() As Boolean
		Get
			Return Me._ISKEY
		End Get
		Set
			If ((Me._ISKEY = value)  _
						= false) Then
				Me._ISKEY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Bit NOT NULL")>  _
	Public Property ISCUSTOM() As Boolean
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If ((Me._ISCUSTOM = value)  _
						= false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISREMOVEABLE", DbType:="Bit NOT NULL")>  _
	Public Property ISREMOVEABLE() As Boolean
		Get
			Return Me._ISREMOVEABLE
		End Get
		Set
			If ((Me._ISREMOVEABLE = value)  _
						= false) Then
				Me._ISREMOVEABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMCOLUMNS", DbType:="TinyInt NOT NULL")>  _
	Public Property NUMCOLUMNS() As Byte
		Get
			Return Me._NUMCOLUMNS
		End Get
		Set
			If ((Me._NUMCOLUMNS = value)  _
						= false) Then
				Me._NUMCOLUMNS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLTEXT", DbType:="NVarChar(256)")>  _
	Public Property SQLTEXT() As String
		Get
			Return Me._SQLTEXT
		End Get
		Set
			If (String.Equals(Me._SQLTEXT, value) = false) Then
				Me._SQLTEXT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property COLUMNID() As System.Guid
		Get
			Return Me._COLUMNID
		End Get
		Set
			If ((Me._COLUMNID = value)  _
						= false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNDISPLAY", DbType:="NVarChar(192) NOT NULL", CanBeNull:=false)>  _
	Public Property COLUMNDISPLAY() As String
		Get
			Return Me._COLUMNDISPLAY
		End Get
		Set
			If (String.Equals(Me._COLUMNDISPLAY, value) = false) Then
				Me._COLUMNDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me._ALIASNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit NOT NULL")>  _
	Public Property ISDISPLAYED() As Boolean
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If ((Me._ISDISPLAYED = value)  _
						= false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit NOT NULL")>  _
	Public Property ISDEFINEFIELD() As Boolean
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If ((Me._ISDEFINEFIELD = value)  _
						= false) Then
				Me._ISDEFINEFIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt NOT NULL")>  _
	Public Property ORDINAL() As Short
		Get
			Return Me._ORDINAL
		End Get
		Set
			If ((Me._ORDINAL = value)  _
						= false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property ACTDATATYPE() As String
		Get
			Return Me._ACTDATATYPE
		End Get
		Set
			If (String.Equals(Me._ACTDATATYPE, value) = false) Then
				Me._ACTDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHYDATATYPE", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property PHYDATATYPE() As String
		Get
			Return Me._PHYDATATYPE
		End Get
		Set
			If (String.Equals(Me._PHYDATATYPE, value) = false) Then
				Me._PHYDATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt NOT NULL")>  _
	Public Property TYPENUM() As Byte
		Get
			Return Me._TYPENUM
		End Get
		Set
			If ((Me._TYPENUM = value)  _
						= false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_TABLEPAGESIZE")>  _
Partial Public Class VWX_TABLEPAGESIZE
	
	Private _TABLENAME As String
	
	Private _SUPPORTED_SIZE As System.Nullable(Of Integer)
	
	Private _CURRENT_SIZE As System.Nullable(Of Integer)
	
	Private _AVAILABLE_SIZE As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32) NOT NULL", CanBeNull:=false)>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUPPORTED_SIZE", DbType:="Int")>  _
	Public Property SUPPORTED_SIZE() As System.Nullable(Of Integer)
		Get
			Return Me._SUPPORTED_SIZE
		End Get
		Set
			If (Me._SUPPORTED_SIZE.Equals(value) = false) Then
				Me._SUPPORTED_SIZE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CURRENT_SIZE", DbType:="Int")>  _
	Public Property CURRENT_SIZE() As System.Nullable(Of Integer)
		Get
			Return Me._CURRENT_SIZE
		End Get
		Set
			If (Me._CURRENT_SIZE.Equals(value) = false) Then
				Me._CURRENT_SIZE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AVAILABLE_SIZE", DbType:="Int")>  _
	Public Property AVAILABLE_SIZE() As System.Nullable(Of Integer)
		Get
			Return Me._AVAILABLE_SIZE
		End Get
		Set
			If (Me._AVAILABLE_SIZE.Equals(value) = false) Then
				Me._AVAILABLE_SIZE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_TEAM")>  _
Partial Public Class VWX_TEAM
	
	Private _ACCESSORID As System.Guid
	
	Private _TEAMID As System.Guid
	
	Private _NAME As String
	
	Private _DESCRIPTION As String
	
	Private _STATUSNUM As Byte
	
	Private _LOCALSTRING__STATUS As String
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property TEAMID() As System.Guid
		Get
			Return Me._TEAMID
		End Get
		Set
			If ((Me._TEAMID = value)  _
						= false) Then
				Me._TEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOCALSTRING==STATUS", Storage:="_LOCALSTRING__STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property LOCALSTRING__STATUS() As String
		Get
			Return Me._LOCALSTRING__STATUS
		End Get
		Set
			If (String.Equals(Me._LOCALSTRING__STATUS, value) = false) Then
				Me._LOCALSTRING__STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_USER")>  _
Partial Public Class VWX_USER
	
	Private _ACCESSORID As System.Guid
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _DESCRIPTION As System.Nullable(Of Integer)
	
	Private _STATUSNUM As Byte
	
	Private _STATUS As String
	
	Private _ISVERIFIED As System.Nullable(Of Boolean)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _ROLENAME As String
	
	Private _USERLOGIN As String
	
	Private _PASSWORD As String
	
	Private _ISPWDCASESENSITIVE As System.Nullable(Of Boolean)
	
	Private _LOGONDATE As System.Nullable(Of Date)
	
	Private _LOGOFFDATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Guid
	
	Private _CREATEDATE As Date
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="Int")>  _
	Public Property DESCRIPTION() As System.Nullable(Of Integer)
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (Me._DESCRIPTION.Equals(value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(20) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVERIFIED", DbType:="Bit")>  _
	Public Property ISVERIFIED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISVERIFIED
		End Get
		Set
			If (Me._ISVERIFIED.Equals(value) = false) Then
				Me._ISVERIFIED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLENAME", DbType:="NVarChar(64)")>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128)")>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PASSWORD", DbType:="NVarChar(50)")>  _
	Public Property PASSWORD() As String
		Get
			Return Me._PASSWORD
		End Get
		Set
			If (String.Equals(Me._PASSWORD, value) = false) Then
				Me._PASSWORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPWDCASESENSITIVE", DbType:="Bit")>  _
	Public Property ISPWDCASESENSITIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._ISPWDCASESENSITIVE
		End Get
		Set
			If (Me._ISPWDCASESENSITIVE.Equals(value) = false) Then
				Me._ISPWDCASESENSITIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONDATE", DbType:="DateTime")>  _
	Public Property LOGONDATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGONDATE
		End Get
		Set
			If (Me._LOGONDATE.Equals(value) = false) Then
				Me._LOGONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGOFFDATE", DbType:="DateTime")>  _
	Public Property LOGOFFDATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGOFFDATE
		End Get
		Set
			If (Me._LOGOFFDATE.Equals(value) = false) Then
				Me._LOGOFFDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property CREATEUSERID() As System.Guid
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If ((Me._CREATEUSERID = value)  _
						= false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEDATE", DbType:="DateTime NOT NULL")>  _
	Public Property CREATEDATE() As Date
		Get
			Return Me._CREATEDATE
		End Get
		Set
			If ((Me._CREATEDATE = value)  _
						= false) Then
				Me._CREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITDATE", DbType:="DateTime")>  _
	Public Property EDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._EDITDATE
		End Get
		Set
			If (Me._EDITDATE.Equals(value) = false) Then
				Me._EDITDATE = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_USERPERMISSION")>  _
Partial Public Class VWX_USERPERMISSION
	
	Private _ACCESSORID As System.Guid
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _STATUSNUM As Byte
	
	Private _STATUS As String
	
	Private _ISVERIFIED As System.Nullable(Of Boolean)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _ROLENAME As String
	
	Private _USERLOGIN As String
	
	Private _PERMISSIONID As System.Nullable(Of System.Guid)
	
	Private _PERMISSION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property ACCESSORID() As System.Guid
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If ((Me._ACCESSORID = value)  _
						= false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt NOT NULL")>  _
	Public Property STATUSNUM() As Byte
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If ((Me._STATUSNUM = value)  _
						= false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="NVarChar(8) NOT NULL", CanBeNull:=false)>  _
	Public Property STATUS() As String
		Get
			Return Me._STATUS
		End Get
		Set
			If (String.Equals(Me._STATUS, value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISVERIFIED", DbType:="Bit")>  _
	Public Property ISVERIFIED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISVERIFIED
		End Get
		Set
			If (Me._ISVERIFIED.Equals(value) = false) Then
				Me._ISVERIFIED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLENAME", DbType:="NVarChar(64)")>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128)")>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSION", DbType:="NVarChar(64)")>  _
	Public Property PERMISSION() As String
		Get
			Return Me._PERMISSION
		End Get
		Set
			If (String.Equals(Me._PERMISSION, value) = false) Then
				Me._PERMISSION = value
			End If
		End Set
	End Property
End Class

<Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.VWX_WORKFLOWDEF_USER_ENUM")>  _
Partial Public Class VWX_WORKFLOWDEF_USER_ENUM
	
	Private _WORKFLOWDEFID As System.Guid
	
	Private _USERID As System.Guid
	
	Private _USERLOGIN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property WORKFLOWDEFID() As System.Guid
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If ((Me._WORKFLOWDEFID = value)  _
						= false) Then
				Me._WORKFLOWDEFID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier NOT NULL")>  _
	Public Property USERID() As System.Guid
		Get
			Return Me._USERID
		End Get
		Set
			If ((Me._USERID = value)  _
						= false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128) NOT NULL", CanBeNull:=false)>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_ACTIVITYResult
	
	Private _ABLACTIVITYABL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL ACTIVITY ABL_ACTIVITYID", Storage:="_ABLACTIVITYABL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLACTIVITYABL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLACTIVITYABL_ACTIVITYID
		End Get
		Set
			If (Me._ABLACTIVITYABL_ACTIVITYID.Equals(value) = false) Then
				Me._ABLACTIVITYABL_ACTIVITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_CONNECTORResult
	
	Private _ABLCONNECTORCONNECTORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR CONNECTORID", Storage:="_ABLCONNECTORCONNECTORID", DbType:="UniqueIdentifier")>  _
	Public Property ABLCONNECTORCONNECTORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLCONNECTORCONNECTORID
		End Get
		Set
			If (Me._ABLCONNECTORCONNECTORID.Equals(value) = false) Then
				Me._ABLCONNECTORCONNECTORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_CONNECTOR_ACCESSORCONFIGResult
	
	Private _ABLCONNECTORACCESSORCONFIGACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ABLCONNECTORACCESSORCONFIGCONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR ACCESSORCONFIG ACCESSORID", Storage:="_ABLCONNECTORACCESSORCONFIGACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ABLCONNECTORACCESSORCONFIGACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLCONNECTORACCESSORCONFIGACCESSORID
		End Get
		Set
			If (Me._ABLCONNECTORACCESSORCONFIGACCESSORID.Equals(value) = false) Then
				Me._ABLCONNECTORACCESSORCONFIGACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR ACCESSORCONFIG CONNECTOR_ENTITYID", Storage:="_ABLCONNECTORACCESSORCONFIGCONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLCONNECTORACCESSORCONFIGCONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLCONNECTORACCESSORCONFIGCONNECTOR_ENTITYID
		End Get
		Set
			If (Me._ABLCONNECTORACCESSORCONFIGCONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._ABLCONNECTORACCESSORCONFIGCONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_CONNECTOR_ENTITYResult
	
	Private _ABLCONNECTORENTITYCONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR ENTITY CONNECTOR_ENTITYID", Storage:="_ABLCONNECTORENTITYCONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLCONNECTORENTITYCONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLCONNECTORENTITYCONNECTOR_ENTITYID
		End Get
		Set
			If (Me._ABLCONNECTORENTITYCONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._ABLCONNECTORENTITYCONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_CONNECTOR_ENTITYSCHEMAResult
	
	Private _ABLCONNECTORENTITYSCHEMACONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _ABLCONNECTORENTITYSCHEMAENTITYID As System.Nullable(Of System.Guid)
	
	Private _ABLCONNECTORENTITYSCHEMAORDINAL As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR ENTITYSCHEMA CONNECTOR_ENTITYID", Storage:="_ABLCONNECTORENTITYSCHEMACONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLCONNECTORENTITYSCHEMACONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLCONNECTORENTITYSCHEMACONNECTOR_ENTITYID
		End Get
		Set
			If (Me._ABLCONNECTORENTITYSCHEMACONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._ABLCONNECTORENTITYSCHEMACONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR ENTITYSCHEMA ENTITYID", Storage:="_ABLCONNECTORENTITYSCHEMAENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLCONNECTORENTITYSCHEMAENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLCONNECTORENTITYSCHEMAENTITYID
		End Get
		Set
			If (Me._ABLCONNECTORENTITYSCHEMAENTITYID.Equals(value) = false) Then
				Me._ABLCONNECTORENTITYSCHEMAENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTOR ENTITYSCHEMA ORDINAL", Storage:="_ABLCONNECTORENTITYSCHEMAORDINAL", DbType:="TinyInt")>  _
	Public Property ABLCONNECTORENTITYSCHEMAORDINAL() As System.Nullable(Of Byte)
		Get
			Return Me._ABLCONNECTORENTITYSCHEMAORDINAL
		End Get
		Set
			If (Me._ABLCONNECTORENTITYSCHEMAORDINAL.Equals(value) = false) Then
				Me._ABLCONNECTORENTITYSCHEMAORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_CONNECTORTYPEResult
	
	Private _ABLCONNECTORTYPECONNECTORTYPEID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL CONNECTORTYPE CONNECTORTYPEID", Storage:="_ABLCONNECTORTYPECONNECTORTYPEID", DbType:="Int")>  _
	Public Property ABLCONNECTORTYPECONNECTORTYPEID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLCONNECTORTYPECONNECTORTYPEID
		End Get
		Set
			If (Me._ABLCONNECTORTYPECONNECTORTYPEID.Equals(value) = false) Then
				Me._ABLCONNECTORTYPECONNECTORTYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_DEPENDENTResult
	
	Private _ABLDEPENDENTDEPENDENTID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL DEPENDENT DEPENDENTID", Storage:="_ABLDEPENDENTDEPENDENTID", DbType:="Int")>  _
	Public Property ABLDEPENDENTDEPENDENTID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLDEPENDENTDEPENDENTID
		End Get
		Set
			If (Me._ABLDEPENDENTDEPENDENTID.Equals(value) = false) Then
				Me._ABLDEPENDENTDEPENDENTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_FIELDResult
	
	Private _ABLFIELDBUSINESS_FIELD_NAME As String
	
	Private _ABLFIELDBUSINESS_RECORD_TYPE As String
	
	Private _ABLFIELDCONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL FIELD BUSINESS_FIELD_NAME", Storage:="_ABLFIELDBUSINESS_FIELD_NAME", DbType:="NVarChar(50)")>  _
	Public Property ABLFIELDBUSINESS_FIELD_NAME() As String
		Get
			Return Me._ABLFIELDBUSINESS_FIELD_NAME
		End Get
		Set
			If (String.Equals(Me._ABLFIELDBUSINESS_FIELD_NAME, value) = false) Then
				Me._ABLFIELDBUSINESS_FIELD_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL FIELD BUSINESS_RECORD_TYPE", Storage:="_ABLFIELDBUSINESS_RECORD_TYPE", DbType:="NVarChar(50)")>  _
	Public Property ABLFIELDBUSINESS_RECORD_TYPE() As String
		Get
			Return Me._ABLFIELDBUSINESS_RECORD_TYPE
		End Get
		Set
			If (String.Equals(Me._ABLFIELDBUSINESS_RECORD_TYPE, value) = false) Then
				Me._ABLFIELDBUSINESS_RECORD_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL FIELD CONNECTOR_ENTITYID", Storage:="_ABLFIELDCONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLFIELDCONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLFIELDCONNECTOR_ENTITYID
		End Get
		Set
			If (Me._ABLFIELDCONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._ABLFIELDCONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_LINKResult
	
	Private _ABLLINKLINKID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL LINK LINKID", Storage:="_ABLLINKLINKID", DbType:="Int")>  _
	Public Property ABLLINKLINKID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLLINKLINKID
		End Get
		Set
			If (Me._ABLLINKLINKID.Equals(value) = false) Then
				Me._ABLLINKLINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_LINK_DEPENDENTResult
	
	Private _ABLLINKDEPENDENTDEPENDENTID As System.Nullable(Of Integer)
	
	Private _ABLLINKDEPENDENTLINKID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL LINK DEPENDENT DEPENDENTID", Storage:="_ABLLINKDEPENDENTDEPENDENTID", DbType:="Int")>  _
	Public Property ABLLINKDEPENDENTDEPENDENTID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLLINKDEPENDENTDEPENDENTID
		End Get
		Set
			If (Me._ABLLINKDEPENDENTDEPENDENTID.Equals(value) = false) Then
				Me._ABLLINKDEPENDENTDEPENDENTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL LINK DEPENDENT LINKID", Storage:="_ABLLINKDEPENDENTLINKID", DbType:="Int")>  _
	Public Property ABLLINKDEPENDENTLINKID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLLINKDEPENDENTLINKID
		End Get
		Set
			If (Me._ABLLINKDEPENDENTLINKID.Equals(value) = false) Then
				Me._ABLLINKDEPENDENTLINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_LINKREMAPResult
	
	Private _ABLLINKREMAPCreateDate As System.Nullable(Of Date)
	
	Private _ABLLINKREMAPLINKID As System.Nullable(Of Integer)
	
	Private _ABLLINKREMAPPRIOR_ACT_RECORDID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL LINKREMAP Create Date", Storage:="_ABLLINKREMAPCreateDate", DbType:="DateTime")>  _
	Public Property ABLLINKREMAPCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ABLLINKREMAPCreateDate
		End Get
		Set
			If (Me._ABLLINKREMAPCreateDate.Equals(value) = false) Then
				Me._ABLLINKREMAPCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL LINKREMAP LINKID", Storage:="_ABLLINKREMAPLINKID", DbType:="Int")>  _
	Public Property ABLLINKREMAPLINKID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLLINKREMAPLINKID
		End Get
		Set
			If (Me._ABLLINKREMAPLINKID.Equals(value) = false) Then
				Me._ABLLINKREMAPLINKID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL LINKREMAP PRIOR_ACT_RECORDID", Storage:="_ABLLINKREMAPPRIOR_ACT_RECORDID", DbType:="UniqueIdentifier")>  _
	Public Property ABLLINKREMAPPRIOR_ACT_RECORDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLLINKREMAPPRIOR_ACT_RECORDID
		End Get
		Set
			If (Me._ABLLINKREMAPPRIOR_ACT_RECORDID.Equals(value) = false) Then
				Me._ABLLINKREMAPPRIOR_ACT_RECORDID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_MASTERQUEUE_INPUTResult
	
	Private _ABLMASTERQUEUEINPUTROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL MASTERQUEUE INPUT ROWID", Storage:="_ABLMASTERQUEUEINPUTROWID", DbType:="Int")>  _
	Public Property ABLMASTERQUEUEINPUTROWID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLMASTERQUEUEINPUTROWID
		End Get
		Set
			If (Me._ABLMASTERQUEUEINPUTROWID.Equals(value) = false) Then
				Me._ABLMASTERQUEUEINPUTROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_MASTERQUEUE_OUTPUTResult
	
	Private _ABLMASTERQUEUEOUTPUTROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL MASTERQUEUE OUTPUT ROWID", Storage:="_ABLMASTERQUEUEOUTPUTROWID", DbType:="Int")>  _
	Public Property ABLMASTERQUEUEOUTPUTROWID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLMASTERQUEUEOUTPUTROWID
		End Get
		Set
			If (Me._ABLMASTERQUEUEOUTPUTROWID.Equals(value) = false) Then
				Me._ABLMASTERQUEUEOUTPUTROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_MASTERQUEUE_PREFILTERResult
	
	Private _ABLMASTERQUEUEPREFILTERROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL MASTERQUEUE PREFILTER ROWID", Storage:="_ABLMASTERQUEUEPREFILTERROWID", DbType:="Int")>  _
	Public Property ABLMASTERQUEUEPREFILTERROWID() As System.Nullable(Of Integer)
		Get
			Return Me._ABLMASTERQUEUEPREFILTERROWID
		End Get
		Set
			If (Me._ABLMASTERQUEUEPREFILTERROWID.Equals(value) = false) Then
				Me._ABLMASTERQUEUEPREFILTERROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ABL_SCHEDULEDFORResult
	
	Private _ABLSCHEDULEDFORABL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ABLSCHEDULEDFORSCHEDULEDFORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL SCHEDULEDFOR ABL_ACTIVITYID", Storage:="_ABLSCHEDULEDFORABL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABLSCHEDULEDFORABL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLSCHEDULEDFORABL_ACTIVITYID
		End Get
		Set
			If (Me._ABLSCHEDULEDFORABL_ACTIVITYID.Equals(value) = false) Then
				Me._ABLSCHEDULEDFORABL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL SCHEDULEDFOR SCHEDULEDFORID", Storage:="_ABLSCHEDULEDFORSCHEDULEDFORID", DbType:="UniqueIdentifier")>  _
	Public Property ABLSCHEDULEDFORSCHEDULEDFORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABLSCHEDULEDFORSCHEDULEDFORID
		End Get
		Set
			If (Me._ABLSCHEDULEDFORSCHEDULEDFORID.Equals(value) = false) Then
				Me._ABLSCHEDULEDFORSCHEDULEDFORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACCESSORResult
	
	Private _ACCESSORACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORCreateDate As System.Nullable(Of Date)
	
	Private _ACCESSORCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSOREditDate As System.Nullable(Of Date)
	
	Private _ACCESSOREDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORName As String
	
	Private _ACCESSORStatusnum As System.Nullable(Of Byte)
	
	Private _ACCESSORTypenum As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACCESSORID", Storage:="_ACCESSORACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORACCESSORID
		End Get
		Set
			If (Me._ACCESSORACCESSORID.Equals(value) = false) Then
				Me._ACCESSORACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Create Date", Storage:="_ACCESSORCreateDate", DbType:="DateTime")>  _
	Public Property ACCESSORCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSORCreateDate
		End Get
		Set
			If (Me._ACCESSORCreateDate.Equals(value) = false) Then
				Me._ACCESSORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR CREATEUSERID", Storage:="_ACCESSORCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORCREATEUSERID
		End Get
		Set
			If (Me._ACCESSORCREATEUSERID.Equals(value) = false) Then
				Me._ACCESSORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Edit Date", Storage:="_ACCESSOREditDate", DbType:="DateTime")>  _
	Public Property ACCESSOREditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSOREditDate
		End Get
		Set
			If (Me._ACCESSOREditDate.Equals(value) = false) Then
				Me._ACCESSOREditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR EDITUSERID", Storage:="_ACCESSOREDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOREDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOREDITUSERID
		End Get
		Set
			If (Me._ACCESSOREDITUSERID.Equals(value) = false) Then
				Me._ACCESSOREDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Name", Storage:="_ACCESSORName", DbType:="NVarChar(128)")>  _
	Public Property ACCESSORName() As String
		Get
			Return Me._ACCESSORName
		End Get
		Set
			If (String.Equals(Me._ACCESSORName, value) = false) Then
				Me._ACCESSORName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Statusnum", Storage:="_ACCESSORStatusnum", DbType:="TinyInt")>  _
	Public Property ACCESSORStatusnum() As System.Nullable(Of Byte)
		Get
			Return Me._ACCESSORStatusnum
		End Get
		Set
			If (Me._ACCESSORStatusnum.Equals(value) = false) Then
				Me._ACCESSORStatusnum = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR Typenum", Storage:="_ACCESSORTypenum", DbType:="TinyInt")>  _
	Public Property ACCESSORTypenum() As System.Nullable(Of Byte)
		Get
			Return Me._ACCESSORTypenum
		End Get
		Set
			If (Me._ACCESSORTypenum.Equals(value) = false) Then
				Me._ACCESSORTypenum = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACCESSOR_ACTIVITYResult
	
	Private _ACCESSORACTIVITYACCESSOR_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORACTIVITYACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORACTIVITYAlarmcleared_dates As String
	
	Private _ACCESSORACTIVITYAlarmed As System.Nullable(Of Boolean)
	
	Private _ACCESSORACTIVITYAllDayBanner As System.Nullable(Of Boolean)
	
	Private _ACCESSORACTIVITYBannerColor As System.Nullable(Of Integer)
	
	Private _ACCESSORACTIVITYCleared_dates As String
	
	Private _ACCESSORACTIVITYISACKNOWLEDGED As System.Nullable(Of Boolean)
	
	Private _ACCESSORACTIVITYIsbaserecord As System.Nullable(Of Boolean)
	
	Private _ACCESSORACTIVITYLeadTime As System.Nullable(Of Integer)
	
	Private _ACCESSORACTIVITYACTIVITYPRIORITYID As System.Nullable(Of Byte)
	
	Private _ACCESSORACTIVITYStatusexception_dates As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY ACCESSOR_ACTIVITYID", Storage:="_ACCESSORACTIVITYACCESSOR_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORACTIVITYACCESSOR_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORACTIVITYACCESSOR_ACTIVITYID
		End Get
		Set
			If (Me._ACCESSORACTIVITYACCESSOR_ACTIVITYID.Equals(value) = false) Then
				Me._ACCESSORACTIVITYACCESSOR_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY ACCESSORID", Storage:="_ACCESSORACTIVITYACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORACTIVITYACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORACTIVITYACCESSORID
		End Get
		Set
			If (Me._ACCESSORACTIVITYACCESSORID.Equals(value) = false) Then
				Me._ACCESSORACTIVITYACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY ACTIVITYID", Storage:="_ACCESSORACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORACTIVITYACTIVITYID
		End Get
		Set
			If (Me._ACCESSORACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._ACCESSORACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Alarmcleared_dates", Storage:="_ACCESSORACTIVITYAlarmcleared_dates", DbType:="NVarChar(MAX)")>  _
	Public Property ACCESSORACTIVITYAlarmcleared_dates() As String
		Get
			Return Me._ACCESSORACTIVITYAlarmcleared_dates
		End Get
		Set
			If (String.Equals(Me._ACCESSORACTIVITYAlarmcleared_dates, value) = false) Then
				Me._ACCESSORACTIVITYAlarmcleared_dates = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Alarmed", Storage:="_ACCESSORACTIVITYAlarmed", DbType:="Bit")>  _
	Public Property ACCESSORACTIVITYAlarmed() As System.Nullable(Of Boolean)
		Get
			Return Me._ACCESSORACTIVITYAlarmed
		End Get
		Set
			If (Me._ACCESSORACTIVITYAlarmed.Equals(value) = false) Then
				Me._ACCESSORACTIVITYAlarmed = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY All Day Banner", Storage:="_ACCESSORACTIVITYAllDayBanner", DbType:="Bit")>  _
	Public Property ACCESSORACTIVITYAllDayBanner() As System.Nullable(Of Boolean)
		Get
			Return Me._ACCESSORACTIVITYAllDayBanner
		End Get
		Set
			If (Me._ACCESSORACTIVITYAllDayBanner.Equals(value) = false) Then
				Me._ACCESSORACTIVITYAllDayBanner = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Banner Color", Storage:="_ACCESSORACTIVITYBannerColor", DbType:="Int")>  _
	Public Property ACCESSORACTIVITYBannerColor() As System.Nullable(Of Integer)
		Get
			Return Me._ACCESSORACTIVITYBannerColor
		End Get
		Set
			If (Me._ACCESSORACTIVITYBannerColor.Equals(value) = false) Then
				Me._ACCESSORACTIVITYBannerColor = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Cleared_dates", Storage:="_ACCESSORACTIVITYCleared_dates", DbType:="NVarChar(MAX)")>  _
	Public Property ACCESSORACTIVITYCleared_dates() As String
		Get
			Return Me._ACCESSORACTIVITYCleared_dates
		End Get
		Set
			If (String.Equals(Me._ACCESSORACTIVITYCleared_dates, value) = false) Then
				Me._ACCESSORACTIVITYCleared_dates = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY ISACKNOWLEDGED", Storage:="_ACCESSORACTIVITYISACKNOWLEDGED", DbType:="Bit")>  _
	Public Property ACCESSORACTIVITYISACKNOWLEDGED() As System.Nullable(Of Boolean)
		Get
			Return Me._ACCESSORACTIVITYISACKNOWLEDGED
		End Get
		Set
			If (Me._ACCESSORACTIVITYISACKNOWLEDGED.Equals(value) = false) Then
				Me._ACCESSORACTIVITYISACKNOWLEDGED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Isbaserecord", Storage:="_ACCESSORACTIVITYIsbaserecord", DbType:="Bit")>  _
	Public Property ACCESSORACTIVITYIsbaserecord() As System.Nullable(Of Boolean)
		Get
			Return Me._ACCESSORACTIVITYIsbaserecord
		End Get
		Set
			If (Me._ACCESSORACTIVITYIsbaserecord.Equals(value) = false) Then
				Me._ACCESSORACTIVITYIsbaserecord = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Lead Time", Storage:="_ACCESSORACTIVITYLeadTime", DbType:="Int")>  _
	Public Property ACCESSORACTIVITYLeadTime() As System.Nullable(Of Integer)
		Get
			Return Me._ACCESSORACTIVITYLeadTime
		End Get
		Set
			If (Me._ACCESSORACTIVITYLeadTime.Equals(value) = false) Then
				Me._ACCESSORACTIVITYLeadTime = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY ACTIVITYPRIORITYID", Storage:="_ACCESSORACTIVITYACTIVITYPRIORITYID", DbType:="TinyInt")>  _
	Public Property ACCESSORACTIVITYACTIVITYPRIORITYID() As System.Nullable(Of Byte)
		Get
			Return Me._ACCESSORACTIVITYACTIVITYPRIORITYID
		End Get
		Set
			If (Me._ACCESSORACTIVITYACTIVITYPRIORITYID.Equals(value) = false) Then
				Me._ACCESSORACTIVITYACTIVITYPRIORITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY Statusexception_dates", Storage:="_ACCESSORACTIVITYStatusexception_dates", DbType:="NVarChar(MAX)")>  _
	Public Property ACCESSORACTIVITYStatusexception_dates() As String
		Get
			Return Me._ACCESSORACTIVITYStatusexception_dates
		End Get
		Set
			If (String.Equals(Me._ACCESSORACTIVITYStatusexception_dates, value) = false) Then
				Me._ACCESSORACTIVITYStatusexception_dates = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACCESSOR_ACTIVITY_CLEAREDResult
	
	Private _ACCESSORACTIVITYCLEAREDACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR ACTIVITY CLEARED ACCESSOR_ACTIVITY_CLEAREDID", Storage:="_ACCESSORACTIVITYCLEAREDACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORACTIVITYCLEAREDACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORACTIVITYCLEAREDACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._ACCESSORACTIVITYCLEAREDACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._ACCESSORACTIVITYCLEAREDACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACCESSOR_DELEGATEResult
	
	Private _ACCESSORDELEGATEACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORDELEGATECreateDate As System.Nullable(Of Date)
	
	Private _ACCESSORDELEGATECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORDELEGATEEditDate As System.Nullable(Of Date)
	
	Private _ACCESSORDELEGATEEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORDELEGATEGRANTTOACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR DELEGATE ACCESSORID", Storage:="_ACCESSORDELEGATEACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORDELEGATEACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORDELEGATEACCESSORID
		End Get
		Set
			If (Me._ACCESSORDELEGATEACCESSORID.Equals(value) = false) Then
				Me._ACCESSORDELEGATEACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR DELEGATE Create Date", Storage:="_ACCESSORDELEGATECreateDate", DbType:="DateTime")>  _
	Public Property ACCESSORDELEGATECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSORDELEGATECreateDate
		End Get
		Set
			If (Me._ACCESSORDELEGATECreateDate.Equals(value) = false) Then
				Me._ACCESSORDELEGATECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR DELEGATE CREATEUSERID", Storage:="_ACCESSORDELEGATECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORDELEGATECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORDELEGATECREATEUSERID
		End Get
		Set
			If (Me._ACCESSORDELEGATECREATEUSERID.Equals(value) = false) Then
				Me._ACCESSORDELEGATECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR DELEGATE Edit Date", Storage:="_ACCESSORDELEGATEEditDate", DbType:="DateTime")>  _
	Public Property ACCESSORDELEGATEEditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSORDELEGATEEditDate
		End Get
		Set
			If (Me._ACCESSORDELEGATEEditDate.Equals(value) = false) Then
				Me._ACCESSORDELEGATEEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR DELEGATE EDITUSERID", Storage:="_ACCESSORDELEGATEEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORDELEGATEEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORDELEGATEEDITUSERID
		End Get
		Set
			If (Me._ACCESSORDELEGATEEDITUSERID.Equals(value) = false) Then
				Me._ACCESSORDELEGATEEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR DELEGATE GRANTTOACCESSORID", Storage:="_ACCESSORDELEGATEGRANTTOACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORDELEGATEGRANTTOACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORDELEGATEGRANTTOACCESSORID
		End Get
		Set
			If (Me._ACCESSORDELEGATEGRANTTOACCESSORID.Equals(value) = false) Then
				Me._ACCESSORDELEGATEGRANTTOACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACCESSOR_PREFERENCEResult
	
	Private _ACCESSORPREFERENCEACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORPREFERENCEPREFERENCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR PREFERENCE ACCESSORID", Storage:="_ACCESSORPREFERENCEACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORPREFERENCEACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORPREFERENCEACCESSORID
		End Get
		Set
			If (Me._ACCESSORPREFERENCEACCESSORID.Equals(value) = false) Then
				Me._ACCESSORPREFERENCEACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR PREFERENCE PREFERENCEID", Storage:="_ACCESSORPREFERENCEPREFERENCEID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORPREFERENCEPREFERENCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORPREFERENCEPREFERENCEID
		End Get
		Set
			If (Me._ACCESSORPREFERENCEPREFERENCEID.Equals(value) = false) Then
				Me._ACCESSORPREFERENCEPREFERENCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACCESSOR_SETTINGResult
	
	Private _ACCESSORSETTINGACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORSETTINGEditDate As System.Nullable(Of Date)
	
	Private _ACCESSORSETTINGEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORSETTINGSETTINGID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR SETTING ACCESSORID", Storage:="_ACCESSORSETTINGACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORSETTINGACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORSETTINGACCESSORID
		End Get
		Set
			If (Me._ACCESSORSETTINGACCESSORID.Equals(value) = false) Then
				Me._ACCESSORSETTINGACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR SETTING Edit Date", Storage:="_ACCESSORSETTINGEditDate", DbType:="DateTime")>  _
	Public Property ACCESSORSETTINGEditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACCESSORSETTINGEditDate
		End Get
		Set
			If (Me._ACCESSORSETTINGEditDate.Equals(value) = false) Then
				Me._ACCESSORSETTINGEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR SETTING EDITUSERID", Storage:="_ACCESSORSETTINGEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORSETTINGEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORSETTINGEDITUSERID
		End Get
		Set
			If (Me._ACCESSORSETTINGEDITUSERID.Equals(value) = false) Then
				Me._ACCESSORSETTINGEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACCESSOR SETTING SETTINGID", Storage:="_ACCESSORSETTINGSETTINGID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORSETTINGSETTINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORSETTINGSETTINGID
		End Get
		Set
			If (Me._ACCESSORSETTINGSETTINGID.Equals(value) = false) Then
				Me._ACCESSORSETTINGSETTINGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITYResult
	
	Private _ACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYACTIVITYSERIESAPPLIEDID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _ACTIVITYCalendarEvent As System.Nullable(Of Boolean)
	
	Private _ACTIVITYCreateDate As System.Nullable(Of Date)
	
	Private _ACTIVITYDeleted_dates As String
	
	Private _ACTIVITYDetails As String
	
	Private _ACTIVITYDuration As System.Nullable(Of Integer)
	
	Private _ACTIVITYEditDate As System.Nullable(Of Date)
	
	Private _ACTIVITYEndDate_Time As System.Nullable(Of Date)
	
	Private _ACTIVITYExternalId As String
	
	Private _ACTIVITYIsInvitationSent As System.Nullable(Of Boolean)
	
	Private _ACTIVITYIsdeleted As System.Nullable(Of Boolean)
	
	Private _ACTIVITYLastEditedBy As String
	
	Private _ACTIVITYLocation As String
	
	Private _ACTIVITYMASTERACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYOrganizer As String
	
	Private _ACTIVITYPARENTACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYPrivateActivity As System.Nullable(Of Byte)
	
	Private _ACTIVITYRecordCreator As String
	
	Private _ACTIVITYRecurringEndDate As System.Nullable(Of Date)
	
	Private _ACTIVITYRecurringIsEndless As System.Nullable(Of Boolean)
	
	Private _ACTIVITYRECURSOURCEACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYRegarding As String
	
	Private _ACTIVITYStartDate_Time As System.Nullable(Of Date)
	
	Private _ACTIVITYTimeless As System.Nullable(Of Boolean)
	
	Private _ACTIVITYTz_bias As System.Nullable(Of Short)
	
	Private _ACTIVITYTz_daylight_bias As System.Nullable(Of Short)
	
	Private _ACTIVITYTz_standard_bias As System.Nullable(Of Short)
	
	Private _ACTIVITYWf_contextid As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYWf_instanceid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY ACTIVITYID", Storage:="_ACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY ACTIVITYSERIESAPPLIEDID", Storage:="_ACTIVITYACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYACTIVITYSERIESAPPLIEDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If (Me._ACTIVITYACTIVITYSERIESAPPLIEDID.Equals(value) = false) Then
				Me._ACTIVITYACTIVITYSERIESAPPLIEDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY ACTIVITYTYPEID", Storage:="_ACTIVITYACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYACTIVITYTYPEID.Equals(value) = false) Then
				Me._ACTIVITYACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Calendar Event", Storage:="_ACTIVITYCalendarEvent", DbType:="Bit")>  _
	Public Property ACTIVITYCalendarEvent() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYCalendarEvent
		End Get
		Set
			If (Me._ACTIVITYCalendarEvent.Equals(value) = false) Then
				Me._ACTIVITYCalendarEvent = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Create Date", Storage:="_ACTIVITYCreateDate", DbType:="DateTime")>  _
	Public Property ACTIVITYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYCreateDate
		End Get
		Set
			If (Me._ACTIVITYCreateDate.Equals(value) = false) Then
				Me._ACTIVITYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Deleted_dates", Storage:="_ACTIVITYDeleted_dates", DbType:="NVarChar(MAX)")>  _
	Public Property ACTIVITYDeleted_dates() As String
		Get
			Return Me._ACTIVITYDeleted_dates
		End Get
		Set
			If (String.Equals(Me._ACTIVITYDeleted_dates, value) = false) Then
				Me._ACTIVITYDeleted_dates = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Details", Storage:="_ACTIVITYDetails", DbType:="NVarChar(MAX)")>  _
	Public Property ACTIVITYDetails() As String
		Get
			Return Me._ACTIVITYDetails
		End Get
		Set
			If (String.Equals(Me._ACTIVITYDetails, value) = false) Then
				Me._ACTIVITYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Duration", Storage:="_ACTIVITYDuration", DbType:="Int")>  _
	Public Property ACTIVITYDuration() As System.Nullable(Of Integer)
		Get
			Return Me._ACTIVITYDuration
		End Get
		Set
			If (Me._ACTIVITYDuration.Equals(value) = false) Then
				Me._ACTIVITYDuration = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Edit Date", Storage:="_ACTIVITYEditDate", DbType:="DateTime")>  _
	Public Property ACTIVITYEditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYEditDate
		End Get
		Set
			If (Me._ACTIVITYEditDate.Equals(value) = false) Then
				Me._ACTIVITYEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY End Date/Time", Storage:="_ACTIVITYEndDate_Time", DbType:="SmallDateTime")>  _
	Public Property ACTIVITYEndDate_Time() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYEndDate_Time
		End Get
		Set
			If (Me._ACTIVITYEndDate_Time.Equals(value) = false) Then
				Me._ACTIVITYEndDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY External Id", Storage:="_ACTIVITYExternalId", DbType:="VarChar(1024)")>  _
	Public Property ACTIVITYExternalId() As String
		Get
			Return Me._ACTIVITYExternalId
		End Get
		Set
			If (String.Equals(Me._ACTIVITYExternalId, value) = false) Then
				Me._ACTIVITYExternalId = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Is Invitation Sent", Storage:="_ACTIVITYIsInvitationSent", DbType:="Bit")>  _
	Public Property ACTIVITYIsInvitationSent() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYIsInvitationSent
		End Get
		Set
			If (Me._ACTIVITYIsInvitationSent.Equals(value) = false) Then
				Me._ACTIVITYIsInvitationSent = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Isdeleted", Storage:="_ACTIVITYIsdeleted", DbType:="Bit")>  _
	Public Property ACTIVITYIsdeleted() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYIsdeleted
		End Get
		Set
			If (Me._ACTIVITYIsdeleted.Equals(value) = false) Then
				Me._ACTIVITYIsdeleted = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Last Edited By", Storage:="_ACTIVITYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property ACTIVITYLastEditedBy() As String
		Get
			Return Me._ACTIVITYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._ACTIVITYLastEditedBy, value) = false) Then
				Me._ACTIVITYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Location", Storage:="_ACTIVITYLocation", DbType:="NVarChar(128)")>  _
	Public Property ACTIVITYLocation() As String
		Get
			Return Me._ACTIVITYLocation
		End Get
		Set
			If (String.Equals(Me._ACTIVITYLocation, value) = false) Then
				Me._ACTIVITYLocation = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY MASTERACTIVITYID", Storage:="_ACTIVITYMASTERACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYMASTERACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYMASTERACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYMASTERACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYMASTERACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Organizer", Storage:="_ACTIVITYOrganizer", DbType:="NVarChar(128)")>  _
	Public Property ACTIVITYOrganizer() As String
		Get
			Return Me._ACTIVITYOrganizer
		End Get
		Set
			If (String.Equals(Me._ACTIVITYOrganizer, value) = false) Then
				Me._ACTIVITYOrganizer = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY PARENTACTIVITYID", Storage:="_ACTIVITYPARENTACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYPARENTACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYPARENTACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYPARENTACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYPARENTACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Private Activity", Storage:="_ACTIVITYPrivateActivity", DbType:="TinyInt")>  _
	Public Property ACTIVITYPrivateActivity() As System.Nullable(Of Byte)
		Get
			Return Me._ACTIVITYPrivateActivity
		End Get
		Set
			If (Me._ACTIVITYPrivateActivity.Equals(value) = false) Then
				Me._ACTIVITYPrivateActivity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Record Creator", Storage:="_ACTIVITYRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property ACTIVITYRecordCreator() As String
		Get
			Return Me._ACTIVITYRecordCreator
		End Get
		Set
			If (String.Equals(Me._ACTIVITYRecordCreator, value) = false) Then
				Me._ACTIVITYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Recurring End Date", Storage:="_ACTIVITYRecurringEndDate", DbType:="DateTime")>  _
	Public Property ACTIVITYRecurringEndDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYRecurringEndDate
		End Get
		Set
			If (Me._ACTIVITYRecurringEndDate.Equals(value) = false) Then
				Me._ACTIVITYRecurringEndDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Recurring Is Endless", Storage:="_ACTIVITYRecurringIsEndless", DbType:="Bit")>  _
	Public Property ACTIVITYRecurringIsEndless() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYRecurringIsEndless
		End Get
		Set
			If (Me._ACTIVITYRecurringIsEndless.Equals(value) = false) Then
				Me._ACTIVITYRecurringIsEndless = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY RECURSOURCEACTIVITYID", Storage:="_ACTIVITYRECURSOURCEACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYRECURSOURCEACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYRECURSOURCEACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYRECURSOURCEACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYRECURSOURCEACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Regarding", Storage:="_ACTIVITYRegarding", DbType:="NVarChar(256)")>  _
	Public Property ACTIVITYRegarding() As String
		Get
			Return Me._ACTIVITYRegarding
		End Get
		Set
			If (String.Equals(Me._ACTIVITYRegarding, value) = false) Then
				Me._ACTIVITYRegarding = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Start Date/Time", Storage:="_ACTIVITYStartDate_Time", DbType:="SmallDateTime")>  _
	Public Property ACTIVITYStartDate_Time() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYStartDate_Time
		End Get
		Set
			If (Me._ACTIVITYStartDate_Time.Equals(value) = false) Then
				Me._ACTIVITYStartDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Timeless", Storage:="_ACTIVITYTimeless", DbType:="Bit")>  _
	Public Property ACTIVITYTimeless() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYTimeless
		End Get
		Set
			If (Me._ACTIVITYTimeless.Equals(value) = false) Then
				Me._ACTIVITYTimeless = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Tz_bias", Storage:="_ACTIVITYTz_bias", DbType:="SmallInt")>  _
	Public Property ACTIVITYTz_bias() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTz_bias
		End Get
		Set
			If (Me._ACTIVITYTz_bias.Equals(value) = false) Then
				Me._ACTIVITYTz_bias = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Tz_daylight_bias", Storage:="_ACTIVITYTz_daylight_bias", DbType:="SmallInt")>  _
	Public Property ACTIVITYTz_daylight_bias() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTz_daylight_bias
		End Get
		Set
			If (Me._ACTIVITYTz_daylight_bias.Equals(value) = false) Then
				Me._ACTIVITYTz_daylight_bias = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Tz_standard_bias", Storage:="_ACTIVITYTz_standard_bias", DbType:="SmallInt")>  _
	Public Property ACTIVITYTz_standard_bias() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTz_standard_bias
		End Get
		Set
			If (Me._ACTIVITYTz_standard_bias.Equals(value) = false) Then
				Me._ACTIVITYTz_standard_bias = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Wf_contextid", Storage:="_ACTIVITYWf_contextid", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYWf_contextid() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYWf_contextid
		End Get
		Set
			If (Me._ACTIVITYWf_contextid.Equals(value) = false) Then
				Me._ACTIVITYWf_contextid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY Wf_instanceid", Storage:="_ACTIVITYWf_instanceid", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYWf_instanceid() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYWf_instanceid
		End Get
		Set
			If (Me._ACTIVITYWf_instanceid.Equals(value) = false) Then
				Me._ACTIVITYWf_instanceid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITY_ABL_ACTIVITYResult
	
	Private _ACTIVITYABLACTIVITYABL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYABLACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ABLACTIVITYLINKCreateDate As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY ABL ACTIVITY ABL_ACTIVITYID", Storage:="_ACTIVITYABLACTIVITYABL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYABLACTIVITYABL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYABLACTIVITYABL_ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYABLACTIVITYABL_ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYABLACTIVITYABL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY ABL ACTIVITY ACTIVITYID", Storage:="_ACTIVITYABLACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYABLACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYABLACTIVITYACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYABLACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYABLACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ABL ACTIVITY LINK Create Date", Storage:="_ABLACTIVITYLINKCreateDate", DbType:="DateTime")>  _
	Public Property ABLACTIVITYLINKCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ABLACTIVITYLINKCreateDate
		End Get
		Set
			If (Me._ABLACTIVITYLINKCreateDate.Equals(value) = false) Then
				Me._ABLACTIVITYLINKCreateDate = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITYPRIORITYResult
	
	Private _ACTIVITYPRIORITIESCreateDate As System.Nullable(Of Date)
	
	Private _ACTIVITYPRIORITIESDESCRIPTION As String
	
	Private _ACTIVITYPRIORITIESEditDate As System.Nullable(Of Date)
	
	Private _ACTIVITYPRIORITIESEnabled As System.Nullable(Of Boolean)
	
	Private _ACTIVITYPRIORITIESPriorityName As String
	
	Private _ACTIVITYPRIORITYACTIVITYPRIORITYGUID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYPRIORITYACTIVITYPRIORITYID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY PRIORITIES Create Date", Storage:="_ACTIVITYPRIORITIESCreateDate", DbType:="DateTime")>  _
	Public Property ACTIVITYPRIORITIESCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYPRIORITIESCreateDate
		End Get
		Set
			If (Me._ACTIVITYPRIORITIESCreateDate.Equals(value) = false) Then
				Me._ACTIVITYPRIORITIESCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY PRIORITIES DESCRIPTION", Storage:="_ACTIVITYPRIORITIESDESCRIPTION", DbType:="NVarChar(64)")>  _
	Public Property ACTIVITYPRIORITIESDESCRIPTION() As String
		Get
			Return Me._ACTIVITYPRIORITIESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ACTIVITYPRIORITIESDESCRIPTION, value) = false) Then
				Me._ACTIVITYPRIORITIESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY PRIORITIES Edit Date", Storage:="_ACTIVITYPRIORITIESEditDate", DbType:="DateTime")>  _
	Public Property ACTIVITYPRIORITIESEditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYPRIORITIESEditDate
		End Get
		Set
			If (Me._ACTIVITYPRIORITIESEditDate.Equals(value) = false) Then
				Me._ACTIVITYPRIORITIESEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY PRIORITIES Enabled", Storage:="_ACTIVITYPRIORITIESEnabled", DbType:="Bit")>  _
	Public Property ACTIVITYPRIORITIESEnabled() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYPRIORITIESEnabled
		End Get
		Set
			If (Me._ACTIVITYPRIORITIESEnabled.Equals(value) = false) Then
				Me._ACTIVITYPRIORITIESEnabled = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY PRIORITIES Priority Name", Storage:="_ACTIVITYPRIORITIESPriorityName", DbType:="NVarChar(64)")>  _
	Public Property ACTIVITYPRIORITIESPriorityName() As String
		Get
			Return Me._ACTIVITYPRIORITIESPriorityName
		End Get
		Set
			If (String.Equals(Me._ACTIVITYPRIORITIESPriorityName, value) = false) Then
				Me._ACTIVITYPRIORITIESPriorityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYPRIORITY ACTIVITYPRIORITYGUID", Storage:="_ACTIVITYPRIORITYACTIVITYPRIORITYGUID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYPRIORITYACTIVITYPRIORITYGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYPRIORITYACTIVITYPRIORITYGUID
		End Get
		Set
			If (Me._ACTIVITYPRIORITYACTIVITYPRIORITYGUID.Equals(value) = false) Then
				Me._ACTIVITYPRIORITYACTIVITYPRIORITYGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYPRIORITY ACTIVITYPRIORITYID", Storage:="_ACTIVITYPRIORITYACTIVITYPRIORITYID", DbType:="TinyInt")>  _
	Public Property ACTIVITYPRIORITYACTIVITYPRIORITYID() As System.Nullable(Of Byte)
		Get
			Return Me._ACTIVITYPRIORITYACTIVITYPRIORITYID
		End Get
		Set
			If (Me._ACTIVITYPRIORITYACTIVITYPRIORITYID.Equals(value) = false) Then
				Me._ACTIVITYPRIORITYACTIVITYPRIORITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITYSERIESResult
	
	Private _ACTIVITYSERIESACTIVITYSERIESID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESCreateDate As System.Nullable(Of Date)
	
	Private _ACTIVITYSERIESCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESEditDate As System.Nullable(Of Date)
	
	Private _ACTIVITYSERIESEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESMANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESPrivate As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYSERIES ACTIVITYSERIESID", Storage:="_ACTIVITYSERIESACTIVITYSERIESID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESACTIVITYSERIESID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESACTIVITYSERIESID
		End Get
		Set
			If (Me._ACTIVITYSERIESACTIVITYSERIESID.Equals(value) = false) Then
				Me._ACTIVITYSERIESACTIVITYSERIESID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES Create Date", Storage:="_ACTIVITYSERIESCreateDate", DbType:="DateTime")>  _
	Public Property ACTIVITYSERIESCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYSERIESCreateDate
		End Get
		Set
			If (Me._ACTIVITYSERIESCreateDate.Equals(value) = false) Then
				Me._ACTIVITYSERIESCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES CREATEUSERID", Storage:="_ACTIVITYSERIESCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESCREATEUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESCREATEUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES Edit Date", Storage:="_ACTIVITYSERIESEditDate", DbType:="DateTime")>  _
	Public Property ACTIVITYSERIESEditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYSERIESEditDate
		End Get
		Set
			If (Me._ACTIVITYSERIESEditDate.Equals(value) = false) Then
				Me._ACTIVITYSERIESEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES EDITUSERID", Storage:="_ACTIVITYSERIESEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESEDITUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESEDITUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES MANAGEUSERID", Storage:="_ACTIVITYSERIESMANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESMANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESMANAGEUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESMANAGEUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESMANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES Private", Storage:="_ACTIVITYSERIESPrivate", DbType:="Bit")>  _
	Public Property ACTIVITYSERIESPrivate() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYSERIESPrivate
		End Get
		Set
			If (Me._ACTIVITYSERIESPrivate.Equals(value) = false) Then
				Me._ACTIVITYSERIESPrivate = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITYSERIESAPPLIEDResult
	
	Private _ACTIVITYSERIESAPPLIEDACTIVITYSERIESAPPLIEDID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESAPPLIEDCreateDate As System.Nullable(Of Date)
	
	Private _ACTIVITYSERIESAPPLIEDCREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYSERIESAPPLIED ACTIVITYSERIESAPPLIEDID", Storage:="_ACTIVITYSERIESAPPLIEDACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESAPPLIEDACTIVITYSERIESAPPLIEDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDACTIVITYSERIESAPPLIEDID.Equals(value) = false) Then
				Me._ACTIVITYSERIESAPPLIEDACTIVITYSERIESAPPLIEDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES APPLIED Create Date", Storage:="_ACTIVITYSERIESAPPLIEDCreateDate", DbType:="DateTime")>  _
	Public Property ACTIVITYSERIESAPPLIEDCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDCreateDate
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDCreateDate.Equals(value) = false) Then
				Me._ACTIVITYSERIESAPPLIEDCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES APPLIED CREATEUSERID", Storage:="_ACTIVITYSERIESAPPLIEDCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESAPPLIEDCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDCREATEUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDCREATEUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESAPPLIEDCREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITYSERIESITEMResult
	
	Private _ACTIVITYSERIESITEMACTIVITYSERIESITEMID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESITEMCreateDate As System.Nullable(Of Date)
	
	Private _ACTIVITYSERIESITEMCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESITEMEditDate As System.Nullable(Of Date)
	
	Private _ACTIVITYSERIESITEMEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESITEMORGANIZEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYSERIESITEM ACTIVITYSERIESITEMID", Storage:="_ACTIVITYSERIESITEMACTIVITYSERIESITEMID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESITEMACTIVITYSERIESITEMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESITEMACTIVITYSERIESITEMID
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMACTIVITYSERIESITEMID.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMACTIVITYSERIESITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES ITEM Create Date", Storage:="_ACTIVITYSERIESITEMCreateDate", DbType:="DateTime")>  _
	Public Property ACTIVITYSERIESITEMCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYSERIESITEMCreateDate
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMCreateDate.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES ITEM CREATEUSERID", Storage:="_ACTIVITYSERIESITEMCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESITEMCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESITEMCREATEUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMCREATEUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES ITEM Edit Date", Storage:="_ACTIVITYSERIESITEMEditDate", DbType:="DateTime")>  _
	Public Property ACTIVITYSERIESITEMEditDate() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYSERIESITEMEditDate
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMEditDate.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY SERIES ITEM EDITUSERID", Storage:="_ACTIVITYSERIESITEMEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESITEMEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESITEMEDITUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMEDITUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYSERIESITEM ORGANIZEUSERID", Storage:="_ACTIVITYSERIESITEMORGANIZEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESITEMORGANIZEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESITEMORGANIZEUSERID
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMORGANIZEUSERID.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMORGANIZEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ACTIVITYTYPEResult
	
	Private _ACTIVITYTYPESActive As System.Nullable(Of Boolean)
	
	Private _ACTIVITYTYPEACTIVITYTYPEGUID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYTYPEACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _ACTIVITYTYPESCreatedOn As System.Nullable(Of Date)
	
	Private _ACTIVITYTYPESCustom As System.Nullable(Of Boolean)
	
	Private _ACTIVITYTYPESDESCRIPTION As String
	
	Private _ACTIVITYTYPESEditedOn As System.Nullable(Of Date)
	
	Private _ACTIVITYTYPESName As String
	
	Private _ACTIVITYTYPEREGARDING_PICKLISTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY TYPES Active", Storage:="_ACTIVITYTYPESActive", DbType:="Bit")>  _
	Public Property ACTIVITYTYPESActive() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYTYPESActive
		End Get
		Set
			If (Me._ACTIVITYTYPESActive.Equals(value) = false) Then
				Me._ACTIVITYTYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYTYPE ACTIVITYTYPEGUID", Storage:="_ACTIVITYTYPEACTIVITYTYPEGUID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYTYPEACTIVITYTYPEGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYTYPEACTIVITYTYPEGUID
		End Get
		Set
			If (Me._ACTIVITYTYPEACTIVITYTYPEGUID.Equals(value) = false) Then
				Me._ACTIVITYTYPEACTIVITYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYTYPE ACTIVITYTYPEID", Storage:="_ACTIVITYTYPEACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEACTIVITYTYPEID.Equals(value) = false) Then
				Me._ACTIVITYTYPEACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY TYPES Created On", Storage:="_ACTIVITYTYPESCreatedOn", DbType:="DateTime")>  _
	Public Property ACTIVITYTYPESCreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYTYPESCreatedOn
		End Get
		Set
			If (Me._ACTIVITYTYPESCreatedOn.Equals(value) = false) Then
				Me._ACTIVITYTYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY TYPES Custom", Storage:="_ACTIVITYTYPESCustom", DbType:="Bit")>  _
	Public Property ACTIVITYTYPESCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._ACTIVITYTYPESCustom
		End Get
		Set
			If (Me._ACTIVITYTYPESCustom.Equals(value) = false) Then
				Me._ACTIVITYTYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY TYPES DESCRIPTION", Storage:="_ACTIVITYTYPESDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property ACTIVITYTYPESDESCRIPTION() As String
		Get
			Return Me._ACTIVITYTYPESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ACTIVITYTYPESDESCRIPTION, value) = false) Then
				Me._ACTIVITYTYPESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY TYPES Edited On", Storage:="_ACTIVITYTYPESEditedOn", DbType:="DateTime")>  _
	Public Property ACTIVITYTYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._ACTIVITYTYPESEditedOn
		End Get
		Set
			If (Me._ACTIVITYTYPESEditedOn.Equals(value) = false) Then
				Me._ACTIVITYTYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITY TYPES Name", Storage:="_ACTIVITYTYPESName", DbType:="NVarChar(64)")>  _
	Public Property ACTIVITYTYPESName() As String
		Get
			Return Me._ACTIVITYTYPESName
		End Get
		Set
			If (String.Equals(Me._ACTIVITYTYPESName, value) = false) Then
				Me._ACTIVITYTYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ACTIVITYTYPE REGARDING_PICKLISTID", Storage:="_ACTIVITYTYPEREGARDING_PICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYTYPEREGARDING_PICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYTYPEREGARDING_PICKLISTID
		End Get
		Set
			If (Me._ACTIVITYTYPEREGARDING_PICKLISTID.Equals(value) = false) Then
				Me._ACTIVITYTYPEREGARDING_PICKLISTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ADDRESSResult
	
	Private _ADDRESSADDRESSID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ADDRESS ADDRESSID", Storage:="_ADDRESSADDRESSID", DbType:="UniqueIdentifier")>  _
	Public Property ADDRESSADDRESSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ADDRESSADDRESSID
		End Get
		Set
			If (Me._ADDRESSADDRESSID.Equals(value) = false) Then
				Me._ADDRESSADDRESSID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_ACTIVITYResult
	
	Private _ALACTIVITYAL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ALACTIVITYORGANIZEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL ACTIVITY AL_ACTIVITYID", Storage:="_ALACTIVITYAL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ALACTIVITYAL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALACTIVITYAL_ACTIVITYID
		End Get
		Set
			If (Me._ALACTIVITYAL_ACTIVITYID.Equals(value) = false) Then
				Me._ALACTIVITYAL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL ACTIVITY ORGANIZEUSERID", Storage:="_ALACTIVITYORGANIZEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ALACTIVITYORGANIZEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALACTIVITYORGANIZEUSERID
		End Get
		Set
			If (Me._ALACTIVITYORGANIZEUSERID.Equals(value) = false) Then
				Me._ALACTIVITYORGANIZEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_ACTIVITY_EXTERNALIDResult
	
	Private _ALACTIVITYEXTERNALIDACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ALACTIVITYEXTERNALIDCreateDate As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL ACTIVITY EXTERNALID ACTIVITYID", Storage:="_ALACTIVITYEXTERNALIDACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ALACTIVITYEXTERNALIDACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALACTIVITYEXTERNALIDACTIVITYID
		End Get
		Set
			If (Me._ALACTIVITYEXTERNALIDACTIVITYID.Equals(value) = false) Then
				Me._ALACTIVITYEXTERNALIDACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL ACTIVITY EXTERNALID Create Date", Storage:="_ALACTIVITYEXTERNALIDCreateDate", DbType:="DateTime")>  _
	Public Property ALACTIVITYEXTERNALIDCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._ALACTIVITYEXTERNALIDCreateDate
		End Get
		Set
			If (Me._ALACTIVITYEXTERNALIDCreateDate.Equals(value) = false) Then
				Me._ALACTIVITYEXTERNALIDCreateDate = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_DATAMAPPINGResult
	
	Private _ALDATAMAPPINGDATAMAPPINGID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL DATAMAPPING DATAMAPPINGID", Storage:="_ALDATAMAPPINGDATAMAPPINGID", DbType:="UniqueIdentifier")>  _
	Public Property ALDATAMAPPINGDATAMAPPINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALDATAMAPPINGDATAMAPPINGID
		End Get
		Set
			If (Me._ALDATAMAPPINGDATAMAPPINGID.Equals(value) = false) Then
				Me._ALDATAMAPPINGDATAMAPPINGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_DRIVERCONFIGResult
	
	Private _ALDRIVERCONFIGLINKDRIVERCLSID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL DRIVERCONFIG LINKDRIVERCLSID", Storage:="_ALDRIVERCONFIGLINKDRIVERCLSID", DbType:="UniqueIdentifier")>  _
	Public Property ALDRIVERCONFIGLINKDRIVERCLSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALDRIVERCONFIGLINKDRIVERCLSID
		End Get
		Set
			If (Me._ALDRIVERCONFIGLINKDRIVERCLSID.Equals(value) = false) Then
				Me._ALDRIVERCONFIGLINKDRIVERCLSID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_LINKResult
	
	Private _ALLINKLINKID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL LINK LINKID", Storage:="_ALLINKLINKID", DbType:="UniqueIdentifier")>  _
	Public Property ALLINKLINKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALLINKLINKID
		End Get
		Set
			If (Me._ALLINKLINKID.Equals(value) = false) Then
				Me._ALLINKLINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_SCHEDULEDFORResult
	
	Private _ALSCHEDULEDFORAL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ALSCHEDULEDFORSCHEDULEDFORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL SCHEDULEDFOR AL_ACTIVITYID", Storage:="_ALSCHEDULEDFORAL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ALSCHEDULEDFORAL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALSCHEDULEDFORAL_ACTIVITYID
		End Get
		Set
			If (Me._ALSCHEDULEDFORAL_ACTIVITYID.Equals(value) = false) Then
				Me._ALSCHEDULEDFORAL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL SCHEDULEDFOR SCHEDULEDFORID", Storage:="_ALSCHEDULEDFORSCHEDULEDFORID", DbType:="UniqueIdentifier")>  _
	Public Property ALSCHEDULEDFORSCHEDULEDFORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALSCHEDULEDFORSCHEDULEDFORID
		End Get
		Set
			If (Me._ALSCHEDULEDFORSCHEDULEDFORID.Equals(value) = false) Then
				Me._ALSCHEDULEDFORSCHEDULEDFORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_SYNCDATAResult
	
	Private _ALSYNCDATADATAMAPPINGID As System.Nullable(Of System.Guid)
	
	Private _ALSYNCDATALINKID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL SYNCDATA DATAMAPPINGID", Storage:="_ALSYNCDATADATAMAPPINGID", DbType:="UniqueIdentifier")>  _
	Public Property ALSYNCDATADATAMAPPINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALSYNCDATADATAMAPPINGID
		End Get
		Set
			If (Me._ALSYNCDATADATAMAPPINGID.Equals(value) = false) Then
				Me._ALSYNCDATADATAMAPPINGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL SYNCDATA LINKID", Storage:="_ALSYNCDATALINKID", DbType:="UniqueIdentifier")>  _
	Public Property ALSYNCDATALINKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALSYNCDATALINKID
		End Get
		Set
			If (Me._ALSYNCDATALINKID.Equals(value) = false) Then
				Me._ALSYNCDATALINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_AL_USERSETTINGResult
	
	Private _ALUSERSETTINGUSERSETTINGID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="AL USERSETTING USERSETTINGID", Storage:="_ALUSERSETTINGUSERSETTINGID", DbType:="UniqueIdentifier")>  _
	Public Property ALUSERSETTINGUSERSETTINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALUSERSETTINGUSERSETTINGID
		End Get
		Set
			If (Me._ALUSERSETTINGUSERSETTINGID.Equals(value) = false) Then
				Me._ALUSERSETTINGUSERSETTINGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ALARMSNOOZEResult
	
	Private _ALARMSNOOZEALARMSNOOZEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ALARMSNOOZE ALARMSNOOZEID", Storage:="_ALARMSNOOZEALARMSNOOZEID", DbType:="UniqueIdentifier")>  _
	Public Property ALARMSNOOZEALARMSNOOZEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALARMSNOOZEALARMSNOOZEID
		End Get
		Set
			If (Me._ALARMSNOOZEALARMSNOOZEID.Equals(value) = false) Then
				Me._ALARMSNOOZEALARMSNOOZEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ATTACHMENTResult
	
	Private _ATTACHMENTATTACHMENTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ATTACHMENT ATTACHMENTID", Storage:="_ATTACHMENTATTACHMENTID", DbType:="UniqueIdentifier")>  _
	Public Property ATTACHMENTATTACHMENTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ATTACHMENTATTACHMENTID
		End Get
		Set
			If (Me._ATTACHMENTATTACHMENTID.Equals(value) = false) Then
				Me._ATTACHMENTATTACHMENTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANYResult
	
	Private _COMPANYAddress1 As String
	
	Private _COMPANYAddress2 As String
	
	Private _COMPANYAddress3 As String
	
	Private _COMPANYBillingAddress1 As String
	
	Private _COMPANYBillingAddress2 As String
	
	Private _COMPANYBillingAddress3 As String
	
	Private _COMPANYBillingCity As String
	
	Private _COMPANYBillingCountry As String
	
	Private _COMPANYBillingState As String
	
	Private _COMPANYBillingZIPCode As String
	
	Private _COMPANYCity As String
	
	Private _COMPANYCompany As String
	
	Private _COMPANYCompanyDescription As String
	
	Private _COMPANYCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYCountry As String
	
	Private _COMPANYCreateDate As System.Nullable(Of Date)
	
	Private _COMPANYCustomerID As String
	
	Private _COMPANYDivision As String
	
	Private _COMPANYEditDate As System.Nullable(Of Date)
	
	Private _COMPANYExtension As String
	
	Private _COMPANYFaxExtension As String
	
	Private _COMPANYFaxPhone As String
	
	Private _COMPANYHasDivisions As System.Nullable(Of Boolean)
	
	Private _COMPANYHierarchyLevel As System.Nullable(Of Integer)
	
	Private _COMPANYID_Status As String
	
	Private _COMPANYImportDate As System.Nullable(Of Date)
	
	Private _COMPANYIndustry As String
	
	Private _COMPANYLastEditedBy As String
	
	Private _COMPANYNumberOfEmployees As System.Nullable(Of Integer)
	
	Private _COMPANYPARENTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYPhone As String
	
	Private _COMPANYPrivateCompany As System.Nullable(Of Boolean)
	
	Private _COMPANYQUERYVERSIONID As System.Nullable(Of System.Guid)
	
	Private _COMPANYRecordCreator As String
	
	Private _COMPANYRecordManager As String
	
	Private _COMPANYReferredBy As String
	
	Private _COMPANYRegion As String
	
	Private _COMPANYRevenue As System.Nullable(Of Decimal)
	
	Private _COMPANYShippingAddress1 As String
	
	Private _COMPANYShippingAddress2 As String
	
	Private _COMPANYShippingAddress3 As String
	
	Private _COMPANYShippingCity As String
	
	Private _COMPANYShippingCountry As String
	
	Private _COMPANYShippingState As String
	
	Private _COMPANYShippingZIPCode As String
	
	Private _COMPANYSICCode As String
	
	Private _COMPANYState As String
	
	Private _COMPANYTerritory As String
	
	Private _COMPANYTickerSymbol As String
	
	Private _COMPANYToll_FreeExtension As String
	
	Private _COMPANYToll_FreePhone As String
	
	Private _COMPANYWebSite As String
	
	Private _COMPANYZIPCode As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Address 1", Storage:="_COMPANYAddress1", DbType:="NVarChar(256)")>  _
	Public Property COMPANYAddress1() As String
		Get
			Return Me._COMPANYAddress1
		End Get
		Set
			If (String.Equals(Me._COMPANYAddress1, value) = false) Then
				Me._COMPANYAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Address 2", Storage:="_COMPANYAddress2", DbType:="NVarChar(256)")>  _
	Public Property COMPANYAddress2() As String
		Get
			Return Me._COMPANYAddress2
		End Get
		Set
			If (String.Equals(Me._COMPANYAddress2, value) = false) Then
				Me._COMPANYAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Address 3", Storage:="_COMPANYAddress3", DbType:="NVarChar(256)")>  _
	Public Property COMPANYAddress3() As String
		Get
			Return Me._COMPANYAddress3
		End Get
		Set
			If (String.Equals(Me._COMPANYAddress3, value) = false) Then
				Me._COMPANYAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Address 1", Storage:="_COMPANYBillingAddress1", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingAddress1() As String
		Get
			Return Me._COMPANYBillingAddress1
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingAddress1, value) = false) Then
				Me._COMPANYBillingAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Address 2", Storage:="_COMPANYBillingAddress2", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingAddress2() As String
		Get
			Return Me._COMPANYBillingAddress2
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingAddress2, value) = false) Then
				Me._COMPANYBillingAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Address 3", Storage:="_COMPANYBillingAddress3", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingAddress3() As String
		Get
			Return Me._COMPANYBillingAddress3
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingAddress3, value) = false) Then
				Me._COMPANYBillingAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing City", Storage:="_COMPANYBillingCity", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingCity() As String
		Get
			Return Me._COMPANYBillingCity
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingCity, value) = false) Then
				Me._COMPANYBillingCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing Country", Storage:="_COMPANYBillingCountry", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingCountry() As String
		Get
			Return Me._COMPANYBillingCountry
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingCountry, value) = false) Then
				Me._COMPANYBillingCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing State", Storage:="_COMPANYBillingState", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingState() As String
		Get
			Return Me._COMPANYBillingState
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingState, value) = false) Then
				Me._COMPANYBillingState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Billing ZIP Code", Storage:="_COMPANYBillingZIPCode", DbType:="NVarChar(256)")>  _
	Public Property COMPANYBillingZIPCode() As String
		Get
			Return Me._COMPANYBillingZIPCode
		End Get
		Set
			If (String.Equals(Me._COMPANYBillingZIPCode, value) = false) Then
				Me._COMPANYBillingZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY City", Storage:="_COMPANYCity", DbType:="NVarChar(256)")>  _
	Public Property COMPANYCity() As String
		Get
			Return Me._COMPANYCity
		End Get
		Set
			If (String.Equals(Me._COMPANYCity, value) = false) Then
				Me._COMPANYCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Company", Storage:="_COMPANYCompany", DbType:="NVarChar(128)")>  _
	Public Property COMPANYCompany() As String
		Get
			Return Me._COMPANYCompany
		End Get
		Set
			If (String.Equals(Me._COMPANYCompany, value) = false) Then
				Me._COMPANYCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Company Description", Storage:="_COMPANYCompanyDescription", DbType:="NVarChar(128)")>  _
	Public Property COMPANYCompanyDescription() As String
		Get
			Return Me._COMPANYCompanyDescription
		End Get
		Set
			If (String.Equals(Me._COMPANYCompanyDescription, value) = false) Then
				Me._COMPANYCompanyDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY COMPANYID", Storage:="_COMPANYCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCOMPANYID
		End Get
		Set
			If (Me._COMPANYCOMPANYID.Equals(value) = false) Then
				Me._COMPANYCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Country", Storage:="_COMPANYCountry", DbType:="NVarChar(256)")>  _
	Public Property COMPANYCountry() As String
		Get
			Return Me._COMPANYCountry
		End Get
		Set
			If (String.Equals(Me._COMPANYCountry, value) = false) Then
				Me._COMPANYCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Create Date", Storage:="_COMPANYCreateDate", DbType:="DateTime")>  _
	Public Property COMPANYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYCreateDate
		End Get
		Set
			If (Me._COMPANYCreateDate.Equals(value) = false) Then
				Me._COMPANYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Customer ID", Storage:="_COMPANYCustomerID", DbType:="NVarChar(8)")>  _
	Public Property COMPANYCustomerID() As String
		Get
			Return Me._COMPANYCustomerID
		End Get
		Set
			If (String.Equals(Me._COMPANYCustomerID, value) = false) Then
				Me._COMPANYCustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Division", Storage:="_COMPANYDivision", DbType:="NVarChar(64)")>  _
	Public Property COMPANYDivision() As String
		Get
			Return Me._COMPANYDivision
		End Get
		Set
			If (String.Equals(Me._COMPANYDivision, value) = false) Then
				Me._COMPANYDivision = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Edit Date", Storage:="_COMPANYEditDate", DbType:="DateTime")>  _
	Public Property COMPANYEditDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYEditDate
		End Get
		Set
			If (Me._COMPANYEditDate.Equals(value) = false) Then
				Me._COMPANYEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Extension", Storage:="_COMPANYExtension", DbType:="NVarChar(256)")>  _
	Public Property COMPANYExtension() As String
		Get
			Return Me._COMPANYExtension
		End Get
		Set
			If (String.Equals(Me._COMPANYExtension, value) = false) Then
				Me._COMPANYExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Fax Extension", Storage:="_COMPANYFaxExtension", DbType:="NVarChar(256)")>  _
	Public Property COMPANYFaxExtension() As String
		Get
			Return Me._COMPANYFaxExtension
		End Get
		Set
			If (String.Equals(Me._COMPANYFaxExtension, value) = false) Then
				Me._COMPANYFaxExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Fax Phone", Storage:="_COMPANYFaxPhone", DbType:="NVarChar(32)")>  _
	Public Property COMPANYFaxPhone() As String
		Get
			Return Me._COMPANYFaxPhone
		End Get
		Set
			If (String.Equals(Me._COMPANYFaxPhone, value) = false) Then
				Me._COMPANYFaxPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Has Divisions", Storage:="_COMPANYHasDivisions", DbType:="Bit")>  _
	Public Property COMPANYHasDivisions() As System.Nullable(Of Boolean)
		Get
			Return Me._COMPANYHasDivisions
		End Get
		Set
			If (Me._COMPANYHasDivisions.Equals(value) = false) Then
				Me._COMPANYHasDivisions = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Hierarchy Level", Storage:="_COMPANYHierarchyLevel", DbType:="Int")>  _
	Public Property COMPANYHierarchyLevel() As System.Nullable(Of Integer)
		Get
			Return Me._COMPANYHierarchyLevel
		End Get
		Set
			If (Me._COMPANYHierarchyLevel.Equals(value) = false) Then
				Me._COMPANYHierarchyLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ID/Status", Storage:="_COMPANYID_Status", DbType:="NVarChar(128)")>  _
	Public Property COMPANYID_Status() As String
		Get
			Return Me._COMPANYID_Status
		End Get
		Set
			If (String.Equals(Me._COMPANYID_Status, value) = false) Then
				Me._COMPANYID_Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Import Date", Storage:="_COMPANYImportDate", DbType:="DateTime")>  _
	Public Property COMPANYImportDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYImportDate
		End Get
		Set
			If (Me._COMPANYImportDate.Equals(value) = false) Then
				Me._COMPANYImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Industry", Storage:="_COMPANYIndustry", DbType:="NVarChar(64)")>  _
	Public Property COMPANYIndustry() As String
		Get
			Return Me._COMPANYIndustry
		End Get
		Set
			If (String.Equals(Me._COMPANYIndustry, value) = false) Then
				Me._COMPANYIndustry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Last Edited By", Storage:="_COMPANYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property COMPANYLastEditedBy() As String
		Get
			Return Me._COMPANYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._COMPANYLastEditedBy, value) = false) Then
				Me._COMPANYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Number of Employees", Storage:="_COMPANYNumberOfEmployees", DbType:="Int")>  _
	Public Property COMPANYNumberOfEmployees() As System.Nullable(Of Integer)
		Get
			Return Me._COMPANYNumberOfEmployees
		End Get
		Set
			If (Me._COMPANYNumberOfEmployees.Equals(value) = false) Then
				Me._COMPANYNumberOfEmployees = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY PARENTCOMPANYID", Storage:="_COMPANYPARENTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYPARENTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYPARENTCOMPANYID
		End Get
		Set
			If (Me._COMPANYPARENTCOMPANYID.Equals(value) = false) Then
				Me._COMPANYPARENTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Phone", Storage:="_COMPANYPhone", DbType:="NVarChar(32)")>  _
	Public Property COMPANYPhone() As String
		Get
			Return Me._COMPANYPhone
		End Get
		Set
			If (String.Equals(Me._COMPANYPhone, value) = false) Then
				Me._COMPANYPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Private Company", Storage:="_COMPANYPrivateCompany", DbType:="Bit")>  _
	Public Property COMPANYPrivateCompany() As System.Nullable(Of Boolean)
		Get
			Return Me._COMPANYPrivateCompany
		End Get
		Set
			If (Me._COMPANYPrivateCompany.Equals(value) = false) Then
				Me._COMPANYPrivateCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY QUERYVERSIONID", Storage:="_COMPANYQUERYVERSIONID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYQUERYVERSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYQUERYVERSIONID
		End Get
		Set
			If (Me._COMPANYQUERYVERSIONID.Equals(value) = false) Then
				Me._COMPANYQUERYVERSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Record Creator", Storage:="_COMPANYRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property COMPANYRecordCreator() As String
		Get
			Return Me._COMPANYRecordCreator
		End Get
		Set
			If (String.Equals(Me._COMPANYRecordCreator, value) = false) Then
				Me._COMPANYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Record Manager", Storage:="_COMPANYRecordManager", DbType:="NVarChar(128)")>  _
	Public Property COMPANYRecordManager() As String
		Get
			Return Me._COMPANYRecordManager
		End Get
		Set
			If (String.Equals(Me._COMPANYRecordManager, value) = false) Then
				Me._COMPANYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Referred By", Storage:="_COMPANYReferredBy", DbType:="NVarChar(64)")>  _
	Public Property COMPANYReferredBy() As String
		Get
			Return Me._COMPANYReferredBy
		End Get
		Set
			If (String.Equals(Me._COMPANYReferredBy, value) = false) Then
				Me._COMPANYReferredBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Region", Storage:="_COMPANYRegion", DbType:="NVarChar(64)")>  _
	Public Property COMPANYRegion() As String
		Get
			Return Me._COMPANYRegion
		End Get
		Set
			If (String.Equals(Me._COMPANYRegion, value) = false) Then
				Me._COMPANYRegion = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Revenue", Storage:="_COMPANYRevenue", DbType:="Decimal(18,2)")>  _
	Public Property COMPANYRevenue() As System.Nullable(Of Decimal)
		Get
			Return Me._COMPANYRevenue
		End Get
		Set
			If (Me._COMPANYRevenue.Equals(value) = false) Then
				Me._COMPANYRevenue = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Address 1", Storage:="_COMPANYShippingAddress1", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingAddress1() As String
		Get
			Return Me._COMPANYShippingAddress1
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingAddress1, value) = false) Then
				Me._COMPANYShippingAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Address 2", Storage:="_COMPANYShippingAddress2", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingAddress2() As String
		Get
			Return Me._COMPANYShippingAddress2
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingAddress2, value) = false) Then
				Me._COMPANYShippingAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Address 3", Storage:="_COMPANYShippingAddress3", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingAddress3() As String
		Get
			Return Me._COMPANYShippingAddress3
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingAddress3, value) = false) Then
				Me._COMPANYShippingAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping City", Storage:="_COMPANYShippingCity", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingCity() As String
		Get
			Return Me._COMPANYShippingCity
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingCity, value) = false) Then
				Me._COMPANYShippingCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping Country", Storage:="_COMPANYShippingCountry", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingCountry() As String
		Get
			Return Me._COMPANYShippingCountry
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingCountry, value) = false) Then
				Me._COMPANYShippingCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping State", Storage:="_COMPANYShippingState", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingState() As String
		Get
			Return Me._COMPANYShippingState
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingState, value) = false) Then
				Me._COMPANYShippingState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Shipping ZIP Code", Storage:="_COMPANYShippingZIPCode", DbType:="NVarChar(256)")>  _
	Public Property COMPANYShippingZIPCode() As String
		Get
			Return Me._COMPANYShippingZIPCode
		End Get
		Set
			If (String.Equals(Me._COMPANYShippingZIPCode, value) = false) Then
				Me._COMPANYShippingZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY SIC Code", Storage:="_COMPANYSICCode", DbType:="NVarChar(8)")>  _
	Public Property COMPANYSICCode() As String
		Get
			Return Me._COMPANYSICCode
		End Get
		Set
			If (String.Equals(Me._COMPANYSICCode, value) = false) Then
				Me._COMPANYSICCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY State", Storage:="_COMPANYState", DbType:="NVarChar(256)")>  _
	Public Property COMPANYState() As String
		Get
			Return Me._COMPANYState
		End Get
		Set
			If (String.Equals(Me._COMPANYState, value) = false) Then
				Me._COMPANYState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Territory", Storage:="_COMPANYTerritory", DbType:="NVarChar(64)")>  _
	Public Property COMPANYTerritory() As String
		Get
			Return Me._COMPANYTerritory
		End Get
		Set
			If (String.Equals(Me._COMPANYTerritory, value) = false) Then
				Me._COMPANYTerritory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Ticker Symbol", Storage:="_COMPANYTickerSymbol", DbType:="NVarChar(12)")>  _
	Public Property COMPANYTickerSymbol() As String
		Get
			Return Me._COMPANYTickerSymbol
		End Get
		Set
			If (String.Equals(Me._COMPANYTickerSymbol, value) = false) Then
				Me._COMPANYTickerSymbol = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Toll-Free Extension", Storage:="_COMPANYToll_FreeExtension", DbType:="NVarChar(256)")>  _
	Public Property COMPANYToll_FreeExtension() As String
		Get
			Return Me._COMPANYToll_FreeExtension
		End Get
		Set
			If (String.Equals(Me._COMPANYToll_FreeExtension, value) = false) Then
				Me._COMPANYToll_FreeExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Toll-Free Phone", Storage:="_COMPANYToll_FreePhone", DbType:="NVarChar(32)")>  _
	Public Property COMPANYToll_FreePhone() As String
		Get
			Return Me._COMPANYToll_FreePhone
		End Get
		Set
			If (String.Equals(Me._COMPANYToll_FreePhone, value) = false) Then
				Me._COMPANYToll_FreePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY Web Site", Storage:="_COMPANYWebSite", DbType:="NVarChar(128)")>  _
	Public Property COMPANYWebSite() As String
		Get
			Return Me._COMPANYWebSite
		End Get
		Set
			If (String.Equals(Me._COMPANYWebSite, value) = false) Then
				Me._COMPANYWebSite = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ZIP Code", Storage:="_COMPANYZIPCode", DbType:="NVarChar(256)")>  _
	Public Property COMPANYZIPCode() As String
		Get
			Return Me._COMPANYZIPCode
		End Get
		Set
			If (String.Equals(Me._COMPANYZIPCode, value) = false) Then
				Me._COMPANYZIPCode = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_ACCESSResult
	
	Private _COMPANYACCESSAccessLevel As String
	
	Private _COMPANYACCESSCompanyid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ACCESS Access Level", Storage:="_COMPANYACCESSAccessLevel", DbType:="NVarChar(7)")>  _
	Public Property COMPANYACCESSAccessLevel() As String
		Get
			Return Me._COMPANYACCESSAccessLevel
		End Get
		Set
			If (String.Equals(Me._COMPANYACCESSAccessLevel, value) = false) Then
				Me._COMPANYACCESSAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ACCESS Companyid", Storage:="_COMPANYACCESSCompanyid", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYACCESSCompanyid() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYACCESSCompanyid
		End Get
		Set
			If (Me._COMPANYACCESSCompanyid.Equals(value) = false) Then
				Me._COMPANYACCESSCompanyid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_ACLResult
	
	Private _COMPANYACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _COMPANYACLCOMPANYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ACL ACCESSORID", Storage:="_COMPANYACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYACLACCESSORID
		End Get
		Set
			If (Me._COMPANYACLACCESSORID.Equals(value) = false) Then
				Me._COMPANYACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ACL COMPANYID", Storage:="_COMPANYACLCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYACLCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYACLCOMPANYID
		End Get
		Set
			If (Me._COMPANYACLCOMPANYID.Equals(value) = false) Then
				Me._COMPANYACLCOMPANYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_ACTIVITYResult
	
	Private _COMPANYACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYACTIVITYCOMPANYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ACTIVITY ACTIVITYID", Storage:="_COMPANYACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYACTIVITYACTIVITYID
		End Get
		Set
			If (Me._COMPANYACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._COMPANYACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY ACTIVITY COMPANYID", Storage:="_COMPANYACTIVITYCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYACTIVITYCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYACTIVITYCOMPANYID
		End Get
		Set
			If (Me._COMPANYACTIVITYCOMPANYID.Equals(value) = false) Then
				Me._COMPANYACTIVITYCOMPANYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_BUSINESSLINKResult
	
	Private _COMPANYBUSINESSLINKCompanyid As System.Nullable(Of System.Guid)
	
	Private _COMPANYBUSINESSLINKVWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED As System.Nullable(Of Boolean)
	
	Private _COMPANYBUSINESSLINKSomeCompanyNameRt As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY BUSINESSLINK Companyid", Storage:="_COMPANYBUSINESSLINKCompanyid", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYBUSINESSLINKCompanyid() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYBUSINESSLINKCompanyid
		End Get
		Set
			If (Me._COMPANYBUSINESSLINKCompanyid.Equals(value) = false) Then
				Me._COMPANYBUSINESSLINKCompanyid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY BUSINESSLINK VWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED", Storage:="_COMPANYBUSINESSLINKVWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED", DbType:="Bit")>  _
	Public Property COMPANYBUSINESSLINKVWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED() As System.Nullable(Of Boolean)
		Get
			Return Me._COMPANYBUSINESSLINKVWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED
		End Get
		Set
			If (Me._COMPANYBUSINESSLINKVWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED.Equals(value) = false) Then
				Me._COMPANYBUSINESSLINKVWT_COMPANY_BUSINESSLINK_IS_ABL_LINKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY BUSINESSLINK Some Company Name Rt", Storage:="_COMPANYBUSINESSLINKSomeCompanyNameRt", DbType:="NVarChar(50)")>  _
	Public Property COMPANYBUSINESSLINKSomeCompanyNameRt() As String
		Get
			Return Me._COMPANYBUSINESSLINKSomeCompanyNameRt
		End Get
		Set
			If (String.Equals(Me._COMPANYBUSINESSLINKSomeCompanyNameRt, value) = false) Then
				Me._COMPANYBUSINESSLINKSomeCompanyNameRt = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_CONTACTResult
	
	Private _COMPANYCONTACTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYCONTACTCONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY CONTACT COMPANYID", Storage:="_COMPANYCONTACTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCONTACTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCONTACTCOMPANYID
		End Get
		Set
			If (Me._COMPANYCONTACTCOMPANYID.Equals(value) = false) Then
				Me._COMPANYCONTACTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY CONTACT CONTACTID", Storage:="_COMPANYCONTACTCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCONTACTCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCONTACTCONTACTID
		End Get
		Set
			If (Me._COMPANYCONTACTCONTACTID.Equals(value) = false) Then
				Me._COMPANYCONTACTCONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_HISTORYResult
	
	Private _COMPANYHISTORYCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYHISTORYHISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY HISTORY COMPANYID", Storage:="_COMPANYHISTORYCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYHISTORYCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYHISTORYCOMPANYID
		End Get
		Set
			If (Me._COMPANYHISTORYCOMPANYID.Equals(value) = false) Then
				Me._COMPANYHISTORYCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY HISTORY HISTORYID", Storage:="_COMPANYHISTORYHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYHISTORYHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYHISTORYHISTORYID
		End Get
		Set
			If (Me._COMPANYHISTORYHISTORYID.Equals(value) = false) Then
				Me._COMPANYHISTORYHISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_NOTEResult
	
	Private _COMPANYNOTECOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYNOTENOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY NOTE COMPANYID", Storage:="_COMPANYNOTECOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYNOTECOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYNOTECOMPANYID
		End Get
		Set
			If (Me._COMPANYNOTECOMPANYID.Equals(value) = false) Then
				Me._COMPANYNOTECOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY NOTE NOTEID", Storage:="_COMPANYNOTENOTEID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYNOTENOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYNOTENOTEID
		End Get
		Set
			If (Me._COMPANYNOTENOTEID.Equals(value) = false) Then
				Me._COMPANYNOTENOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANY_OPPORTUNITYResult
	
	Private _COMPANYOPPORTUNITYCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYOPPORTUNITYISMEMBER As System.Nullable(Of Boolean)
	
	Private _COMPANYOPPORTUNITYOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY OPPORTUNITY COMPANYID", Storage:="_COMPANYOPPORTUNITYCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYOPPORTUNITYCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYOPPORTUNITYCOMPANYID
		End Get
		Set
			If (Me._COMPANYOPPORTUNITYCOMPANYID.Equals(value) = false) Then
				Me._COMPANYOPPORTUNITYCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY OPPORTUNITY ISMEMBER", Storage:="_COMPANYOPPORTUNITYISMEMBER", DbType:="Bit")>  _
	Public Property COMPANYOPPORTUNITYISMEMBER() As System.Nullable(Of Boolean)
		Get
			Return Me._COMPANYOPPORTUNITYISMEMBER
		End Get
		Set
			If (Me._COMPANYOPPORTUNITYISMEMBER.Equals(value) = false) Then
				Me._COMPANYOPPORTUNITYISMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANY OPPORTUNITY OPPORTUNITYID", Storage:="_COMPANYOPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYOPPORTUNITYOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYOPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If (Me._COMPANYOPPORTUNITYOPPORTUNITYID.Equals(value) = false) Then
				Me._COMPANYOPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANYCONTACT_MAPResult
	
	Private _COMPANYCONTACTMAPCOMPANY_COLUMNID As System.Nullable(Of System.Guid)
	
	Private _COMPANYCONTACTMAPCONTACT_COLUMNID As System.Nullable(Of System.Guid)
	
	Private _COMPANYCONTACTMAPCreateDate As System.Nullable(Of Date)
	
	Private _COMPANYCONTACTMAPCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _COMPANYCONTACTMAPEditDate As System.Nullable(Of Date)
	
	Private _COMPANYCONTACTMAPEDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYCONTACT MAP COMPANY_COLUMNID", Storage:="_COMPANYCONTACTMAPCOMPANY_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCONTACTMAPCOMPANY_COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCONTACTMAPCOMPANY_COLUMNID
		End Get
		Set
			If (Me._COMPANYCONTACTMAPCOMPANY_COLUMNID.Equals(value) = false) Then
				Me._COMPANYCONTACTMAPCOMPANY_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYCONTACT MAP CONTACT_COLUMNID", Storage:="_COMPANYCONTACTMAPCONTACT_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCONTACTMAPCONTACT_COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCONTACTMAPCONTACT_COLUMNID
		End Get
		Set
			If (Me._COMPANYCONTACTMAPCONTACT_COLUMNID.Equals(value) = false) Then
				Me._COMPANYCONTACTMAPCONTACT_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYCONTACT MAP Create Date", Storage:="_COMPANYCONTACTMAPCreateDate", DbType:="DateTime")>  _
	Public Property COMPANYCONTACTMAPCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYCONTACTMAPCreateDate
		End Get
		Set
			If (Me._COMPANYCONTACTMAPCreateDate.Equals(value) = false) Then
				Me._COMPANYCONTACTMAPCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYCONTACT MAP CREATEUSERID", Storage:="_COMPANYCONTACTMAPCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCONTACTMAPCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCONTACTMAPCREATEUSERID
		End Get
		Set
			If (Me._COMPANYCONTACTMAPCREATEUSERID.Equals(value) = false) Then
				Me._COMPANYCONTACTMAPCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYCONTACT MAP Edit Date", Storage:="_COMPANYCONTACTMAPEditDate", DbType:="DateTime")>  _
	Public Property COMPANYCONTACTMAPEditDate() As System.Nullable(Of Date)
		Get
			Return Me._COMPANYCONTACTMAPEditDate
		End Get
		Set
			If (Me._COMPANYCONTACTMAPEditDate.Equals(value) = false) Then
				Me._COMPANYCONTACTMAPEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYCONTACT MAP EDITUSERID", Storage:="_COMPANYCONTACTMAPEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYCONTACTMAPEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYCONTACTMAPEDITUSERID
		End Get
		Set
			If (Me._COMPANYCONTACTMAPEDITUSERID.Equals(value) = false) Then
				Me._COMPANYCONTACTMAPEDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COMPANYQUERYResult
	
	Private _COMPANYQUERYCOMPANYQUERYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COMPANYQUERY COMPANYQUERYID", Storage:="_COMPANYQUERYCOMPANYQUERYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYQUERYCOMPANYQUERYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYQUERYCOMPANYQUERYID
		End Get
		Set
			If (Me._COMPANYQUERYCOMPANYQUERYID.Equals(value) = false) Then
				Me._COMPANYQUERYCOMPANYQUERYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACTResult
	
	Private _CONTACTAddress1 As String
	
	Private _CONTACTAddress2 As String
	
	Private _CONTACTAddress3 As String
	
	Private _CONTACTAlternateExtension As String
	
	Private _CONTACTAlternatePhone As String
	
	Private _CONTACTBirthDate As System.Nullable(Of Date)
	
	Private _CONTACTCity As String
	
	Private _CONTACTCompany As String
	
	Private _CONTACTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTContact As String
	
	Private _CONTACTCONTACTID As System.Nullable(Of System.Guid)
	
	Private _CONTACTCountry As String
	
	Private _CONTACTCreateDate As System.Nullable(Of Date)
	
	Private _CONTACTCustomerID As String
	
	Private _CONTACTDepartment As String
	
	Private _CONTACTEditDate As System.Nullable(Of Date)
	
	Private _CONTACTE_Mail As String
	
	Private _CONTACTEmailPermission As String
	
	Private _CONTACTExtension As String
	
	Private _CONTACTFaxExtension As String
	
	Private _CONTACTFaxPhone As String
	
	Private _CONTACTFirstName As String
	
	Private _CONTACTFirstPurchase As System.Nullable(Of Date)
	
	Private _CONTACTHomeAddress1 As String
	
	Private _CONTACTHomeAddress2 As String
	
	Private _CONTACTHomeAddress3 As String
	
	Private _CONTACTHomeCity As String
	
	Private _CONTACTHomeCountry As String
	
	Private _CONTACTHomeExtension As String
	
	Private _CONTACTHomePhone As String
	
	Private _CONTACTHomeState As String
	
	Private _CONTACTHomeZIPCode As String
	
	Private _CONTACTID_Status As String
	
	Private _CONTACTImportDate As System.Nullable(Of Date)
	
	Private _CONTACTIsImported As System.Nullable(Of Boolean)
	
	Private _CONTACTIsUser As System.Nullable(Of Boolean)
	
	Private _CONTACTKeyContact As System.Nullable(Of Boolean)
	
	Private _CONTACTLastAttempt As System.Nullable(Of Date)
	
	Private _CONTACTLastEditedBy As String
	
	Private _CONTACTLastE_Mail As System.Nullable(Of Date)
	
	Private _CONTACTLastMeeting As System.Nullable(Of Date)
	
	Private _CONTACTLastName As String
	
	Private _CONTACTLastReach As System.Nullable(Of Date)
	
	Private _CONTACTLastResults As String
	
	Private _CONTACTLastYrsPurchases As System.Nullable(Of Decimal)
	
	Private _CONTACTLetterDate As System.Nullable(Of Date)
	
	Private _CONTACTMessengerID As String
	
	Private _CONTACTMiddleName As String
	
	Private _CONTACTMobileExtension As String
	
	Private _CONTACTMobilePhone As String
	
	Private _CONTACTNamePrefix As String
	
	Private _CONTACTNameSuffix As String
	
	Private _CONTACTPagerExtension As String
	
	Private _CONTACTPagerPhone As String
	
	Private _CONTACTPersonalE_Mail As String
	
	Private _CONTACTPhone As String
	
	Private _CONTACTPhoto As System.Data.Linq.Binary
	
	Private _CONTACTPrivateContact As System.Nullable(Of Boolean)
	
	Private _CONTACTRecordCreator As String
	
	Private _CONTACTRecordManager As String
	
	Private _CONTACTReferredBy As String
	
	Private _CONTACTSalutation As String
	
	Private _CONTACTSnapshotContactGrade As String
	
	Private _CONTACTSnapshotContactRank As System.Nullable(Of Integer)
	
	Private _CONTACTSnapshotFavorites As String
	
	Private _CONTACTSnapshotWhoIs As String
	
	Private _CONTACTSpouse As String
	
	Private _CONTACTState As String
	
	Private _CONTACTTitle As String
	
	Private _CONTACTTrivia As String
	
	Private _CONTACTUser1 As String
	
	Private _CONTACTUser10 As String
	
	Private _CONTACTUser2 As String
	
	Private _CONTACTUser3 As String
	
	Private _CONTACTUser4 As String
	
	Private _CONTACTUser5 As String
	
	Private _CONTACTUser6 As String
	
	Private _CONTACTUser7 As String
	
	Private _CONTACTUser8 As String
	
	Private _CONTACTUser9 As String
	
	Private _CONTACTWebSite As String
	
	Private _CONTACTZIPCode As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Address 1", Storage:="_CONTACTAddress1", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAddress1() As String
		Get
			Return Me._CONTACTAddress1
		End Get
		Set
			If (String.Equals(Me._CONTACTAddress1, value) = false) Then
				Me._CONTACTAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Address 2", Storage:="_CONTACTAddress2", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAddress2() As String
		Get
			Return Me._CONTACTAddress2
		End Get
		Set
			If (String.Equals(Me._CONTACTAddress2, value) = false) Then
				Me._CONTACTAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Address 3", Storage:="_CONTACTAddress3", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAddress3() As String
		Get
			Return Me._CONTACTAddress3
		End Get
		Set
			If (String.Equals(Me._CONTACTAddress3, value) = false) Then
				Me._CONTACTAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Alternate Extension", Storage:="_CONTACTAlternateExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTAlternateExtension() As String
		Get
			Return Me._CONTACTAlternateExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTAlternateExtension, value) = false) Then
				Me._CONTACTAlternateExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Alternate Phone", Storage:="_CONTACTAlternatePhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTAlternatePhone() As String
		Get
			Return Me._CONTACTAlternatePhone
		End Get
		Set
			If (String.Equals(Me._CONTACTAlternatePhone, value) = false) Then
				Me._CONTACTAlternatePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Birth Date", Storage:="_CONTACTBirthDate", DbType:="DateTime")>  _
	Public Property CONTACTBirthDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTBirthDate
		End Get
		Set
			If (Me._CONTACTBirthDate.Equals(value) = false) Then
				Me._CONTACTBirthDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT City", Storage:="_CONTACTCity", DbType:="NVarChar(256)")>  _
	Public Property CONTACTCity() As String
		Get
			Return Me._CONTACTCity
		End Get
		Set
			If (String.Equals(Me._CONTACTCity, value) = false) Then
				Me._CONTACTCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Company", Storage:="_CONTACTCompany", DbType:="NVarChar(128)")>  _
	Public Property CONTACTCompany() As String
		Get
			Return Me._CONTACTCompany
		End Get
		Set
			If (String.Equals(Me._CONTACTCompany, value) = false) Then
				Me._CONTACTCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT COMPANYID", Storage:="_CONTACTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTCOMPANYID
		End Get
		Set
			If (Me._CONTACTCOMPANYID.Equals(value) = false) Then
				Me._CONTACTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Contact", Storage:="_CONTACTContact", DbType:="NVarChar(128)")>  _
	Public Property CONTACTContact() As String
		Get
			Return Me._CONTACTContact
		End Get
		Set
			If (String.Equals(Me._CONTACTContact, value) = false) Then
				Me._CONTACTContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT CONTACTID", Storage:="_CONTACTCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTCONTACTID
		End Get
		Set
			If (Me._CONTACTCONTACTID.Equals(value) = false) Then
				Me._CONTACTCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Country", Storage:="_CONTACTCountry", DbType:="NVarChar(256)")>  _
	Public Property CONTACTCountry() As String
		Get
			Return Me._CONTACTCountry
		End Get
		Set
			If (String.Equals(Me._CONTACTCountry, value) = false) Then
				Me._CONTACTCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Create Date", Storage:="_CONTACTCreateDate", DbType:="DateTime")>  _
	Public Property CONTACTCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTCreateDate
		End Get
		Set
			If (Me._CONTACTCreateDate.Equals(value) = false) Then
				Me._CONTACTCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Customer ID", Storage:="_CONTACTCustomerID", DbType:="NVarChar(8)")>  _
	Public Property CONTACTCustomerID() As String
		Get
			Return Me._CONTACTCustomerID
		End Get
		Set
			If (String.Equals(Me._CONTACTCustomerID, value) = false) Then
				Me._CONTACTCustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Department", Storage:="_CONTACTDepartment", DbType:="NVarChar(128)")>  _
	Public Property CONTACTDepartment() As String
		Get
			Return Me._CONTACTDepartment
		End Get
		Set
			If (String.Equals(Me._CONTACTDepartment, value) = false) Then
				Me._CONTACTDepartment = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Edit Date", Storage:="_CONTACTEditDate", DbType:="DateTime")>  _
	Public Property CONTACTEditDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTEditDate
		End Get
		Set
			If (Me._CONTACTEditDate.Equals(value) = false) Then
				Me._CONTACTEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT E-mail", Storage:="_CONTACTE_Mail", DbType:="NVarChar(256)")>  _
	Public Property CONTACTE_Mail() As String
		Get
			Return Me._CONTACTE_Mail
		End Get
		Set
			If (String.Equals(Me._CONTACTE_Mail, value) = false) Then
				Me._CONTACTE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Email Permission", Storage:="_CONTACTEmailPermission", DbType:="NVarChar(20)")>  _
	Public Property CONTACTEmailPermission() As String
		Get
			Return Me._CONTACTEmailPermission
		End Get
		Set
			If (String.Equals(Me._CONTACTEmailPermission, value) = false) Then
				Me._CONTACTEmailPermission = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Extension", Storage:="_CONTACTExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTExtension() As String
		Get
			Return Me._CONTACTExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTExtension, value) = false) Then
				Me._CONTACTExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Fax Extension", Storage:="_CONTACTFaxExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTFaxExtension() As String
		Get
			Return Me._CONTACTFaxExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTFaxExtension, value) = false) Then
				Me._CONTACTFaxExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Fax Phone", Storage:="_CONTACTFaxPhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTFaxPhone() As String
		Get
			Return Me._CONTACTFaxPhone
		End Get
		Set
			If (String.Equals(Me._CONTACTFaxPhone, value) = false) Then
				Me._CONTACTFaxPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT First Name", Storage:="_CONTACTFirstName", DbType:="NVarChar(64)")>  _
	Public Property CONTACTFirstName() As String
		Get
			Return Me._CONTACTFirstName
		End Get
		Set
			If (String.Equals(Me._CONTACTFirstName, value) = false) Then
				Me._CONTACTFirstName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT First Purchase", Storage:="_CONTACTFirstPurchase", DbType:="DateTime")>  _
	Public Property CONTACTFirstPurchase() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTFirstPurchase
		End Get
		Set
			If (Me._CONTACTFirstPurchase.Equals(value) = false) Then
				Me._CONTACTFirstPurchase = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Address 1", Storage:="_CONTACTHomeAddress1", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeAddress1() As String
		Get
			Return Me._CONTACTHomeAddress1
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeAddress1, value) = false) Then
				Me._CONTACTHomeAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Address 2", Storage:="_CONTACTHomeAddress2", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeAddress2() As String
		Get
			Return Me._CONTACTHomeAddress2
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeAddress2, value) = false) Then
				Me._CONTACTHomeAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Address 3", Storage:="_CONTACTHomeAddress3", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeAddress3() As String
		Get
			Return Me._CONTACTHomeAddress3
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeAddress3, value) = false) Then
				Me._CONTACTHomeAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home City", Storage:="_CONTACTHomeCity", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeCity() As String
		Get
			Return Me._CONTACTHomeCity
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeCity, value) = false) Then
				Me._CONTACTHomeCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Country", Storage:="_CONTACTHomeCountry", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeCountry() As String
		Get
			Return Me._CONTACTHomeCountry
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeCountry, value) = false) Then
				Me._CONTACTHomeCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Extension", Storage:="_CONTACTHomeExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeExtension() As String
		Get
			Return Me._CONTACTHomeExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeExtension, value) = false) Then
				Me._CONTACTHomeExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home Phone", Storage:="_CONTACTHomePhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTHomePhone() As String
		Get
			Return Me._CONTACTHomePhone
		End Get
		Set
			If (String.Equals(Me._CONTACTHomePhone, value) = false) Then
				Me._CONTACTHomePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home State", Storage:="_CONTACTHomeState", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeState() As String
		Get
			Return Me._CONTACTHomeState
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeState, value) = false) Then
				Me._CONTACTHomeState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Home ZIP Code", Storage:="_CONTACTHomeZIPCode", DbType:="NVarChar(256)")>  _
	Public Property CONTACTHomeZIPCode() As String
		Get
			Return Me._CONTACTHomeZIPCode
		End Get
		Set
			If (String.Equals(Me._CONTACTHomeZIPCode, value) = false) Then
				Me._CONTACTHomeZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ID/Status", Storage:="_CONTACTID_Status", DbType:="NVarChar(128)")>  _
	Public Property CONTACTID_Status() As String
		Get
			Return Me._CONTACTID_Status
		End Get
		Set
			If (String.Equals(Me._CONTACTID_Status, value) = false) Then
				Me._CONTACTID_Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Import Date", Storage:="_CONTACTImportDate", DbType:="DateTime")>  _
	Public Property CONTACTImportDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTImportDate
		End Get
		Set
			If (Me._CONTACTImportDate.Equals(value) = false) Then
				Me._CONTACTImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Is Imported", Storage:="_CONTACTIsImported", DbType:="Bit")>  _
	Public Property CONTACTIsImported() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTACTIsImported
		End Get
		Set
			If (Me._CONTACTIsImported.Equals(value) = false) Then
				Me._CONTACTIsImported = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Is User", Storage:="_CONTACTIsUser", DbType:="Bit")>  _
	Public Property CONTACTIsUser() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTACTIsUser
		End Get
		Set
			If (Me._CONTACTIsUser.Equals(value) = false) Then
				Me._CONTACTIsUser = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Key Contact", Storage:="_CONTACTKeyContact", DbType:="Bit")>  _
	Public Property CONTACTKeyContact() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTACTKeyContact
		End Get
		Set
			If (Me._CONTACTKeyContact.Equals(value) = false) Then
				Me._CONTACTKeyContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Attempt", Storage:="_CONTACTLastAttempt", DbType:="DateTime")>  _
	Public Property CONTACTLastAttempt() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastAttempt
		End Get
		Set
			If (Me._CONTACTLastAttempt.Equals(value) = false) Then
				Me._CONTACTLastAttempt = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Edited By", Storage:="_CONTACTLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property CONTACTLastEditedBy() As String
		Get
			Return Me._CONTACTLastEditedBy
		End Get
		Set
			If (String.Equals(Me._CONTACTLastEditedBy, value) = false) Then
				Me._CONTACTLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last E-mail", Storage:="_CONTACTLastE_Mail", DbType:="DateTime")>  _
	Public Property CONTACTLastE_Mail() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastE_Mail
		End Get
		Set
			If (Me._CONTACTLastE_Mail.Equals(value) = false) Then
				Me._CONTACTLastE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Meeting", Storage:="_CONTACTLastMeeting", DbType:="DateTime")>  _
	Public Property CONTACTLastMeeting() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastMeeting
		End Get
		Set
			If (Me._CONTACTLastMeeting.Equals(value) = false) Then
				Me._CONTACTLastMeeting = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Name", Storage:="_CONTACTLastName", DbType:="NVarChar(128)")>  _
	Public Property CONTACTLastName() As String
		Get
			Return Me._CONTACTLastName
		End Get
		Set
			If (String.Equals(Me._CONTACTLastName, value) = false) Then
				Me._CONTACTLastName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Reach", Storage:="_CONTACTLastReach", DbType:="DateTime")>  _
	Public Property CONTACTLastReach() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLastReach
		End Get
		Set
			If (Me._CONTACTLastReach.Equals(value) = false) Then
				Me._CONTACTLastReach = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Results", Storage:="_CONTACTLastResults", DbType:="NVarChar(128)")>  _
	Public Property CONTACTLastResults() As String
		Get
			Return Me._CONTACTLastResults
		End Get
		Set
			If (String.Equals(Me._CONTACTLastResults, value) = false) Then
				Me._CONTACTLastResults = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Last Yrs Purchases", Storage:="_CONTACTLastYrsPurchases", DbType:="Decimal(7,0)")>  _
	Public Property CONTACTLastYrsPurchases() As System.Nullable(Of Decimal)
		Get
			Return Me._CONTACTLastYrsPurchases
		End Get
		Set
			If (Me._CONTACTLastYrsPurchases.Equals(value) = false) Then
				Me._CONTACTLastYrsPurchases = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Letter Date", Storage:="_CONTACTLetterDate", DbType:="DateTime")>  _
	Public Property CONTACTLetterDate() As System.Nullable(Of Date)
		Get
			Return Me._CONTACTLetterDate
		End Get
		Set
			If (Me._CONTACTLetterDate.Equals(value) = false) Then
				Me._CONTACTLetterDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Messenger ID", Storage:="_CONTACTMessengerID", DbType:="NVarChar(16)")>  _
	Public Property CONTACTMessengerID() As String
		Get
			Return Me._CONTACTMessengerID
		End Get
		Set
			If (String.Equals(Me._CONTACTMessengerID, value) = false) Then
				Me._CONTACTMessengerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Middle Name", Storage:="_CONTACTMiddleName", DbType:="NVarChar(64)")>  _
	Public Property CONTACTMiddleName() As String
		Get
			Return Me._CONTACTMiddleName
		End Get
		Set
			If (String.Equals(Me._CONTACTMiddleName, value) = false) Then
				Me._CONTACTMiddleName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Mobile Extension", Storage:="_CONTACTMobileExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTMobileExtension() As String
		Get
			Return Me._CONTACTMobileExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTMobileExtension, value) = false) Then
				Me._CONTACTMobileExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Mobile Phone", Storage:="_CONTACTMobilePhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTMobilePhone() As String
		Get
			Return Me._CONTACTMobilePhone
		End Get
		Set
			If (String.Equals(Me._CONTACTMobilePhone, value) = false) Then
				Me._CONTACTMobilePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Name Prefix", Storage:="_CONTACTNamePrefix", DbType:="NVarChar(32)")>  _
	Public Property CONTACTNamePrefix() As String
		Get
			Return Me._CONTACTNamePrefix
		End Get
		Set
			If (String.Equals(Me._CONTACTNamePrefix, value) = false) Then
				Me._CONTACTNamePrefix = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Name Suffix", Storage:="_CONTACTNameSuffix", DbType:="NVarChar(32)")>  _
	Public Property CONTACTNameSuffix() As String
		Get
			Return Me._CONTACTNameSuffix
		End Get
		Set
			If (String.Equals(Me._CONTACTNameSuffix, value) = false) Then
				Me._CONTACTNameSuffix = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Pager Extension", Storage:="_CONTACTPagerExtension", DbType:="NVarChar(256)")>  _
	Public Property CONTACTPagerExtension() As String
		Get
			Return Me._CONTACTPagerExtension
		End Get
		Set
			If (String.Equals(Me._CONTACTPagerExtension, value) = false) Then
				Me._CONTACTPagerExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Pager Phone", Storage:="_CONTACTPagerPhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTPagerPhone() As String
		Get
			Return Me._CONTACTPagerPhone
		End Get
		Set
			If (String.Equals(Me._CONTACTPagerPhone, value) = false) Then
				Me._CONTACTPagerPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Personal E-mail", Storage:="_CONTACTPersonalE_Mail", DbType:="NVarChar(256)")>  _
	Public Property CONTACTPersonalE_Mail() As String
		Get
			Return Me._CONTACTPersonalE_Mail
		End Get
		Set
			If (String.Equals(Me._CONTACTPersonalE_Mail, value) = false) Then
				Me._CONTACTPersonalE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Phone", Storage:="_CONTACTPhone", DbType:="NVarChar(32)")>  _
	Public Property CONTACTPhone() As String
		Get
			Return Me._CONTACTPhone
		End Get
		Set
			If (String.Equals(Me._CONTACTPhone, value) = false) Then
				Me._CONTACTPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Photo", Storage:="_CONTACTPhoto", DbType:="VarBinary(MAX)", CanBeNull:=true)>  _
	Public Property CONTACTPhoto() As System.Data.Linq.Binary
		Get
			Return Me._CONTACTPhoto
		End Get
		Set
			If (Object.Equals(Me._CONTACTPhoto, value) = false) Then
				Me._CONTACTPhoto = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Private Contact", Storage:="_CONTACTPrivateContact", DbType:="Bit")>  _
	Public Property CONTACTPrivateContact() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTACTPrivateContact
		End Get
		Set
			If (Me._CONTACTPrivateContact.Equals(value) = false) Then
				Me._CONTACTPrivateContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Record Creator", Storage:="_CONTACTRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property CONTACTRecordCreator() As String
		Get
			Return Me._CONTACTRecordCreator
		End Get
		Set
			If (String.Equals(Me._CONTACTRecordCreator, value) = false) Then
				Me._CONTACTRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Record Manager", Storage:="_CONTACTRecordManager", DbType:="NVarChar(128)")>  _
	Public Property CONTACTRecordManager() As String
		Get
			Return Me._CONTACTRecordManager
		End Get
		Set
			If (String.Equals(Me._CONTACTRecordManager, value) = false) Then
				Me._CONTACTRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Referred By", Storage:="_CONTACTReferredBy", DbType:="NVarChar(64)")>  _
	Public Property CONTACTReferredBy() As String
		Get
			Return Me._CONTACTReferredBy
		End Get
		Set
			If (String.Equals(Me._CONTACTReferredBy, value) = false) Then
				Me._CONTACTReferredBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Salutation", Storage:="_CONTACTSalutation", DbType:="NVarChar(32)")>  _
	Public Property CONTACTSalutation() As String
		Get
			Return Me._CONTACTSalutation
		End Get
		Set
			If (String.Equals(Me._CONTACTSalutation, value) = false) Then
				Me._CONTACTSalutation = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot Contact Grade", Storage:="_CONTACTSnapshotContactGrade", DbType:="NVarChar(50)")>  _
	Public Property CONTACTSnapshotContactGrade() As String
		Get
			Return Me._CONTACTSnapshotContactGrade
		End Get
		Set
			If (String.Equals(Me._CONTACTSnapshotContactGrade, value) = false) Then
				Me._CONTACTSnapshotContactGrade = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot Contact Rank", Storage:="_CONTACTSnapshotContactRank", DbType:="Int")>  _
	Public Property CONTACTSnapshotContactRank() As System.Nullable(Of Integer)
		Get
			Return Me._CONTACTSnapshotContactRank
		End Get
		Set
			If (Me._CONTACTSnapshotContactRank.Equals(value) = false) Then
				Me._CONTACTSnapshotContactRank = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot Favorites", Storage:="_CONTACTSnapshotFavorites", DbType:="NVarChar(MAX)")>  _
	Public Property CONTACTSnapshotFavorites() As String
		Get
			Return Me._CONTACTSnapshotFavorites
		End Get
		Set
			If (String.Equals(Me._CONTACTSnapshotFavorites, value) = false) Then
				Me._CONTACTSnapshotFavorites = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Snapshot WhoIs", Storage:="_CONTACTSnapshotWhoIs", DbType:="NVarChar(MAX)")>  _
	Public Property CONTACTSnapshotWhoIs() As String
		Get
			Return Me._CONTACTSnapshotWhoIs
		End Get
		Set
			If (String.Equals(Me._CONTACTSnapshotWhoIs, value) = false) Then
				Me._CONTACTSnapshotWhoIs = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Spouse", Storage:="_CONTACTSpouse", DbType:="NVarChar(64)")>  _
	Public Property CONTACTSpouse() As String
		Get
			Return Me._CONTACTSpouse
		End Get
		Set
			If (String.Equals(Me._CONTACTSpouse, value) = false) Then
				Me._CONTACTSpouse = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT State", Storage:="_CONTACTState", DbType:="NVarChar(256)")>  _
	Public Property CONTACTState() As String
		Get
			Return Me._CONTACTState
		End Get
		Set
			If (String.Equals(Me._CONTACTState, value) = false) Then
				Me._CONTACTState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Title", Storage:="_CONTACTTitle", DbType:="NVarChar(128)")>  _
	Public Property CONTACTTitle() As String
		Get
			Return Me._CONTACTTitle
		End Get
		Set
			If (String.Equals(Me._CONTACTTitle, value) = false) Then
				Me._CONTACTTitle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Trivia", Storage:="_CONTACTTrivia", DbType:="NVarChar(MAX)")>  _
	Public Property CONTACTTrivia() As String
		Get
			Return Me._CONTACTTrivia
		End Get
		Set
			If (String.Equals(Me._CONTACTTrivia, value) = false) Then
				Me._CONTACTTrivia = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 1", Storage:="_CONTACTUser1", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser1() As String
		Get
			Return Me._CONTACTUser1
		End Get
		Set
			If (String.Equals(Me._CONTACTUser1, value) = false) Then
				Me._CONTACTUser1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 10", Storage:="_CONTACTUser10", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser10() As String
		Get
			Return Me._CONTACTUser10
		End Get
		Set
			If (String.Equals(Me._CONTACTUser10, value) = false) Then
				Me._CONTACTUser10 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 2", Storage:="_CONTACTUser2", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser2() As String
		Get
			Return Me._CONTACTUser2
		End Get
		Set
			If (String.Equals(Me._CONTACTUser2, value) = false) Then
				Me._CONTACTUser2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 3", Storage:="_CONTACTUser3", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser3() As String
		Get
			Return Me._CONTACTUser3
		End Get
		Set
			If (String.Equals(Me._CONTACTUser3, value) = false) Then
				Me._CONTACTUser3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 4", Storage:="_CONTACTUser4", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser4() As String
		Get
			Return Me._CONTACTUser4
		End Get
		Set
			If (String.Equals(Me._CONTACTUser4, value) = false) Then
				Me._CONTACTUser4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 5", Storage:="_CONTACTUser5", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser5() As String
		Get
			Return Me._CONTACTUser5
		End Get
		Set
			If (String.Equals(Me._CONTACTUser5, value) = false) Then
				Me._CONTACTUser5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 6", Storage:="_CONTACTUser6", DbType:="NVarChar(64)")>  _
	Public Property CONTACTUser6() As String
		Get
			Return Me._CONTACTUser6
		End Get
		Set
			If (String.Equals(Me._CONTACTUser6, value) = false) Then
				Me._CONTACTUser6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 7", Storage:="_CONTACTUser7", DbType:="NVarChar(75)")>  _
	Public Property CONTACTUser7() As String
		Get
			Return Me._CONTACTUser7
		End Get
		Set
			If (String.Equals(Me._CONTACTUser7, value) = false) Then
				Me._CONTACTUser7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 8", Storage:="_CONTACTUser8", DbType:="NVarChar(75)")>  _
	Public Property CONTACTUser8() As String
		Get
			Return Me._CONTACTUser8
		End Get
		Set
			If (String.Equals(Me._CONTACTUser8, value) = false) Then
				Me._CONTACTUser8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT User 9", Storage:="_CONTACTUser9", DbType:="NVarChar(75)")>  _
	Public Property CONTACTUser9() As String
		Get
			Return Me._CONTACTUser9
		End Get
		Set
			If (String.Equals(Me._CONTACTUser9, value) = false) Then
				Me._CONTACTUser9 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT Web Site", Storage:="_CONTACTWebSite", DbType:="NVarChar(128)")>  _
	Public Property CONTACTWebSite() As String
		Get
			Return Me._CONTACTWebSite
		End Get
		Set
			If (String.Equals(Me._CONTACTWebSite, value) = false) Then
				Me._CONTACTWebSite = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ZIP Code", Storage:="_CONTACTZIPCode", DbType:="NVarChar(256)")>  _
	Public Property CONTACTZIPCode() As String
		Get
			Return Me._CONTACTZIPCode
		End Get
		Set
			If (String.Equals(Me._CONTACTZIPCode, value) = false) Then
				Me._CONTACTZIPCode = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_ACCESSResult
	
	Private _CONTACTACCESSAccessLevel As String
	
	Private _CONTACTACCESSContactid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ACCESS Access Level", Storage:="_CONTACTACCESSAccessLevel", DbType:="NVarChar(7)")>  _
	Public Property CONTACTACCESSAccessLevel() As String
		Get
			Return Me._CONTACTACCESSAccessLevel
		End Get
		Set
			If (String.Equals(Me._CONTACTACCESSAccessLevel, value) = false) Then
				Me._CONTACTACCESSAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ACCESS Contactid", Storage:="_CONTACTACCESSContactid", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTACCESSContactid() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTACCESSContactid
		End Get
		Set
			If (Me._CONTACTACCESSContactid.Equals(value) = false) Then
				Me._CONTACTACCESSContactid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_ACLResult
	
	Private _CONTACTACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _CONTACTACLCONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ACL ACCESSORID", Storage:="_CONTACTACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTACLACCESSORID
		End Get
		Set
			If (Me._CONTACTACLACCESSORID.Equals(value) = false) Then
				Me._CONTACTACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ACL CONTACTID", Storage:="_CONTACTACLCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTACLCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTACLCONTACTID
		End Get
		Set
			If (Me._CONTACTACLCONTACTID.Equals(value) = false) Then
				Me._CONTACTACLCONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_ACTIVITYResult
	
	Private _CONTACTACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTACTIVITYCONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ACTIVITY ACTIVITYID", Storage:="_CONTACTACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTACTIVITYACTIVITYID
		End Get
		Set
			If (Me._CONTACTACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._CONTACTACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT ACTIVITY CONTACTID", Storage:="_CONTACTACTIVITYCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTACTIVITYCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTACTIVITYCONTACTID
		End Get
		Set
			If (Me._CONTACTACTIVITYCONTACTID.Equals(value) = false) Then
				Me._CONTACTACTIVITYCONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_BUSINESSLINKResult
	
	Private _CONTACTBUSINESSLINKContactid As System.Nullable(Of System.Guid)
	
	Private _CONTACTBUSINESSLINKVWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED As System.Nullable(Of Boolean)
	
	Private _CONTACTBUSINESSLINKSomeCompanyNameRt As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT BUSINESSLINK Contactid", Storage:="_CONTACTBUSINESSLINKContactid", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTBUSINESSLINKContactid() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTBUSINESSLINKContactid
		End Get
		Set
			If (Me._CONTACTBUSINESSLINKContactid.Equals(value) = false) Then
				Me._CONTACTBUSINESSLINKContactid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT BUSINESSLINK VWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED", Storage:="_CONTACTBUSINESSLINKVWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED", DbType:="Bit")>  _
	Public Property CONTACTBUSINESSLINKVWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTACTBUSINESSLINKVWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED
		End Get
		Set
			If (Me._CONTACTBUSINESSLINKVWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED.Equals(value) = false) Then
				Me._CONTACTBUSINESSLINKVWT_CONTACT_BUSINESSLINK_IS_ABL_LINKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT BUSINESSLINK Some Company Name Rt", Storage:="_CONTACTBUSINESSLINKSomeCompanyNameRt", DbType:="NVarChar(50)")>  _
	Public Property CONTACTBUSINESSLINKSomeCompanyNameRt() As String
		Get
			Return Me._CONTACTBUSINESSLINKSomeCompanyNameRt
		End Get
		Set
			If (String.Equals(Me._CONTACTBUSINESSLINKSomeCompanyNameRt, value) = false) Then
				Me._CONTACTBUSINESSLINKSomeCompanyNameRt = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_CONTACTResult
	
	Private _CONTACTID1 As System.Nullable(Of System.Guid)
	
	Private _CONTACTID2 As System.Nullable(Of System.Guid)
	
	Private _CreateDate As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _Details As String
	
	Private _EditDate As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _LastEditedBy As String
	
	Private _RecordCreator As String
	
	Private _Relationship As String
	
	Private _RelationshipFrom As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID1", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID1
		End Get
		Set
			If (Me._CONTACTID1.Equals(value) = false) Then
				Me._CONTACTID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID2", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID2
		End Get
		Set
			If (Me._CONTACTID2.Equals(value) = false) Then
				Me._CONTACTID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Create Date", Storage:="_CreateDate", DbType:="DateTime")>  _
	Public Property CreateDate() As System.Nullable(Of Date)
		Get
			Return Me._CreateDate
		End Get
		Set
			If (Me._CreateDate.Equals(value) = false) Then
				Me._CreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Details", DbType:="NVarChar(MAX)")>  _
	Public Property Details() As String
		Get
			Return Me._Details
		End Get
		Set
			If (String.Equals(Me._Details, value) = false) Then
				Me._Details = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Edit Date", Storage:="_EditDate", DbType:="DateTime")>  _
	Public Property EditDate() As System.Nullable(Of Date)
		Get
			Return Me._EditDate
		End Get
		Set
			If (Me._EditDate.Equals(value) = false) Then
				Me._EditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Last Edited By", Storage:="_LastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property LastEditedBy() As String
		Get
			Return Me._LastEditedBy
		End Get
		Set
			If (String.Equals(Me._LastEditedBy, value) = false) Then
				Me._LastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Record Creator", Storage:="_RecordCreator", DbType:="NVarChar(128)")>  _
	Public Property RecordCreator() As String
		Get
			Return Me._RecordCreator
		End Get
		Set
			If (String.Equals(Me._RecordCreator, value) = false) Then
				Me._RecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Relationship", DbType:="NVarChar(128)")>  _
	Public Property Relationship() As String
		Get
			Return Me._Relationship
		End Get
		Set
			If (String.Equals(Me._Relationship, value) = false) Then
				Me._Relationship = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Relationship From", Storage:="_RelationshipFrom", DbType:="NVarChar(128)")>  _
	Public Property RelationshipFrom() As String
		Get
			Return Me._RelationshipFrom
		End Get
		Set
			If (String.Equals(Me._RelationshipFrom, value) = false) Then
				Me._RelationshipFrom = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_HISTORYResult
	
	Private _CONTACTHISTORYCONTACTID As System.Nullable(Of System.Guid)
	
	Private _CONTACTHISTORYHISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT HISTORY CONTACTID", Storage:="_CONTACTHISTORYCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTHISTORYCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTHISTORYCONTACTID
		End Get
		Set
			If (Me._CONTACTHISTORYCONTACTID.Equals(value) = false) Then
				Me._CONTACTHISTORYCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT HISTORY HISTORYID", Storage:="_CONTACTHISTORYHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTHISTORYHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTHISTORYHISTORYID
		End Get
		Set
			If (Me._CONTACTHISTORYHISTORYID.Equals(value) = false) Then
				Me._CONTACTHISTORYHISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_NOTEResult
	
	Private _CONTACTNOTECONTACTID As System.Nullable(Of System.Guid)
	
	Private _CONTACTNOTENOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT NOTE CONTACTID", Storage:="_CONTACTNOTECONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTNOTECONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTNOTECONTACTID
		End Get
		Set
			If (Me._CONTACTNOTECONTACTID.Equals(value) = false) Then
				Me._CONTACTNOTECONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT NOTE NOTEID", Storage:="_CONTACTNOTENOTEID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTNOTENOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTNOTENOTEID
		End Get
		Set
			If (Me._CONTACTNOTENOTEID.Equals(value) = false) Then
				Me._CONTACTNOTENOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_OPPORTUNITYResult
	
	Private _CONTACTOPPORTUNITYCONTACTID As System.Nullable(Of System.Guid)
	
	Private _CONTACTOPPORTUNITYOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT OPPORTUNITY CONTACTID", Storage:="_CONTACTOPPORTUNITYCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTOPPORTUNITYCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTOPPORTUNITYCONTACTID
		End Get
		Set
			If (Me._CONTACTOPPORTUNITYCONTACTID.Equals(value) = false) Then
				Me._CONTACTOPPORTUNITYCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT OPPORTUNITY OPPORTUNITYID", Storage:="_CONTACTOPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTOPPORTUNITYOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTOPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If (Me._CONTACTOPPORTUNITYOPPORTUNITYID.Equals(value) = false) Then
				Me._CONTACTOPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_CONTACT_SOURCEResult
	
	Private _CONTACTSOURCECONTACTID As System.Nullable(Of System.Guid)
	
	Private _CONTACTSOURCEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT SOURCE CONTACTID", Storage:="_CONTACTSOURCECONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTSOURCECONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTSOURCECONTACTID
		End Get
		Set
			If (Me._CONTACTSOURCECONTACTID.Equals(value) = false) Then
				Me._CONTACTSOURCECONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CONTACT SOURCE USERID", Storage:="_CONTACTSOURCEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTSOURCEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTSOURCEUSERID
		End Get
		Set
			If (Me._CONTACTSOURCEUSERID.Equals(value) = false) Then
				Me._CONTACTSOURCEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_COUNTRYResult
	
	Private _COUNTRYCOUNTRYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="COUNTRY COUNTRYID", Storage:="_COUNTRYCOUNTRYID", DbType:="UniqueIdentifier")>  _
	Public Property COUNTRYCOUNTRYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COUNTRYCOUNTRYID
		End Get
		Set
			If (Me._COUNTRYCOUNTRYID.Equals(value) = false) Then
				Me._COUNTRYCOUNTRYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_DBCONFIGResult
	
	Private _DBCONFIGDBCONFIGID As System.Nullable(Of System.Guid)
	
	Private _DBCONFIGCreateDate As System.Nullable(Of Date)
	
	Private _DBCONFIGEditDate As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DBCONFIG DBCONFIGID", Storage:="_DBCONFIGDBCONFIGID", DbType:="UniqueIdentifier")>  _
	Public Property DBCONFIGDBCONFIGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DBCONFIGDBCONFIGID
		End Get
		Set
			If (Me._DBCONFIGDBCONFIGID.Equals(value) = false) Then
				Me._DBCONFIGDBCONFIGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DBCONFIG Create Date", Storage:="_DBCONFIGCreateDate", DbType:="DateTime")>  _
	Public Property DBCONFIGCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._DBCONFIGCreateDate
		End Get
		Set
			If (Me._DBCONFIGCreateDate.Equals(value) = false) Then
				Me._DBCONFIGCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DBCONFIG Edit Date", Storage:="_DBCONFIGEditDate", DbType:="DateTime")>  _
	Public Property DBCONFIGEditDate() As System.Nullable(Of Date)
		Get
			Return Me._DBCONFIGEditDate
		End Get
		Set
			If (Me._DBCONFIGEditDate.Equals(value) = false) Then
				Me._DBCONFIGEditDate = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_EMAILResult
	
	Private _EMAILEMAILID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EMAIL EMAILID", Storage:="_EMAILEMAILID", DbType:="UniqueIdentifier")>  _
	Public Property EMAILEMAILID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EMAILEMAILID
		End Get
		Set
			If (Me._EMAILEMAILID.Equals(value) = false) Then
				Me._EMAILEMAILID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_EVENTLOGResult
	
	Private _EVENTLOGEVENTLOGID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EVENTLOG EVENTLOGID", Storage:="_EVENTLOGEVENTLOGID", DbType:="Int")>  _
	Public Property EVENTLOGEVENTLOGID() As System.Nullable(Of Integer)
		Get
			Return Me._EVENTLOGEVENTLOGID
		End Get
		Set
			If (Me._EVENTLOGEVENTLOGID.Equals(value) = false) Then
				Me._EVENTLOGEVENTLOGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_EVENTLOGDETAILResult
	
	Private _EVENTLOGDETAILDetails As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EVENTLOGDETAIL Details", Storage:="_EVENTLOGDETAILDetails", DbType:="NVarChar(2000)")>  _
	Public Property EVENTLOGDETAILDetails() As String
		Get
			Return Me._EVENTLOGDETAILDetails
		End Get
		Set
			If (String.Equals(Me._EVENTLOGDETAILDetails, value) = false) Then
				Me._EVENTLOGDETAILDetails = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_EVENTLOGTYPEResult
	
	Private _EVENTLOGTYPEEVENTLOGTYPEID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EVENTLOGTYPE EVENTLOGTYPEID", Storage:="_EVENTLOGTYPEEVENTLOGTYPEID", DbType:="TinyInt")>  _
	Public Property EVENTLOGTYPEEVENTLOGTYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._EVENTLOGTYPEEVENTLOGTYPEID
		End Get
		Set
			If (Me._EVENTLOGTYPEEVENTLOGTYPEID.Equals(value) = false) Then
				Me._EVENTLOGTYPEEVENTLOGTYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_EXTERNALMAP_SOURCEResult
	
	Private _EXTERNALMAPSOURCECreateDate As System.Nullable(Of Date)
	
	Private _EXTERNALMAPSOURCECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EXTERNALMAPSOURCESOURCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EXTERNALMAP SOURCE Create Date", Storage:="_EXTERNALMAPSOURCECreateDate", DbType:="DateTime")>  _
	Public Property EXTERNALMAPSOURCECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._EXTERNALMAPSOURCECreateDate
		End Get
		Set
			If (Me._EXTERNALMAPSOURCECreateDate.Equals(value) = false) Then
				Me._EXTERNALMAPSOURCECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EXTERNALMAP SOURCE CREATEUSERID", Storage:="_EXTERNALMAPSOURCECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EXTERNALMAPSOURCECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EXTERNALMAPSOURCECREATEUSERID
		End Get
		Set
			If (Me._EXTERNALMAPSOURCECREATEUSERID.Equals(value) = false) Then
				Me._EXTERNALMAPSOURCECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="EXTERNALMAP SOURCE SOURCEID", Storage:="_EXTERNALMAPSOURCESOURCEID", DbType:="UniqueIdentifier")>  _
	Public Property EXTERNALMAPSOURCESOURCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EXTERNALMAPSOURCESOURCEID
		End Get
		Set
			If (Me._EXTERNALMAPSOURCESOURCEID.Equals(value) = false) Then
				Me._EXTERNALMAPSOURCESOURCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_FEATURESETResult
	
	Private _FEATURECreateDate As System.Nullable(Of Date)
	
	Private _FEATURECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _FEATUREEditDate As System.Nullable(Of Date)
	
	Private _FEATUREEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _FEATURESETFEATURESETID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="FEATURE Create Date", Storage:="_FEATURECreateDate", DbType:="DateTime")>  _
	Public Property FEATURECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._FEATURECreateDate
		End Get
		Set
			If (Me._FEATURECreateDate.Equals(value) = false) Then
				Me._FEATURECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="FEATURE CREATEUSERID", Storage:="_FEATURECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property FEATURECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FEATURECREATEUSERID
		End Get
		Set
			If (Me._FEATURECREATEUSERID.Equals(value) = false) Then
				Me._FEATURECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="FEATURE Edit Date", Storage:="_FEATUREEditDate", DbType:="DateTime")>  _
	Public Property FEATUREEditDate() As System.Nullable(Of Date)
		Get
			Return Me._FEATUREEditDate
		End Get
		Set
			If (Me._FEATUREEditDate.Equals(value) = false) Then
				Me._FEATUREEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="FEATURE EDITUSERID", Storage:="_FEATUREEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property FEATUREEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FEATUREEDITUSERID
		End Get
		Set
			If (Me._FEATUREEDITUSERID.Equals(value) = false) Then
				Me._FEATUREEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="FEATURESET FEATURESETID", Storage:="_FEATURESETFEATURESETID", DbType:="UniqueIdentifier")>  _
	Public Property FEATURESETFEATURESETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FEATURESETFEATURESETID
		End Get
		Set
			If (Me._FEATURESETFEATURESETID.Equals(value) = false) Then
				Me._FEATURESETFEATURESETID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_FOLDERResult
	
	Private _FOLDERFOLDERID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="FOLDER FOLDERID", Storage:="_FOLDERFOLDERID", DbType:="TinyInt")>  _
	Public Property FOLDERFOLDERID() As System.Nullable(Of Byte)
		Get
			Return Me._FOLDERFOLDERID
		End Get
		Set
			If (Me._FOLDERFOLDERID.Equals(value) = false) Then
				Me._FOLDERFOLDERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUPResult
	
	Private _GROUPAddress1 As String
	
	Private _GROUPAddress2 As String
	
	Private _GROUPAddress3 As String
	
	Private _GROUPCity As String
	
	Private _GROUPCountry As String
	
	Private _GROUPCreateDate As System.Nullable(Of Date)
	
	Private _GROUPEditDate As System.Nullable(Of Date)
	
	Private _GROUPGroupDescription As String
	
	Private _GROUPGroupName As String
	
	Private _GROUPGROUPID As System.Nullable(Of System.Guid)
	
	Private _GROUPHasSubgroups As System.Nullable(Of Boolean)
	
	Private _GROUPHierarchyLevel As System.Nullable(Of Integer)
	
	Private _GROUPImportDate As System.Nullable(Of Date)
	
	Private _GROUPLastEditedBy As String
	
	Private _GROUPPARENTGROUPID As System.Nullable(Of System.Guid)
	
	Private _GROUPPrivateGroup As System.Nullable(Of Boolean)
	
	Private _GROUPQUERYVERSIONID As System.Nullable(Of System.Guid)
	
	Private _GROUPRecordCreator As String
	
	Private _GROUPRecordManager As String
	
	Private _GROUPState As String
	
	Private _GROUPZIPCode As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Address 1", Storage:="_GROUPAddress1", DbType:="NVarChar(256)")>  _
	Public Property GROUPAddress1() As String
		Get
			Return Me._GROUPAddress1
		End Get
		Set
			If (String.Equals(Me._GROUPAddress1, value) = false) Then
				Me._GROUPAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Address 2", Storage:="_GROUPAddress2", DbType:="NVarChar(256)")>  _
	Public Property GROUPAddress2() As String
		Get
			Return Me._GROUPAddress2
		End Get
		Set
			If (String.Equals(Me._GROUPAddress2, value) = false) Then
				Me._GROUPAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Address 3", Storage:="_GROUPAddress3", DbType:="NVarChar(256)")>  _
	Public Property GROUPAddress3() As String
		Get
			Return Me._GROUPAddress3
		End Get
		Set
			If (String.Equals(Me._GROUPAddress3, value) = false) Then
				Me._GROUPAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP City", Storage:="_GROUPCity", DbType:="NVarChar(256)")>  _
	Public Property GROUPCity() As String
		Get
			Return Me._GROUPCity
		End Get
		Set
			If (String.Equals(Me._GROUPCity, value) = false) Then
				Me._GROUPCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Country", Storage:="_GROUPCountry", DbType:="NVarChar(256)")>  _
	Public Property GROUPCountry() As String
		Get
			Return Me._GROUPCountry
		End Get
		Set
			If (String.Equals(Me._GROUPCountry, value) = false) Then
				Me._GROUPCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Create Date", Storage:="_GROUPCreateDate", DbType:="DateTime")>  _
	Public Property GROUPCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._GROUPCreateDate
		End Get
		Set
			If (Me._GROUPCreateDate.Equals(value) = false) Then
				Me._GROUPCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Edit Date", Storage:="_GROUPEditDate", DbType:="DateTime")>  _
	Public Property GROUPEditDate() As System.Nullable(Of Date)
		Get
			Return Me._GROUPEditDate
		End Get
		Set
			If (Me._GROUPEditDate.Equals(value) = false) Then
				Me._GROUPEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Group Description", Storage:="_GROUPGroupDescription", DbType:="NVarChar(128)")>  _
	Public Property GROUPGroupDescription() As String
		Get
			Return Me._GROUPGroupDescription
		End Get
		Set
			If (String.Equals(Me._GROUPGroupDescription, value) = false) Then
				Me._GROUPGroupDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Group Name", Storage:="_GROUPGroupName", DbType:="NVarChar(128)")>  _
	Public Property GROUPGroupName() As String
		Get
			Return Me._GROUPGroupName
		End Get
		Set
			If (String.Equals(Me._GROUPGroupName, value) = false) Then
				Me._GROUPGroupName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP GROUPID", Storage:="_GROUPGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPGROUPID
		End Get
		Set
			If (Me._GROUPGROUPID.Equals(value) = false) Then
				Me._GROUPGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Has Subgroups", Storage:="_GROUPHasSubgroups", DbType:="Bit")>  _
	Public Property GROUPHasSubgroups() As System.Nullable(Of Boolean)
		Get
			Return Me._GROUPHasSubgroups
		End Get
		Set
			If (Me._GROUPHasSubgroups.Equals(value) = false) Then
				Me._GROUPHasSubgroups = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Hierarchy Level", Storage:="_GROUPHierarchyLevel", DbType:="Int")>  _
	Public Property GROUPHierarchyLevel() As System.Nullable(Of Integer)
		Get
			Return Me._GROUPHierarchyLevel
		End Get
		Set
			If (Me._GROUPHierarchyLevel.Equals(value) = false) Then
				Me._GROUPHierarchyLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Import Date", Storage:="_GROUPImportDate", DbType:="DateTime")>  _
	Public Property GROUPImportDate() As System.Nullable(Of Date)
		Get
			Return Me._GROUPImportDate
		End Get
		Set
			If (Me._GROUPImportDate.Equals(value) = false) Then
				Me._GROUPImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Last Edited By", Storage:="_GROUPLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property GROUPLastEditedBy() As String
		Get
			Return Me._GROUPLastEditedBy
		End Get
		Set
			If (String.Equals(Me._GROUPLastEditedBy, value) = false) Then
				Me._GROUPLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP PARENTGROUPID", Storage:="_GROUPPARENTGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPPARENTGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPPARENTGROUPID
		End Get
		Set
			If (Me._GROUPPARENTGROUPID.Equals(value) = false) Then
				Me._GROUPPARENTGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Private Group", Storage:="_GROUPPrivateGroup", DbType:="Bit")>  _
	Public Property GROUPPrivateGroup() As System.Nullable(Of Boolean)
		Get
			Return Me._GROUPPrivateGroup
		End Get
		Set
			If (Me._GROUPPrivateGroup.Equals(value) = false) Then
				Me._GROUPPrivateGroup = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP QUERYVERSIONID", Storage:="_GROUPQUERYVERSIONID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPQUERYVERSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPQUERYVERSIONID
		End Get
		Set
			If (Me._GROUPQUERYVERSIONID.Equals(value) = false) Then
				Me._GROUPQUERYVERSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Record Creator", Storage:="_GROUPRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property GROUPRecordCreator() As String
		Get
			Return Me._GROUPRecordCreator
		End Get
		Set
			If (String.Equals(Me._GROUPRecordCreator, value) = false) Then
				Me._GROUPRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP Record Manager", Storage:="_GROUPRecordManager", DbType:="NVarChar(128)")>  _
	Public Property GROUPRecordManager() As String
		Get
			Return Me._GROUPRecordManager
		End Get
		Set
			If (String.Equals(Me._GROUPRecordManager, value) = false) Then
				Me._GROUPRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP State", Storage:="_GROUPState", DbType:="NVarChar(256)")>  _
	Public Property GROUPState() As String
		Get
			Return Me._GROUPState
		End Get
		Set
			If (String.Equals(Me._GROUPState, value) = false) Then
				Me._GROUPState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ZIP Code", Storage:="_GROUPZIPCode", DbType:="NVarChar(256)")>  _
	Public Property GROUPZIPCode() As String
		Get
			Return Me._GROUPZIPCode
		End Get
		Set
			If (String.Equals(Me._GROUPZIPCode, value) = false) Then
				Me._GROUPZIPCode = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_ACCESSResult
	
	Private _GROUPACCESSAccessLevel As String
	
	Private _GROUPACCESSGroupid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ACCESS Access Level", Storage:="_GROUPACCESSAccessLevel", DbType:="NVarChar(7)")>  _
	Public Property GROUPACCESSAccessLevel() As String
		Get
			Return Me._GROUPACCESSAccessLevel
		End Get
		Set
			If (String.Equals(Me._GROUPACCESSAccessLevel, value) = false) Then
				Me._GROUPACCESSAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ACCESS Groupid", Storage:="_GROUPACCESSGroupid", DbType:="UniqueIdentifier")>  _
	Public Property GROUPACCESSGroupid() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPACCESSGroupid
		End Get
		Set
			If (Me._GROUPACCESSGroupid.Equals(value) = false) Then
				Me._GROUPACCESSGroupid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_ACLResult
	
	Private _GROUPACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _GROUPACLGROUPID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ACL ACCESSORID", Storage:="_GROUPACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPACLACCESSORID
		End Get
		Set
			If (Me._GROUPACLACCESSORID.Equals(value) = false) Then
				Me._GROUPACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ACL GROUPID", Storage:="_GROUPACLGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPACLGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPACLGROUPID
		End Get
		Set
			If (Me._GROUPACLGROUPID.Equals(value) = false) Then
				Me._GROUPACLGROUPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_ACTIVITYResult
	
	Private _GROUPACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _GROUPACTIVITYGROUPID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ACTIVITY ACTIVITYID", Storage:="_GROUPACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPACTIVITYACTIVITYID
		End Get
		Set
			If (Me._GROUPACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._GROUPACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP ACTIVITY GROUPID", Storage:="_GROUPACTIVITYGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPACTIVITYGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPACTIVITYGROUPID
		End Get
		Set
			If (Me._GROUPACTIVITYGROUPID.Equals(value) = false) Then
				Me._GROUPACTIVITYGROUPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_CONTACTResult
	
	Private _GROUPCONTACTCONTACTID As System.Nullable(Of System.Guid)
	
	Private _GROUPCONTACTGROUPID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP CONTACT CONTACTID", Storage:="_GROUPCONTACTCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPCONTACTCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPCONTACTCONTACTID
		End Get
		Set
			If (Me._GROUPCONTACTCONTACTID.Equals(value) = false) Then
				Me._GROUPCONTACTCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP CONTACT GROUPID", Storage:="_GROUPCONTACTGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPCONTACTGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPCONTACTGROUPID
		End Get
		Set
			If (Me._GROUPCONTACTGROUPID.Equals(value) = false) Then
				Me._GROUPCONTACTGROUPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_HISTORYResult
	
	Private _GROUPHISTORYGROUPID As System.Nullable(Of System.Guid)
	
	Private _GROUPHISTORYHISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP HISTORY GROUPID", Storage:="_GROUPHISTORYGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPHISTORYGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPHISTORYGROUPID
		End Get
		Set
			If (Me._GROUPHISTORYGROUPID.Equals(value) = false) Then
				Me._GROUPHISTORYGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP HISTORY HISTORYID", Storage:="_GROUPHISTORYHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPHISTORYHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPHISTORYHISTORYID
		End Get
		Set
			If (Me._GROUPHISTORYHISTORYID.Equals(value) = false) Then
				Me._GROUPHISTORYHISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_NOTEResult
	
	Private _GROUPNOTEGROUPID As System.Nullable(Of System.Guid)
	
	Private _GROUPNOTENOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP NOTE GROUPID", Storage:="_GROUPNOTEGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPNOTEGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPNOTEGROUPID
		End Get
		Set
			If (Me._GROUPNOTEGROUPID.Equals(value) = false) Then
				Me._GROUPNOTEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP NOTE NOTEID", Storage:="_GROUPNOTENOTEID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPNOTENOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPNOTENOTEID
		End Get
		Set
			If (Me._GROUPNOTENOTEID.Equals(value) = false) Then
				Me._GROUPNOTENOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUP_OPPORTUNITYResult
	
	Private _GROUPOPPORTUNITYGROUPID As System.Nullable(Of System.Guid)
	
	Private _GROUPOPPORTUNITYISMEMBER As System.Nullable(Of Boolean)
	
	Private _GROUPOPPORTUNITYOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP OPPORTUNITY GROUPID", Storage:="_GROUPOPPORTUNITYGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPOPPORTUNITYGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPOPPORTUNITYGROUPID
		End Get
		Set
			If (Me._GROUPOPPORTUNITYGROUPID.Equals(value) = false) Then
				Me._GROUPOPPORTUNITYGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP OPPORTUNITY ISMEMBER", Storage:="_GROUPOPPORTUNITYISMEMBER", DbType:="Bit")>  _
	Public Property GROUPOPPORTUNITYISMEMBER() As System.Nullable(Of Boolean)
		Get
			Return Me._GROUPOPPORTUNITYISMEMBER
		End Get
		Set
			If (Me._GROUPOPPORTUNITYISMEMBER.Equals(value) = false) Then
				Me._GROUPOPPORTUNITYISMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUP OPPORTUNITY OPPORTUNITYID", Storage:="_GROUPOPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPOPPORTUNITYOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPOPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If (Me._GROUPOPPORTUNITYOPPORTUNITYID.Equals(value) = false) Then
				Me._GROUPOPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_GROUPQUERYResult
	
	Private _GROUPQUERYGROUPQUERYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="GROUPQUERY GROUPQUERYID", Storage:="_GROUPQUERYGROUPQUERYID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPQUERYGROUPQUERYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPQUERYGROUPQUERYID
		End Get
		Set
			If (Me._GROUPQUERYGROUPQUERYID.Equals(value) = false) Then
				Me._GROUPQUERYGROUPQUERYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_HISTORYResult
	
	Private _HISTORYACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _HISTORYCreatedOn As System.Nullable(Of Date)
	
	Private _HISTORYDetails As String
	
	Private _HISTORYDuration As System.Nullable(Of Integer)
	
	Private _HISTORYEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYEndDate_Time As System.Nullable(Of Date)
	
	Private _HISTORYHISTORYID As System.Nullable(Of System.Guid)
	
	Private _HISTORYHISTORYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYLastEditedBy As String
	
	Private _HISTORYPrivateHistory As System.Nullable(Of Byte)
	
	Private _HISTORYRecordCreator As String
	
	Private _HISTORYRecordManager As String
	
	Private _HISTORYRegarding As String
	
	Private _HISTORYStartDate_Time As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY ACCESSOR_ACTIVITY_CLEAREDID", Storage:="_HISTORYACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._HISTORYACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Created On", Storage:="_HISTORYCreatedOn", DbType:="DateTime")>  _
	Public Property HISTORYCreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYCreatedOn
		End Get
		Set
			If (Me._HISTORYCreatedOn.Equals(value) = false) Then
				Me._HISTORYCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Details", Storage:="_HISTORYDetails", DbType:="NVarChar(MAX)")>  _
	Public Property HISTORYDetails() As String
		Get
			Return Me._HISTORYDetails
		End Get
		Set
			If (String.Equals(Me._HISTORYDetails, value) = false) Then
				Me._HISTORYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Duration", Storage:="_HISTORYDuration", DbType:="Int")>  _
	Public Property HISTORYDuration() As System.Nullable(Of Integer)
		Get
			Return Me._HISTORYDuration
		End Get
		Set
			If (Me._HISTORYDuration.Equals(value) = false) Then
				Me._HISTORYDuration = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Edited On", Storage:="_HISTORYEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYEditedOn
		End Get
		Set
			If (Me._HISTORYEditedOn.Equals(value) = false) Then
				Me._HISTORYEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY End Date/Time", Storage:="_HISTORYEndDate_Time", DbType:="SmallDateTime")>  _
	Public Property HISTORYEndDate_Time() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYEndDate_Time
		End Get
		Set
			If (Me._HISTORYEndDate_Time.Equals(value) = false) Then
				Me._HISTORYEndDate_Time = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYID", Storage:="_HISTORYHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYHISTORYID
		End Get
		Set
			If (Me._HISTORYHISTORYID.Equals(value) = false) Then
				Me._HISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY HISTORYTYPEID", Storage:="_HISTORYHISTORYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYHISTORYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYHISTORYTYPEID
		End Get
		Set
			If (Me._HISTORYHISTORYTYPEID.Equals(value) = false) Then
				Me._HISTORYHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Last Edited By", Storage:="_HISTORYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property HISTORYLastEditedBy() As String
		Get
			Return Me._HISTORYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._HISTORYLastEditedBy, value) = false) Then
				Me._HISTORYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Private History", Storage:="_HISTORYPrivateHistory", DbType:="TinyInt")>  _
	Public Property HISTORYPrivateHistory() As System.Nullable(Of Byte)
		Get
			Return Me._HISTORYPrivateHistory
		End Get
		Set
			If (Me._HISTORYPrivateHistory.Equals(value) = false) Then
				Me._HISTORYPrivateHistory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Creator", Storage:="_HISTORYRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property HISTORYRecordCreator() As String
		Get
			Return Me._HISTORYRecordCreator
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordCreator, value) = false) Then
				Me._HISTORYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Record Manager", Storage:="_HISTORYRecordManager", DbType:="NVarChar(128)")>  _
	Public Property HISTORYRecordManager() As String
		Get
			Return Me._HISTORYRecordManager
		End Get
		Set
			If (String.Equals(Me._HISTORYRecordManager, value) = false) Then
				Me._HISTORYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Regarding", Storage:="_HISTORYRegarding", DbType:="NVarChar(256)")>  _
	Public Property HISTORYRegarding() As String
		Get
			Return Me._HISTORYRegarding
		End Get
		Set
			If (String.Equals(Me._HISTORYRegarding, value) = false) Then
				Me._HISTORYRegarding = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY Start Date/Time", Storage:="_HISTORYStartDate_Time", DbType:="SmallDateTime")>  _
	Public Property HISTORYStartDate_Time() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYStartDate_Time
		End Get
		Set
			If (Me._HISTORYStartDate_Time.Equals(value) = false) Then
				Me._HISTORYStartDate_Time = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_HISTORYTYPEResult
	
	Private _HISTORYTYPESActive As System.Nullable(Of Boolean)
	
	Private _HISTORYTYPEACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYTYPESCreatedOn As System.Nullable(Of Date)
	
	Private _HISTORYTYPESCustom As System.Nullable(Of Boolean)
	
	Private _HISTORYTYPESDESCRIPTION As String
	
	Private _HISTORYTYPESEditedOn As System.Nullable(Of Date)
	
	Private _HISTORYTYPEHISTORYTYPEGROUPID As System.Nullable(Of Short)
	
	Private _HISTORYTYPEHISTORYTYPEGUID As System.Nullable(Of System.Guid)
	
	Private _HISTORYTYPEHISTORYTYPEID As System.Nullable(Of Short)
	
	Private _HISTORYTYPESISDEFAULT As System.Nullable(Of Boolean)
	
	Private _HISTORYTYPESName As String
	
	Private _HISTORYTYPESRecordable As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Active", Storage:="_HISTORYTYPESActive", DbType:="Bit")>  _
	Public Property HISTORYTYPESActive() As System.Nullable(Of Boolean)
		Get
			Return Me._HISTORYTYPESActive
		End Get
		Set
			If (Me._HISTORYTYPESActive.Equals(value) = false) Then
				Me._HISTORYTYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE ACTIVITYTYPEID", Storage:="_HISTORYTYPEACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEACTIVITYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEACTIVITYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Created On", Storage:="_HISTORYTYPESCreatedOn", DbType:="DateTime")>  _
	Public Property HISTORYTYPESCreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYTYPESCreatedOn
		End Get
		Set
			If (Me._HISTORYTYPESCreatedOn.Equals(value) = false) Then
				Me._HISTORYTYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Custom", Storage:="_HISTORYTYPESCustom", DbType:="Bit")>  _
	Public Property HISTORYTYPESCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._HISTORYTYPESCustom
		End Get
		Set
			If (Me._HISTORYTYPESCustom.Equals(value) = false) Then
				Me._HISTORYTYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES DESCRIPTION", Storage:="_HISTORYTYPESDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property HISTORYTYPESDESCRIPTION() As String
		Get
			Return Me._HISTORYTYPESDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESDESCRIPTION, value) = false) Then
				Me._HISTORYTYPESDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Edited On", Storage:="_HISTORYTYPESEditedOn", DbType:="DateTime")>  _
	Public Property HISTORYTYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._HISTORYTYPESEditedOn
		End Get
		Set
			If (Me._HISTORYTYPESEditedOn.Equals(value) = false) Then
				Me._HISTORYTYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGROUPID", Storage:="_HISTORYTYPEHISTORYTYPEGROUPID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEHISTORYTYPEGROUPID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGROUPID
		End Get
		Set
			If (Me._HISTORYTYPEHISTORYTYPEGROUPID.Equals(value) = false) Then
				Me._HISTORYTYPEHISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEGUID", Storage:="_HISTORYTYPEHISTORYTYPEGUID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYTYPEHISTORYTYPEGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYTYPEHISTORYTYPEGUID
		End Get
		Set
			If (Me._HISTORYTYPEHISTORYTYPEGUID.Equals(value) = false) Then
				Me._HISTORYTYPEHISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE HISTORYTYPEID", Storage:="_HISTORYTYPEHISTORYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEHISTORYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEHISTORYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEHISTORYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEHISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES ISDEFAULT", Storage:="_HISTORYTYPESISDEFAULT", DbType:="Bit")>  _
	Public Property HISTORYTYPESISDEFAULT() As System.Nullable(Of Boolean)
		Get
			Return Me._HISTORYTYPESISDEFAULT
		End Get
		Set
			If (Me._HISTORYTYPESISDEFAULT.Equals(value) = false) Then
				Me._HISTORYTYPESISDEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Name", Storage:="_HISTORYTYPESName", DbType:="NVarChar(64)")>  _
	Public Property HISTORYTYPESName() As String
		Get
			Return Me._HISTORYTYPESName
		End Get
		Set
			If (String.Equals(Me._HISTORYTYPESName, value) = false) Then
				Me._HISTORYTYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORY TYPES Recordable", Storage:="_HISTORYTYPESRecordable", DbType:="Bit")>  _
	Public Property HISTORYTYPESRecordable() As System.Nullable(Of Boolean)
		Get
			Return Me._HISTORYTYPESRecordable
		End Get
		Set
			If (Me._HISTORYTYPESRecordable.Equals(value) = false) Then
				Me._HISTORYTYPESRecordable = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_HISTORYTYPE_GROUPResult
	
	Private _HISTORYTYPEGROUPHISTORYTYPEGROUPGUID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE GROUP HISTORYTYPEGROUPGUID", Storage:="_HISTORYTYPEGROUPHISTORYTYPEGROUPGUID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYTYPEGROUPHISTORYTYPEGROUPGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYTYPEGROUPHISTORYTYPEGROUPGUID
		End Get
		Set
			If (Me._HISTORYTYPEGROUPHISTORYTYPEGROUPGUID.Equals(value) = false) Then
				Me._HISTORYTYPEGROUPHISTORYTYPEGROUPGUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_HISTORYTYPE_SUPERGROUPResult
	
	Private _HISTORYTYPESUPERGROUPHISTORYTYPESUPERGROUPGUID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="HISTORYTYPE SUPERGROUP HISTORYTYPESUPERGROUPGUID", Storage:="_HISTORYTYPESUPERGROUPHISTORYTYPESUPERGROUPGUID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYTYPESUPERGROUPHISTORYTYPESUPERGROUPGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYTYPESUPERGROUPHISTORYTYPESUPERGROUPGUID
		End Get
		Set
			If (Me._HISTORYTYPESUPERGROUPHISTORYTYPESUPERGROUPGUID.Equals(value) = false) Then
				Me._HISTORYTYPESUPERGROUPHISTORYTYPESUPERGROUPGUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_IMPORT_HISTORYResult
	
	Private _IMPORTHISTORYCreateDate As System.Nullable(Of Date)
	
	Private _IMPORTHISTORYCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _IMPORTHISTORYDetails As String
	
	Private _IMPORTHISTORYIMPORT_HISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORY Create Date", Storage:="_IMPORTHISTORYCreateDate", DbType:="DateTime")>  _
	Public Property IMPORTHISTORYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._IMPORTHISTORYCreateDate
		End Get
		Set
			If (Me._IMPORTHISTORYCreateDate.Equals(value) = false) Then
				Me._IMPORTHISTORYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORY CREATEUSERID", Storage:="_IMPORTHISTORYCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property IMPORTHISTORYCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._IMPORTHISTORYCREATEUSERID
		End Get
		Set
			If (Me._IMPORTHISTORYCREATEUSERID.Equals(value) = false) Then
				Me._IMPORTHISTORYCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORY Details", Storage:="_IMPORTHISTORYDetails", DbType:="NVarChar(MAX)")>  _
	Public Property IMPORTHISTORYDetails() As String
		Get
			Return Me._IMPORTHISTORYDetails
		End Get
		Set
			If (String.Equals(Me._IMPORTHISTORYDetails, value) = false) Then
				Me._IMPORTHISTORYDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORY IMPORT_HISTORYID", Storage:="_IMPORTHISTORYIMPORT_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property IMPORTHISTORYIMPORT_HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._IMPORTHISTORYIMPORT_HISTORYID
		End Get
		Set
			If (Me._IMPORTHISTORYIMPORT_HISTORYID.Equals(value) = false) Then
				Me._IMPORTHISTORYIMPORT_HISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_IMPORT_HISTORYITEMResult
	
	Private _IMPORTHISTORYITEMACT_RECORDID As System.Nullable(Of System.Guid)
	
	Private _IMPORTHISTORYITEMDetails As String
	
	Private _IMPORTHISTORYITEMENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORYITEM ACT_RECORDID", Storage:="_IMPORTHISTORYITEMACT_RECORDID", DbType:="UniqueIdentifier")>  _
	Public Property IMPORTHISTORYITEMACT_RECORDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._IMPORTHISTORYITEMACT_RECORDID
		End Get
		Set
			If (Me._IMPORTHISTORYITEMACT_RECORDID.Equals(value) = false) Then
				Me._IMPORTHISTORYITEMACT_RECORDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORY ITEM Details", Storage:="_IMPORTHISTORYITEMDetails", DbType:="NVarChar(1024)")>  _
	Public Property IMPORTHISTORYITEMDetails() As String
		Get
			Return Me._IMPORTHISTORYITEMDetails
		End Get
		Set
			If (String.Equals(Me._IMPORTHISTORYITEMDetails, value) = false) Then
				Me._IMPORTHISTORYITEMDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="IMPORT HISTORYITEM ENTITYID", Storage:="_IMPORTHISTORYITEMENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property IMPORTHISTORYITEMENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._IMPORTHISTORYITEMENTITYID
		End Get
		Set
			If (Me._IMPORTHISTORYITEMENTITYID.Equals(value) = false) Then
				Me._IMPORTHISTORYITEMENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_LOCALSTRINGResult
	
	Private _LOCALSTRINGLOCALSTRINGID As System.Nullable(Of System.Guid)
	
	Private _LOCALSTRINGSTRINGKEY As String
	
	Private _LOCALSTRINGSTRINGVALUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOCALSTRING LOCALSTRINGID", Storage:="_LOCALSTRINGLOCALSTRINGID", DbType:="UniqueIdentifier")>  _
	Public Property LOCALSTRINGLOCALSTRINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOCALSTRINGLOCALSTRINGID
		End Get
		Set
			If (Me._LOCALSTRINGLOCALSTRINGID.Equals(value) = false) Then
				Me._LOCALSTRINGLOCALSTRINGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOCALSTRING STRINGKEY", Storage:="_LOCALSTRINGSTRINGKEY", DbType:="VarChar(50)")>  _
	Public Property LOCALSTRINGSTRINGKEY() As String
		Get
			Return Me._LOCALSTRINGSTRINGKEY
		End Get
		Set
			If (String.Equals(Me._LOCALSTRINGSTRINGKEY, value) = false) Then
				Me._LOCALSTRINGSTRINGKEY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOCALSTRING STRINGVALUE", Storage:="_LOCALSTRINGSTRINGVALUE", DbType:="NVarChar(3000)")>  _
	Public Property LOCALSTRINGSTRINGVALUE() As String
		Get
			Return Me._LOCALSTRINGSTRINGVALUE
		End Get
		Set
			If (String.Equals(Me._LOCALSTRINGSTRINGVALUE, value) = false) Then
				Me._LOCALSTRINGSTRINGVALUE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_LOGONHISTORYResult
	
	Private _LOGONHISTORYApplicationName As String
	
	Private _LOGONHISTORYApplicationVersion As String
	
	Private _LOGONHISTORYClientIPAddress As String
	
	Private _LOGONHISTORYClientMachine As String
	
	Private _LOGONHISTORYClientUsername As String
	
	Private _LOGONHISTORYDatabaseName As String
	
	Private _LOGONHISTORYDatabaseServer As String
	
	Private _LOGONHISTORYLogoffDate As System.Nullable(Of Date)
	
	Private _LOGONHISTORYLogonDate As System.Nullable(Of Date)
	
	Private _LOGONHISTORYLogonStatus As System.Nullable(Of Byte)
	
	Private _LOGONHISTORYLOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _LOGONHISTORYUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Application Name", Storage:="_LOGONHISTORYApplicationName", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYApplicationName() As String
		Get
			Return Me._LOGONHISTORYApplicationName
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYApplicationName, value) = false) Then
				Me._LOGONHISTORYApplicationName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Application Version", Storage:="_LOGONHISTORYApplicationVersion", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYApplicationVersion() As String
		Get
			Return Me._LOGONHISTORYApplicationVersion
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYApplicationVersion, value) = false) Then
				Me._LOGONHISTORYApplicationVersion = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Client IP Address", Storage:="_LOGONHISTORYClientIPAddress", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYClientIPAddress() As String
		Get
			Return Me._LOGONHISTORYClientIPAddress
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYClientIPAddress, value) = false) Then
				Me._LOGONHISTORYClientIPAddress = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Client Machine", Storage:="_LOGONHISTORYClientMachine", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYClientMachine() As String
		Get
			Return Me._LOGONHISTORYClientMachine
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYClientMachine, value) = false) Then
				Me._LOGONHISTORYClientMachine = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Client Username", Storage:="_LOGONHISTORYClientUsername", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYClientUsername() As String
		Get
			Return Me._LOGONHISTORYClientUsername
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYClientUsername, value) = false) Then
				Me._LOGONHISTORYClientUsername = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Database Name", Storage:="_LOGONHISTORYDatabaseName", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYDatabaseName() As String
		Get
			Return Me._LOGONHISTORYDatabaseName
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYDatabaseName, value) = false) Then
				Me._LOGONHISTORYDatabaseName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Database Server", Storage:="_LOGONHISTORYDatabaseServer", DbType:="NVarChar(64)")>  _
	Public Property LOGONHISTORYDatabaseServer() As String
		Get
			Return Me._LOGONHISTORYDatabaseServer
		End Get
		Set
			If (String.Equals(Me._LOGONHISTORYDatabaseServer, value) = false) Then
				Me._LOGONHISTORYDatabaseServer = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Logoff Date", Storage:="_LOGONHISTORYLogoffDate", DbType:="DateTime")>  _
	Public Property LOGONHISTORYLogoffDate() As System.Nullable(Of Date)
		Get
			Return Me._LOGONHISTORYLogoffDate
		End Get
		Set
			If (Me._LOGONHISTORYLogoffDate.Equals(value) = false) Then
				Me._LOGONHISTORYLogoffDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Logon Date", Storage:="_LOGONHISTORYLogonDate", DbType:="DateTime")>  _
	Public Property LOGONHISTORYLogonDate() As System.Nullable(Of Date)
		Get
			Return Me._LOGONHISTORYLogonDate
		End Get
		Set
			If (Me._LOGONHISTORYLogonDate.Equals(value) = false) Then
				Me._LOGONHISTORYLogonDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGON HISTORY Logon Status", Storage:="_LOGONHISTORYLogonStatus", DbType:="TinyInt")>  _
	Public Property LOGONHISTORYLogonStatus() As System.Nullable(Of Byte)
		Get
			Return Me._LOGONHISTORYLogonStatus
		End Get
		Set
			If (Me._LOGONHISTORYLogonStatus.Equals(value) = false) Then
				Me._LOGONHISTORYLogonStatus = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGONHISTORY LOGONHISTORYID", Storage:="_LOGONHISTORYLOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property LOGONHISTORYLOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOGONHISTORYLOGONHISTORYID
		End Get
		Set
			If (Me._LOGONHISTORYLOGONHISTORYID.Equals(value) = false) Then
				Me._LOGONHISTORYLOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LOGONHISTORY USERID", Storage:="_LOGONHISTORYUSERID", DbType:="UniqueIdentifier")>  _
	Public Property LOGONHISTORYUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOGONHISTORYUSERID
		End Get
		Set
			If (Me._LOGONHISTORYUSERID.Equals(value) = false) Then
				Me._LOGONHISTORYUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_NOTEResult
	
	Private _NOTECreatedOn As System.Nullable(Of Date)
	
	Private _NOTEEditedOn As System.Nullable(Of Date)
	
	Private _NOTELastEditedBy As String
	
	Private _NOTENote As String
	
	Private _NOTENoteDate As System.Nullable(Of Date)
	
	Private _NOTENOTEID As System.Nullable(Of System.Guid)
	
	Private _NOTENOTETYPEID As System.Nullable(Of Short)
	
	Private _NOTEPrivateNote As System.Nullable(Of Byte)
	
	Private _NOTERecordCreator As String
	
	Private _NOTERecordManager As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Created On", Storage:="_NOTECreatedOn", DbType:="DateTime")>  _
	Public Property NOTECreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTECreatedOn
		End Get
		Set
			If (Me._NOTECreatedOn.Equals(value) = false) Then
				Me._NOTECreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Edited On", Storage:="_NOTEEditedOn", DbType:="DateTime")>  _
	Public Property NOTEEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTEEditedOn
		End Get
		Set
			If (Me._NOTEEditedOn.Equals(value) = false) Then
				Me._NOTEEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Last Edited By", Storage:="_NOTELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property NOTELastEditedBy() As String
		Get
			Return Me._NOTELastEditedBy
		End Get
		Set
			If (String.Equals(Me._NOTELastEditedBy, value) = false) Then
				Me._NOTELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note", Storage:="_NOTENote", DbType:="NVarChar(MAX)")>  _
	Public Property NOTENote() As String
		Get
			Return Me._NOTENote
		End Get
		Set
			If (String.Equals(Me._NOTENote, value) = false) Then
				Me._NOTENote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Note Date", Storage:="_NOTENoteDate", DbType:="SmallDateTime")>  _
	Public Property NOTENoteDate() As System.Nullable(Of Date)
		Get
			Return Me._NOTENoteDate
		End Get
		Set
			If (Me._NOTENoteDate.Equals(value) = false) Then
				Me._NOTENoteDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTEID", Storage:="_NOTENOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTENOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTENOTEID
		End Get
		Set
			If (Me._NOTENOTEID.Equals(value) = false) Then
				Me._NOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE NOTETYPEID", Storage:="_NOTENOTETYPEID", DbType:="SmallInt")>  _
	Public Property NOTENOTETYPEID() As System.Nullable(Of Short)
		Get
			Return Me._NOTENOTETYPEID
		End Get
		Set
			If (Me._NOTENOTETYPEID.Equals(value) = false) Then
				Me._NOTENOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Private Note", Storage:="_NOTEPrivateNote", DbType:="TinyInt")>  _
	Public Property NOTEPrivateNote() As System.Nullable(Of Byte)
		Get
			Return Me._NOTEPrivateNote
		End Get
		Set
			If (Me._NOTEPrivateNote.Equals(value) = false) Then
				Me._NOTEPrivateNote = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Creator", Storage:="_NOTERecordCreator", DbType:="NVarChar(128)")>  _
	Public Property NOTERecordCreator() As String
		Get
			Return Me._NOTERecordCreator
		End Get
		Set
			If (String.Equals(Me._NOTERecordCreator, value) = false) Then
				Me._NOTERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE Record Manager", Storage:="_NOTERecordManager", DbType:="NVarChar(128)")>  _
	Public Property NOTERecordManager() As String
		Get
			Return Me._NOTERecordManager
		End Get
		Set
			If (String.Equals(Me._NOTERecordManager, value) = false) Then
				Me._NOTERecordManager = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_NOTETYPEResult
	
	Private _NOTETYPESActive As System.Nullable(Of Boolean)
	
	Private _NOTETYPESCreatedOn As System.Nullable(Of Date)
	
	Private _NOTETYPESCustom As System.Nullable(Of Boolean)
	
	Private _NOTETYPESDescription As String
	
	Private _NOTETYPESEditedOn As System.Nullable(Of Date)
	
	Private _NOTETYPESName As String
	
	Private _NOTETYPENOTETYPEGUID As System.Nullable(Of System.Guid)
	
	Private _NOTETYPENOTETYPEID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Active", Storage:="_NOTETYPESActive", DbType:="Bit")>  _
	Public Property NOTETYPESActive() As System.Nullable(Of Boolean)
		Get
			Return Me._NOTETYPESActive
		End Get
		Set
			If (Me._NOTETYPESActive.Equals(value) = false) Then
				Me._NOTETYPESActive = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Created On", Storage:="_NOTETYPESCreatedOn", DbType:="DateTime")>  _
	Public Property NOTETYPESCreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTETYPESCreatedOn
		End Get
		Set
			If (Me._NOTETYPESCreatedOn.Equals(value) = false) Then
				Me._NOTETYPESCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Custom", Storage:="_NOTETYPESCustom", DbType:="Bit")>  _
	Public Property NOTETYPESCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._NOTETYPESCustom
		End Get
		Set
			If (Me._NOTETYPESCustom.Equals(value) = false) Then
				Me._NOTETYPESCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Description", Storage:="_NOTETYPESDescription", DbType:="NVarChar(128)")>  _
	Public Property NOTETYPESDescription() As String
		Get
			Return Me._NOTETYPESDescription
		End Get
		Set
			If (String.Equals(Me._NOTETYPESDescription, value) = false) Then
				Me._NOTETYPESDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Edited On", Storage:="_NOTETYPESEditedOn", DbType:="DateTime")>  _
	Public Property NOTETYPESEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._NOTETYPESEditedOn
		End Get
		Set
			If (Me._NOTETYPESEditedOn.Equals(value) = false) Then
				Me._NOTETYPESEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTE TYPES Name", Storage:="_NOTETYPESName", DbType:="NVarChar(64)")>  _
	Public Property NOTETYPESName() As String
		Get
			Return Me._NOTETYPESName
		End Get
		Set
			If (String.Equals(Me._NOTETYPESName, value) = false) Then
				Me._NOTETYPESName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEGUID", Storage:="_NOTETYPENOTETYPEGUID", DbType:="UniqueIdentifier")>  _
	Public Property NOTETYPENOTETYPEGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTETYPENOTETYPEGUID
		End Get
		Set
			If (Me._NOTETYPENOTETYPEGUID.Equals(value) = false) Then
				Me._NOTETYPENOTETYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="NOTETYPE NOTETYPEID", Storage:="_NOTETYPENOTETYPEID", DbType:="SmallInt")>  _
	Public Property NOTETYPENOTETYPEID() As System.Nullable(Of Short)
		Get
			Return Me._NOTETYPENOTETYPEID
		End Get
		Set
			If (Me._NOTETYPENOTETYPEID.Equals(value) = false) Then
				Me._NOTETYPENOTETYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBFUNCTIONResult
	
	Private _OLEDBFUNCTIONFUNCTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBFUNCTION FUNCTIONID", Storage:="_OLEDBFUNCTIONFUNCTIONID", DbType:="Int")>  _
	Public Property OLEDBFUNCTIONFUNCTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._OLEDBFUNCTIONFUNCTIONID
		End Get
		Set
			If (Me._OLEDBFUNCTIONFUNCTIONID.Equals(value) = false) Then
				Me._OLEDBFUNCTIONFUNCTIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBFUNCTION_SYSCOLUMNResult
	
	Private _OLEDBFUNCTIONSYSCOLUMNCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _OLEDBFUNCTIONSYSCOLUMNFUNCTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBFUNCTION SYSCOLUMN COLUMNID", Storage:="_OLEDBFUNCTIONSYSCOLUMNCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property OLEDBFUNCTIONSYSCOLUMNCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OLEDBFUNCTIONSYSCOLUMNCOLUMNID
		End Get
		Set
			If (Me._OLEDBFUNCTIONSYSCOLUMNCOLUMNID.Equals(value) = false) Then
				Me._OLEDBFUNCTIONSYSCOLUMNCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBFUNCTION SYSCOLUMN FUNCTIONID", Storage:="_OLEDBFUNCTIONSYSCOLUMNFUNCTIONID", DbType:="Int")>  _
	Public Property OLEDBFUNCTIONSYSCOLUMNFUNCTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._OLEDBFUNCTIONSYSCOLUMNFUNCTIONID
		End Get
		Set
			If (Me._OLEDBFUNCTIONSYSCOLUMNFUNCTIONID.Equals(value) = false) Then
				Me._OLEDBFUNCTIONSYSCOLUMNFUNCTIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEWResult
	
	Private _OLEDBVIEWVIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW VIEWNAME", Storage:="_OLEDBVIEWVIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWVIEWNAME() As String
		Get
			Return Me._OLEDBVIEWVIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWVIEWNAME, value) = false) Then
				Me._OLEDBVIEWVIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEW_DERIVEDCOLUMNResult
	
	Private _OLEDBVIEWDERIVEDCOLUMNCOLUMNNAME As String
	
	Private _OLEDBVIEWDERIVEDCOLUMNVIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW DERIVEDCOLUMN COLUMNNAME", Storage:="_OLEDBVIEWDERIVEDCOLUMNCOLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWDERIVEDCOLUMNCOLUMNNAME() As String
		Get
			Return Me._OLEDBVIEWDERIVEDCOLUMNCOLUMNNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWDERIVEDCOLUMNCOLUMNNAME, value) = false) Then
				Me._OLEDBVIEWDERIVEDCOLUMNCOLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW DERIVEDCOLUMN VIEWNAME", Storage:="_OLEDBVIEWDERIVEDCOLUMNVIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWDERIVEDCOLUMNVIEWNAME() As String
		Get
			Return Me._OLEDBVIEWDERIVEDCOLUMNVIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWDERIVEDCOLUMNVIEWNAME, value) = false) Then
				Me._OLEDBVIEWDERIVEDCOLUMNVIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEW_JOINDATAResult
	
	Private _OLEDBVIEWJOINDATAPARENT_VIEWNAME As String
	
	Private _OLEDBVIEWJOINDATAVIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW JOINDATA PARENT_VIEWNAME", Storage:="_OLEDBVIEWJOINDATAPARENT_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWJOINDATAPARENT_VIEWNAME() As String
		Get
			Return Me._OLEDBVIEWJOINDATAPARENT_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWJOINDATAPARENT_VIEWNAME, value) = false) Then
				Me._OLEDBVIEWJOINDATAPARENT_VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW JOINDATA VIEWNAME", Storage:="_OLEDBVIEWJOINDATAVIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWJOINDATAVIEWNAME() As String
		Get
			Return Me._OLEDBVIEWJOINDATAVIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWJOINDATAVIEWNAME, value) = false) Then
				Me._OLEDBVIEWJOINDATAVIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEW_KEYINDEXResult
	
	Private _OLEDBVIEWKEYINDEXKEYINDEXID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW KEYINDEX KEYINDEXID", Storage:="_OLEDBVIEWKEYINDEXKEYINDEXID", DbType:="UniqueIdentifier")>  _
	Public Property OLEDBVIEWKEYINDEXKEYINDEXID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OLEDBVIEWKEYINDEXKEYINDEXID
		End Get
		Set
			If (Me._OLEDBVIEWKEYINDEXKEYINDEXID.Equals(value) = false) Then
				Me._OLEDBVIEWKEYINDEXKEYINDEXID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEW_KEYINDEX_SYSCOLUMNResult
	
	Private _OLEDBVIEWKEYINDEXSYSCOLUMNCOLUMNNAME As String
	
	Private _OLEDBVIEWKEYINDEXSYSCOLUMNKEYINDEXID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW KEYINDEX SYSCOLUMN COLUMNNAME", Storage:="_OLEDBVIEWKEYINDEXSYSCOLUMNCOLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWKEYINDEXSYSCOLUMNCOLUMNNAME() As String
		Get
			Return Me._OLEDBVIEWKEYINDEXSYSCOLUMNCOLUMNNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWKEYINDEXSYSCOLUMNCOLUMNNAME, value) = false) Then
				Me._OLEDBVIEWKEYINDEXSYSCOLUMNCOLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW KEYINDEX SYSCOLUMN KEYINDEXID", Storage:="_OLEDBVIEWKEYINDEXSYSCOLUMNKEYINDEXID", DbType:="UniqueIdentifier")>  _
	Public Property OLEDBVIEWKEYINDEXSYSCOLUMNKEYINDEXID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OLEDBVIEWKEYINDEXSYSCOLUMNKEYINDEXID
		End Get
		Set
			If (Me._OLEDBVIEWKEYINDEXSYSCOLUMNKEYINDEXID.Equals(value) = false) Then
				Me._OLEDBVIEWKEYINDEXSYSCOLUMNKEYINDEXID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEW_OLEDBFUNCTIONResult
	
	Private _OLEDBVIEWOLEDBFUNCTIONFUNCTIONID As System.Nullable(Of Integer)
	
	Private _OLEDBVIEWOLEDBFUNCTIONVIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW OLEDBFUNCTION FUNCTIONID", Storage:="_OLEDBVIEWOLEDBFUNCTIONFUNCTIONID", DbType:="Int")>  _
	Public Property OLEDBVIEWOLEDBFUNCTIONFUNCTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._OLEDBVIEWOLEDBFUNCTIONFUNCTIONID
		End Get
		Set
			If (Me._OLEDBVIEWOLEDBFUNCTIONFUNCTIONID.Equals(value) = false) Then
				Me._OLEDBVIEWOLEDBFUNCTIONFUNCTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW OLEDBFUNCTION VIEWNAME", Storage:="_OLEDBVIEWOLEDBFUNCTIONVIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWOLEDBFUNCTIONVIEWNAME() As String
		Get
			Return Me._OLEDBVIEWOLEDBFUNCTIONVIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWOLEDBFUNCTIONVIEWNAME, value) = false) Then
				Me._OLEDBVIEWOLEDBFUNCTIONVIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OLEDBVIEW_PROVIDERVIEWResult
	
	Private _OLEDBVIEWPROVIDERVIEWPROVIDER_VIEWNAME As String
	
	Private _OLEDBVIEWPROVIDERVIEWVIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW PROVIDERVIEW PROVIDER_VIEWNAME", Storage:="_OLEDBVIEWPROVIDERVIEWPROVIDER_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWPROVIDERVIEWPROVIDER_VIEWNAME() As String
		Get
			Return Me._OLEDBVIEWPROVIDERVIEWPROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWPROVIDERVIEWPROVIDER_VIEWNAME, value) = false) Then
				Me._OLEDBVIEWPROVIDERVIEWPROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OLEDBVIEW PROVIDERVIEW VIEWNAME", Storage:="_OLEDBVIEWPROVIDERVIEWVIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property OLEDBVIEWPROVIDERVIEWVIEWNAME() As String
		Get
			Return Me._OLEDBVIEWPROVIDERVIEWVIEWNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBVIEWPROVIDERVIEWVIEWNAME, value) = false) Then
				Me._OLEDBVIEWPROVIDERVIEWVIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITYResult
	
	Private _OPPORTUNITYActualCloseDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYBudget As String
	
	Private _OPPORTUNITYCompetitor As String
	
	Private _OPPORTUNITYCreateDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYCurrentlyUsing As String
	
	Private _OPPORTUNITYDaysOpen As System.Nullable(Of Integer)
	
	Private _OPPORTUNITYDecisionBasedOn As String
	
	Private _OPPORTUNITYEditDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYEstimatedCloseDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYGrossMargin As System.Nullable(Of Decimal)
	
	Private _OPPORTUNITYImportDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYLastEditedBy As String
	
	Private _OPPORTUNITYMajorObstacle As String
	
	Private _OPPORTUNITYOpenDate As System.Nullable(Of Date)
	
	Private _OPPORTUNITYOpportunityField1 As String
	
	Private _OPPORTUNITYOpportunityField2 As System.Nullable(Of Date)
	
	Private _OPPORTUNITYOpportunityField3 As String
	
	Private _OPPORTUNITYOpportunityField4 As String
	
	Private _OPPORTUNITYOpportunityField5 As String
	
	Private _OPPORTUNITYOpportunityField6 As String
	
	Private _OPPORTUNITYOpportunityField7 As String
	
	Private _OPPORTUNITYOpportunityField8 As String
	
	Private _OPPORTUNITYOpportunityName As String
	
	Private _OPPORTUNITYOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYPrivateOpportunity As System.Nullable(Of Boolean)
	
	Private _OPPORTUNITYProbabilityOfClose As System.Nullable(Of Byte)
	
	Private _OPPORTUNITYReason As String
	
	Private _OPPORTUNITYRecordCreator As String
	
	Private _OPPORTUNITYRecordManager As String
	
	Private _OPPORTUNITYReferredBy As String
	
	Private _OPPORTUNITYSTAGEID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYStatus As System.Nullable(Of Byte)
	
	Private _OPPORTUNITYProductSubtotal As System.Nullable(Of Decimal)
	
	Private _OPPORTUNITYWeightedTotal As System.Nullable(Of Decimal)
	
	Private _OPPORTUNITYWhatIsTheirPain As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Actual Close Date", Storage:="_OPPORTUNITYActualCloseDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYActualCloseDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYActualCloseDate
		End Get
		Set
			If (Me._OPPORTUNITYActualCloseDate.Equals(value) = false) Then
				Me._OPPORTUNITYActualCloseDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Budget", Storage:="_OPPORTUNITYBudget", DbType:="NVarChar(50)")>  _
	Public Property OPPORTUNITYBudget() As String
		Get
			Return Me._OPPORTUNITYBudget
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYBudget, value) = false) Then
				Me._OPPORTUNITYBudget = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Competitor", Storage:="_OPPORTUNITYCompetitor", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYCompetitor() As String
		Get
			Return Me._OPPORTUNITYCompetitor
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYCompetitor, value) = false) Then
				Me._OPPORTUNITYCompetitor = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Create Date", Storage:="_OPPORTUNITYCreateDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYCreateDate
		End Get
		Set
			If (Me._OPPORTUNITYCreateDate.Equals(value) = false) Then
				Me._OPPORTUNITYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Currently Using", Storage:="_OPPORTUNITYCurrentlyUsing", DbType:="NVarChar(50)")>  _
	Public Property OPPORTUNITYCurrentlyUsing() As String
		Get
			Return Me._OPPORTUNITYCurrentlyUsing
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYCurrentlyUsing, value) = false) Then
				Me._OPPORTUNITYCurrentlyUsing = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Days Open", Storage:="_OPPORTUNITYDaysOpen", DbType:="Int")>  _
	Public Property OPPORTUNITYDaysOpen() As System.Nullable(Of Integer)
		Get
			Return Me._OPPORTUNITYDaysOpen
		End Get
		Set
			If (Me._OPPORTUNITYDaysOpen.Equals(value) = false) Then
				Me._OPPORTUNITYDaysOpen = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Decision Based on", Storage:="_OPPORTUNITYDecisionBasedOn", DbType:="NVarChar(70)")>  _
	Public Property OPPORTUNITYDecisionBasedOn() As String
		Get
			Return Me._OPPORTUNITYDecisionBasedOn
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYDecisionBasedOn, value) = false) Then
				Me._OPPORTUNITYDecisionBasedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Edit Date", Storage:="_OPPORTUNITYEditDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYEditDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYEditDate
		End Get
		Set
			If (Me._OPPORTUNITYEditDate.Equals(value) = false) Then
				Me._OPPORTUNITYEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Estimated Close Date", Storage:="_OPPORTUNITYEstimatedCloseDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYEstimatedCloseDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYEstimatedCloseDate
		End Get
		Set
			If (Me._OPPORTUNITYEstimatedCloseDate.Equals(value) = false) Then
				Me._OPPORTUNITYEstimatedCloseDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Gross Margin", Storage:="_OPPORTUNITYGrossMargin", DbType:="Decimal(17,2)")>  _
	Public Property OPPORTUNITYGrossMargin() As System.Nullable(Of Decimal)
		Get
			Return Me._OPPORTUNITYGrossMargin
		End Get
		Set
			If (Me._OPPORTUNITYGrossMargin.Equals(value) = false) Then
				Me._OPPORTUNITYGrossMargin = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Import Date", Storage:="_OPPORTUNITYImportDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYImportDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYImportDate
		End Get
		Set
			If (Me._OPPORTUNITYImportDate.Equals(value) = false) Then
				Me._OPPORTUNITYImportDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Last Edited By", Storage:="_OPPORTUNITYLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYLastEditedBy() As String
		Get
			Return Me._OPPORTUNITYLastEditedBy
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYLastEditedBy, value) = false) Then
				Me._OPPORTUNITYLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Major Obstacle", Storage:="_OPPORTUNITYMajorObstacle", DbType:="NVarChar(MAX)")>  _
	Public Property OPPORTUNITYMajorObstacle() As String
		Get
			Return Me._OPPORTUNITYMajorObstacle
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYMajorObstacle, value) = false) Then
				Me._OPPORTUNITYMajorObstacle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Open Date", Storage:="_OPPORTUNITYOpenDate", DbType:="DateTime")>  _
	Public Property OPPORTUNITYOpenDate() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYOpenDate
		End Get
		Set
			If (Me._OPPORTUNITYOpenDate.Equals(value) = false) Then
				Me._OPPORTUNITYOpenDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 1", Storage:="_OPPORTUNITYOpportunityField1", DbType:="NVarChar(10)")>  _
	Public Property OPPORTUNITYOpportunityField1() As String
		Get
			Return Me._OPPORTUNITYOpportunityField1
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField1, value) = false) Then
				Me._OPPORTUNITYOpportunityField1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 2", Storage:="_OPPORTUNITYOpportunityField2", DbType:="DateTime")>  _
	Public Property OPPORTUNITYOpportunityField2() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYOpportunityField2
		End Get
		Set
			If (Me._OPPORTUNITYOpportunityField2.Equals(value) = false) Then
				Me._OPPORTUNITYOpportunityField2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 3", Storage:="_OPPORTUNITYOpportunityField3", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField3() As String
		Get
			Return Me._OPPORTUNITYOpportunityField3
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField3, value) = false) Then
				Me._OPPORTUNITYOpportunityField3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 4", Storage:="_OPPORTUNITYOpportunityField4", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField4() As String
		Get
			Return Me._OPPORTUNITYOpportunityField4
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField4, value) = false) Then
				Me._OPPORTUNITYOpportunityField4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 5", Storage:="_OPPORTUNITYOpportunityField5", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField5() As String
		Get
			Return Me._OPPORTUNITYOpportunityField5
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField5, value) = false) Then
				Me._OPPORTUNITYOpportunityField5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 6", Storage:="_OPPORTUNITYOpportunityField6", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField6() As String
		Get
			Return Me._OPPORTUNITYOpportunityField6
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField6, value) = false) Then
				Me._OPPORTUNITYOpportunityField6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 7", Storage:="_OPPORTUNITYOpportunityField7", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField7() As String
		Get
			Return Me._OPPORTUNITYOpportunityField7
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField7, value) = false) Then
				Me._OPPORTUNITYOpportunityField7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Field 8", Storage:="_OPPORTUNITYOpportunityField8", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityField8() As String
		Get
			Return Me._OPPORTUNITYOpportunityField8
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityField8, value) = false) Then
				Me._OPPORTUNITYOpportunityField8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Opportunity Name", Storage:="_OPPORTUNITYOpportunityName", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYOpportunityName() As String
		Get
			Return Me._OPPORTUNITYOpportunityName
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYOpportunityName, value) = false) Then
				Me._OPPORTUNITYOpportunityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY OPPORTUNITYID", Storage:="_OPPORTUNITYOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYOPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYOPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Private Opportunity", Storage:="_OPPORTUNITYPrivateOpportunity", DbType:="Bit")>  _
	Public Property OPPORTUNITYPrivateOpportunity() As System.Nullable(Of Boolean)
		Get
			Return Me._OPPORTUNITYPrivateOpportunity
		End Get
		Set
			If (Me._OPPORTUNITYPrivateOpportunity.Equals(value) = false) Then
				Me._OPPORTUNITYPrivateOpportunity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Probability of Close", Storage:="_OPPORTUNITYProbabilityOfClose", DbType:="TinyInt")>  _
	Public Property OPPORTUNITYProbabilityOfClose() As System.Nullable(Of Byte)
		Get
			Return Me._OPPORTUNITYProbabilityOfClose
		End Get
		Set
			If (Me._OPPORTUNITYProbabilityOfClose.Equals(value) = false) Then
				Me._OPPORTUNITYProbabilityOfClose = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Reason", Storage:="_OPPORTUNITYReason", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYReason() As String
		Get
			Return Me._OPPORTUNITYReason
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYReason, value) = false) Then
				Me._OPPORTUNITYReason = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Record Creator", Storage:="_OPPORTUNITYRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYRecordCreator() As String
		Get
			Return Me._OPPORTUNITYRecordCreator
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYRecordCreator, value) = false) Then
				Me._OPPORTUNITYRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Record Manager", Storage:="_OPPORTUNITYRecordManager", DbType:="NVarChar(128)")>  _
	Public Property OPPORTUNITYRecordManager() As String
		Get
			Return Me._OPPORTUNITYRecordManager
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYRecordManager, value) = false) Then
				Me._OPPORTUNITYRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Referred By", Storage:="_OPPORTUNITYReferredBy", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYReferredBy() As String
		Get
			Return Me._OPPORTUNITYReferredBy
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYReferredBy, value) = false) Then
				Me._OPPORTUNITYReferredBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGEID", Storage:="_OPPORTUNITYSTAGEID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYSTAGEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYSTAGEID
		End Get
		Set
			If (Me._OPPORTUNITYSTAGEID.Equals(value) = false) Then
				Me._OPPORTUNITYSTAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Status", Storage:="_OPPORTUNITYStatus", DbType:="TinyInt")>  _
	Public Property OPPORTUNITYStatus() As System.Nullable(Of Byte)
		Get
			Return Me._OPPORTUNITYStatus
		End Get
		Set
			If (Me._OPPORTUNITYStatus.Equals(value) = false) Then
				Me._OPPORTUNITYStatus = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Product Subtotal", Storage:="_OPPORTUNITYProductSubtotal", DbType:="Decimal(17,2)")>  _
	Public Property OPPORTUNITYProductSubtotal() As System.Nullable(Of Decimal)
		Get
			Return Me._OPPORTUNITYProductSubtotal
		End Get
		Set
			If (Me._OPPORTUNITYProductSubtotal.Equals(value) = false) Then
				Me._OPPORTUNITYProductSubtotal = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY Weighted Total", Storage:="_OPPORTUNITYWeightedTotal", DbType:="Decimal(17,2)")>  _
	Public Property OPPORTUNITYWeightedTotal() As System.Nullable(Of Decimal)
		Get
			Return Me._OPPORTUNITYWeightedTotal
		End Get
		Set
			If (Me._OPPORTUNITYWeightedTotal.Equals(value) = false) Then
				Me._OPPORTUNITYWeightedTotal = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY What is their pain", Storage:="_OPPORTUNITYWhatIsTheirPain", DbType:="NVarChar(MAX)")>  _
	Public Property OPPORTUNITYWhatIsTheirPain() As String
		Get
			Return Me._OPPORTUNITYWhatIsTheirPain
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYWhatIsTheirPain, value) = false) Then
				Me._OPPORTUNITYWhatIsTheirPain = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_ACCESSResult
	
	Private _OPPORTUNITYACCESSAccessLevel As String
	
	Private _OPPORTUNITYACCESSOpportunityid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ACCESS Access Level", Storage:="_OPPORTUNITYACCESSAccessLevel", DbType:="NVarChar(7)")>  _
	Public Property OPPORTUNITYACCESSAccessLevel() As String
		Get
			Return Me._OPPORTUNITYACCESSAccessLevel
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYACCESSAccessLevel, value) = false) Then
				Me._OPPORTUNITYACCESSAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ACCESS Opportunityid", Storage:="_OPPORTUNITYACCESSOpportunityid", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYACCESSOpportunityid() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYACCESSOpportunityid
		End Get
		Set
			If (Me._OPPORTUNITYACCESSOpportunityid.Equals(value) = false) Then
				Me._OPPORTUNITYACCESSOpportunityid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_ACLResult
	
	Private _OPPORTUNITYACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYACLOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ACL ACCESSORID", Storage:="_OPPORTUNITYACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYACLACCESSORID
		End Get
		Set
			If (Me._OPPORTUNITYACLACCESSORID.Equals(value) = false) Then
				Me._OPPORTUNITYACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ACL OPPORTUNITYID", Storage:="_OPPORTUNITYACLOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYACLOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYACLOPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYACLOPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYACLOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_ACTIVITYResult
	
	Private _OPPORTUNITYACTIVITYACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYACTIVITYOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ACTIVITY ACTIVITYID", Storage:="_OPPORTUNITYACTIVITYACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYACTIVITYACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYACTIVITYACTIVITYID
		End Get
		Set
			If (Me._OPPORTUNITYACTIVITYACTIVITYID.Equals(value) = false) Then
				Me._OPPORTUNITYACTIVITYACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ACTIVITY OPPORTUNITYID", Storage:="_OPPORTUNITYACTIVITYOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYACTIVITYOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYACTIVITYOPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYACTIVITYOPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYACTIVITYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_ASSOCIATED_DATAResult
	
	Private _OPPORTUNITYASSOCIATEDDATAAssociatedWith As String
	
	Private _OPPORTUNITYASSOCIATEDDATACompany As String
	
	Private _OPPORTUNITYASSOCIATEDDATAContact As String
	
	Private _OPPORTUNITYASSOCIATEDDATAContactid As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYASSOCIATEDDATAOpportunityid As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYASSOCIATEDDATAProduct As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ASSOCIATED DATA Associated With", Storage:="_OPPORTUNITYASSOCIATEDDATAAssociatedWith", DbType:="NVarChar(2000)")>  _
	Public Property OPPORTUNITYASSOCIATEDDATAAssociatedWith() As String
		Get
			Return Me._OPPORTUNITYASSOCIATEDDATAAssociatedWith
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYASSOCIATEDDATAAssociatedWith, value) = false) Then
				Me._OPPORTUNITYASSOCIATEDDATAAssociatedWith = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ASSOCIATED DATA Company", Storage:="_OPPORTUNITYASSOCIATEDDATACompany", DbType:="NVarChar(450)")>  _
	Public Property OPPORTUNITYASSOCIATEDDATACompany() As String
		Get
			Return Me._OPPORTUNITYASSOCIATEDDATACompany
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYASSOCIATEDDATACompany, value) = false) Then
				Me._OPPORTUNITYASSOCIATEDDATACompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ASSOCIATED DATA Contact", Storage:="_OPPORTUNITYASSOCIATEDDATAContact", DbType:="NVarChar(450)")>  _
	Public Property OPPORTUNITYASSOCIATEDDATAContact() As String
		Get
			Return Me._OPPORTUNITYASSOCIATEDDATAContact
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYASSOCIATEDDATAContact, value) = false) Then
				Me._OPPORTUNITYASSOCIATEDDATAContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ASSOCIATED DATA Contactid", Storage:="_OPPORTUNITYASSOCIATEDDATAContactid", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYASSOCIATEDDATAContactid() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYASSOCIATEDDATAContactid
		End Get
		Set
			If (Me._OPPORTUNITYASSOCIATEDDATAContactid.Equals(value) = false) Then
				Me._OPPORTUNITYASSOCIATEDDATAContactid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ASSOCIATED DATA Opportunityid", Storage:="_OPPORTUNITYASSOCIATEDDATAOpportunityid", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYASSOCIATEDDATAOpportunityid() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYASSOCIATEDDATAOpportunityid
		End Get
		Set
			If (Me._OPPORTUNITYASSOCIATEDDATAOpportunityid.Equals(value) = false) Then
				Me._OPPORTUNITYASSOCIATEDDATAOpportunityid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY ASSOCIATED DATA Product", Storage:="_OPPORTUNITYASSOCIATEDDATAProduct", DbType:="NVarChar(450)")>  _
	Public Property OPPORTUNITYASSOCIATEDDATAProduct() As String
		Get
			Return Me._OPPORTUNITYASSOCIATEDDATAProduct
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYASSOCIATEDDATAProduct, value) = false) Then
				Me._OPPORTUNITYASSOCIATEDDATAProduct = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_HISTORYResult
	
	Private _OPPORTUNITYHISTORYHISTORYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYHISTORYOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY HISTORY HISTORYID", Storage:="_OPPORTUNITYHISTORYHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYHISTORYHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYHISTORYHISTORYID
		End Get
		Set
			If (Me._OPPORTUNITYHISTORYHISTORYID.Equals(value) = false) Then
				Me._OPPORTUNITYHISTORYHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY HISTORY OPPORTUNITYID", Storage:="_OPPORTUNITYHISTORYOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYHISTORYOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYHISTORYOPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYHISTORYOPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYHISTORYOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_NOTEResult
	
	Private _OPPORTUNITYNOTENOTEID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYNOTEOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY NOTE NOTEID", Storage:="_OPPORTUNITYNOTENOTEID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYNOTENOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYNOTENOTEID
		End Get
		Set
			If (Me._OPPORTUNITYNOTENOTEID.Equals(value) = false) Then
				Me._OPPORTUNITYNOTENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY NOTE OPPORTUNITYID", Storage:="_OPPORTUNITYNOTEOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYNOTEOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYNOTEOPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYNOTEOPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYNOTEOPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_PRODUCTSERVICEResult
	
	Private _OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYPRODUCTSERVICEPRODUCTSERVICEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PRODUCTSERVICE OPPORTUNITYID", Storage:="_OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYPRODUCTSERVICEOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PRODUCTSERVICE PRODUCTSERVICEID", Storage:="_OPPORTUNITYPRODUCTSERVICEPRODUCTSERVICEID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYPRODUCTSERVICEPRODUCTSERVICEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYPRODUCTSERVICEPRODUCTSERVICEID
		End Get
		Set
			If (Me._OPPORTUNITYPRODUCTSERVICEPRODUCTSERVICEID.Equals(value) = false) Then
				Me._OPPORTUNITYPRODUCTSERVICEPRODUCTSERVICEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_OPPORTUNITY_STAGE_PROCESSResult
	
	Private _OPPORTUNITYSTAGEPROCESSOpportunityid As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYSTAGEPROCESSProcess As String
	
	Private _OPPORTUNITYSTAGEPROCESSStage As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE PROCESS Opportunityid", Storage:="_OPPORTUNITYSTAGEPROCESSOpportunityid", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYSTAGEPROCESSOpportunityid() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYSTAGEPROCESSOpportunityid
		End Get
		Set
			If (Me._OPPORTUNITYSTAGEPROCESSOpportunityid.Equals(value) = false) Then
				Me._OPPORTUNITYSTAGEPROCESSOpportunityid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE PROCESS Process", Storage:="_OPPORTUNITYSTAGEPROCESSProcess", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYSTAGEPROCESSProcess() As String
		Get
			Return Me._OPPORTUNITYSTAGEPROCESSProcess
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYSTAGEPROCESSProcess, value) = false) Then
				Me._OPPORTUNITYSTAGEPROCESSProcess = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE PROCESS Stage", Storage:="_OPPORTUNITYSTAGEPROCESSStage", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYSTAGEPROCESSStage() As String
		Get
			Return Me._OPPORTUNITYSTAGEPROCESSStage
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYSTAGEPROCESSStage, value) = false) Then
				Me._OPPORTUNITYSTAGEPROCESSStage = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PASSWORDHISTORYResult
	
	Private _PASSWORDHISTORYCreateDate As System.Nullable(Of Date)
	
	Private _PASSWORDHISTORYCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _PASSWORDHISTORYPASSWORDHISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PASSWORD HISTORY Create Date", Storage:="_PASSWORDHISTORYCreateDate", DbType:="DateTime")>  _
	Public Property PASSWORDHISTORYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._PASSWORDHISTORYCreateDate
		End Get
		Set
			If (Me._PASSWORDHISTORYCreateDate.Equals(value) = false) Then
				Me._PASSWORDHISTORYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PASSWORD HISTORY CREATEUSERID", Storage:="_PASSWORDHISTORYCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PASSWORDHISTORYCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PASSWORDHISTORYCREATEUSERID
		End Get
		Set
			If (Me._PASSWORDHISTORYCREATEUSERID.Equals(value) = false) Then
				Me._PASSWORDHISTORYCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PASSWORDHISTORY PASSWORDHISTORYID", Storage:="_PASSWORDHISTORYPASSWORDHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property PASSWORDHISTORYPASSWORDHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PASSWORDHISTORYPASSWORDHISTORYID
		End Get
		Set
			If (Me._PASSWORDHISTORYPASSWORDHISTORYID.Equals(value) = false) Then
				Me._PASSWORDHISTORYPASSWORDHISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PERMISSIONResult
	
	Private _PERMISSIONCreateDate As System.Nullable(Of Date)
	
	Private _PERMISSIONCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _PERMISSIONEditDate As System.Nullable(Of Date)
	
	Private _PERMISSIONEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PERMISSIONPERMISSIONID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION Create Date", Storage:="_PERMISSIONCreateDate", DbType:="DateTime")>  _
	Public Property PERMISSIONCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._PERMISSIONCreateDate
		End Get
		Set
			If (Me._PERMISSIONCreateDate.Equals(value) = false) Then
				Me._PERMISSIONCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION CREATEUSERID", Storage:="_PERMISSIONCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONCREATEUSERID
		End Get
		Set
			If (Me._PERMISSIONCREATEUSERID.Equals(value) = false) Then
				Me._PERMISSIONCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION Edit Date", Storage:="_PERMISSIONEditDate", DbType:="DateTime")>  _
	Public Property PERMISSIONEditDate() As System.Nullable(Of Date)
		Get
			Return Me._PERMISSIONEditDate
		End Get
		Set
			If (Me._PERMISSIONEditDate.Equals(value) = false) Then
				Me._PERMISSIONEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION EDITUSERID", Storage:="_PERMISSIONEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONEDITUSERID
		End Get
		Set
			If (Me._PERMISSIONEDITUSERID.Equals(value) = false) Then
				Me._PERMISSIONEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION PERMISSIONID", Storage:="_PERMISSIONPERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONPERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONPERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONPERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONPERMISSIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PERMISSION_DEPENDResult
	
	Private _PERMISSIONDEPENDDEPENDID As System.Nullable(Of System.Guid)
	
	Private _PERMISSIONDEPENDPERMISSIONID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION DEPEND DEPENDID", Storage:="_PERMISSIONDEPENDDEPENDID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONDEPENDDEPENDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONDEPENDDEPENDID
		End Get
		Set
			If (Me._PERMISSIONDEPENDDEPENDID.Equals(value) = false) Then
				Me._PERMISSIONDEPENDDEPENDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERMISSION DEPEND PERMISSIONID", Storage:="_PERMISSIONDEPENDPERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONDEPENDPERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONDEPENDPERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONDEPENDPERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONDEPENDPERMISSIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PHONEResult
	
	Private _PHONEPHONEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PHONE PHONEID", Storage:="_PHONEPHONEID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEPHONEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEPHONEID
		End Get
		Set
			If (Me._PHONEPHONEID.Equals(value) = false) Then
				Me._PHONEPHONEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PHONEMASKResult
	
	Private _PHONEMASKCreateDate As System.Nullable(Of Date)
	
	Private _PHONEMASKCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _PHONEMASKEditDate As System.Nullable(Of Date)
	
	Private _PHONEMASKEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PHONEMASKPHONEMASKID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PHONEMASK Create Date", Storage:="_PHONEMASKCreateDate", DbType:="DateTime")>  _
	Public Property PHONEMASKCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._PHONEMASKCreateDate
		End Get
		Set
			If (Me._PHONEMASKCreateDate.Equals(value) = false) Then
				Me._PHONEMASKCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PHONEMASK CREATEUSERID", Storage:="_PHONEMASKCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEMASKCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEMASKCREATEUSERID
		End Get
		Set
			If (Me._PHONEMASKCREATEUSERID.Equals(value) = false) Then
				Me._PHONEMASKCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PHONEMASK Edit Date", Storage:="_PHONEMASKEditDate", DbType:="DateTime")>  _
	Public Property PHONEMASKEditDate() As System.Nullable(Of Date)
		Get
			Return Me._PHONEMASKEditDate
		End Get
		Set
			If (Me._PHONEMASKEditDate.Equals(value) = false) Then
				Me._PHONEMASKEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PHONEMASK EDITUSERID", Storage:="_PHONEMASKEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEMASKEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEMASKEDITUSERID
		End Get
		Set
			If (Me._PHONEMASKEDITUSERID.Equals(value) = false) Then
				Me._PHONEMASKEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PHONEMASK PHONEMASKID", Storage:="_PHONEMASKPHONEMASKID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEMASKPHONEMASKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEMASKPHONEMASKID
		End Get
		Set
			If (Me._PHONEMASKPHONEMASKID.Equals(value) = false) Then
				Me._PHONEMASKPHONEMASKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PICKLISTResult
	
	Private _PICKLISTCREATEDATE As System.Nullable(Of Date)
	
	Private _PICKLISTCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTDATATYPEID As System.Nullable(Of Byte)
	
	Private _PICKLISTDESCRIPTION As String
	
	Private _PICKLISTEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTISADDTOLIST As System.Nullable(Of Boolean)
	
	Private _PICKLISTISAUTOINSERT As System.Nullable(Of Boolean)
	
	Private _PICKLISTISUSERCREATED As System.Nullable(Of Boolean)
	
	Private _PICKLISTMODIFYDATE As System.Nullable(Of Date)
	
	Private _PICKLISTNAME As String
	
	Private _PICKLISTPICKLISTID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTTYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST CREATEDATE", Storage:="_PICKLISTCREATEDATE", DbType:="DateTime")>  _
	Public Property PICKLISTCREATEDATE() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTCREATEDATE
		End Get
		Set
			If (Me._PICKLISTCREATEDATE.Equals(value) = false) Then
				Me._PICKLISTCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST CREATEUSERID", Storage:="_PICKLISTCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTCREATEUSERID
		End Get
		Set
			If (Me._PICKLISTCREATEUSERID.Equals(value) = false) Then
				Me._PICKLISTCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST DATATYPEID", Storage:="_PICKLISTDATATYPEID", DbType:="TinyInt")>  _
	Public Property PICKLISTDATATYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._PICKLISTDATATYPEID
		End Get
		Set
			If (Me._PICKLISTDATATYPEID.Equals(value) = false) Then
				Me._PICKLISTDATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST DESCRIPTION", Storage:="_PICKLISTDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property PICKLISTDESCRIPTION() As String
		Get
			Return Me._PICKLISTDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._PICKLISTDESCRIPTION, value) = false) Then
				Me._PICKLISTDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST EDITUSERID", Storage:="_PICKLISTEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTEDITUSERID
		End Get
		Set
			If (Me._PICKLISTEDITUSERID.Equals(value) = false) Then
				Me._PICKLISTEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ISADDTOLIST", Storage:="_PICKLISTISADDTOLIST", DbType:="Bit")>  _
	Public Property PICKLISTISADDTOLIST() As System.Nullable(Of Boolean)
		Get
			Return Me._PICKLISTISADDTOLIST
		End Get
		Set
			If (Me._PICKLISTISADDTOLIST.Equals(value) = false) Then
				Me._PICKLISTISADDTOLIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ISAUTOINSERT", Storage:="_PICKLISTISAUTOINSERT", DbType:="Bit")>  _
	Public Property PICKLISTISAUTOINSERT() As System.Nullable(Of Boolean)
		Get
			Return Me._PICKLISTISAUTOINSERT
		End Get
		Set
			If (Me._PICKLISTISAUTOINSERT.Equals(value) = false) Then
				Me._PICKLISTISAUTOINSERT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ISUSERCREATED", Storage:="_PICKLISTISUSERCREATED", DbType:="Bit")>  _
	Public Property PICKLISTISUSERCREATED() As System.Nullable(Of Boolean)
		Get
			Return Me._PICKLISTISUSERCREATED
		End Get
		Set
			If (Me._PICKLISTISUSERCREATED.Equals(value) = false) Then
				Me._PICKLISTISUSERCREATED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST MODIFYDATE", Storage:="_PICKLISTMODIFYDATE", DbType:="DateTime")>  _
	Public Property PICKLISTMODIFYDATE() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTMODIFYDATE
		End Get
		Set
			If (Me._PICKLISTMODIFYDATE.Equals(value) = false) Then
				Me._PICKLISTMODIFYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST NAME", Storage:="_PICKLISTNAME", DbType:="NVarChar(64)")>  _
	Public Property PICKLISTNAME() As String
		Get
			Return Me._PICKLISTNAME
		End Get
		Set
			If (String.Equals(Me._PICKLISTNAME, value) = false) Then
				Me._PICKLISTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST PICKLISTID", Storage:="_PICKLISTPICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTPICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTPICKLISTID
		End Get
		Set
			If (Me._PICKLISTPICKLISTID.Equals(value) = false) Then
				Me._PICKLISTPICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST TYPENUM", Storage:="_PICKLISTTYPENUM", DbType:="TinyInt")>  _
	Public Property PICKLISTTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._PICKLISTTYPENUM
		End Get
		Set
			If (Me._PICKLISTTYPENUM.Equals(value) = false) Then
				Me._PICKLISTTYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PICKLIST_SYSCOLUMNResult
	
	Private _PICKLISTSYSCOLUMNCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTSYSTABLECOLUMNCreateDate As System.Nullable(Of Date)
	
	Private _PICKLISTSYSTABLECOLUMNCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTSYSTABLECOLUMNEditDate As System.Nullable(Of Date)
	
	Private _PICKLISTSYSTABLECOLUMNEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTSYSCOLUMNPICKLISTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST SYSCOLUMN COLUMNID", Storage:="_PICKLISTSYSCOLUMNCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTSYSCOLUMNCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTSYSCOLUMNCOLUMNID
		End Get
		Set
			If (Me._PICKLISTSYSCOLUMNCOLUMNID.Equals(value) = false) Then
				Me._PICKLISTSYSCOLUMNCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST SYSTABLECOLUMN Create Date", Storage:="_PICKLISTSYSTABLECOLUMNCreateDate", DbType:="DateTime")>  _
	Public Property PICKLISTSYSTABLECOLUMNCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTSYSTABLECOLUMNCreateDate
		End Get
		Set
			If (Me._PICKLISTSYSTABLECOLUMNCreateDate.Equals(value) = false) Then
				Me._PICKLISTSYSTABLECOLUMNCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST SYSTABLECOLUMN CREATEUSERID", Storage:="_PICKLISTSYSTABLECOLUMNCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTSYSTABLECOLUMNCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTSYSTABLECOLUMNCREATEUSERID
		End Get
		Set
			If (Me._PICKLISTSYSTABLECOLUMNCREATEUSERID.Equals(value) = false) Then
				Me._PICKLISTSYSTABLECOLUMNCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST SYSTABLECOLUMN Edit Date", Storage:="_PICKLISTSYSTABLECOLUMNEditDate", DbType:="DateTime")>  _
	Public Property PICKLISTSYSTABLECOLUMNEditDate() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTSYSTABLECOLUMNEditDate
		End Get
		Set
			If (Me._PICKLISTSYSTABLECOLUMNEditDate.Equals(value) = false) Then
				Me._PICKLISTSYSTABLECOLUMNEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST SYSTABLECOLUMN EDITUSERID", Storage:="_PICKLISTSYSTABLECOLUMNEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTSYSTABLECOLUMNEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTSYSTABLECOLUMNEDITUSERID
		End Get
		Set
			If (Me._PICKLISTSYSTABLECOLUMNEDITUSERID.Equals(value) = false) Then
				Me._PICKLISTSYSTABLECOLUMNEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST SYSCOLUMN PICKLISTID", Storage:="_PICKLISTSYSCOLUMNPICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTSYSCOLUMNPICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTSYSCOLUMNPICKLISTID
		End Get
		Set
			If (Me._PICKLISTSYSCOLUMNPICKLISTID.Equals(value) = false) Then
				Me._PICKLISTSYSCOLUMNPICKLISTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PICKLISTITEMResult
	
	Private _PICKLISTITEMSCREATEDATE As System.Nullable(Of Date)
	
	Private _PICKLISTITEMSCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTITEMSDESCRIPTION As String
	
	Private _PICKLISTITEMSEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTITEMSIsCustom As System.Nullable(Of Boolean)
	
	Private _PICKLISTITEMPICKLISTITEMID As System.Nullable(Of System.Guid)
	
	Private _PICKLISTITEMSMODIFYDATE As System.Nullable(Of Date)
	
	Private _PICKLISTITEMSNAME As String
	
	Private _PICKLISTITEMPICKLISTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS CREATEDATE", Storage:="_PICKLISTITEMSCREATEDATE", DbType:="DateTime")>  _
	Public Property PICKLISTITEMSCREATEDATE() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTITEMSCREATEDATE
		End Get
		Set
			If (Me._PICKLISTITEMSCREATEDATE.Equals(value) = false) Then
				Me._PICKLISTITEMSCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS CREATEUSERID", Storage:="_PICKLISTITEMSCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMSCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMSCREATEUSERID
		End Get
		Set
			If (Me._PICKLISTITEMSCREATEUSERID.Equals(value) = false) Then
				Me._PICKLISTITEMSCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS DESCRIPTION", Storage:="_PICKLISTITEMSDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property PICKLISTITEMSDESCRIPTION() As String
		Get
			Return Me._PICKLISTITEMSDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._PICKLISTITEMSDESCRIPTION, value) = false) Then
				Me._PICKLISTITEMSDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS EDITUSERID", Storage:="_PICKLISTITEMSEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMSEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMSEDITUSERID
		End Get
		Set
			If (Me._PICKLISTITEMSEDITUSERID.Equals(value) = false) Then
				Me._PICKLISTITEMSEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS Is Custom", Storage:="_PICKLISTITEMSIsCustom", DbType:="Bit")>  _
	Public Property PICKLISTITEMSIsCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._PICKLISTITEMSIsCustom
		End Get
		Set
			If (Me._PICKLISTITEMSIsCustom.Equals(value) = false) Then
				Me._PICKLISTITEMSIsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLISTITEM PICKLISTITEMID", Storage:="_PICKLISTITEMPICKLISTITEMID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMPICKLISTITEMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMPICKLISTITEMID
		End Get
		Set
			If (Me._PICKLISTITEMPICKLISTITEMID.Equals(value) = false) Then
				Me._PICKLISTITEMPICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS MODIFYDATE", Storage:="_PICKLISTITEMSMODIFYDATE", DbType:="DateTime")>  _
	Public Property PICKLISTITEMSMODIFYDATE() As System.Nullable(Of Date)
		Get
			Return Me._PICKLISTITEMSMODIFYDATE
		End Get
		Set
			If (Me._PICKLISTITEMSMODIFYDATE.Equals(value) = false) Then
				Me._PICKLISTITEMSMODIFYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLIST ITEMS NAME", Storage:="_PICKLISTITEMSNAME", DbType:="NVarChar(442)")>  _
	Public Property PICKLISTITEMSNAME() As String
		Get
			Return Me._PICKLISTITEMSNAME
		End Get
		Set
			If (String.Equals(Me._PICKLISTITEMSNAME, value) = false) Then
				Me._PICKLISTITEMSNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PICKLISTITEM PICKLISTID", Storage:="_PICKLISTITEMPICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMPICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMPICKLISTID
		End Get
		Set
			If (Me._PICKLISTITEMPICKLISTID.Equals(value) = false) Then
				Me._PICKLISTITEMPICKLISTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PREFERENCEResult
	
	Private _PREFERENCEPREFERENCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PREFERENCE PREFERENCEID", Storage:="_PREFERENCEPREFERENCEID", DbType:="UniqueIdentifier")>  _
	Public Property PREFERENCEPREFERENCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PREFERENCEPREFERENCEID
		End Get
		Set
			If (Me._PREFERENCEPREFERENCEID.Equals(value) = false) Then
				Me._PREFERENCEPREFERENCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PROCESSResult
	
	Private _OPPORTUNITYPROCESSActiveProcess As System.Nullable(Of Boolean)
	
	Private _OPPORTUNITYPROCESSCreatedOn As System.Nullable(Of Date)
	
	Private _OPPORTUNITYPROCESSEditedOn As System.Nullable(Of Date)
	
	Private _PROCESSPROCESSID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYPROCESSProcess As String
	
	Private _OPPORTUNITYPROCESSProcessDescription As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PROCESS Active Process", Storage:="_OPPORTUNITYPROCESSActiveProcess", DbType:="Bit")>  _
	Public Property OPPORTUNITYPROCESSActiveProcess() As System.Nullable(Of Boolean)
		Get
			Return Me._OPPORTUNITYPROCESSActiveProcess
		End Get
		Set
			If (Me._OPPORTUNITYPROCESSActiveProcess.Equals(value) = false) Then
				Me._OPPORTUNITYPROCESSActiveProcess = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PROCESS Created On", Storage:="_OPPORTUNITYPROCESSCreatedOn", DbType:="DateTime")>  _
	Public Property OPPORTUNITYPROCESSCreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYPROCESSCreatedOn
		End Get
		Set
			If (Me._OPPORTUNITYPROCESSCreatedOn.Equals(value) = false) Then
				Me._OPPORTUNITYPROCESSCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PROCESS Edited On", Storage:="_OPPORTUNITYPROCESSEditedOn", DbType:="DateTime")>  _
	Public Property OPPORTUNITYPROCESSEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYPROCESSEditedOn
		End Get
		Set
			If (Me._OPPORTUNITYPROCESSEditedOn.Equals(value) = false) Then
				Me._OPPORTUNITYPROCESSEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PROCESS PROCESSID", Storage:="_PROCESSPROCESSID", DbType:="UniqueIdentifier")>  _
	Public Property PROCESSPROCESSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PROCESSPROCESSID
		End Get
		Set
			If (Me._PROCESSPROCESSID.Equals(value) = false) Then
				Me._PROCESSPROCESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PROCESS Process", Storage:="_OPPORTUNITYPROCESSProcess", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYPROCESSProcess() As String
		Get
			Return Me._OPPORTUNITYPROCESSProcess
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYPROCESSProcess, value) = false) Then
				Me._OPPORTUNITYPROCESSProcess = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY PROCESS Process Description", Storage:="_OPPORTUNITYPROCESSProcessDescription", DbType:="NVarChar(256)")>  _
	Public Property OPPORTUNITYPROCESSProcessDescription() As String
		Get
			Return Me._OPPORTUNITYPROCESSProcessDescription
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYPROCESSProcessDescription, value) = false) Then
				Me._OPPORTUNITYPROCESSProcessDescription = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PRODUCTResult
	
	Private _PRODUCTCreatedOn As System.Nullable(Of Date)
	
	Private _PRODUCTEditedOn As System.Nullable(Of Date)
	
	Private _PRODUCTProduct As String
	
	Private _PRODUCTProductCode As String
	
	Private _PRODUCTProductCost As System.Nullable(Of Decimal)
	
	Private _PRODUCTProductDescription As String
	
	Private _PRODUCTProductPrice As System.Nullable(Of Decimal)
	
	Private _PRODUCTProductType As String
	
	Private _PRODUCTPRODUCTID As System.Nullable(Of System.Guid)
	
	Private _PRODUCTUnitOfIssue As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Created On", Storage:="_PRODUCTCreatedOn", DbType:="DateTime")>  _
	Public Property PRODUCTCreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._PRODUCTCreatedOn
		End Get
		Set
			If (Me._PRODUCTCreatedOn.Equals(value) = false) Then
				Me._PRODUCTCreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Edited On", Storage:="_PRODUCTEditedOn", DbType:="DateTime")>  _
	Public Property PRODUCTEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._PRODUCTEditedOn
		End Get
		Set
			If (Me._PRODUCTEditedOn.Equals(value) = false) Then
				Me._PRODUCTEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product", Storage:="_PRODUCTProduct", DbType:="NVarChar(256)")>  _
	Public Property PRODUCTProduct() As String
		Get
			Return Me._PRODUCTProduct
		End Get
		Set
			If (String.Equals(Me._PRODUCTProduct, value) = false) Then
				Me._PRODUCTProduct = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Code", Storage:="_PRODUCTProductCode", DbType:="NVarChar(64)")>  _
	Public Property PRODUCTProductCode() As String
		Get
			Return Me._PRODUCTProductCode
		End Get
		Set
			If (String.Equals(Me._PRODUCTProductCode, value) = false) Then
				Me._PRODUCTProductCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Cost", Storage:="_PRODUCTProductCost", DbType:="Decimal(19,4)")>  _
	Public Property PRODUCTProductCost() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTProductCost
		End Get
		Set
			If (Me._PRODUCTProductCost.Equals(value) = false) Then
				Me._PRODUCTProductCost = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Description", Storage:="_PRODUCTProductDescription", DbType:="NVarChar(256)")>  _
	Public Property PRODUCTProductDescription() As String
		Get
			Return Me._PRODUCTProductDescription
		End Get
		Set
			If (String.Equals(Me._PRODUCTProductDescription, value) = false) Then
				Me._PRODUCTProductDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Price", Storage:="_PRODUCTProductPrice", DbType:="Decimal(19,4)")>  _
	Public Property PRODUCTProductPrice() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTProductPrice
		End Get
		Set
			If (Me._PRODUCTProductPrice.Equals(value) = false) Then
				Me._PRODUCTProductPrice = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Product Type", Storage:="_PRODUCTProductType", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTProductType() As String
		Get
			Return Me._PRODUCTProductType
		End Get
		Set
			If (String.Equals(Me._PRODUCTProductType, value) = false) Then
				Me._PRODUCTProductType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT PRODUCTID", Storage:="_PRODUCTPRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTPRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTPRODUCTID
		End Get
		Set
			If (Me._PRODUCTPRODUCTID.Equals(value) = false) Then
				Me._PRODUCTPRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT Unit of Issue", Storage:="_PRODUCTUnitOfIssue", DbType:="NVarChar(32)")>  _
	Public Property PRODUCTUnitOfIssue() As String
		Get
			Return Me._PRODUCTUnitOfIssue
		End Get
		Set
			If (String.Equals(Me._PRODUCTUnitOfIssue, value) = false) Then
				Me._PRODUCTUnitOfIssue = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PRODUCTSERVICEResult
	
	Private _PRODUCTSERVICEAdjustedPrice As System.Nullable(Of Decimal)
	
	Private _PRODUCTSERVICECost As System.Nullable(Of Decimal)
	
	Private _PRODUCTSERVICECreateDate As System.Nullable(Of Date)
	
	Private _PRODUCTSERVICEDiscount As System.Nullable(Of Decimal)
	
	Private _PRODUCTSERVICEDiscountType As String
	
	Private _PRODUCTSERVICEEditDate As System.Nullable(Of Date)
	
	Private _PRODUCTSERVICEItem_ As String
	
	Private _PRODUCTSERVICELastEditedBy As String
	
	Private _PRODUCTSERVICEName As String
	
	Private _PRODUCTSERVICEPrice As System.Nullable(Of Decimal)
	
	Private _PRODUCTSERVICEPRODUCTID As System.Nullable(Of System.Guid)
	
	Private _PRODUCTSERVICEPRODUCTSERVICEID As System.Nullable(Of System.Guid)
	
	Private _PRODUCTSERVICEQuantity As System.Nullable(Of Decimal)
	
	Private _PRODUCTSERVICERecordCreator As String
	
	Private _PRODUCTSERVICESubtotal As System.Nullable(Of Decimal)
	
	Private _PRODUCTSERVICEType As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Adjusted Price", Storage:="_PRODUCTSERVICEAdjustedPrice", DbType:="Decimal(23,8)")>  _
	Public Property PRODUCTSERVICEAdjustedPrice() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTSERVICEAdjustedPrice
		End Get
		Set
			If (Me._PRODUCTSERVICEAdjustedPrice.Equals(value) = false) Then
				Me._PRODUCTSERVICEAdjustedPrice = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Cost", Storage:="_PRODUCTSERVICECost", DbType:="Decimal(23,8)")>  _
	Public Property PRODUCTSERVICECost() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTSERVICECost
		End Get
		Set
			If (Me._PRODUCTSERVICECost.Equals(value) = false) Then
				Me._PRODUCTSERVICECost = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Create Date", Storage:="_PRODUCTSERVICECreateDate", DbType:="DateTime")>  _
	Public Property PRODUCTSERVICECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._PRODUCTSERVICECreateDate
		End Get
		Set
			If (Me._PRODUCTSERVICECreateDate.Equals(value) = false) Then
				Me._PRODUCTSERVICECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Discount", Storage:="_PRODUCTSERVICEDiscount", DbType:="Decimal(19,10)")>  _
	Public Property PRODUCTSERVICEDiscount() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTSERVICEDiscount
		End Get
		Set
			If (Me._PRODUCTSERVICEDiscount.Equals(value) = false) Then
				Me._PRODUCTSERVICEDiscount = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Discount Type", Storage:="_PRODUCTSERVICEDiscountType", DbType:="NVarChar(10)")>  _
	Public Property PRODUCTSERVICEDiscountType() As String
		Get
			Return Me._PRODUCTSERVICEDiscountType
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEDiscountType, value) = false) Then
				Me._PRODUCTSERVICEDiscountType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Edit Date", Storage:="_PRODUCTSERVICEEditDate", DbType:="DateTime")>  _
	Public Property PRODUCTSERVICEEditDate() As System.Nullable(Of Date)
		Get
			Return Me._PRODUCTSERVICEEditDate
		End Get
		Set
			If (Me._PRODUCTSERVICEEditDate.Equals(value) = false) Then
				Me._PRODUCTSERVICEEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Item #", Storage:="_PRODUCTSERVICEItem_", DbType:="NVarChar(64)")>  _
	Public Property PRODUCTSERVICEItem_() As String
		Get
			Return Me._PRODUCTSERVICEItem_
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEItem_, value) = false) Then
				Me._PRODUCTSERVICEItem_ = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Last Edited By", Storage:="_PRODUCTSERVICELastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTSERVICELastEditedBy() As String
		Get
			Return Me._PRODUCTSERVICELastEditedBy
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICELastEditedBy, value) = false) Then
				Me._PRODUCTSERVICELastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Name", Storage:="_PRODUCTSERVICEName", DbType:="NVarChar(256)")>  _
	Public Property PRODUCTSERVICEName() As String
		Get
			Return Me._PRODUCTSERVICEName
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEName, value) = false) Then
				Me._PRODUCTSERVICEName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Price", Storage:="_PRODUCTSERVICEPrice", DbType:="Decimal(23,8)")>  _
	Public Property PRODUCTSERVICEPrice() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTSERVICEPrice
		End Get
		Set
			If (Me._PRODUCTSERVICEPrice.Equals(value) = false) Then
				Me._PRODUCTSERVICEPrice = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCTSERVICE PRODUCTID", Storage:="_PRODUCTSERVICEPRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTSERVICEPRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTSERVICEPRODUCTID
		End Get
		Set
			If (Me._PRODUCTSERVICEPRODUCTID.Equals(value) = false) Then
				Me._PRODUCTSERVICEPRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCTSERVICE PRODUCTSERVICEID", Storage:="_PRODUCTSERVICEPRODUCTSERVICEID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTSERVICEPRODUCTSERVICEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTSERVICEPRODUCTSERVICEID
		End Get
		Set
			If (Me._PRODUCTSERVICEPRODUCTSERVICEID.Equals(value) = false) Then
				Me._PRODUCTSERVICEPRODUCTSERVICEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Quantity", Storage:="_PRODUCTSERVICEQuantity", DbType:="Decimal(16,2)")>  _
	Public Property PRODUCTSERVICEQuantity() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTSERVICEQuantity
		End Get
		Set
			If (Me._PRODUCTSERVICEQuantity.Equals(value) = false) Then
				Me._PRODUCTSERVICEQuantity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Record Creator", Storage:="_PRODUCTSERVICERecordCreator", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTSERVICERecordCreator() As String
		Get
			Return Me._PRODUCTSERVICERecordCreator
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICERecordCreator, value) = false) Then
				Me._PRODUCTSERVICERecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Subtotal", Storage:="_PRODUCTSERVICESubtotal", DbType:="Decimal(23,8)")>  _
	Public Property PRODUCTSERVICESubtotal() As System.Nullable(Of Decimal)
		Get
			Return Me._PRODUCTSERVICESubtotal
		End Get
		Set
			If (Me._PRODUCTSERVICESubtotal.Equals(value) = false) Then
				Me._PRODUCTSERVICESubtotal = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PRODUCT SERVICE Type", Storage:="_PRODUCTSERVICEType", DbType:="NVarChar(128)")>  _
	Public Property PRODUCTSERVICEType() As String
		Get
			Return Me._PRODUCTSERVICEType
		End Get
		Set
			If (String.Equals(Me._PRODUCTSERVICEType, value) = false) Then
				Me._PRODUCTSERVICEType = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_PROVIDERVIEWResult
	
	Private _PROVIDERVIEWPROVIDER_VIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PROVIDERVIEW PROVIDER_VIEWNAME", Storage:="_PROVIDERVIEWPROVIDER_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property PROVIDERVIEWPROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDERVIEWPROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDERVIEWPROVIDER_VIEWNAME, value) = false) Then
				Me._PROVIDERVIEWPROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_RESOURCEResult
	
	Private _RESOURCEDescription As String
	
	Private _RESOURCERESOURCEID As System.Nullable(Of System.Guid)
	
	Private _RESOURCETypenum As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RESOURCE Description", Storage:="_RESOURCEDescription", DbType:="NVarChar(128)")>  _
	Public Property RESOURCEDescription() As String
		Get
			Return Me._RESOURCEDescription
		End Get
		Set
			If (String.Equals(Me._RESOURCEDescription, value) = false) Then
				Me._RESOURCEDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RESOURCE RESOURCEID", Storage:="_RESOURCERESOURCEID", DbType:="UniqueIdentifier")>  _
	Public Property RESOURCERESOURCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._RESOURCERESOURCEID
		End Get
		Set
			If (Me._RESOURCERESOURCEID.Equals(value) = false) Then
				Me._RESOURCERESOURCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RESOURCE Typenum", Storage:="_RESOURCETypenum", DbType:="TinyInt")>  _
	Public Property RESOURCETypenum() As System.Nullable(Of Byte)
		Get
			Return Me._RESOURCETypenum
		End Get
		Set
			If (Me._RESOURCETypenum.Equals(value) = false) Then
				Me._RESOURCETypenum = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ROLEResult
	
	Private _ROLECREATEDATE As System.Nullable(Of Date)
	
	Private _ROLECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _ROLEDESCRIPTION As String
	
	Private _ROLEDISPLAYNAME As String
	
	Private _ROLEEDITDATE As System.Nullable(Of Date)
	
	Private _ROLEEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ROLENAME As String
	
	Private _ROLEROLEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE CREATEDATE", Storage:="_ROLECREATEDATE", DbType:="DateTime")>  _
	Public Property ROLECREATEDATE() As System.Nullable(Of Date)
		Get
			Return Me._ROLECREATEDATE
		End Get
		Set
			If (Me._ROLECREATEDATE.Equals(value) = false) Then
				Me._ROLECREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE CREATEUSERID", Storage:="_ROLECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ROLECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLECREATEUSERID
		End Get
		Set
			If (Me._ROLECREATEUSERID.Equals(value) = false) Then
				Me._ROLECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE DESCRIPTION", Storage:="_ROLEDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property ROLEDESCRIPTION() As String
		Get
			Return Me._ROLEDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ROLEDESCRIPTION, value) = false) Then
				Me._ROLEDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE DISPLAYNAME", Storage:="_ROLEDISPLAYNAME", DbType:="NVarChar(96)")>  _
	Public Property ROLEDISPLAYNAME() As String
		Get
			Return Me._ROLEDISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._ROLEDISPLAYNAME, value) = false) Then
				Me._ROLEDISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE EDITDATE", Storage:="_ROLEEDITDATE", DbType:="DateTime")>  _
	Public Property ROLEEDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._ROLEEDITDATE
		End Get
		Set
			If (Me._ROLEEDITDATE.Equals(value) = false) Then
				Me._ROLEEDITDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE EDITUSERID", Storage:="_ROLEEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEEDITUSERID
		End Get
		Set
			If (Me._ROLEEDITUSERID.Equals(value) = false) Then
				Me._ROLEEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE NAME", Storage:="_ROLENAME", DbType:="NVarChar(64)")>  _
	Public Property ROLENAME() As String
		Get
			Return Me._ROLENAME
		End Get
		Set
			If (String.Equals(Me._ROLENAME, value) = false) Then
				Me._ROLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE ROLEID", Storage:="_ROLEROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEROLEID
		End Get
		Set
			If (Me._ROLEROLEID.Equals(value) = false) Then
				Me._ROLEROLEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_ROLE_PERMISSIONResult
	
	Private _ROLEPERMISSIONPERMISSIONID As System.Nullable(Of System.Guid)
	
	Private _ROLEPERMISSIONROLEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE PERMISSION PERMISSIONID", Storage:="_ROLEPERMISSIONPERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEPERMISSIONPERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEPERMISSIONPERMISSIONID
		End Get
		Set
			If (Me._ROLEPERMISSIONPERMISSIONID.Equals(value) = false) Then
				Me._ROLEPERMISSIONPERMISSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ROLE PERMISSION ROLEID", Storage:="_ROLEPERMISSIONROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEPERMISSIONROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEPERMISSIONROLEID
		End Get
		Set
			If (Me._ROLEPERMISSIONROLEID.Equals(value) = false) Then
				Me._ROLEPERMISSIONROLEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SECONDARYResult
	
	Private _SECONDARYCreateDate As System.Nullable(Of Date)
	
	Private _SECONDARYCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SECONDARYCONTACTID As System.Nullable(Of System.Guid)
	
	Private _SECONDARYSECONDARYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY Create Date", Storage:="_SECONDARYCreateDate", DbType:="DateTime")>  _
	Public Property SECONDARYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SECONDARYCreateDate
		End Get
		Set
			If (Me._SECONDARYCreateDate.Equals(value) = false) Then
				Me._SECONDARYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CREATEUSERID", Storage:="_SECONDARYCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYCREATEUSERID
		End Get
		Set
			If (Me._SECONDARYCREATEUSERID.Equals(value) = false) Then
				Me._SECONDARYCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACTID", Storage:="_SECONDARYCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYCONTACTID
		End Get
		Set
			If (Me._SECONDARYCONTACTID.Equals(value) = false) Then
				Me._SECONDARYCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY SECONDARYID", Storage:="_SECONDARYSECONDARYID", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYSECONDARYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYSECONDARYID
		End Get
		Set
			If (Me._SECONDARYSECONDARYID.Equals(value) = false) Then
				Me._SECONDARYSECONDARYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SECONDARY_CONTACTResult
	
	Private _SECONDARYCONTACTContactid As System.Nullable(Of System.Guid)
	
	Private _SECONDARYCONTACTSecondaryAccessLevel As System.Nullable(Of Boolean)
	
	Private _SECONDARYCONTACTSecondaryAddress1 As String
	
	Private _SECONDARYCONTACTSecondaryAddress2 As String
	
	Private _SECONDARYCONTACTSecondaryAddress3 As String
	
	Private _SECONDARYCONTACTSecondaryCity As String
	
	Private _SECONDARYCONTACTSecondaryCompany As String
	
	Private _SECONDARYCONTACTSecondaryContact As String
	
	Private _SECONDARYCONTACTSecondaryCountry As String
	
	Private _SECONDARYCONTACTSecondaryE_Mail As String
	
	Private _SECONDARYCONTACTSecondaryFaxPhone As String
	
	Private _SECONDARYCONTACTSecondaryFirstName As String
	
	Private _SECONDARYCONTACTSecondaryID_Status As String
	
	Private _SECONDARYCONTACTSecondaryLastName As String
	
	Private _SECONDARYCONTACTSecondaryManageuserid As System.Nullable(Of System.Guid)
	
	Private _SECONDARYCONTACTSecondaryMobilePhone As String
	
	Private _SECONDARYCONTACTSecondaryPhone As String
	
	Private _SECONDARYCONTACTSecondaryPhoneExtension As String
	
	Private _SECONDARYCONTACTSecondaryState As String
	
	Private _SECONDARYCONTACTSecondaryTitle As String
	
	Private _SECONDARYCONTACTSecondaryWebSite As String
	
	Private _SECONDARYCONTACTSecondaryZIPCode As String
	
	Private _SECONDARYCONTACTSecondaryid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Contactid", Storage:="_SECONDARYCONTACTContactid", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYCONTACTContactid() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYCONTACTContactid
		End Get
		Set
			If (Me._SECONDARYCONTACTContactid.Equals(value) = false) Then
				Me._SECONDARYCONTACTContactid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Access Level", Storage:="_SECONDARYCONTACTSecondaryAccessLevel", DbType:="Bit")>  _
	Public Property SECONDARYCONTACTSecondaryAccessLevel() As System.Nullable(Of Boolean)
		Get
			Return Me._SECONDARYCONTACTSecondaryAccessLevel
		End Get
		Set
			If (Me._SECONDARYCONTACTSecondaryAccessLevel.Equals(value) = false) Then
				Me._SECONDARYCONTACTSecondaryAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Address 1", Storage:="_SECONDARYCONTACTSecondaryAddress1", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryAddress1() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryAddress1
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryAddress1, value) = false) Then
				Me._SECONDARYCONTACTSecondaryAddress1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Address 2", Storage:="_SECONDARYCONTACTSecondaryAddress2", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryAddress2() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryAddress2
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryAddress2, value) = false) Then
				Me._SECONDARYCONTACTSecondaryAddress2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Address 3", Storage:="_SECONDARYCONTACTSecondaryAddress3", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryAddress3() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryAddress3
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryAddress3, value) = false) Then
				Me._SECONDARYCONTACTSecondaryAddress3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary City", Storage:="_SECONDARYCONTACTSecondaryCity", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryCity() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryCity
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryCity, value) = false) Then
				Me._SECONDARYCONTACTSecondaryCity = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Company", Storage:="_SECONDARYCONTACTSecondaryCompany", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryCompany() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryCompany
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryCompany, value) = false) Then
				Me._SECONDARYCONTACTSecondaryCompany = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Contact", Storage:="_SECONDARYCONTACTSecondaryContact", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryContact() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryContact
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryContact, value) = false) Then
				Me._SECONDARYCONTACTSecondaryContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Country", Storage:="_SECONDARYCONTACTSecondaryCountry", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryCountry() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryCountry
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryCountry, value) = false) Then
				Me._SECONDARYCONTACTSecondaryCountry = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary E-mail", Storage:="_SECONDARYCONTACTSecondaryE_Mail", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryE_Mail() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryE_Mail
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryE_Mail, value) = false) Then
				Me._SECONDARYCONTACTSecondaryE_Mail = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Fax Phone", Storage:="_SECONDARYCONTACTSecondaryFaxPhone", DbType:="NVarChar(32)")>  _
	Public Property SECONDARYCONTACTSecondaryFaxPhone() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryFaxPhone
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryFaxPhone, value) = false) Then
				Me._SECONDARYCONTACTSecondaryFaxPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary First Name", Storage:="_SECONDARYCONTACTSecondaryFirstName", DbType:="NVarChar(64)")>  _
	Public Property SECONDARYCONTACTSecondaryFirstName() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryFirstName
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryFirstName, value) = false) Then
				Me._SECONDARYCONTACTSecondaryFirstName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary ID/Status", Storage:="_SECONDARYCONTACTSecondaryID_Status", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryID_Status() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryID_Status
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryID_Status, value) = false) Then
				Me._SECONDARYCONTACTSecondaryID_Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Last Name", Storage:="_SECONDARYCONTACTSecondaryLastName", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryLastName() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryLastName
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryLastName, value) = false) Then
				Me._SECONDARYCONTACTSecondaryLastName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Manageuserid", Storage:="_SECONDARYCONTACTSecondaryManageuserid", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYCONTACTSecondaryManageuserid() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYCONTACTSecondaryManageuserid
		End Get
		Set
			If (Me._SECONDARYCONTACTSecondaryManageuserid.Equals(value) = false) Then
				Me._SECONDARYCONTACTSecondaryManageuserid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Mobile Phone", Storage:="_SECONDARYCONTACTSecondaryMobilePhone", DbType:="NVarChar(32)")>  _
	Public Property SECONDARYCONTACTSecondaryMobilePhone() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryMobilePhone
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryMobilePhone, value) = false) Then
				Me._SECONDARYCONTACTSecondaryMobilePhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Phone", Storage:="_SECONDARYCONTACTSecondaryPhone", DbType:="NVarChar(32)")>  _
	Public Property SECONDARYCONTACTSecondaryPhone() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryPhone
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryPhone, value) = false) Then
				Me._SECONDARYCONTACTSecondaryPhone = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Phone Extension", Storage:="_SECONDARYCONTACTSecondaryPhoneExtension", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryPhoneExtension() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryPhoneExtension
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryPhoneExtension, value) = false) Then
				Me._SECONDARYCONTACTSecondaryPhoneExtension = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary State", Storage:="_SECONDARYCONTACTSecondaryState", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryState() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryState
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryState, value) = false) Then
				Me._SECONDARYCONTACTSecondaryState = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Title", Storage:="_SECONDARYCONTACTSecondaryTitle", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryTitle() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryTitle
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryTitle, value) = false) Then
				Me._SECONDARYCONTACTSecondaryTitle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary Web Site", Storage:="_SECONDARYCONTACTSecondaryWebSite", DbType:="NVarChar(128)")>  _
	Public Property SECONDARYCONTACTSecondaryWebSite() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryWebSite
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryWebSite, value) = false) Then
				Me._SECONDARYCONTACTSecondaryWebSite = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondary ZIP Code", Storage:="_SECONDARYCONTACTSecondaryZIPCode", DbType:="NVarChar(256)")>  _
	Public Property SECONDARYCONTACTSecondaryZIPCode() As String
		Get
			Return Me._SECONDARYCONTACTSecondaryZIPCode
		End Get
		Set
			If (String.Equals(Me._SECONDARYCONTACTSecondaryZIPCode, value) = false) Then
				Me._SECONDARYCONTACTSecondaryZIPCode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY CONTACT Secondaryid", Storage:="_SECONDARYCONTACTSecondaryid", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYCONTACTSecondaryid() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYCONTACTSecondaryid
		End Get
		Set
			If (Me._SECONDARYCONTACTSecondaryid.Equals(value) = false) Then
				Me._SECONDARYCONTACTSecondaryid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SERIALNUMBERResult
	
	Private _SERIALNUMBERCreateDate As System.Nullable(Of Date)
	
	Private _SERIALNUMBERCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SERIALNUMBERSERIALNUMBERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SERIALNUMBER Create Date", Storage:="_SERIALNUMBERCreateDate", DbType:="DateTime")>  _
	Public Property SERIALNUMBERCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SERIALNUMBERCreateDate
		End Get
		Set
			If (Me._SERIALNUMBERCreateDate.Equals(value) = false) Then
				Me._SERIALNUMBERCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SERIALNUMBER CREATEUSERID", Storage:="_SERIALNUMBERCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SERIALNUMBERCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SERIALNUMBERCREATEUSERID
		End Get
		Set
			If (Me._SERIALNUMBERCREATEUSERID.Equals(value) = false) Then
				Me._SERIALNUMBERCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SERIALNUMBER SERIALNUMBERID", Storage:="_SERIALNUMBERSERIALNUMBERID", DbType:="UniqueIdentifier")>  _
	Public Property SERIALNUMBERSERIALNUMBERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SERIALNUMBERSERIALNUMBERID
		End Get
		Set
			If (Me._SERIALNUMBERSERIALNUMBERID.Equals(value) = false) Then
				Me._SERIALNUMBERSERIALNUMBERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SETTINGResult
	
	Private _SETTINGEditDate As System.Nullable(Of Date)
	
	Private _SETTINGEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SETTINGSETTINGID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SETTING Edit Date", Storage:="_SETTINGEditDate", DbType:="DateTime")>  _
	Public Property SETTINGEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SETTINGEditDate
		End Get
		Set
			If (Me._SETTINGEditDate.Equals(value) = false) Then
				Me._SETTINGEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SETTING EDITUSERID", Storage:="_SETTINGEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SETTINGEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SETTINGEDITUSERID
		End Get
		Set
			If (Me._SETTINGEDITUSERID.Equals(value) = false) Then
				Me._SETTINGEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SETTING SETTINGID", Storage:="_SETTINGSETTINGID", DbType:="UniqueIdentifier")>  _
	Public Property SETTINGSETTINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SETTINGSETTINGID
		End Get
		Set
			If (Me._SETTINGSETTINGID.Equals(value) = false) Then
				Me._SETTINGSETTINGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SQLTRACEResult
	
	Private _SQLTRACESQLTRACEID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SQLTRACE SQLTRACEID", Storage:="_SQLTRACESQLTRACEID", DbType:="Int")>  _
	Public Property SQLTRACESQLTRACEID() As System.Nullable(Of Integer)
		Get
			Return Me._SQLTRACESQLTRACEID
		End Get
		Set
			If (Me._SQLTRACESQLTRACEID.Equals(value) = false) Then
				Me._SQLTRACESQLTRACEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_STAGEResult
	
	Private _OPPORTUNITYSTAGECreatedOn As System.Nullable(Of Date)
	
	Private _OPPORTUNITYSTAGEEditedOn As System.Nullable(Of Date)
	
	Private _STAGEPROCESSID As System.Nullable(Of System.Guid)
	
	Private _STAGESTAGEID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYSTAGEStage As String
	
	Private _OPPORTUNITYSTAGEStageDescription As String
	
	Private _OPPORTUNITYSTAGEStep As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE Created On", Storage:="_OPPORTUNITYSTAGECreatedOn", DbType:="DateTime")>  _
	Public Property OPPORTUNITYSTAGECreatedOn() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYSTAGECreatedOn
		End Get
		Set
			If (Me._OPPORTUNITYSTAGECreatedOn.Equals(value) = false) Then
				Me._OPPORTUNITYSTAGECreatedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE Edited On", Storage:="_OPPORTUNITYSTAGEEditedOn", DbType:="DateTime")>  _
	Public Property OPPORTUNITYSTAGEEditedOn() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITYSTAGEEditedOn
		End Get
		Set
			If (Me._OPPORTUNITYSTAGEEditedOn.Equals(value) = false) Then
				Me._OPPORTUNITYSTAGEEditedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STAGE PROCESSID", Storage:="_STAGEPROCESSID", DbType:="UniqueIdentifier")>  _
	Public Property STAGEPROCESSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGEPROCESSID
		End Get
		Set
			If (Me._STAGEPROCESSID.Equals(value) = false) Then
				Me._STAGEPROCESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STAGE STAGEID", Storage:="_STAGESTAGEID", DbType:="UniqueIdentifier")>  _
	Public Property STAGESTAGEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGESTAGEID
		End Get
		Set
			If (Me._STAGESTAGEID.Equals(value) = false) Then
				Me._STAGESTAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE Stage", Storage:="_OPPORTUNITYSTAGEStage", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITYSTAGEStage() As String
		Get
			Return Me._OPPORTUNITYSTAGEStage
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYSTAGEStage, value) = false) Then
				Me._OPPORTUNITYSTAGEStage = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE Stage Description", Storage:="_OPPORTUNITYSTAGEStageDescription", DbType:="NVarChar(256)")>  _
	Public Property OPPORTUNITYSTAGEStageDescription() As String
		Get
			Return Me._OPPORTUNITYSTAGEStageDescription
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITYSTAGEStageDescription, value) = false) Then
				Me._OPPORTUNITYSTAGEStageDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="OPPORTUNITY STAGE Step", Storage:="_OPPORTUNITYSTAGEStep", DbType:="Int")>  _
	Public Property OPPORTUNITYSTAGEStep() As System.Nullable(Of Integer)
		Get
			Return Me._OPPORTUNITYSTAGEStep
		End Get
		Set
			If (Me._OPPORTUNITYSTAGEStep.Equals(value) = false) Then
				Me._OPPORTUNITYSTAGEStep = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_STAGE_COLORResult
	
	Private _STAGECOLORSTAGEID As System.Nullable(Of System.Guid)
	
	Private _STAGECOLORUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STAGE COLOR STAGEID", Storage:="_STAGECOLORSTAGEID", DbType:="UniqueIdentifier")>  _
	Public Property STAGECOLORSTAGEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGECOLORSTAGEID
		End Get
		Set
			If (Me._STAGECOLORSTAGEID.Equals(value) = false) Then
				Me._STAGECOLORSTAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STAGE COLOR USERID", Storage:="_STAGECOLORUSERID", DbType:="UniqueIdentifier")>  _
	Public Property STAGECOLORUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGECOLORUSERID
		End Get
		Set
			If (Me._STAGECOLORUSERID.Equals(value) = false) Then
				Me._STAGECOLORUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNC_DEVICETABLEResult
	
	Private _SYNCDEVICETABLESYNCDB_TYPENUM As System.Nullable(Of Byte)
	
	Private _SYNCDEVICETABLETABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC DEVICETABLE SYNCDB_TYPENUM", Storage:="_SYNCDEVICETABLESYNCDB_TYPENUM", DbType:="TinyInt")>  _
	Public Property SYNCDEVICETABLESYNCDB_TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCDEVICETABLESYNCDB_TYPENUM
		End Get
		Set
			If (Me._SYNCDEVICETABLESYNCDB_TYPENUM.Equals(value) = false) Then
				Me._SYNCDEVICETABLESYNCDB_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC DEVICETABLE TABLELUID", Storage:="_SYNCDEVICETABLETABLELUID", DbType:="SmallInt")>  _
	Public Property SYNCDEVICETABLETABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDEVICETABLETABLELUID
		End Get
		Set
			If (Me._SYNCDEVICETABLETABLELUID.Equals(value) = false) Then
				Me._SYNCDEVICETABLETABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNC_INITIALIZE_ROWDATAResult
	
	Private _SYNCINITIALIZEROWDATAORDINAL As System.Data.Linq.Binary
	
	Private _SYNCINITIALIZEROWDATASYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC INITIALIZE ROWDATA ORDINAL", Storage:="_SYNCINITIALIZEROWDATAORDINAL", DbType:="rowversion", CanBeNull:=true)>  _
	Public Property SYNCINITIALIZEROWDATAORDINAL() As System.Data.Linq.Binary
		Get
			Return Me._SYNCINITIALIZEROWDATAORDINAL
		End Get
		Set
			If (Object.Equals(Me._SYNCINITIALIZEROWDATAORDINAL, value) = false) Then
				Me._SYNCINITIALIZEROWDATAORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC INITIALIZE ROWDATA SYNCDBMAPID", Storage:="_SYNCINITIALIZEROWDATASYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCINITIALIZEROWDATASYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCINITIALIZEROWDATASYNCDBMAPID
		End Get
		Set
			If (Me._SYNCINITIALIZEROWDATASYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCINITIALIZEROWDATASYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNC_INITIALIZE_ROWSCHEMAResult
	
	Private _SYNCINITIALIZEROWSCHEMAORDINAL As System.Data.Linq.Binary
	
	Private _SYNCINITIALIZEROWSCHEMASYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC INITIALIZE ROWSCHEMA ORDINAL", Storage:="_SYNCINITIALIZEROWSCHEMAORDINAL", DbType:="rowversion", CanBeNull:=true)>  _
	Public Property SYNCINITIALIZEROWSCHEMAORDINAL() As System.Data.Linq.Binary
		Get
			Return Me._SYNCINITIALIZEROWSCHEMAORDINAL
		End Get
		Set
			If (Object.Equals(Me._SYNCINITIALIZEROWSCHEMAORDINAL, value) = false) Then
				Me._SYNCINITIALIZEROWSCHEMAORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC INITIALIZE ROWSCHEMA SYNCDBMAPID", Storage:="_SYNCINITIALIZEROWSCHEMASYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCINITIALIZEROWSCHEMASYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCINITIALIZEROWSCHEMASYNCDBMAPID
		End Get
		Set
			If (Me._SYNCINITIALIZEROWSCHEMASYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCINITIALIZEROWSCHEMASYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCACCESSORResult
	
	Private _SYNCACCESSORACCESSORLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCACCESSOR ACCESSORLUID", Storage:="_SYNCACCESSORACCESSORLUID", DbType:="SmallInt")>  _
	Public Property SYNCACCESSORACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCACCESSORACCESSORLUID
		End Get
		Set
			If (Me._SYNCACCESSORACCESSORLUID.Equals(value) = false) Then
				Me._SYNCACCESSORACCESSORLUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCCOLUMNResult
	
	Private _SYNCCOLUMNCOLUMNLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCCOLUMN COLUMNLUID", Storage:="_SYNCCOLUMNCOLUMNLUID", DbType:="SmallInt")>  _
	Public Property SYNCCOLUMNCOLUMNLUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCCOLUMNCOLUMNLUID
		End Get
		Set
			If (Me._SYNCCOLUMNCOLUMNLUID.Equals(value) = false) Then
				Me._SYNCCOLUMNCOLUMNLUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCCONTACTResult
	
	Private _SYNCCONTACTCONTACTID As System.Nullable(Of System.Guid)
	
	Private _SYNCCONTACTMANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCCONTACTPrivate As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCCONTACT CONTACTID", Storage:="_SYNCCONTACTCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCCONTACTCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCCONTACTCONTACTID
		End Get
		Set
			If (Me._SYNCCONTACTCONTACTID.Equals(value) = false) Then
				Me._SYNCCONTACTCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCCONTACT MANAGEUSERID", Storage:="_SYNCCONTACTMANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCCONTACTMANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCCONTACTMANAGEUSERID
		End Get
		Set
			If (Me._SYNCCONTACTMANAGEUSERID.Equals(value) = false) Then
				Me._SYNCCONTACTMANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCCONTACT Private", Storage:="_SYNCCONTACTPrivate", DbType:="Bit")>  _
	Public Property SYNCCONTACTPrivate() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCCONTACTPrivate
		End Get
		Set
			If (Me._SYNCCONTACTPrivate.Equals(value) = false) Then
				Me._SYNCCONTACTPrivate = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCCONTACT_ACLResult
	
	Private _SYNCCONTACTACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _SYNCCONTACTACLCONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCCONTACT ACL ACCESSORID", Storage:="_SYNCCONTACTACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCCONTACTACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCCONTACTACLACCESSORID
		End Get
		Set
			If (Me._SYNCCONTACTACLACCESSORID.Equals(value) = false) Then
				Me._SYNCCONTACTACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCCONTACT ACL CONTACTID", Storage:="_SYNCCONTACTACLCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCCONTACTACLCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCCONTACTACLCONTACTID
		End Get
		Set
			If (Me._SYNCCONTACTACLCONTACTID.Equals(value) = false) Then
				Me._SYNCCONTACTACLCONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBResult
	
	Private _SYNCDBCreateDate As System.Nullable(Of Date)
	
	Private _SYNCDBCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBDATABASEID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBDATABASENAME As String
	
	Private _SYNCDBDEVICE_SERIALNUM As String
	
	Private _SYNCDBEditDate As System.Nullable(Of Date)
	
	Private _SYNCDBEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBExpireDays As System.Nullable(Of Short)
	
	Private _SYNCDBExpired As System.Nullable(Of Boolean)
	
	Private _SYNCDBIncludeAttachments As System.Nullable(Of Boolean)
	
	Private _SYNCDBLastEditedBy As String
	
	Private _SYNCDBMAXATTACHBYTES As System.Nullable(Of Integer)
	
	Private _SYNCDBOriginalCreateDate As System.Nullable(Of Date)
	
	Private _SYNCDBPUB_SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBRecordCreator As String
	
	Private _SYNCDBSERVERNAME As String
	
	Private _SYNCDBSTATUSNUM As System.Nullable(Of Byte)
	
	Private _SYNCDBSyncAttachments As System.Nullable(Of Boolean)
	
	Private _SYNCDBSyncSupplementalFiles As System.Nullable(Of Boolean)
	
	Private _SYNCDBSYNC_SERVER_MACHINE_NAME As String
	
	Private _SYNCDBSYNC_SERVER_PORT As System.Nullable(Of Integer)
	
	Private _SYNCDBSYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBSYNCSETID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBTYPENUM As System.Nullable(Of Byte)
	
	Private _SYNCDBWEB_SERVER_ADDRESS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Create Date", Storage:="_SYNCDBCreateDate", DbType:="DateTime")>  _
	Public Property SYNCDBCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBCreateDate
		End Get
		Set
			If (Me._SYNCDBCreateDate.Equals(value) = false) Then
				Me._SYNCDBCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB CREATEUSERID", Storage:="_SYNCDBCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBCREATEUSERID
		End Get
		Set
			If (Me._SYNCDBCREATEUSERID.Equals(value) = false) Then
				Me._SYNCDBCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB DATABASEID", Storage:="_SYNCDBDATABASEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBDATABASEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBDATABASEID
		End Get
		Set
			If (Me._SYNCDBDATABASEID.Equals(value) = false) Then
				Me._SYNCDBDATABASEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB DATABASENAME", Storage:="_SYNCDBDATABASENAME", DbType:="NVarChar(196)")>  _
	Public Property SYNCDBDATABASENAME() As String
		Get
			Return Me._SYNCDBDATABASENAME
		End Get
		Set
			If (String.Equals(Me._SYNCDBDATABASENAME, value) = false) Then
				Me._SYNCDBDATABASENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB DEVICE_SERIALNUM", Storage:="_SYNCDBDEVICE_SERIALNUM", DbType:="NVarChar(64)")>  _
	Public Property SYNCDBDEVICE_SERIALNUM() As String
		Get
			Return Me._SYNCDBDEVICE_SERIALNUM
		End Get
		Set
			If (String.Equals(Me._SYNCDBDEVICE_SERIALNUM, value) = false) Then
				Me._SYNCDBDEVICE_SERIALNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Edit Date", Storage:="_SYNCDBEditDate", DbType:="DateTime")>  _
	Public Property SYNCDBEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBEditDate
		End Get
		Set
			If (Me._SYNCDBEditDate.Equals(value) = false) Then
				Me._SYNCDBEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB EDITUSERID", Storage:="_SYNCDBEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBEDITUSERID
		End Get
		Set
			If (Me._SYNCDBEDITUSERID.Equals(value) = false) Then
				Me._SYNCDBEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Expire Days", Storage:="_SYNCDBExpireDays", DbType:="SmallInt")>  _
	Public Property SYNCDBExpireDays() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBExpireDays
		End Get
		Set
			If (Me._SYNCDBExpireDays.Equals(value) = false) Then
				Me._SYNCDBExpireDays = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Expired", Storage:="_SYNCDBExpired", DbType:="Bit")>  _
	Public Property SYNCDBExpired() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBExpired
		End Get
		Set
			If (Me._SYNCDBExpired.Equals(value) = false) Then
				Me._SYNCDBExpired = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Include Attachments", Storage:="_SYNCDBIncludeAttachments", DbType:="Bit")>  _
	Public Property SYNCDBIncludeAttachments() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBIncludeAttachments
		End Get
		Set
			If (Me._SYNCDBIncludeAttachments.Equals(value) = false) Then
				Me._SYNCDBIncludeAttachments = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Last Edited By", Storage:="_SYNCDBLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property SYNCDBLastEditedBy() As String
		Get
			Return Me._SYNCDBLastEditedBy
		End Get
		Set
			If (String.Equals(Me._SYNCDBLastEditedBy, value) = false) Then
				Me._SYNCDBLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB MAXATTACHBYTES", Storage:="_SYNCDBMAXATTACHBYTES", DbType:="Int")>  _
	Public Property SYNCDBMAXATTACHBYTES() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAXATTACHBYTES
		End Get
		Set
			If (Me._SYNCDBMAXATTACHBYTES.Equals(value) = false) Then
				Me._SYNCDBMAXATTACHBYTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Original Create Date", Storage:="_SYNCDBOriginalCreateDate", DbType:="DateTime")>  _
	Public Property SYNCDBOriginalCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBOriginalCreateDate
		End Get
		Set
			If (Me._SYNCDBOriginalCreateDate.Equals(value) = false) Then
				Me._SYNCDBOriginalCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB PUB_SYNCDBGUID", Storage:="_SYNCDBPUB_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBPUB_SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBPUB_SYNCDBGUID
		End Get
		Set
			If (Me._SYNCDBPUB_SYNCDBGUID.Equals(value) = false) Then
				Me._SYNCDBPUB_SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Record Creator", Storage:="_SYNCDBRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property SYNCDBRecordCreator() As String
		Get
			Return Me._SYNCDBRecordCreator
		End Get
		Set
			If (String.Equals(Me._SYNCDBRecordCreator, value) = false) Then
				Me._SYNCDBRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SERVERNAME", Storage:="_SYNCDBSERVERNAME", DbType:="NVarChar(64)")>  _
	Public Property SYNCDBSERVERNAME() As String
		Get
			Return Me._SYNCDBSERVERNAME
		End Get
		Set
			If (String.Equals(Me._SYNCDBSERVERNAME, value) = false) Then
				Me._SYNCDBSERVERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB STATUSNUM", Storage:="_SYNCDBSTATUSNUM", DbType:="TinyInt")>  _
	Public Property SYNCDBSTATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCDBSTATUSNUM
		End Get
		Set
			If (Me._SYNCDBSTATUSNUM.Equals(value) = false) Then
				Me._SYNCDBSTATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Sync Attachments", Storage:="_SYNCDBSyncAttachments", DbType:="Bit")>  _
	Public Property SYNCDBSyncAttachments() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBSyncAttachments
		End Get
		Set
			If (Me._SYNCDBSyncAttachments.Equals(value) = false) Then
				Me._SYNCDBSyncAttachments = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB Sync Supplemental Files", Storage:="_SYNCDBSyncSupplementalFiles", DbType:="Bit")>  _
	Public Property SYNCDBSyncSupplementalFiles() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBSyncSupplementalFiles
		End Get
		Set
			If (Me._SYNCDBSyncSupplementalFiles.Equals(value) = false) Then
				Me._SYNCDBSyncSupplementalFiles = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNC_SERVER_MACHINE_NAME", Storage:="_SYNCDBSYNC_SERVER_MACHINE_NAME", DbType:="NVarChar(64)")>  _
	Public Property SYNCDBSYNC_SERVER_MACHINE_NAME() As String
		Get
			Return Me._SYNCDBSYNC_SERVER_MACHINE_NAME
		End Get
		Set
			If (String.Equals(Me._SYNCDBSYNC_SERVER_MACHINE_NAME, value) = false) Then
				Me._SYNCDBSYNC_SERVER_MACHINE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNC_SERVER_PORT", Storage:="_SYNCDBSYNC_SERVER_PORT", DbType:="Int")>  _
	Public Property SYNCDBSYNC_SERVER_PORT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBSYNC_SERVER_PORT
		End Get
		Set
			If (Me._SYNCDBSYNC_SERVER_PORT.Equals(value) = false) Then
				Me._SYNCDBSYNC_SERVER_PORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNCDBGUID", Storage:="_SYNCDBSYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBSYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBSYNCDBGUID
		End Get
		Set
			If (Me._SYNCDBSYNCDBGUID.Equals(value) = false) Then
				Me._SYNCDBSYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB SYNCSETID", Storage:="_SYNCDBSYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBSYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBSYNCSETID
		End Get
		Set
			If (Me._SYNCDBSYNCSETID.Equals(value) = false) Then
				Me._SYNCDBSYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB TYPENUM", Storage:="_SYNCDBTYPENUM", DbType:="TinyInt")>  _
	Public Property SYNCDBTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCDBTYPENUM
		End Get
		Set
			If (Me._SYNCDBTYPENUM.Equals(value) = false) Then
				Me._SYNCDBTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB WEB_SERVER_ADDRESS", Storage:="_SYNCDBWEB_SERVER_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property SYNCDBWEB_SERVER_ADDRESS() As String
		Get
			Return Me._SYNCDBWEB_SERVER_ADDRESS
		End Get
		Set
			If (String.Equals(Me._SYNCDBWEB_SERVER_ADDRESS, value) = false) Then
				Me._SYNCDBWEB_SERVER_ADDRESS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAPResult
	
	Private _SYNCDBMAPPUBDBID As System.Nullable(Of Short)
	
	Private _SYNCDBMAPSUBDBID As System.Nullable(Of Short)
	
	Private _SYNCDBMAPSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP PUBDBID", Storage:="_SYNCDBMAPPUBDBID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPPUBDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPPUBDBID
		End Get
		Set
			If (Me._SYNCDBMAPPUBDBID.Equals(value) = false) Then
				Me._SYNCDBMAPPUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SUBDBID", Storage:="_SYNCDBMAPSUBDBID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPSUBDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPSUBDBID
		End Get
		Set
			If (Me._SYNCDBMAPSUBDBID.Equals(value) = false) Then
				Me._SYNCDBMAPSUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SYNCDBMAPID", Storage:="_SYNCDBMAPSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAP_ROWDATAResult
	
	Private _SYNCDBMAPROWDATAORDINAL As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPROWDATASYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP ROWDATA ORDINAL", Storage:="_SYNCDBMAPROWDATAORDINAL", DbType:="Int")>  _
	Public Property SYNCDBMAPROWDATAORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPROWDATAORDINAL
		End Get
		Set
			If (Me._SYNCDBMAPROWDATAORDINAL.Equals(value) = false) Then
				Me._SYNCDBMAPROWDATAORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP ROWDATA SYNCDBMAPID", Storage:="_SYNCDBMAPROWDATASYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPROWDATASYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPROWDATASYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPROWDATASYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPROWDATASYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAP_ROWEXCEPTIONResult
	
	Private _SYNCDBMAPROWEXCEPTIONORDINAL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP ROWEXCEPTION ORDINAL", Storage:="_SYNCDBMAPROWEXCEPTIONORDINAL", DbType:="Int")>  _
	Public Property SYNCDBMAPROWEXCEPTIONORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPROWEXCEPTIONORDINAL
		End Get
		Set
			If (Me._SYNCDBMAPROWEXCEPTIONORDINAL.Equals(value) = false) Then
				Me._SYNCDBMAPROWEXCEPTIONORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAP_ROWFILEResult
	
	Private _SYNCDBMAPROWFILEORDINAL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP ROWFILE ORDINAL", Storage:="_SYNCDBMAPROWFILEORDINAL", DbType:="Int")>  _
	Public Property SYNCDBMAPROWFILEORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPROWFILEORDINAL
		End Get
		Set
			If (Me._SYNCDBMAPROWFILEORDINAL.Equals(value) = false) Then
				Me._SYNCDBMAPROWFILEORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAP_ROWSCHEMAResult
	
	Private _SYNCDBMAPROWSCHEMAORDINAL As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPROWSCHEMASYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP ROWSCHEMA ORDINAL", Storage:="_SYNCDBMAPROWSCHEMAORDINAL", DbType:="Int")>  _
	Public Property SYNCDBMAPROWSCHEMAORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPROWSCHEMAORDINAL
		End Get
		Set
			If (Me._SYNCDBMAPROWSCHEMAORDINAL.Equals(value) = false) Then
				Me._SYNCDBMAPROWSCHEMAORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP ROWSCHEMA SYNCDBMAPID", Storage:="_SYNCDBMAPROWSCHEMASYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPROWSCHEMASYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPROWSCHEMASYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPROWSCHEMASYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPROWSCHEMASYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAP_SESSIONResult
	
	Private _SYNCDBMAPSESSIONROWATTACHMENT_ACCESS As System.Xml.Linq.XElement
	
	Private _SYNCDBMAPSESSIONROWNUM_ACTIVE As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_DELETEDROW As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_NEWMEMBER As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWNUM_NEWROW As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWSESSION_DATETIME As System.Nullable(Of Date)
	
	Private _SYNCDBMAPSESSIONSESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPSESSIONROWSYNC_USER As System.Xml.Linq.XElement
	
	Private _SYNCDBMAPSESSIONSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW ATTACHMENT_ACCESS", Storage:="_SYNCDBMAPSESSIONROWATTACHMENT_ACCESS", DbType:="Xml", CanBeNull:=true)>  _
	Public Property SYNCDBMAPSESSIONROWATTACHMENT_ACCESS() As System.Xml.Linq.XElement
		Get
			Return Me._SYNCDBMAPSESSIONROWATTACHMENT_ACCESS
		End Get
		Set
			If (Object.Equals(Me._SYNCDBMAPSESSIONROWATTACHMENT_ACCESS, value) = false) Then
				Me._SYNCDBMAPSESSIONROWATTACHMENT_ACCESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_ACTIVE", Storage:="_SYNCDBMAPSESSIONROWNUM_ACTIVE", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_ACTIVE() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_ACTIVE
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_ACTIVE.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_DELETEDMEMBER", Storage:="_SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_DELETEDMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_DELETEDROW", Storage:="_SYNCDBMAPSESSIONROWNUM_DELETEDROW", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_DELETEDROW() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_DELETEDROW
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_DELETEDROW.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_DELETEDROW = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_NEWMEMBER", Storage:="_SYNCDBMAPSESSIONROWNUM_NEWMEMBER", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_NEWMEMBER() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_NEWMEMBER
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_NEWMEMBER.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_NEWMEMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW NUM_NEWROW", Storage:="_SYNCDBMAPSESSIONROWNUM_NEWROW", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONROWNUM_NEWROW() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONROWNUM_NEWROW
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWNUM_NEWROW.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWNUM_NEWROW = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW SESSION_DATETIME", Storage:="_SYNCDBMAPSESSIONROWSESSION_DATETIME", DbType:="DateTime")>  _
	Public Property SYNCDBMAPSESSIONROWSESSION_DATETIME() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPSESSIONROWSESSION_DATETIME
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWSESSION_DATETIME.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWSESSION_DATETIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSION SESSIONID", Storage:="_SYNCDBMAPSESSIONSESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPSESSIONSESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPSESSIONSESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONSESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONSESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW SYNC_USER", Storage:="_SYNCDBMAPSESSIONROWSYNC_USER", DbType:="Xml", CanBeNull:=true)>  _
	Public Property SYNCDBMAPSESSIONROWSYNC_USER() As System.Xml.Linq.XElement
		Get
			Return Me._SYNCDBMAPSESSIONROWSYNC_USER
		End Get
		Set
			If (Object.Equals(Me._SYNCDBMAPSESSIONROWSYNC_USER, value) = false) Then
				Me._SYNCDBMAPSESSIONROWSYNC_USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSION SYNCDBMAPID", Storage:="_SYNCDBMAPSESSIONSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPSESSIONSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPSESSIONSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAP_SESSIONROWResult
	
	Private _SYNCDBMAPSESSIONROWCONTACTID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBMAPSESSIONROWSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW CONTACTID", Storage:="_SYNCDBMAPSESSIONROWCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBMAPSESSIONROWCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBMAPSESSIONROWCONTACTID
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWCONTACTID.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP SESSIONROW SYNCDBMAPID", Storage:="_SYNCDBMAPSESSIONROWSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPSESSIONROWSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPSESSIONROWSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPSESSIONROWSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPSESSIONROWSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAPINFOResult
	
	Private _SYNCDBMAPINFOISREPLAY As System.Nullable(Of Boolean)
	
	Private _SYNCDBMAPINFOLAST_ADSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_ATTEMPDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_SNAPSHOTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_SYNCSTATUS As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOLAST_UPDRECVDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOLAST_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFONEXT_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFONEXT_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFONEXT_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFORECV_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFORECV_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFORECV_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_RESULT As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFORECV_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO ISREPLAY", Storage:="_SYNCDBMAPINFOISREPLAY", DbType:="Bit")>  _
	Public Property SYNCDBMAPINFOISREPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBMAPINFOISREPLAY
		End Get
		Set
			If (Me._SYNCDBMAPINFOISREPLAY.Equals(value) = false) Then
				Me._SYNCDBMAPINFOISREPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_ADSYNCROWID", Storage:="_SYNCDBMAPINFOLAST_ADSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_ADSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_ADSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_ADSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_ADSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_ATTEMPDATE", Storage:="_SYNCDBMAPINFOLAST_ATTEMPDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_ATTEMPDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_ATTEMPDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_ATTEMPDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_ATTEMPDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_COMPLETEDATE", Storage:="_SYNCDBMAPINFOLAST_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_DELSYNCROWID", Storage:="_SYNCDBMAPINFOLAST_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SESSIONID", Storage:="_SYNCDBMAPINFOLAST_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SNAPSHOTDATE", Storage:="_SYNCDBMAPINFOLAST_SNAPSHOTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_SNAPSHOTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_SNAPSHOTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SNAPSHOTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SNAPSHOTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SUCCESSDATE", Storage:="_SYNCDBMAPINFOLAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_SYNCSTATUS", Storage:="_SYNCDBMAPINFOLAST_SYNCSTATUS", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOLAST_SYNCSTATUS() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOLAST_SYNCSTATUS
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_SYNCSTATUS.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_SYNCSTATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_UPDRECVDATE", Storage:="_SYNCDBMAPINFOLAST_UPDRECVDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_UPDRECVDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_UPDRECVDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_UPDRECVDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_UPDRECVDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO LAST_UPDSENDDATE", Storage:="_SYNCDBMAPINFOLAST_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOLAST_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOLAST_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOLAST_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOLAST_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO NEXT_ADDSYNCROWID", Storage:="_SYNCDBMAPINFONEXT_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFONEXT_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFONEXT_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFONEXT_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFONEXT_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO NEXT_DELSYNCROWID", Storage:="_SYNCDBMAPINFONEXT_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFONEXT_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFONEXT_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFONEXT_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFONEXT_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO NEXT_UPDSENDDATE", Storage:="_SYNCDBMAPINFONEXT_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFONEXT_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFONEXT_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFONEXT_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFONEXT_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_ADDSYNCROWID", Storage:="_SYNCDBMAPINFORECV_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_ATTEMPTDATE", Storage:="_SYNCDBMAPINFORECV_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFORECV_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFORECV_ATTEMPTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_ATTEMPTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_ATTEMPTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_COMPLETEDATE", Storage:="_SYNCDBMAPINFORECV_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFORECV_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFORECV_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_DELSYNCROWID", Storage:="_SYNCDBMAPINFORECV_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_RESULT", Storage:="_SYNCDBMAPINFORECV_RESULT", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_RESULT
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_RESULT.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_SESSIONID", Storage:="_SYNCDBMAPINFORECV_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFORECV_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFORECV_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO RECV_SUCCESSDATE", Storage:="_SYNCDBMAPINFORECV_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFORECV_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFORECV_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFORECV_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFORECV_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO SYNCDBMAPID", Storage:="_SYNCDBMAPINFOSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPINFOSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPINFOSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPINFOSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBMAPINFO_HISTORYResult
	
	Private _SYNCDBMAPINFOHISTORYISREPLAY As System.Nullable(Of Boolean)
	
	Private _SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_RESULT As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_RESULT As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_SESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYRECV_UPDDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPINFOHISTORYSYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY ISREPLAY", Storage:="_SYNCDBMAPINFOHISTORYISREPLAY", DbType:="Bit")>  _
	Public Property SYNCDBMAPINFOHISTORYISREPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCDBMAPINFOHISTORYISREPLAY
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYISREPLAY.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYISREPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_ADDSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_ATTEMPTDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_ATTEMPTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_COMPLETEDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_DELSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_RESULT", Storage:="_SYNCDBMAPINFOHISTORYLAST_RESULT", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_RESULT
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_RESULT.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_SESSIONID", Storage:="_SYNCDBMAPINFOHISTORYLAST_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_SNAPSHOTDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_SNAPSHOTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_SUCCESSDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY LAST_UPDSENDDATE", Storage:="_SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYLAST_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY SYNCDBMAPINFO_HISTORYID", Storage:="_SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYSYNCDBMAPINFO_HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY NEXT_ADDSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYNEXT_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY NEXT_DELSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYNEXT_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY NEXT_UPDSENDDATE", Storage:="_SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYNEXT_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_ADDSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_ATTEMPTDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_ATTEMPTDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_COMPLETEDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_COMPLETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_DELSYNCROWID", Storage:="_SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_RESULT", Storage:="_SYNCDBMAPINFOHISTORYRECV_RESULT", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_RESULT
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_RESULT.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_SESSIONID", Storage:="_SYNCDBMAPINFOHISTORYRECV_SESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_SESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_SESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_SUCCESSDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY RECV_UPDDATE", Storage:="_SYNCDBMAPINFOHISTORYRECV_UPDDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPINFOHISTORYRECV_UPDDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPINFOHISTORYRECV_UPDDATE
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYRECV_UPDDATE.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYRECV_UPDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAPINFO HISTORY SYNCDBMAPID", Storage:="_SYNCDBMAPINFOHISTORYSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPINFOHISTORYSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPINFOHISTORYSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPINFOHISTORYSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPINFOHISTORYSYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCDBTYPEResult
	
	Private _SYNCDBTYPECreateDate As System.Nullable(Of Date)
	
	Private _SYNCDBTYPECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCDBTYPESYNCDBTYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB TYPE Create Date", Storage:="_SYNCDBTYPECreateDate", DbType:="DateTime")>  _
	Public Property SYNCDBTYPECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBTYPECreateDate
		End Get
		Set
			If (Me._SYNCDBTYPECreateDate.Equals(value) = false) Then
				Me._SYNCDBTYPECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDB TYPE CREATEUSERID", Storage:="_SYNCDBTYPECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBTYPECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBTYPECREATEUSERID
		End Get
		Set
			If (Me._SYNCDBTYPECREATEUSERID.Equals(value) = false) Then
				Me._SYNCDBTYPECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBTYPE SYNCDBTYPEID", Storage:="_SYNCDBTYPESYNCDBTYPEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBTYPESYNCDBTYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBTYPESYNCDBTYPEID
		End Get
		Set
			If (Me._SYNCDBTYPESYNCDBTYPEID.Equals(value) = false) Then
				Me._SYNCDBTYPESYNCDBTYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCEXTENDEDDATAResult
	
	Private _SYNCEXTENDEDDATASYNCEXTENDEDDATAID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCEXTENDEDDATA SYNCEXTENDEDDATAID", Storage:="_SYNCEXTENDEDDATASYNCEXTENDEDDATAID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCEXTENDEDDATASYNCEXTENDEDDATAID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCEXTENDEDDATASYNCEXTENDEDDATAID
		End Get
		Set
			If (Me._SYNCEXTENDEDDATASYNCEXTENDEDDATAID.Equals(value) = false) Then
				Me._SYNCEXTENDEDDATASYNCEXTENDEDDATAID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCEXTENDEDDATA_TYPEResult
	
	Private _SYNCEXTENDEDDATATYPESYNCEXTENDEDDATA_TYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCEXTENDEDDATA TYPE SYNCEXTENDEDDATA_TYPEID", Storage:="_SYNCEXTENDEDDATATYPESYNCEXTENDEDDATA_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCEXTENDEDDATATYPESYNCEXTENDEDDATA_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCEXTENDEDDATATYPESYNCEXTENDEDDATA_TYPEID
		End Get
		Set
			If (Me._SYNCEXTENDEDDATATYPESYNCEXTENDEDDATA_TYPEID.Equals(value) = false) Then
				Me._SYNCEXTENDEDDATATYPESYNCEXTENDEDDATA_TYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCROW_ADDResult
	
	Private _SYNCROWADDACCESSORLUID As System.Nullable(Of Short)
	
	Private _SYNCROWADDDELETEACTIONDATE As System.Nullable(Of Date)
	
	Private _SYNCROWADDDELETEORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Private _SYNCROWADDDELETEROWID1 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWADDDELETEROWID2 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWADDDELETEROWID3 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCROWADDTABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW ADD ACCESSORLUID", Storage:="_SYNCROWADDACCESSORLUID", DbType:="SmallInt")>  _
	Public Property SYNCROWADDACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWADDACCESSORLUID
		End Get
		Set
			If (Me._SYNCROWADDACCESSORLUID.Equals(value) = false) Then
				Me._SYNCROWADDACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWADD DELETE ACTIONDATE", Storage:="_SYNCROWADDDELETEACTIONDATE", DbType:="DateTime")>  _
	Public Property SYNCROWADDDELETEACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCROWADDDELETEACTIONDATE
		End Get
		Set
			If (Me._SYNCROWADDDELETEACTIONDATE.Equals(value) = false) Then
				Me._SYNCROWADDDELETEACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWADD DELETE ORIGIN_SYNCDBID", Storage:="_SYNCROWADDDELETEORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property SYNCROWADDDELETEORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWADDDELETEORIGIN_SYNCDBID
		End Get
		Set
			If (Me._SYNCROWADDDELETEORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._SYNCROWADDDELETEORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWADD DELETE ROWID1", Storage:="_SYNCROWADDDELETEROWID1", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWADDDELETEROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWADDDELETEROWID1
		End Get
		Set
			If (Me._SYNCROWADDDELETEROWID1.Equals(value) = false) Then
				Me._SYNCROWADDDELETEROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWADD DELETE ROWID2", Storage:="_SYNCROWADDDELETEROWID2", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWADDDELETEROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWADDDELETEROWID2
		End Get
		Set
			If (Me._SYNCROWADDDELETEROWID2.Equals(value) = false) Then
				Me._SYNCROWADDDELETEROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWADD DELETE ROWID3", Storage:="_SYNCROWADDDELETEROWID3", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWADDDELETEROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWADDDELETEROWID3
		End Get
		Set
			If (Me._SYNCROWADDDELETEROWID3.Equals(value) = false) Then
				Me._SYNCROWADDDELETEROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW ADD SYNCROWID", Storage:="_SYNCROWADDSYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWADDSYNCROWID
		End Get
		Set
			If (Me._SYNCROWADDSYNCROWID.Equals(value) = false) Then
				Me._SYNCROWADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW ADD TABLELUID", Storage:="_SYNCROWADDTABLELUID", DbType:="SmallInt")>  _
	Public Property SYNCROWADDTABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWADDTABLELUID
		End Get
		Set
			If (Me._SYNCROWADDTABLELUID.Equals(value) = false) Then
				Me._SYNCROWADDTABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCROW_DELETEResult
	
	Private _SYNCROWDELETEACCESSORLUID As System.Nullable(Of Short)
	
	Private _SYNCROWDELETEACTIONDATE As System.Nullable(Of Date)
	
	Private _SYNCROWDELETEACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETECOMPANYID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETECONTACTID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEGROUPID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEHISTORYID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETENOTEID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEOPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Private _SYNCROWDELETEROWID1 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEROWID2 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEROWID3 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWDELETEROWINFO As String
	
	Private _SYNCROWDELETESYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCROWDELETETABLELUID As System.Nullable(Of Short)
	
	Private _SYNCROWDELETETYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ACCESSORLUID", Storage:="_SYNCROWDELETEACCESSORLUID", DbType:="SmallInt")>  _
	Public Property SYNCROWDELETEACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWDELETEACCESSORLUID
		End Get
		Set
			If (Me._SYNCROWDELETEACCESSORLUID.Equals(value) = false) Then
				Me._SYNCROWDELETEACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ACTIONDATE", Storage:="_SYNCROWDELETEACTIONDATE", DbType:="DateTime")>  _
	Public Property SYNCROWDELETEACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCROWDELETEACTIONDATE
		End Get
		Set
			If (Me._SYNCROWDELETEACTIONDATE.Equals(value) = false) Then
				Me._SYNCROWDELETEACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ACTIVITYID", Storage:="_SYNCROWDELETEACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEACTIVITYID
		End Get
		Set
			If (Me._SYNCROWDELETEACTIVITYID.Equals(value) = false) Then
				Me._SYNCROWDELETEACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE COMPANYID", Storage:="_SYNCROWDELETECOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETECOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETECOMPANYID
		End Get
		Set
			If (Me._SYNCROWDELETECOMPANYID.Equals(value) = false) Then
				Me._SYNCROWDELETECOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE CONTACTID", Storage:="_SYNCROWDELETECONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETECONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETECONTACTID
		End Get
		Set
			If (Me._SYNCROWDELETECONTACTID.Equals(value) = false) Then
				Me._SYNCROWDELETECONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE GROUPID", Storage:="_SYNCROWDELETEGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEGROUPID
		End Get
		Set
			If (Me._SYNCROWDELETEGROUPID.Equals(value) = false) Then
				Me._SYNCROWDELETEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE HISTORYID", Storage:="_SYNCROWDELETEHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEHISTORYID
		End Get
		Set
			If (Me._SYNCROWDELETEHISTORYID.Equals(value) = false) Then
				Me._SYNCROWDELETEHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE NOTEID", Storage:="_SYNCROWDELETENOTEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETENOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETENOTEID
		End Get
		Set
			If (Me._SYNCROWDELETENOTEID.Equals(value) = false) Then
				Me._SYNCROWDELETENOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE OPPORTUNITYID", Storage:="_SYNCROWDELETEOPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEOPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEOPPORTUNITYID
		End Get
		Set
			If (Me._SYNCROWDELETEOPPORTUNITYID.Equals(value) = false) Then
				Me._SYNCROWDELETEOPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ORIGIN_SYNCDBID", Storage:="_SYNCROWDELETEORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property SYNCROWDELETEORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWDELETEORIGIN_SYNCDBID
		End Get
		Set
			If (Me._SYNCROWDELETEORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._SYNCROWDELETEORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ROWID1", Storage:="_SYNCROWDELETEROWID1", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEROWID1
		End Get
		Set
			If (Me._SYNCROWDELETEROWID1.Equals(value) = false) Then
				Me._SYNCROWDELETEROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ROWID2", Storage:="_SYNCROWDELETEROWID2", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEROWID2
		End Get
		Set
			If (Me._SYNCROWDELETEROWID2.Equals(value) = false) Then
				Me._SYNCROWDELETEROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ROWID3", Storage:="_SYNCROWDELETEROWID3", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETEROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETEROWID3
		End Get
		Set
			If (Me._SYNCROWDELETEROWID3.Equals(value) = false) Then
				Me._SYNCROWDELETEROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE ROWINFO", Storage:="_SYNCROWDELETEROWINFO", DbType:="NVarChar(512)")>  _
	Public Property SYNCROWDELETEROWINFO() As String
		Get
			Return Me._SYNCROWDELETEROWINFO
		End Get
		Set
			If (String.Equals(Me._SYNCROWDELETEROWINFO, value) = false) Then
				Me._SYNCROWDELETEROWINFO = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE SYNCROWID", Storage:="_SYNCROWDELETESYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWDELETESYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWDELETESYNCROWID
		End Get
		Set
			If (Me._SYNCROWDELETESYNCROWID.Equals(value) = false) Then
				Me._SYNCROWDELETESYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE TABLELUID", Storage:="_SYNCROWDELETETABLELUID", DbType:="SmallInt")>  _
	Public Property SYNCROWDELETETABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWDELETETABLELUID
		End Get
		Set
			If (Me._SYNCROWDELETETABLELUID.Equals(value) = false) Then
				Me._SYNCROWDELETETABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW DELETE TYPEID", Storage:="_SYNCROWDELETETYPEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWDELETETYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWDELETETYPEID
		End Get
		Set
			If (Me._SYNCROWDELETETYPEID.Equals(value) = false) Then
				Me._SYNCROWDELETETYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCROW_EXCEPTIONResult
	
	Private _SYNCDBMAPEXCEPTIONACTIONCODE As String
	
	Private _SYNCDBMAPEXCEPTIONACTIONDATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPEXCEPTIONDBERRORCODE As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPEXCEPTIONDetails As String
	
	Private _SYNCDBMAPEXCEPTIONEXCEPTIONCODE As System.Nullable(Of Byte)
	
	Private _SYNCDBMAPEXCEPTIONREF_ROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Private _SYNCROWEXCEPTIONROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Private _SYNCDBMAPEXCEPTIONROWID1 As System.Nullable(Of System.Guid)
	
	Private _SYNCDBMAPEXCEPTIONROWID2 As System.Nullable(Of System.Guid)
	
	Private _SYNCDBMAPEXCEPTIONROWID3 As System.Nullable(Of System.Guid)
	
	Private _SYNCDBMAPEXCEPTIONSESSIONID As System.Nullable(Of Integer)
	
	Private _SYNCROWEXCEPTIONSYNCDBMAPID As System.Nullable(Of Short)
	
	Private _SYNCDBMAPEXCEPTIONSYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCROWEXCEPTIONTABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION ACTIONCODE", Storage:="_SYNCDBMAPEXCEPTIONACTIONCODE", DbType:="Char(2)")>  _
	Public Property SYNCDBMAPEXCEPTIONACTIONCODE() As String
		Get
			Return Me._SYNCDBMAPEXCEPTIONACTIONCODE
		End Get
		Set
			If (String.Equals(Me._SYNCDBMAPEXCEPTIONACTIONCODE, value) = false) Then
				Me._SYNCDBMAPEXCEPTIONACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION ACTIONDATE", Storage:="_SYNCDBMAPEXCEPTIONACTIONDATE", DbType:="DateTime")>  _
	Public Property SYNCDBMAPEXCEPTIONACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDBMAPEXCEPTIONACTIONDATE
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONACTIONDATE.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION DBERRORCODE", Storage:="_SYNCDBMAPEXCEPTIONDBERRORCODE", DbType:="Int")>  _
	Public Property SYNCDBMAPEXCEPTIONDBERRORCODE() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPEXCEPTIONDBERRORCODE
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONDBERRORCODE.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONDBERRORCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION Details", Storage:="_SYNCDBMAPEXCEPTIONDetails", DbType:="NVarChar(1000)")>  _
	Public Property SYNCDBMAPEXCEPTIONDetails() As String
		Get
			Return Me._SYNCDBMAPEXCEPTIONDetails
		End Get
		Set
			If (String.Equals(Me._SYNCDBMAPEXCEPTIONDetails, value) = false) Then
				Me._SYNCDBMAPEXCEPTIONDetails = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION EXCEPTIONCODE", Storage:="_SYNCDBMAPEXCEPTIONEXCEPTIONCODE", DbType:="TinyInt")>  _
	Public Property SYNCDBMAPEXCEPTIONEXCEPTIONCODE() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCDBMAPEXCEPTIONEXCEPTIONCODE
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONEXCEPTIONCODE.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONEXCEPTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION REF_ROWEXCEPTIONID", Storage:="_SYNCDBMAPEXCEPTIONREF_ROWEXCEPTIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPEXCEPTIONREF_ROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPEXCEPTIONREF_ROWEXCEPTIONID
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONREF_ROWEXCEPTIONID.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONREF_ROWEXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW EXCEPTION ROWEXCEPTIONID", Storage:="_SYNCROWEXCEPTIONROWEXCEPTIONID", DbType:="Int")>  _
	Public Property SYNCROWEXCEPTIONROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWEXCEPTIONROWEXCEPTIONID
		End Get
		Set
			If (Me._SYNCROWEXCEPTIONROWEXCEPTIONID.Equals(value) = false) Then
				Me._SYNCROWEXCEPTIONROWEXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION ROWID1", Storage:="_SYNCDBMAPEXCEPTIONROWID1", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBMAPEXCEPTIONROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBMAPEXCEPTIONROWID1
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONROWID1.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION ROWID2", Storage:="_SYNCDBMAPEXCEPTIONROWID2", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBMAPEXCEPTIONROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBMAPEXCEPTIONROWID2
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONROWID2.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION ROWID3", Storage:="_SYNCDBMAPEXCEPTIONROWID3", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBMAPEXCEPTIONROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBMAPEXCEPTIONROWID3
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONROWID3.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION SESSIONID", Storage:="_SYNCDBMAPEXCEPTIONSESSIONID", DbType:="Int")>  _
	Public Property SYNCDBMAPEXCEPTIONSESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPEXCEPTIONSESSIONID
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONSESSIONID.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONSESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW EXCEPTION SYNCDBMAPID", Storage:="_SYNCROWEXCEPTIONSYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCROWEXCEPTIONSYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWEXCEPTIONSYNCDBMAPID
		End Get
		Set
			If (Me._SYNCROWEXCEPTIONSYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCROWEXCEPTIONSYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCDBMAP EXCEPTION SYNCROWID", Storage:="_SYNCDBMAPEXCEPTIONSYNCROWID", DbType:="Int")>  _
	Public Property SYNCDBMAPEXCEPTIONSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPEXCEPTIONSYNCROWID
		End Get
		Set
			If (Me._SYNCDBMAPEXCEPTIONSYNCROWID.Equals(value) = false) Then
				Me._SYNCDBMAPEXCEPTIONSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW EXCEPTION TABLELUID", Storage:="_SYNCROWEXCEPTIONTABLELUID", DbType:="SmallInt")>  _
	Public Property SYNCROWEXCEPTIONTABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWEXCEPTIONTABLELUID
		End Get
		Set
			If (Me._SYNCROWEXCEPTIONTABLELUID.Equals(value) = false) Then
				Me._SYNCROWEXCEPTIONTABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCROW_FILEResult
	
	Private _SYNCROWFILEAPPLYDATE As System.Nullable(Of Date)
	
	Private _SYNCROWFILEFILEHASH As String
	
	Private _SYNCROWFILEFILEID As System.Nullable(Of System.Guid)
	
	Private _SYNCROWFILEFILENAME As String
	
	Private _SYNCROWFILEFOLDERID As System.Nullable(Of Byte)
	
	Private _SYNCROWFILELASTWRITETIME As System.Nullable(Of Date)
	
	Private _SYNCROWFILEOPERATIONTYPENUM As String
	
	Private _SYNCROWFILEORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Private _SYNCROWFILESYNCROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE APPLYDATE", Storage:="_SYNCROWFILEAPPLYDATE", DbType:="DateTime")>  _
	Public Property SYNCROWFILEAPPLYDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCROWFILEAPPLYDATE
		End Get
		Set
			If (Me._SYNCROWFILEAPPLYDATE.Equals(value) = false) Then
				Me._SYNCROWFILEAPPLYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE FILEHASH", Storage:="_SYNCROWFILEFILEHASH", DbType:="Char(34)")>  _
	Public Property SYNCROWFILEFILEHASH() As String
		Get
			Return Me._SYNCROWFILEFILEHASH
		End Get
		Set
			If (String.Equals(Me._SYNCROWFILEFILEHASH, value) = false) Then
				Me._SYNCROWFILEFILEHASH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE FILEID", Storage:="_SYNCROWFILEFILEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWFILEFILEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWFILEFILEID
		End Get
		Set
			If (Me._SYNCROWFILEFILEID.Equals(value) = false) Then
				Me._SYNCROWFILEFILEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE FILENAME", Storage:="_SYNCROWFILEFILENAME", DbType:="NVarChar(512)")>  _
	Public Property SYNCROWFILEFILENAME() As String
		Get
			Return Me._SYNCROWFILEFILENAME
		End Get
		Set
			If (String.Equals(Me._SYNCROWFILEFILENAME, value) = false) Then
				Me._SYNCROWFILEFILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE FOLDERID", Storage:="_SYNCROWFILEFOLDERID", DbType:="TinyInt")>  _
	Public Property SYNCROWFILEFOLDERID() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCROWFILEFOLDERID
		End Get
		Set
			If (Me._SYNCROWFILEFOLDERID.Equals(value) = false) Then
				Me._SYNCROWFILEFOLDERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE LASTWRITETIME", Storage:="_SYNCROWFILELASTWRITETIME", DbType:="DateTime")>  _
	Public Property SYNCROWFILELASTWRITETIME() As System.Nullable(Of Date)
		Get
			Return Me._SYNCROWFILELASTWRITETIME
		End Get
		Set
			If (Me._SYNCROWFILELASTWRITETIME.Equals(value) = false) Then
				Me._SYNCROWFILELASTWRITETIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE OPERATIONTYPENUM", Storage:="_SYNCROWFILEOPERATIONTYPENUM", DbType:="NVarChar(2)")>  _
	Public Property SYNCROWFILEOPERATIONTYPENUM() As String
		Get
			Return Me._SYNCROWFILEOPERATIONTYPENUM
		End Get
		Set
			If (String.Equals(Me._SYNCROWFILEOPERATIONTYPENUM, value) = false) Then
				Me._SYNCROWFILEOPERATIONTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE ORIGIN_SYNCDBID", Storage:="_SYNCROWFILEORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property SYNCROWFILEORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWFILEORIGIN_SYNCDBID
		End Get
		Set
			If (Me._SYNCROWFILEORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._SYNCROWFILEORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW FILE SYNCROWID", Storage:="_SYNCROWFILESYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWFILESYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWFILESYNCROWID
		End Get
		Set
			If (Me._SYNCROWFILESYNCROWID.Equals(value) = false) Then
				Me._SYNCROWFILESYNCROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCROW_UPDATEResult
	
	Private _SYNCROWUPDATEROWID1 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWUPDATEROWID2 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWUPDATEROWID3 As System.Nullable(Of System.Guid)
	
	Private _SYNCROWUPDATESYNCROWID As System.Nullable(Of Integer)
	
	Private _SYNCROWUPDATETABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWUPDATE ROWID1", Storage:="_SYNCROWUPDATEROWID1", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWUPDATEROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWUPDATEROWID1
		End Get
		Set
			If (Me._SYNCROWUPDATEROWID1.Equals(value) = false) Then
				Me._SYNCROWUPDATEROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWUPDATE ROWID2", Storage:="_SYNCROWUPDATEROWID2", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWUPDATEROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWUPDATEROWID2
		End Get
		Set
			If (Me._SYNCROWUPDATEROWID2.Equals(value) = false) Then
				Me._SYNCROWUPDATEROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC ROWUPDATE ROWID3", Storage:="_SYNCROWUPDATEROWID3", DbType:="UniqueIdentifier")>  _
	Public Property SYNCROWUPDATEROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCROWUPDATEROWID3
		End Get
		Set
			If (Me._SYNCROWUPDATEROWID3.Equals(value) = false) Then
				Me._SYNCROWUPDATEROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATE SYNCROWID", Storage:="_SYNCROWUPDATESYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWUPDATESYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWUPDATESYNCROWID
		End Get
		Set
			If (Me._SYNCROWUPDATESYNCROWID.Equals(value) = false) Then
				Me._SYNCROWUPDATESYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATE TABLELUID", Storage:="_SYNCROWUPDATETABLELUID", DbType:="SmallInt")>  _
	Public Property SYNCROWUPDATETABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWUPDATETABLELUID
		End Get
		Set
			If (Me._SYNCROWUPDATETABLELUID.Equals(value) = false) Then
				Me._SYNCROWUPDATETABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCROW_UPDATECOLUMNResult
	
	Private _SYNCROWUPDATECOLUMNACCESSORLUID As System.Nullable(Of Short)
	
	Private _SYNCROWUPDATECOLUMNACTIONDATE As System.Nullable(Of Date)
	
	Private _SYNCROWUPDATECOLUMNSAPPLYDATE As System.Nullable(Of Date)
	
	Private _SYNCROWUPDATECOLUMNCOLUMNLUID As System.Nullable(Of Short)
	
	Private _SYNCROWUPDATECOLUMNSCOLUMNVALUE As String
	
	Private _SYNCROWUPDATECOLUMNSORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Private _SYNCROWUPDATECOLUMNSYNCROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMN ACCESSORLUID", Storage:="_SYNCROWUPDATECOLUMNACCESSORLUID", DbType:="SmallInt")>  _
	Public Property SYNCROWUPDATECOLUMNACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWUPDATECOLUMNACCESSORLUID
		End Get
		Set
			If (Me._SYNCROWUPDATECOLUMNACCESSORLUID.Equals(value) = false) Then
				Me._SYNCROWUPDATECOLUMNACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMN ACTIONDATE", Storage:="_SYNCROWUPDATECOLUMNACTIONDATE", DbType:="DateTime")>  _
	Public Property SYNCROWUPDATECOLUMNACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCROWUPDATECOLUMNACTIONDATE
		End Get
		Set
			If (Me._SYNCROWUPDATECOLUMNACTIONDATE.Equals(value) = false) Then
				Me._SYNCROWUPDATECOLUMNACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMNS APPLYDATE", Storage:="_SYNCROWUPDATECOLUMNSAPPLYDATE", DbType:="DateTime")>  _
	Public Property SYNCROWUPDATECOLUMNSAPPLYDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCROWUPDATECOLUMNSAPPLYDATE
		End Get
		Set
			If (Me._SYNCROWUPDATECOLUMNSAPPLYDATE.Equals(value) = false) Then
				Me._SYNCROWUPDATECOLUMNSAPPLYDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMN COLUMNLUID", Storage:="_SYNCROWUPDATECOLUMNCOLUMNLUID", DbType:="SmallInt")>  _
	Public Property SYNCROWUPDATECOLUMNCOLUMNLUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWUPDATECOLUMNCOLUMNLUID
		End Get
		Set
			If (Me._SYNCROWUPDATECOLUMNCOLUMNLUID.Equals(value) = false) Then
				Me._SYNCROWUPDATECOLUMNCOLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMNS COLUMNVALUE", Storage:="_SYNCROWUPDATECOLUMNSCOLUMNVALUE", DbType:="NVarChar(500)")>  _
	Public Property SYNCROWUPDATECOLUMNSCOLUMNVALUE() As String
		Get
			Return Me._SYNCROWUPDATECOLUMNSCOLUMNVALUE
		End Get
		Set
			If (String.Equals(Me._SYNCROWUPDATECOLUMNSCOLUMNVALUE, value) = false) Then
				Me._SYNCROWUPDATECOLUMNSCOLUMNVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMNS ORIGIN_SYNCDBID", Storage:="_SYNCROWUPDATECOLUMNSORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property SYNCROWUPDATECOLUMNSORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCROWUPDATECOLUMNSORIGIN_SYNCDBID
		End Get
		Set
			If (Me._SYNCROWUPDATECOLUMNSORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._SYNCROWUPDATECOLUMNSORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCROW UPDATECOLUMN SYNCROWID", Storage:="_SYNCROWUPDATECOLUMNSYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWUPDATECOLUMNSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWUPDATECOLUMNSYNCROWID
		End Get
		Set
			If (Me._SYNCROWUPDATECOLUMNSYNCROWID.Equals(value) = false) Then
				Me._SYNCROWUPDATECOLUMNSYNCROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCSETResult
	
	Private _SYNCSETAllUsers As System.Nullable(Of Boolean)
	
	Private _SYNCSETCreateDate As System.Nullable(Of Date)
	
	Private _SYNCSETCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETDESCRIPTION As String
	
	Private _SYNCSETEditDate As System.Nullable(Of Date)
	
	Private _SYNCSETEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETLastEditedBy As String
	
	Private _SYNCSETMANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETNAME As String
	
	Private _SYNCSETRecordCreator As String
	
	Private _SYNCSETRecordManager As String
	
	Private _SYNCSETSYNCSETID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETTYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET All Users", Storage:="_SYNCSETAllUsers", DbType:="Bit")>  _
	Public Property SYNCSETAllUsers() As System.Nullable(Of Boolean)
		Get
			Return Me._SYNCSETAllUsers
		End Get
		Set
			If (Me._SYNCSETAllUsers.Equals(value) = false) Then
				Me._SYNCSETAllUsers = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Create Date", Storage:="_SYNCSETCreateDate", DbType:="DateTime")>  _
	Public Property SYNCSETCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCSETCreateDate
		End Get
		Set
			If (Me._SYNCSETCreateDate.Equals(value) = false) Then
				Me._SYNCSETCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET CREATEUSERID", Storage:="_SYNCSETCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETCREATEUSERID
		End Get
		Set
			If (Me._SYNCSETCREATEUSERID.Equals(value) = false) Then
				Me._SYNCSETCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET DESCRIPTION", Storage:="_SYNCSETDESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property SYNCSETDESCRIPTION() As String
		Get
			Return Me._SYNCSETDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._SYNCSETDESCRIPTION, value) = false) Then
				Me._SYNCSETDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Edit Date", Storage:="_SYNCSETEditDate", DbType:="DateTime")>  _
	Public Property SYNCSETEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCSETEditDate
		End Get
		Set
			If (Me._SYNCSETEditDate.Equals(value) = false) Then
				Me._SYNCSETEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET EDITUSERID", Storage:="_SYNCSETEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETEDITUSERID
		End Get
		Set
			If (Me._SYNCSETEDITUSERID.Equals(value) = false) Then
				Me._SYNCSETEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Last Edited By", Storage:="_SYNCSETLastEditedBy", DbType:="NVarChar(128)")>  _
	Public Property SYNCSETLastEditedBy() As String
		Get
			Return Me._SYNCSETLastEditedBy
		End Get
		Set
			If (String.Equals(Me._SYNCSETLastEditedBy, value) = false) Then
				Me._SYNCSETLastEditedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET MANAGEUSERID", Storage:="_SYNCSETMANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETMANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETMANAGEUSERID
		End Get
		Set
			If (Me._SYNCSETMANAGEUSERID.Equals(value) = false) Then
				Me._SYNCSETMANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET NAME", Storage:="_SYNCSETNAME", DbType:="NVarChar(312)")>  _
	Public Property SYNCSETNAME() As String
		Get
			Return Me._SYNCSETNAME
		End Get
		Set
			If (String.Equals(Me._SYNCSETNAME, value) = false) Then
				Me._SYNCSETNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Record Creator", Storage:="_SYNCSETRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property SYNCSETRecordCreator() As String
		Get
			Return Me._SYNCSETRecordCreator
		End Get
		Set
			If (String.Equals(Me._SYNCSETRecordCreator, value) = false) Then
				Me._SYNCSETRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET Record Manager", Storage:="_SYNCSETRecordManager", DbType:="NVarChar(128)")>  _
	Public Property SYNCSETRecordManager() As String
		Get
			Return Me._SYNCSETRecordManager
		End Get
		Set
			If (String.Equals(Me._SYNCSETRecordManager, value) = false) Then
				Me._SYNCSETRecordManager = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET SYNCSETID", Storage:="_SYNCSETSYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETSYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETSYNCSETID
		End Get
		Set
			If (Me._SYNCSETSYNCSETID.Equals(value) = false) Then
				Me._SYNCSETSYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET TYPENUM", Storage:="_SYNCSETTYPENUM", DbType:="TinyInt")>  _
	Public Property SYNCSETTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCSETTYPENUM
		End Get
		Set
			If (Me._SYNCSETTYPENUM.Equals(value) = false) Then
				Me._SYNCSETTYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCSET_ACCESSORResult
	
	Private _SYNCSETACCESSORACCESSORID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETACCESSORCreateDate As System.Nullable(Of Date)
	
	Private _SYNCSETACCESSORCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYNCSETACCESSORRecordCreator As String
	
	Private _SYNCSETACCESSORSYNCSETID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR ACCESSORID", Storage:="_SYNCSETACCESSORACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETACCESSORACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETACCESSORACCESSORID
		End Get
		Set
			If (Me._SYNCSETACCESSORACCESSORID.Equals(value) = false) Then
				Me._SYNCSETACCESSORACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR Create Date", Storage:="_SYNCSETACCESSORCreateDate", DbType:="DateTime")>  _
	Public Property SYNCSETACCESSORCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCSETACCESSORCreateDate
		End Get
		Set
			If (Me._SYNCSETACCESSORCreateDate.Equals(value) = false) Then
				Me._SYNCSETACCESSORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR CREATEUSERID", Storage:="_SYNCSETACCESSORCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETACCESSORCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETACCESSORCREATEUSERID
		End Get
		Set
			If (Me._SYNCSETACCESSORCREATEUSERID.Equals(value) = false) Then
				Me._SYNCSETACCESSORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR Record Creator", Storage:="_SYNCSETACCESSORRecordCreator", DbType:="NVarChar(128)")>  _
	Public Property SYNCSETACCESSORRecordCreator() As String
		Get
			Return Me._SYNCSETACCESSORRecordCreator
		End Get
		Set
			If (String.Equals(Me._SYNCSETACCESSORRecordCreator, value) = false) Then
				Me._SYNCSETACCESSORRecordCreator = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSET ACCESSOR SYNCSETID", Storage:="_SYNCSETACCESSORSYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETACCESSORSYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETACCESSORSYNCSETID
		End Get
		Set
			If (Me._SYNCSETACCESSORSYNCSETID.Equals(value) = false) Then
				Me._SYNCSETACCESSORSYNCSETID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCSETQUERYResult
	
	Private _SYNCSETQUERYSYNCSETQUERYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSETQUERY SYNCSETQUERYID", Storage:="_SYNCSETQUERYSYNCSETQUERYID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETQUERYSYNCSETQUERYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETQUERYSYNCSETQUERYID
		End Get
		Set
			If (Me._SYNCSETQUERYSYNCSETQUERYID.Equals(value) = false) Then
				Me._SYNCSETQUERYSYNCSETQUERYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCSETTYPEResult
	
	Private _SYNCSETTYPETYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSETTYPE TYPENUM", Storage:="_SYNCSETTYPETYPENUM", DbType:="TinyInt")>  _
	Public Property SYNCSETTYPETYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCSETTYPETYPENUM
		End Get
		Set
			If (Me._SYNCSETTYPETYPENUM.Equals(value) = false) Then
				Me._SYNCSETTYPETYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCSUBSCRIPTIONResult
	
	Private _SYNCSUBSCRIPTIONCONTACTID As System.Nullable(Of System.Guid)
	
	Private _SYNCSUBSCRIPTIONSUBDBGUID As System.Nullable(Of System.Guid)
	
	Private _SYNCSUBSCRIPTIONSubscribeDate As System.Nullable(Of Date)
	
	Private _SYNCSUBSCRIPTIONSubscribedBy As System.Nullable(Of System.Guid)
	
	Private _SYNCSUBSCRIPTIONSUBSOURCE As System.Nullable(Of Byte)
	
	Private _SYNCSUBSCRIPTIONSUBSTATUS As System.Nullable(Of Byte)
	
	Private _SYNCSUBSCRIPTIONSYNCSETID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION CONTACTID", Storage:="_SYNCSUBSCRIPTIONCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSUBSCRIPTIONCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSUBSCRIPTIONCONTACTID
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONCONTACTID.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SUBDBGUID", Storage:="_SYNCSUBSCRIPTIONSUBDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSUBSCRIPTIONSUBDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSUBSCRIPTIONSUBDBGUID
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSUBDBGUID.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSUBDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION Subscribe Date", Storage:="_SYNCSUBSCRIPTIONSubscribeDate", DbType:="DateTime")>  _
	Public Property SYNCSUBSCRIPTIONSubscribeDate() As System.Nullable(Of Date)
		Get
			Return Me._SYNCSUBSCRIPTIONSubscribeDate
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSubscribeDate.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSubscribeDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION Subscribed By", Storage:="_SYNCSUBSCRIPTIONSubscribedBy", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSUBSCRIPTIONSubscribedBy() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSUBSCRIPTIONSubscribedBy
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSubscribedBy.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSubscribedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SUBSOURCE", Storage:="_SYNCSUBSCRIPTIONSUBSOURCE", DbType:="TinyInt")>  _
	Public Property SYNCSUBSCRIPTIONSUBSOURCE() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCSUBSCRIPTIONSUBSOURCE
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSUBSOURCE.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSUBSOURCE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SUBSTATUS", Storage:="_SYNCSUBSCRIPTIONSUBSTATUS", DbType:="TinyInt")>  _
	Public Property SYNCSUBSCRIPTIONSUBSTATUS() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCSUBSCRIPTIONSUBSTATUS
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSUBSTATUS.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSUBSTATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCSUBSCRIPTION SYNCSETID", Storage:="_SYNCSUBSCRIPTIONSYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSUBSCRIPTIONSYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSUBSCRIPTIONSYNCSETID
		End Get
		Set
			If (Me._SYNCSUBSCRIPTIONSYNCSETID.Equals(value) = false) Then
				Me._SYNCSUBSCRIPTIONSYNCSETID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYNCTABLEResult
	
	Private _SYNCTABLETABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNCTABLE TABLELUID", Storage:="_SYNCTABLETABLELUID", DbType:="SmallInt")>  _
	Public Property SYNCTABLETABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCTABLETABLELUID
		End Get
		Set
			If (Me._SYNCTABLETABLELUID.Equals(value) = false) Then
				Me._SYNCTABLETABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSCALCCOLUMNResult
	
	Private _SYSCALCCOLUMNBASECOLUMNID As System.Nullable(Of System.Guid)
	
	Private _SYSCALCCOLUMNCALCCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _SYSCALCCOLUMNCreateDate As System.Nullable(Of Date)
	
	Private _SYSCALCCOLUMNCREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCALCCOLUMN BASECOLUMNID", Storage:="_SYSCALCCOLUMNBASECOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCALCCOLUMNBASECOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCALCCOLUMNBASECOLUMNID
		End Get
		Set
			If (Me._SYSCALCCOLUMNBASECOLUMNID.Equals(value) = false) Then
				Me._SYSCALCCOLUMNBASECOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCALCCOLUMN CALCCOLUMNID", Storage:="_SYSCALCCOLUMNCALCCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCALCCOLUMNCALCCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCALCCOLUMNCALCCOLUMNID
		End Get
		Set
			If (Me._SYSCALCCOLUMNCALCCOLUMNID.Equals(value) = false) Then
				Me._SYSCALCCOLUMNCALCCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCALCCOLUMN Create Date", Storage:="_SYSCALCCOLUMNCreateDate", DbType:="DateTime")>  _
	Public Property SYSCALCCOLUMNCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSCALCCOLUMNCreateDate
		End Get
		Set
			If (Me._SYSCALCCOLUMNCreateDate.Equals(value) = false) Then
				Me._SYSCALCCOLUMNCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCALCCOLUMN CREATEUSERID", Storage:="_SYSCALCCOLUMNCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCALCCOLUMNCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCALCCOLUMNCREATEUSERID
		End Get
		Set
			If (Me._SYSCALCCOLUMNCREATEUSERID.Equals(value) = false) Then
				Me._SYSCALCCOLUMNCREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSCOLUMNResult
	
	Private _SYSCOLUMNALIASNAME As String
	
	Private _SYSCOLUMNCALCDEFINITION As String
	
	Private _SYSCOLUMNCALCDISPLAY As String
	
	Private _SYSCOLUMNCanDelete As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNCanResize As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNChangeDatatype As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNCOLUMNNAME As String
	
	Private _SYSCOLUMNCOLUMNTYPE As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNCreateDate As System.Nullable(Of Date)
	
	Private _SYSCOLUMNCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNDATATYPEID As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNDecimalPrecision As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNDefaultValue As String
	
	Private _SYSCOLUMNDescription As String
	
	Private _SYSCOLUMNDISPLAYNAME As String
	
	Private _SYSCOLUMNEditDate As System.Nullable(Of Date)
	
	Private _SYSCOLUMNEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNEventOnChange As String
	
	Private _SYSCOLUMNEventOnFocus As String
	
	Private _SYSCOLUMNEventOnLostFocus As String
	
	Private _SYSCOLUMNFieldFormat As String
	
	Private _SYSCOLUMNIsAllowBlanks As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNIsCustom As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNIsPrimaryField As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNIsProtected As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNIsTracked As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNISDEFINEFIELD As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNISDISPLAYED As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNISNULLABLE As System.Nullable(Of Boolean)
	
	Private _SYSCOLUMNITEM As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNLENGTH As System.Nullable(Of Short)
	
	Private _SYSCOLUMNMinColumnLength As System.Nullable(Of Short)
	
	Private _SYSCOLUMNOLEDBNAME As String
	
	Private _SYSCOLUMNOLEDBTYPENUM As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNORDINAL As System.Nullable(Of Short)
	
	Private _SYSCOLUMNPICKLISTID_COLUMNID As String
	
	Private _SYSCOLUMNRECORDIDENTIFIER As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNREF_JOINCOLUMN As String
	
	Private _SYSCOLUMNREF_REALCOLUMN As String
	
	Private _SYSCOLUMNREF_REALCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNSYNCTYPENUM As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNTABLEID As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNUPDATETYPE As System.Nullable(Of Byte)
	
	Private _SYSCOLUMNVALIDACCESSLEVELS As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ALIASNAME", Storage:="_SYSCOLUMNALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property SYSCOLUMNALIASNAME() As String
		Get
			Return Me._SYSCOLUMNALIASNAME
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNALIASNAME, value) = false) Then
				Me._SYSCOLUMNALIASNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN CALCDEFINITION", Storage:="_SYSCOLUMNCALCDEFINITION", DbType:="NVarChar(500)")>  _
	Public Property SYSCOLUMNCALCDEFINITION() As String
		Get
			Return Me._SYSCOLUMNCALCDEFINITION
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNCALCDEFINITION, value) = false) Then
				Me._SYSCOLUMNCALCDEFINITION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN CALCDISPLAY", Storage:="_SYSCOLUMNCALCDISPLAY", DbType:="NVarChar(500)")>  _
	Public Property SYSCOLUMNCALCDISPLAY() As String
		Get
			Return Me._SYSCOLUMNCALCDISPLAY
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNCALCDISPLAY, value) = false) Then
				Me._SYSCOLUMNCALCDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Can Delete", Storage:="_SYSCOLUMNCanDelete", DbType:="Bit")>  _
	Public Property SYSCOLUMNCanDelete() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNCanDelete
		End Get
		Set
			If (Me._SYSCOLUMNCanDelete.Equals(value) = false) Then
				Me._SYSCOLUMNCanDelete = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Can Resize", Storage:="_SYSCOLUMNCanResize", DbType:="Bit")>  _
	Public Property SYSCOLUMNCanResize() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNCanResize
		End Get
		Set
			If (Me._SYSCOLUMNCanResize.Equals(value) = false) Then
				Me._SYSCOLUMNCanResize = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Change Datatype", Storage:="_SYSCOLUMNChangeDatatype", DbType:="Bit")>  _
	Public Property SYSCOLUMNChangeDatatype() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNChangeDatatype
		End Get
		Set
			If (Me._SYSCOLUMNChangeDatatype.Equals(value) = false) Then
				Me._SYSCOLUMNChangeDatatype = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN COLUMNID", Storage:="_SYSCOLUMNCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNCOLUMNID
		End Get
		Set
			If (Me._SYSCOLUMNCOLUMNID.Equals(value) = false) Then
				Me._SYSCOLUMNCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN COLUMNNAME", Storage:="_SYSCOLUMNCOLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property SYSCOLUMNCOLUMNNAME() As String
		Get
			Return Me._SYSCOLUMNCOLUMNNAME
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNCOLUMNNAME, value) = false) Then
				Me._SYSCOLUMNCOLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN COLUMNTYPE", Storage:="_SYSCOLUMNCOLUMNTYPE", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNCOLUMNTYPE() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNCOLUMNTYPE
		End Get
		Set
			If (Me._SYSCOLUMNCOLUMNTYPE.Equals(value) = false) Then
				Me._SYSCOLUMNCOLUMNTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Create Date", Storage:="_SYSCOLUMNCreateDate", DbType:="DateTime")>  _
	Public Property SYSCOLUMNCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSCOLUMNCreateDate
		End Get
		Set
			If (Me._SYSCOLUMNCreateDate.Equals(value) = false) Then
				Me._SYSCOLUMNCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN CREATEUSERID", Storage:="_SYSCOLUMNCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNCREATEUSERID
		End Get
		Set
			If (Me._SYSCOLUMNCREATEUSERID.Equals(value) = false) Then
				Me._SYSCOLUMNCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN DATATYPEID", Storage:="_SYSCOLUMNDATATYPEID", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNDATATYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNDATATYPEID
		End Get
		Set
			If (Me._SYSCOLUMNDATATYPEID.Equals(value) = false) Then
				Me._SYSCOLUMNDATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Decimal Precision", Storage:="_SYSCOLUMNDecimalPrecision", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNDecimalPrecision() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNDecimalPrecision
		End Get
		Set
			If (Me._SYSCOLUMNDecimalPrecision.Equals(value) = false) Then
				Me._SYSCOLUMNDecimalPrecision = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Default Value", Storage:="_SYSCOLUMNDefaultValue", DbType:="NVarChar(500)")>  _
	Public Property SYSCOLUMNDefaultValue() As String
		Get
			Return Me._SYSCOLUMNDefaultValue
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNDefaultValue, value) = false) Then
				Me._SYSCOLUMNDefaultValue = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Description", Storage:="_SYSCOLUMNDescription", DbType:="NVarChar(MAX)")>  _
	Public Property SYSCOLUMNDescription() As String
		Get
			Return Me._SYSCOLUMNDescription
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNDescription, value) = false) Then
				Me._SYSCOLUMNDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN DISPLAYNAME", Storage:="_SYSCOLUMNDISPLAYNAME", DbType:="NVarChar(192)")>  _
	Public Property SYSCOLUMNDISPLAYNAME() As String
		Get
			Return Me._SYSCOLUMNDISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNDISPLAYNAME, value) = false) Then
				Me._SYSCOLUMNDISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Edit Date", Storage:="_SYSCOLUMNEditDate", DbType:="DateTime")>  _
	Public Property SYSCOLUMNEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSCOLUMNEditDate
		End Get
		Set
			If (Me._SYSCOLUMNEditDate.Equals(value) = false) Then
				Me._SYSCOLUMNEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN EDITUSERID", Storage:="_SYSCOLUMNEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNEDITUSERID
		End Get
		Set
			If (Me._SYSCOLUMNEDITUSERID.Equals(value) = false) Then
				Me._SYSCOLUMNEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Event On Change", Storage:="_SYSCOLUMNEventOnChange", DbType:="NVarChar(512)")>  _
	Public Property SYSCOLUMNEventOnChange() As String
		Get
			Return Me._SYSCOLUMNEventOnChange
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNEventOnChange, value) = false) Then
				Me._SYSCOLUMNEventOnChange = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Event On Focus", Storage:="_SYSCOLUMNEventOnFocus", DbType:="NVarChar(512)")>  _
	Public Property SYSCOLUMNEventOnFocus() As String
		Get
			Return Me._SYSCOLUMNEventOnFocus
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNEventOnFocus, value) = false) Then
				Me._SYSCOLUMNEventOnFocus = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Event On Lost Focus", Storage:="_SYSCOLUMNEventOnLostFocus", DbType:="NVarChar(512)")>  _
	Public Property SYSCOLUMNEventOnLostFocus() As String
		Get
			Return Me._SYSCOLUMNEventOnLostFocus
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNEventOnLostFocus, value) = false) Then
				Me._SYSCOLUMNEventOnLostFocus = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Field Format", Storage:="_SYSCOLUMNFieldFormat", DbType:="NVarChar(500)")>  _
	Public Property SYSCOLUMNFieldFormat() As String
		Get
			Return Me._SYSCOLUMNFieldFormat
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNFieldFormat, value) = false) Then
				Me._SYSCOLUMNFieldFormat = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Is Allow Blanks", Storage:="_SYSCOLUMNIsAllowBlanks", DbType:="Bit")>  _
	Public Property SYSCOLUMNIsAllowBlanks() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNIsAllowBlanks
		End Get
		Set
			If (Me._SYSCOLUMNIsAllowBlanks.Equals(value) = false) Then
				Me._SYSCOLUMNIsAllowBlanks = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Is Custom", Storage:="_SYSCOLUMNIsCustom", DbType:="Bit")>  _
	Public Property SYSCOLUMNIsCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNIsCustom
		End Get
		Set
			If (Me._SYSCOLUMNIsCustom.Equals(value) = false) Then
				Me._SYSCOLUMNIsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Is Primary Field", Storage:="_SYSCOLUMNIsPrimaryField", DbType:="Bit")>  _
	Public Property SYSCOLUMNIsPrimaryField() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNIsPrimaryField
		End Get
		Set
			If (Me._SYSCOLUMNIsPrimaryField.Equals(value) = false) Then
				Me._SYSCOLUMNIsPrimaryField = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Is Protected", Storage:="_SYSCOLUMNIsProtected", DbType:="Bit")>  _
	Public Property SYSCOLUMNIsProtected() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNIsProtected
		End Get
		Set
			If (Me._SYSCOLUMNIsProtected.Equals(value) = false) Then
				Me._SYSCOLUMNIsProtected = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Is Tracked", Storage:="_SYSCOLUMNIsTracked", DbType:="Bit")>  _
	Public Property SYSCOLUMNIsTracked() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNIsTracked
		End Get
		Set
			If (Me._SYSCOLUMNIsTracked.Equals(value) = false) Then
				Me._SYSCOLUMNIsTracked = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ISDEFINEFIELD", Storage:="_SYSCOLUMNISDEFINEFIELD", DbType:="Bit")>  _
	Public Property SYSCOLUMNISDEFINEFIELD() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNISDEFINEFIELD
		End Get
		Set
			If (Me._SYSCOLUMNISDEFINEFIELD.Equals(value) = false) Then
				Me._SYSCOLUMNISDEFINEFIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ISDISPLAYED", Storage:="_SYSCOLUMNISDISPLAYED", DbType:="Bit")>  _
	Public Property SYSCOLUMNISDISPLAYED() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNISDISPLAYED
		End Get
		Set
			If (Me._SYSCOLUMNISDISPLAYED.Equals(value) = false) Then
				Me._SYSCOLUMNISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ISNULLABLE", Storage:="_SYSCOLUMNISNULLABLE", DbType:="Bit")>  _
	Public Property SYSCOLUMNISNULLABLE() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSCOLUMNISNULLABLE
		End Get
		Set
			If (Me._SYSCOLUMNISNULLABLE.Equals(value) = false) Then
				Me._SYSCOLUMNISNULLABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ITEM", Storage:="_SYSCOLUMNITEM", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNITEM() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNITEM
		End Get
		Set
			If (Me._SYSCOLUMNITEM.Equals(value) = false) Then
				Me._SYSCOLUMNITEM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN LENGTH", Storage:="_SYSCOLUMNLENGTH", DbType:="SmallInt")>  _
	Public Property SYSCOLUMNLENGTH() As System.Nullable(Of Short)
		Get
			Return Me._SYSCOLUMNLENGTH
		End Get
		Set
			If (Me._SYSCOLUMNLENGTH.Equals(value) = false) Then
				Me._SYSCOLUMNLENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN Min Column Length", Storage:="_SYSCOLUMNMinColumnLength", DbType:="SmallInt")>  _
	Public Property SYSCOLUMNMinColumnLength() As System.Nullable(Of Short)
		Get
			Return Me._SYSCOLUMNMinColumnLength
		End Get
		Set
			If (Me._SYSCOLUMNMinColumnLength.Equals(value) = false) Then
				Me._SYSCOLUMNMinColumnLength = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN OLEDBNAME", Storage:="_SYSCOLUMNOLEDBNAME", DbType:="NVarChar(96)")>  _
	Public Property SYSCOLUMNOLEDBNAME() As String
		Get
			Return Me._SYSCOLUMNOLEDBNAME
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNOLEDBNAME, value) = false) Then
				Me._SYSCOLUMNOLEDBNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN OLEDBTYPENUM", Storage:="_SYSCOLUMNOLEDBTYPENUM", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNOLEDBTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNOLEDBTYPENUM
		End Get
		Set
			If (Me._SYSCOLUMNOLEDBTYPENUM.Equals(value) = false) Then
				Me._SYSCOLUMNOLEDBTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ORDINAL", Storage:="_SYSCOLUMNORDINAL", DbType:="SmallInt")>  _
	Public Property SYSCOLUMNORDINAL() As System.Nullable(Of Short)
		Get
			Return Me._SYSCOLUMNORDINAL
		End Get
		Set
			If (Me._SYSCOLUMNORDINAL.Equals(value) = false) Then
				Me._SYSCOLUMNORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN PICKLISTID_COLUMNID", Storage:="_SYSCOLUMNPICKLISTID_COLUMNID", DbType:="NVarChar(64)")>  _
	Public Property SYSCOLUMNPICKLISTID_COLUMNID() As String
		Get
			Return Me._SYSCOLUMNPICKLISTID_COLUMNID
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNPICKLISTID_COLUMNID, value) = false) Then
				Me._SYSCOLUMNPICKLISTID_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN RECORDIDENTIFIER", Storage:="_SYSCOLUMNRECORDIDENTIFIER", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNRECORDIDENTIFIER() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNRECORDIDENTIFIER
		End Get
		Set
			If (Me._SYSCOLUMNRECORDIDENTIFIER.Equals(value) = false) Then
				Me._SYSCOLUMNRECORDIDENTIFIER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN REF_JOINCOLUMN", Storage:="_SYSCOLUMNREF_JOINCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property SYSCOLUMNREF_JOINCOLUMN() As String
		Get
			Return Me._SYSCOLUMNREF_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNREF_JOINCOLUMN, value) = false) Then
				Me._SYSCOLUMNREF_JOINCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN REF_REALCOLUMN", Storage:="_SYSCOLUMNREF_REALCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property SYSCOLUMNREF_REALCOLUMN() As String
		Get
			Return Me._SYSCOLUMNREF_REALCOLUMN
		End Get
		Set
			If (String.Equals(Me._SYSCOLUMNREF_REALCOLUMN, value) = false) Then
				Me._SYSCOLUMNREF_REALCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN REF_REALCOLUMNID", Storage:="_SYSCOLUMNREF_REALCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNREF_REALCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNREF_REALCOLUMNID
		End Get
		Set
			If (Me._SYSCOLUMNREF_REALCOLUMNID.Equals(value) = false) Then
				Me._SYSCOLUMNREF_REALCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN SYNCTYPENUM", Storage:="_SYSCOLUMNSYNCTYPENUM", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNSYNCTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNSYNCTYPENUM
		End Get
		Set
			If (Me._SYSCOLUMNSYNCTYPENUM.Equals(value) = false) Then
				Me._SYSCOLUMNSYNCTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN TABLEID", Storage:="_SYSCOLUMNTABLEID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNTABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNTABLEID
		End Get
		Set
			If (Me._SYSCOLUMNTABLEID.Equals(value) = false) Then
				Me._SYSCOLUMNTABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN UPDATETYPE", Storage:="_SYSCOLUMNUPDATETYPE", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNUPDATETYPE() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNUPDATETYPE
		End Get
		Set
			If (Me._SYSCOLUMNUPDATETYPE.Equals(value) = false) Then
				Me._SYSCOLUMNUPDATETYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN VALIDACCESSLEVELS", Storage:="_SYSCOLUMNVALIDACCESSLEVELS", DbType:="TinyInt")>  _
	Public Property SYSCOLUMNVALIDACCESSLEVELS() As System.Nullable(Of Byte)
		Get
			Return Me._SYSCOLUMNVALIDACCESSLEVELS
		End Get
		Set
			If (Me._SYSCOLUMNVALIDACCESSLEVELS.Equals(value) = false) Then
				Me._SYSCOLUMNVALIDACCESSLEVELS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSCOLUMN_ACLResult
	
	Private _SYSCOLUMNACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _SYSCOLUMNACLCOLUMNID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ACL ACCESSORID", Storage:="_SYSCOLUMNACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNACLACCESSORID
		End Get
		Set
			If (Me._SYSCOLUMNACLACCESSORID.Equals(value) = false) Then
				Me._SYSCOLUMNACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCOLUMN ACL COLUMNID", Storage:="_SYSCOLUMNACLCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property SYSCOLUMNACLCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSCOLUMNACLCOLUMNID
		End Get
		Set
			If (Me._SYSCOLUMNACLCOLUMNID.Equals(value) = false) Then
				Me._SYSCOLUMNACLCOLUMNID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSCONSTANTResult
	
	Private _SYSCONSTANTCONSTANTNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSCONSTANT CONSTANTNAME", Storage:="_SYSCONSTANTCONSTANTNAME", DbType:="NVarChar(64)")>  _
	Public Property SYSCONSTANTCONSTANTNAME() As String
		Get
			Return Me._SYSCONSTANTCONSTANTNAME
		End Get
		Set
			If (String.Equals(Me._SYSCONSTANTCONSTANTNAME, value) = false) Then
				Me._SYSCONSTANTCONSTANTNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSDATATYPEResult
	
	Private _SYSDATATYPECreateDate As System.Nullable(Of Date)
	
	Private _SYSDATATYPECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSDATATYPEDATATYPEID As System.Nullable(Of Byte)
	
	Private _SYSDATATYPEEditDate As System.Nullable(Of Date)
	
	Private _SYSDATATYPEEDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDATATYPE Create Date", Storage:="_SYSDATATYPECreateDate", DbType:="DateTime")>  _
	Public Property SYSDATATYPECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSDATATYPECreateDate
		End Get
		Set
			If (Me._SYSDATATYPECreateDate.Equals(value) = false) Then
				Me._SYSDATATYPECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDATATYPE CREATEUSERID", Storage:="_SYSDATATYPECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSDATATYPECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSDATATYPECREATEUSERID
		End Get
		Set
			If (Me._SYSDATATYPECREATEUSERID.Equals(value) = false) Then
				Me._SYSDATATYPECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDATATYPE DATATYPEID", Storage:="_SYSDATATYPEDATATYPEID", DbType:="TinyInt")>  _
	Public Property SYSDATATYPEDATATYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSDATATYPEDATATYPEID
		End Get
		Set
			If (Me._SYSDATATYPEDATATYPEID.Equals(value) = false) Then
				Me._SYSDATATYPEDATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDATATYPE Edit Date", Storage:="_SYSDATATYPEEditDate", DbType:="DateTime")>  _
	Public Property SYSDATATYPEEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSDATATYPEEditDate
		End Get
		Set
			If (Me._SYSDATATYPEEditDate.Equals(value) = false) Then
				Me._SYSDATATYPEEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDATATYPE EDITUSERID", Storage:="_SYSDATATYPEEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSDATATYPEEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSDATATYPEEDITUSERID
		End Get
		Set
			If (Me._SYSDATATYPEEDITUSERID.Equals(value) = false) Then
				Me._SYSDATATYPEEDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSDOMAINResult
	
	Private _SYSDOMAINCreateDate As System.Nullable(Of Date)
	
	Private _SYSDOMAINCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSDOMAINDOMAINID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDOMAIN Create Date", Storage:="_SYSDOMAINCreateDate", DbType:="DateTime")>  _
	Public Property SYSDOMAINCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSDOMAINCreateDate
		End Get
		Set
			If (Me._SYSDOMAINCreateDate.Equals(value) = false) Then
				Me._SYSDOMAINCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDOMAIN CREATEUSERID", Storage:="_SYSDOMAINCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSDOMAINCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSDOMAINCREATEUSERID
		End Get
		Set
			If (Me._SYSDOMAINCREATEUSERID.Equals(value) = false) Then
				Me._SYSDOMAINCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDOMAIN DOMAINID", Storage:="_SYSDOMAINDOMAINID", DbType:="TinyInt")>  _
	Public Property SYSDOMAINDOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSDOMAINDOMAINID
		End Get
		Set
			If (Me._SYSDOMAINDOMAINID.Equals(value) = false) Then
				Me._SYSDOMAINDOMAINID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSDOMAIN_SYSOPERATORResult
	
	Private _SYSDOMAINSYSOPERATORDOMAINID As System.Nullable(Of Byte)
	
	Private _SYSDOMAINSYSOPERATOROPERATORID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDOMAIN SYSOPERATOR DOMAINID", Storage:="_SYSDOMAINSYSOPERATORDOMAINID", DbType:="TinyInt")>  _
	Public Property SYSDOMAINSYSOPERATORDOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSDOMAINSYSOPERATORDOMAINID
		End Get
		Set
			If (Me._SYSDOMAINSYSOPERATORDOMAINID.Equals(value) = false) Then
				Me._SYSDOMAINSYSOPERATORDOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSDOMAIN SYSOPERATOR OPERATORID", Storage:="_SYSDOMAINSYSOPERATOROPERATORID", DbType:="TinyInt")>  _
	Public Property SYSDOMAINSYSOPERATOROPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSDOMAINSYSOPERATOROPERATORID
		End Get
		Set
			If (Me._SYSDOMAINSYSOPERATOROPERATORID.Equals(value) = false) Then
				Me._SYSDOMAINSYSOPERATOROPERATORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSENTITYResult
	
	Private _SYSENTITYCreateDate As System.Nullable(Of Date)
	
	Private _SYSENTITYDescription As String
	
	Private _SYSENTITYDisplayname As String
	
	Private _SYSENTITYEditHistory As System.Nullable(Of Boolean)
	
	Private _SYSENTITYEnableDupChecking As System.Nullable(Of Boolean)
	
	Private _SYSENTITYENTITYID As System.Nullable(Of System.Guid)
	
	Private _SYSENTITYFEATURESETID As System.Nullable(Of System.Guid)
	
	Private _SYSENTITYIsCustom As System.Nullable(Of Boolean)
	
	Private _SYSENTITYIsDefineFields As System.Nullable(Of Boolean)
	
	Private _SYSENTITYIsDisplayed As System.Nullable(Of Boolean)
	
	Private _SYSENTITYName As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Create Date", Storage:="_SYSENTITYCreateDate", DbType:="DateTime")>  _
	Public Property SYSENTITYCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSENTITYCreateDate
		End Get
		Set
			If (Me._SYSENTITYCreateDate.Equals(value) = false) Then
				Me._SYSENTITYCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Description", Storage:="_SYSENTITYDescription", DbType:="NVarChar(512)")>  _
	Public Property SYSENTITYDescription() As String
		Get
			Return Me._SYSENTITYDescription
		End Get
		Set
			If (String.Equals(Me._SYSENTITYDescription, value) = false) Then
				Me._SYSENTITYDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Displayname", Storage:="_SYSENTITYDisplayname", DbType:="NVarChar(64)")>  _
	Public Property SYSENTITYDisplayname() As String
		Get
			Return Me._SYSENTITYDisplayname
		End Get
		Set
			If (String.Equals(Me._SYSENTITYDisplayname, value) = false) Then
				Me._SYSENTITYDisplayname = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Edit History", Storage:="_SYSENTITYEditHistory", DbType:="Bit")>  _
	Public Property SYSENTITYEditHistory() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSENTITYEditHistory
		End Get
		Set
			If (Me._SYSENTITYEditHistory.Equals(value) = false) Then
				Me._SYSENTITYEditHistory = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Enable Dup Checking", Storage:="_SYSENTITYEnableDupChecking", DbType:="Bit")>  _
	Public Property SYSENTITYEnableDupChecking() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSENTITYEnableDupChecking
		End Get
		Set
			If (Me._SYSENTITYEnableDupChecking.Equals(value) = false) Then
				Me._SYSENTITYEnableDupChecking = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY ENTITYID", Storage:="_SYSENTITYENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property SYSENTITYENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSENTITYENTITYID
		End Get
		Set
			If (Me._SYSENTITYENTITYID.Equals(value) = false) Then
				Me._SYSENTITYENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY FEATURESETID", Storage:="_SYSENTITYFEATURESETID", DbType:="UniqueIdentifier")>  _
	Public Property SYSENTITYFEATURESETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSENTITYFEATURESETID
		End Get
		Set
			If (Me._SYSENTITYFEATURESETID.Equals(value) = false) Then
				Me._SYSENTITYFEATURESETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Is Custom", Storage:="_SYSENTITYIsCustom", DbType:="Bit")>  _
	Public Property SYSENTITYIsCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSENTITYIsCustom
		End Get
		Set
			If (Me._SYSENTITYIsCustom.Equals(value) = false) Then
				Me._SYSENTITYIsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Is Define Fields", Storage:="_SYSENTITYIsDefineFields", DbType:="Bit")>  _
	Public Property SYSENTITYIsDefineFields() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSENTITYIsDefineFields
		End Get
		Set
			If (Me._SYSENTITYIsDefineFields.Equals(value) = false) Then
				Me._SYSENTITYIsDefineFields = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Is Displayed", Storage:="_SYSENTITYIsDisplayed", DbType:="Bit")>  _
	Public Property SYSENTITYIsDisplayed() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSENTITYIsDisplayed
		End Get
		Set
			If (Me._SYSENTITYIsDisplayed.Equals(value) = false) Then
				Me._SYSENTITYIsDisplayed = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY Name", Storage:="_SYSENTITYName", DbType:="NVarChar(64)")>  _
	Public Property SYSENTITYName() As String
		Get
			Return Me._SYSENTITYName
		End Get
		Set
			If (String.Equals(Me._SYSENTITYName, value) = false) Then
				Me._SYSENTITYName = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSENTITY_SYSTABLEResult
	
	Private _SYSENTITYSYSTABLEENTITYID As System.Nullable(Of System.Guid)
	
	Private _SYSENTITYSYSTABLEIsprimarytable As System.Nullable(Of Boolean)
	
	Private _SYSENTITYSYSTABLETABLEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY SYSTABLE ENTITYID", Storage:="_SYSENTITYSYSTABLEENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property SYSENTITYSYSTABLEENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSENTITYSYSTABLEENTITYID
		End Get
		Set
			If (Me._SYSENTITYSYSTABLEENTITYID.Equals(value) = false) Then
				Me._SYSENTITYSYSTABLEENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY SYSTABLE Isprimarytable", Storage:="_SYSENTITYSYSTABLEIsprimarytable", DbType:="Bit")>  _
	Public Property SYSENTITYSYSTABLEIsprimarytable() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSENTITYSYSTABLEIsprimarytable
		End Get
		Set
			If (Me._SYSENTITYSYSTABLEIsprimarytable.Equals(value) = false) Then
				Me._SYSENTITYSYSTABLEIsprimarytable = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITY SYSTABLE TABLEID", Storage:="_SYSENTITYSYSTABLETABLEID", DbType:="UniqueIdentifier")>  _
	Public Property SYSENTITYSYSTABLETABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSENTITYSYSTABLETABLEID
		End Get
		Set
			If (Me._SYSENTITYSYSTABLETABLEID.Equals(value) = false) Then
				Me._SYSENTITYSYSTABLETABLEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSENTITYRELATIONResult
	
	Private _SYSENTITYRELATIONFROM_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _SYSENTITYRELATIONTO_ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITYRELATION FROM_ENTITYID", Storage:="_SYSENTITYRELATIONFROM_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property SYSENTITYRELATIONFROM_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSENTITYRELATIONFROM_ENTITYID
		End Get
		Set
			If (Me._SYSENTITYRELATIONFROM_ENTITYID.Equals(value) = false) Then
				Me._SYSENTITYRELATIONFROM_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSENTITYRELATION TO_ENTITYID", Storage:="_SYSENTITYRELATIONTO_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property SYSENTITYRELATIONTO_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSENTITYRELATIONTO_ENTITYID
		End Get
		Set
			If (Me._SYSENTITYRELATIONTO_ENTITYID.Equals(value) = false) Then
				Me._SYSENTITYRELATIONTO_ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSLOCALCOLUMNResult
	
	Private _SYSLOCALCOLUMNCOLUMNNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSLOCALCOLUMN COLUMNNAME", Storage:="_SYSLOCALCOLUMNCOLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property SYSLOCALCOLUMNCOLUMNNAME() As String
		Get
			Return Me._SYSLOCALCOLUMNCOLUMNNAME
		End Get
		Set
			If (String.Equals(Me._SYSLOCALCOLUMNCOLUMNNAME, value) = false) Then
				Me._SYSLOCALCOLUMNCOLUMNNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSLOCALMESSAGEResult
	
	Private _SYSLOCALMESSAGEMESSAGEKEY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSLOCALMESSAGE MESSAGEKEY", Storage:="_SYSLOCALMESSAGEMESSAGEKEY", DbType:="VarChar(64)")>  _
	Public Property SYSLOCALMESSAGEMESSAGEKEY() As String
		Get
			Return Me._SYSLOCALMESSAGEMESSAGEKEY
		End Get
		Set
			If (String.Equals(Me._SYSLOCALMESSAGEMESSAGEKEY, value) = false) Then
				Me._SYSLOCALMESSAGEMESSAGEKEY = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSOPERATORResult
	
	Private _SYSOPERATORCreateDate As System.Nullable(Of Date)
	
	Private _SYSOPERATORCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSOPERATOROPERATORID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSOPERATOR Create Date", Storage:="_SYSOPERATORCreateDate", DbType:="DateTime")>  _
	Public Property SYSOPERATORCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSOPERATORCreateDate
		End Get
		Set
			If (Me._SYSOPERATORCreateDate.Equals(value) = false) Then
				Me._SYSOPERATORCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSOPERATOR CREATEUSERID", Storage:="_SYSOPERATORCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSOPERATORCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSOPERATORCREATEUSERID
		End Get
		Set
			If (Me._SYSOPERATORCREATEUSERID.Equals(value) = false) Then
				Me._SYSOPERATORCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSOPERATOR OPERATORID", Storage:="_SYSOPERATOROPERATORID", DbType:="TinyInt")>  _
	Public Property SYSOPERATOROPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSOPERATOROPERATORID
		End Get
		Set
			If (Me._SYSOPERATOROPERATORID.Equals(value) = false) Then
				Me._SYSOPERATOROPERATORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSTABLEResult
	
	Private _SYSTABLECONTAINSADDRESS As System.Nullable(Of Boolean)
	
	Private _SYSTABLECONTAINSEMAIL As System.Nullable(Of Boolean)
	
	Private _SYSTABLECONTAINSPHONE As System.Nullable(Of Boolean)
	
	Private _SYSTABLECONTAINSVIRTUALS As System.Nullable(Of Boolean)
	
	Private _SYSTABLECreateDate As System.Nullable(Of Date)
	
	Private _SYSTABLECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSTABLEDescription As String
	
	Private _SYSTABLEDISPLAYNAME As String
	
	Private _SYSTABLEEditDate As System.Nullable(Of Date)
	
	Private _SYSTABLEEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSTABLEHASVIRTUALCOLUMN As System.Nullable(Of Boolean)
	
	Private _SYSTABLEIsCustom As System.Nullable(Of Boolean)
	
	Private _SYSTABLEIsDefineField As System.Nullable(Of Boolean)
	
	Private _SYSTABLEIsDisplayed As System.Nullable(Of Boolean)
	
	Private _SYSTABLETABLEDOMAINID As System.Nullable(Of Byte)
	
	Private _SYSTABLETABLEID As System.Nullable(Of System.Guid)
	
	Private _SYSTABLETABLENAME As String
	
	Private _SYSTABLETYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE CONTAINSADDRESS", Storage:="_SYSTABLECONTAINSADDRESS", DbType:="Bit")>  _
	Public Property SYSTABLECONTAINSADDRESS() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLECONTAINSADDRESS
		End Get
		Set
			If (Me._SYSTABLECONTAINSADDRESS.Equals(value) = false) Then
				Me._SYSTABLECONTAINSADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE CONTAINSEMAIL", Storage:="_SYSTABLECONTAINSEMAIL", DbType:="Bit")>  _
	Public Property SYSTABLECONTAINSEMAIL() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLECONTAINSEMAIL
		End Get
		Set
			If (Me._SYSTABLECONTAINSEMAIL.Equals(value) = false) Then
				Me._SYSTABLECONTAINSEMAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE CONTAINSPHONE", Storage:="_SYSTABLECONTAINSPHONE", DbType:="Bit")>  _
	Public Property SYSTABLECONTAINSPHONE() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLECONTAINSPHONE
		End Get
		Set
			If (Me._SYSTABLECONTAINSPHONE.Equals(value) = false) Then
				Me._SYSTABLECONTAINSPHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE CONTAINSVIRTUALS", Storage:="_SYSTABLECONTAINSVIRTUALS", DbType:="Bit")>  _
	Public Property SYSTABLECONTAINSVIRTUALS() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLECONTAINSVIRTUALS
		End Get
		Set
			If (Me._SYSTABLECONTAINSVIRTUALS.Equals(value) = false) Then
				Me._SYSTABLECONTAINSVIRTUALS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE Create Date", Storage:="_SYSTABLECreateDate", DbType:="DateTime")>  _
	Public Property SYSTABLECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSTABLECreateDate
		End Get
		Set
			If (Me._SYSTABLECreateDate.Equals(value) = false) Then
				Me._SYSTABLECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE CREATEUSERID", Storage:="_SYSTABLECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLECREATEUSERID
		End Get
		Set
			If (Me._SYSTABLECREATEUSERID.Equals(value) = false) Then
				Me._SYSTABLECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE Description", Storage:="_SYSTABLEDescription", DbType:="NVarChar(512)")>  _
	Public Property SYSTABLEDescription() As String
		Get
			Return Me._SYSTABLEDescription
		End Get
		Set
			If (String.Equals(Me._SYSTABLEDescription, value) = false) Then
				Me._SYSTABLEDescription = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE DISPLAYNAME", Storage:="_SYSTABLEDISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property SYSTABLEDISPLAYNAME() As String
		Get
			Return Me._SYSTABLEDISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._SYSTABLEDISPLAYNAME, value) = false) Then
				Me._SYSTABLEDISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE Edit Date", Storage:="_SYSTABLEEditDate", DbType:="DateTime")>  _
	Public Property SYSTABLEEditDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSTABLEEditDate
		End Get
		Set
			If (Me._SYSTABLEEditDate.Equals(value) = false) Then
				Me._SYSTABLEEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE EDITUSERID", Storage:="_SYSTABLEEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLEEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLEEDITUSERID
		End Get
		Set
			If (Me._SYSTABLEEDITUSERID.Equals(value) = false) Then
				Me._SYSTABLEEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE HASVIRTUALCOLUMN", Storage:="_SYSTABLEHASVIRTUALCOLUMN", DbType:="Bit")>  _
	Public Property SYSTABLEHASVIRTUALCOLUMN() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLEHASVIRTUALCOLUMN
		End Get
		Set
			If (Me._SYSTABLEHASVIRTUALCOLUMN.Equals(value) = false) Then
				Me._SYSTABLEHASVIRTUALCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE Is Custom", Storage:="_SYSTABLEIsCustom", DbType:="Bit")>  _
	Public Property SYSTABLEIsCustom() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLEIsCustom
		End Get
		Set
			If (Me._SYSTABLEIsCustom.Equals(value) = false) Then
				Me._SYSTABLEIsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE Is Define Field", Storage:="_SYSTABLEIsDefineField", DbType:="Bit")>  _
	Public Property SYSTABLEIsDefineField() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLEIsDefineField
		End Get
		Set
			If (Me._SYSTABLEIsDefineField.Equals(value) = false) Then
				Me._SYSTABLEIsDefineField = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE Is Displayed", Storage:="_SYSTABLEIsDisplayed", DbType:="Bit")>  _
	Public Property SYSTABLEIsDisplayed() As System.Nullable(Of Boolean)
		Get
			Return Me._SYSTABLEIsDisplayed
		End Get
		Set
			If (Me._SYSTABLEIsDisplayed.Equals(value) = false) Then
				Me._SYSTABLEIsDisplayed = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE TABLEDOMAINID", Storage:="_SYSTABLETABLEDOMAINID", DbType:="TinyInt")>  _
	Public Property SYSTABLETABLEDOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSTABLETABLEDOMAINID
		End Get
		Set
			If (Me._SYSTABLETABLEDOMAINID.Equals(value) = false) Then
				Me._SYSTABLETABLEDOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE TABLEID", Storage:="_SYSTABLETABLEID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLETABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLETABLEID
		End Get
		Set
			If (Me._SYSTABLETABLEID.Equals(value) = false) Then
				Me._SYSTABLETABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE TABLENAME", Storage:="_SYSTABLETABLENAME", DbType:="NVarChar(32)")>  _
	Public Property SYSTABLETABLENAME() As String
		Get
			Return Me._SYSTABLETABLENAME
		End Get
		Set
			If (String.Equals(Me._SYSTABLETABLENAME, value) = false) Then
				Me._SYSTABLETABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLE TYPENUM", Storage:="_SYSTABLETYPENUM", DbType:="TinyInt")>  _
	Public Property SYSTABLETYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYSTABLETYPENUM
		End Get
		Set
			If (Me._SYSTABLETYPENUM.Equals(value) = false) Then
				Me._SYSTABLETYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSTABLEDOMAINResult
	
	Private _SYSTABLEDOMAINTABLEDOMAINGUID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLEDOMAIN TABLEDOMAINGUID", Storage:="_SYSTABLEDOMAINTABLEDOMAINGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLEDOMAINTABLEDOMAINGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLEDOMAINTABLEDOMAINGUID
		End Get
		Set
			If (Me._SYSTABLEDOMAINTABLEDOMAINGUID.Equals(value) = false) Then
				Me._SYSTABLEDOMAINTABLEDOMAINGUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSTABLEKEYResult
	
	Private _SYSTABLEKEYTABLEKEYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLEKEY TABLEKEYID", Storage:="_SYSTABLEKEYTABLEKEYID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLEKEYTABLEKEYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLEKEYTABLEKEYID
		End Get
		Set
			If (Me._SYSTABLEKEYTABLEKEYID.Equals(value) = false) Then
				Me._SYSTABLEKEYTABLEKEYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSTABLEKEY_SYSCOLUMNResult
	
	Private _SYSTABLEKEYSYSCOLUMNCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _SYSTABLEKEYSYSCOLUMNTABLEKEYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLEKEY SYSCOLUMN COLUMNID", Storage:="_SYSTABLEKEYSYSCOLUMNCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLEKEYSYSCOLUMNCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLEKEYSYSCOLUMNCOLUMNID
		End Get
		Set
			If (Me._SYSTABLEKEYSYSCOLUMNCOLUMNID.Equals(value) = false) Then
				Me._SYSTABLEKEYSYSCOLUMNCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLEKEY SYSCOLUMN TABLEKEYID", Storage:="_SYSTABLEKEYSYSCOLUMNTABLEKEYID", DbType:="UniqueIdentifier")>  _
	Public Property SYSTABLEKEYSYSCOLUMNTABLEKEYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSTABLEKEYSYSCOLUMNTABLEKEYID
		End Get
		Set
			If (Me._SYSTABLEKEYSYSCOLUMNTABLEKEYID.Equals(value) = false) Then
				Me._SYSTABLEKEYSYSCOLUMNTABLEKEYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSTABLEORDERResult
	
	Private _SYSTABLEORDERTABLENAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLEORDER TABLENAME", Storage:="_SYSTABLEORDERTABLENAME", DbType:="NVarChar(32)")>  _
	Public Property SYSTABLEORDERTABLENAME() As String
		Get
			Return Me._SYSTABLEORDERTABLENAME
		End Get
		Set
			If (String.Equals(Me._SYSTABLEORDERTABLENAME, value) = false) Then
				Me._SYSTABLEORDERTABLENAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSTABLERELATIONResult
	
	Private _SYSTABLERELATIONCHILDCOLUMN As String
	
	Private _SYSTABLERELATIONCHILDTABLE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLERELATION CHILDCOLUMN", Storage:="_SYSTABLERELATIONCHILDCOLUMN", DbType:="NVarChar(32)")>  _
	Public Property SYSTABLERELATIONCHILDCOLUMN() As String
		Get
			Return Me._SYSTABLERELATIONCHILDCOLUMN
		End Get
		Set
			If (String.Equals(Me._SYSTABLERELATIONCHILDCOLUMN, value) = false) Then
				Me._SYSTABLERELATIONCHILDCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSTABLERELATION CHILDTABLE", Storage:="_SYSTABLERELATIONCHILDTABLE", DbType:="NVarChar(32)")>  _
	Public Property SYSTABLERELATIONCHILDTABLE() As String
		Get
			Return Me._SYSTABLERELATIONCHILDTABLE
		End Get
		Set
			If (String.Equals(Me._SYSTABLERELATIONCHILDTABLE, value) = false) Then
				Me._SYSTABLERELATIONCHILDTABLE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSVALUEResult
	
	Private _SYSVALUECreateDate As System.Nullable(Of Date)
	
	Private _SYSVALUECREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _SYSVALUEVALUEID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSVALUE Create Date", Storage:="_SYSVALUECreateDate", DbType:="DateTime")>  _
	Public Property SYSVALUECreateDate() As System.Nullable(Of Date)
		Get
			Return Me._SYSVALUECreateDate
		End Get
		Set
			If (Me._SYSVALUECreateDate.Equals(value) = false) Then
				Me._SYSVALUECreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSVALUE CREATEUSERID", Storage:="_SYSVALUECREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property SYSVALUECREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYSVALUECREATEUSERID
		End Get
		Set
			If (Me._SYSVALUECREATEUSERID.Equals(value) = false) Then
				Me._SYSVALUECREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSVALUE VALUEID", Storage:="_SYSVALUEVALUEID", DbType:="TinyInt")>  _
	Public Property SYSVALUEVALUEID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSVALUEVALUEID
		End Get
		Set
			If (Me._SYSVALUEVALUEID.Equals(value) = false) Then
				Me._SYSVALUEVALUEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_SYSVALUEUSAGEResult
	
	Private _SYSVALUEUSAGEDOMAINID As System.Nullable(Of Byte)
	
	Private _SYSVALUEUSAGEOPERATORID As System.Nullable(Of Byte)
	
	Private _SYSVALUEUSAGEVALUEID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSVALUEUSAGE DOMAINID", Storage:="_SYSVALUEUSAGEDOMAINID", DbType:="TinyInt")>  _
	Public Property SYSVALUEUSAGEDOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSVALUEUSAGEDOMAINID
		End Get
		Set
			If (Me._SYSVALUEUSAGEDOMAINID.Equals(value) = false) Then
				Me._SYSVALUEUSAGEDOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSVALUEUSAGE OPERATORID", Storage:="_SYSVALUEUSAGEOPERATORID", DbType:="TinyInt")>  _
	Public Property SYSVALUEUSAGEOPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSVALUEUSAGEOPERATORID
		End Get
		Set
			If (Me._SYSVALUEUSAGEOPERATORID.Equals(value) = false) Then
				Me._SYSVALUEUSAGEOPERATORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYSVALUEUSAGE VALUEID", Storage:="_SYSVALUEUSAGEVALUEID", DbType:="TinyInt")>  _
	Public Property SYSVALUEUSAGEVALUEID() As System.Nullable(Of Byte)
		Get
			Return Me._SYSVALUEUSAGEVALUEID
		End Get
		Set
			If (Me._SYSVALUEUSAGEVALUEID.Equals(value) = false) Then
				Me._SYSVALUEUSAGEVALUEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_TEAMResult
	
	Private _TEAMDESCRIPTION As String
	
	Private _TEAMISDISPLAYED As System.Nullable(Of Boolean)
	
	Private _TEAMISSYSTEM As System.Nullable(Of Boolean)
	
	Private _TEAMTEAMID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM DESCRIPTION", Storage:="_TEAMDESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property TEAMDESCRIPTION() As String
		Get
			Return Me._TEAMDESCRIPTION
		End Get
		Set
			If (String.Equals(Me._TEAMDESCRIPTION, value) = false) Then
				Me._TEAMDESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM ISDISPLAYED", Storage:="_TEAMISDISPLAYED", DbType:="Bit")>  _
	Public Property TEAMISDISPLAYED() As System.Nullable(Of Boolean)
		Get
			Return Me._TEAMISDISPLAYED
		End Get
		Set
			If (Me._TEAMISDISPLAYED.Equals(value) = false) Then
				Me._TEAMISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM ISSYSTEM", Storage:="_TEAMISSYSTEM", DbType:="Bit")>  _
	Public Property TEAMISSYSTEM() As System.Nullable(Of Boolean)
		Get
			Return Me._TEAMISSYSTEM
		End Get
		Set
			If (Me._TEAMISSYSTEM.Equals(value) = false) Then
				Me._TEAMISSYSTEM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM TEAMID", Storage:="_TEAMTEAMID", DbType:="UniqueIdentifier")>  _
	Public Property TEAMTEAMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TEAMTEAMID
		End Get
		Set
			If (Me._TEAMTEAMID.Equals(value) = false) Then
				Me._TEAMTEAMID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_TEAM_USERResult
	
	Private _TEAMUSERCREATEDATE As System.Nullable(Of Date)
	
	Private _TEAMUSERCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _TEAMUSERTEAMID As System.Nullable(Of System.Guid)
	
	Private _TEAMUSERUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER CREATEDATE", Storage:="_TEAMUSERCREATEDATE", DbType:="DateTime")>  _
	Public Property TEAMUSERCREATEDATE() As System.Nullable(Of Date)
		Get
			Return Me._TEAMUSERCREATEDATE
		End Get
		Set
			If (Me._TEAMUSERCREATEDATE.Equals(value) = false) Then
				Me._TEAMUSERCREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER CREATEUSERID", Storage:="_TEAMUSERCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property TEAMUSERCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TEAMUSERCREATEUSERID
		End Get
		Set
			If (Me._TEAMUSERCREATEUSERID.Equals(value) = false) Then
				Me._TEAMUSERCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER TEAMID", Storage:="_TEAMUSERTEAMID", DbType:="UniqueIdentifier")>  _
	Public Property TEAMUSERTEAMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TEAMUSERTEAMID
		End Get
		Set
			If (Me._TEAMUSERTEAMID.Equals(value) = false) Then
				Me._TEAMUSERTEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TEAM USER USERID", Storage:="_TEAMUSERUSERID", DbType:="UniqueIdentifier")>  _
	Public Property TEAMUSERUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TEAMUSERUSERID
		End Get
		Set
			If (Me._TEAMUSERUSERID.Equals(value) = false) Then
				Me._TEAMUSERUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USERResult
	
	Private _USERAllowPasswordChange As System.Nullable(Of Boolean)
	
	Private _USERCaseSensitivePassword As System.Nullable(Of Boolean)
	
	Private _USERCONTACTID As System.Nullable(Of System.Guid)
	
	Private _USERForcePasswordChange As System.Nullable(Of Boolean)
	
	Private _USERLAST_LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _USERLOGIN As String
	
	Private _USERPasswordNeverExpires As System.Nullable(Of Boolean)
	
	Private _USERROLEID As System.Nullable(Of System.Guid)
	
	Private _USERUSEPERSONALFILES As System.Nullable(Of Boolean)
	
	Private _USERUSERID As System.Nullable(Of System.Guid)
	
	Private _USERUTC_OFFSET As System.Nullable(Of Short)
	
	Private _USERVerified As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Allow Password Change", Storage:="_USERAllowPasswordChange", DbType:="Bit")>  _
	Public Property USERAllowPasswordChange() As System.Nullable(Of Boolean)
		Get
			Return Me._USERAllowPasswordChange
		End Get
		Set
			If (Me._USERAllowPasswordChange.Equals(value) = false) Then
				Me._USERAllowPasswordChange = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Case Sensitive Password", Storage:="_USERCaseSensitivePassword", DbType:="Bit")>  _
	Public Property USERCaseSensitivePassword() As System.Nullable(Of Boolean)
		Get
			Return Me._USERCaseSensitivePassword
		End Get
		Set
			If (Me._USERCaseSensitivePassword.Equals(value) = false) Then
				Me._USERCaseSensitivePassword = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER CONTACTID", Storage:="_USERCONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property USERCONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERCONTACTID
		End Get
		Set
			If (Me._USERCONTACTID.Equals(value) = false) Then
				Me._USERCONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Force Password Change", Storage:="_USERForcePasswordChange", DbType:="Bit")>  _
	Public Property USERForcePasswordChange() As System.Nullable(Of Boolean)
		Get
			Return Me._USERForcePasswordChange
		End Get
		Set
			If (Me._USERForcePasswordChange.Equals(value) = false) Then
				Me._USERForcePasswordChange = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER LAST_LOGONHISTORYID", Storage:="_USERLAST_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property USERLAST_LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERLAST_LOGONHISTORYID
		End Get
		Set
			If (Me._USERLAST_LOGONHISTORYID.Equals(value) = false) Then
				Me._USERLAST_LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER LOGIN", Storage:="_USERLOGIN", DbType:="NVarChar(128)")>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Password Never Expires", Storage:="_USERPasswordNeverExpires", DbType:="Bit")>  _
	Public Property USERPasswordNeverExpires() As System.Nullable(Of Boolean)
		Get
			Return Me._USERPasswordNeverExpires
		End Get
		Set
			If (Me._USERPasswordNeverExpires.Equals(value) = false) Then
				Me._USERPasswordNeverExpires = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER ROLEID", Storage:="_USERROLEID", DbType:="UniqueIdentifier")>  _
	Public Property USERROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERROLEID
		End Get
		Set
			If (Me._USERROLEID.Equals(value) = false) Then
				Me._USERROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER USEPERSONALFILES", Storage:="_USERUSEPERSONALFILES", DbType:="Bit")>  _
	Public Property USERUSEPERSONALFILES() As System.Nullable(Of Boolean)
		Get
			Return Me._USERUSEPERSONALFILES
		End Get
		Set
			If (Me._USERUSEPERSONALFILES.Equals(value) = false) Then
				Me._USERUSEPERSONALFILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER USERID", Storage:="_USERUSERID", DbType:="UniqueIdentifier")>  _
	Public Property USERUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERUSERID
		End Get
		Set
			If (Me._USERUSERID.Equals(value) = false) Then
				Me._USERUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER UTC_OFFSET", Storage:="_USERUTC_OFFSET", DbType:="SmallInt")>  _
	Public Property USERUTC_OFFSET() As System.Nullable(Of Short)
		Get
			Return Me._USERUTC_OFFSET
		End Get
		Set
			If (Me._USERUTC_OFFSET.Equals(value) = false) Then
				Me._USERUTC_OFFSET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER Verified", Storage:="_USERVerified", DbType:="Bit")>  _
	Public Property USERVerified() As System.Nullable(Of Boolean)
		Get
			Return Me._USERVerified
		End Get
		Set
			If (Me._USERVerified.Equals(value) = false) Then
				Me._USERVerified = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USER_ACCESSOR_ENUMResult
	
	Private _USERACCESSORENUMACCESSORID As System.Nullable(Of System.Guid)
	
	Private _USERACCESSORENUMUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER ACCESSOR ENUM ACCESSORID", Storage:="_USERACCESSORENUMACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property USERACCESSORENUMACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERACCESSORENUMACCESSORID
		End Get
		Set
			If (Me._USERACCESSORENUMACCESSORID.Equals(value) = false) Then
				Me._USERACCESSORENUMACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER ACCESSOR ENUM USERID", Storage:="_USERACCESSORENUMUSERID", DbType:="UniqueIdentifier")>  _
	Public Property USERACCESSORENUMUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERACCESSORENUMUSERID
		End Get
		Set
			If (Me._USERACCESSORENUMUSERID.Equals(value) = false) Then
				Me._USERACCESSORENUMUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USER_COLUMNACCESSResult
	
	Private _USERCOLUMNACCESSCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _USERCOLUMNACCESSUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER COLUMNACCESS COLUMNID", Storage:="_USERCOLUMNACCESSCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property USERCOLUMNACCESSCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERCOLUMNACCESSCOLUMNID
		End Get
		Set
			If (Me._USERCOLUMNACCESSCOLUMNID.Equals(value) = false) Then
				Me._USERCOLUMNACCESSCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER COLUMNACCESS USERID", Storage:="_USERCOLUMNACCESSUSERID", DbType:="UniqueIdentifier")>  _
	Public Property USERCOLUMNACCESSUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERCOLUMNACCESSUSERID
		End Get
		Set
			If (Me._USERCOLUMNACCESSUSERID.Equals(value) = false) Then
				Me._USERCOLUMNACCESSUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USER_DEFAULT_ACLResult
	
	Private _USERDEFAULTACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _USERDEFAULTACLENTITYID As System.Nullable(Of System.Guid)
	
	Private _USERDEFAULTACLUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER DEFAULT ACL ACCESSORID", Storage:="_USERDEFAULTACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property USERDEFAULTACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERDEFAULTACLACCESSORID
		End Get
		Set
			If (Me._USERDEFAULTACLACCESSORID.Equals(value) = false) Then
				Me._USERDEFAULTACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER DEFAULT ACL ENTITYID", Storage:="_USERDEFAULTACLENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property USERDEFAULTACLENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERDEFAULTACLENTITYID
		End Get
		Set
			If (Me._USERDEFAULTACLENTITYID.Equals(value) = false) Then
				Me._USERDEFAULTACLENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER DEFAULT ACL USERID", Storage:="_USERDEFAULTACLUSERID", DbType:="UniqueIdentifier")>  _
	Public Property USERDEFAULTACLUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERDEFAULTACLUSERID
		End Get
		Set
			If (Me._USERDEFAULTACLUSERID.Equals(value) = false) Then
				Me._USERDEFAULTACLUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USER_PERMISSIONResult
	
	Private _USERPERMISSIONPERMISSIONID As System.Nullable(Of System.Guid)
	
	Private _USERPERMISSIONUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER PERMISSION PERMISSIONID", Storage:="_USERPERMISSIONPERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property USERPERMISSIONPERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERPERMISSIONPERMISSIONID
		End Get
		Set
			If (Me._USERPERMISSIONPERMISSIONID.Equals(value) = false) Then
				Me._USERPERMISSIONPERMISSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USER PERMISSION USERID", Storage:="_USERPERMISSIONUSERID", DbType:="UniqueIdentifier")>  _
	Public Property USERPERMISSIONUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERPERMISSIONUSERID
		End Get
		Set
			If (Me._USERPERMISSIONUSERID.Equals(value) = false) Then
				Me._USERPERMISSIONUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USERPASSWORD_RESETResult
	
	Private _USERPASSWORDRESETCreateDate As System.Nullable(Of Date)
	
	Private _USERPASSWORDRESETRESETID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USERPASSWORD RESET Create Date", Storage:="_USERPASSWORDRESETCreateDate", DbType:="DateTime")>  _
	Public Property USERPASSWORDRESETCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._USERPASSWORDRESETCreateDate
		End Get
		Set
			If (Me._USERPASSWORDRESETCreateDate.Equals(value) = false) Then
				Me._USERPASSWORDRESETCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USERPASSWORD RESET RESETID", Storage:="_USERPASSWORDRESETRESETID", DbType:="UniqueIdentifier")>  _
	Public Property USERPASSWORDRESETRESETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERPASSWORDRESETRESETID
		End Get
		Set
			If (Me._USERPASSWORDRESETRESETID.Equals(value) = false) Then
				Me._USERPASSWORDRESETRESETID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_USERSESSIONResult
	
	Private _USERSESSIONUSERSESSIONID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="USERSESSION USERSESSIONID", Storage:="_USERSESSIONUSERSESSIONID", DbType:="UniqueIdentifier")>  _
	Public Property USERSESSIONUSERSESSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERSESSIONUSERSESSIONID
		End Get
		Set
			If (Me._USERSESSIONUSERSESSIONID.Equals(value) = false) Then
				Me._USERSESSIONUSERSESSIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_VIRTUALRECORDTYPEResult
	
	Private _VIRTUALRECORDTYPETYPEID As System.Nullable(Of System.Guid)
	
	Private _VIRTUALRECORDTYPETABLEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="VIRTUALRECORDTYPE TYPEID", Storage:="_VIRTUALRECORDTYPETYPEID", DbType:="UniqueIdentifier")>  _
	Public Property VIRTUALRECORDTYPETYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._VIRTUALRECORDTYPETYPEID
		End Get
		Set
			If (Me._VIRTUALRECORDTYPETYPEID.Equals(value) = false) Then
				Me._VIRTUALRECORDTYPETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="VIRTUALRECORDTYPE TABLEID", Storage:="_VIRTUALRECORDTYPETABLEID", DbType:="UniqueIdentifier")>  _
	Public Property VIRTUALRECORDTYPETABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._VIRTUALRECORDTYPETABLEID
		End Get
		Set
			If (Me._VIRTUALRECORDTYPETABLEID.Equals(value) = false) Then
				Me._VIRTUALRECORDTYPETABLEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WF_COMPLETEDSCOPEResult
	
	Private _WFCOMPLETEDSCOPEEDITDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WF COMPLETEDSCOPE EDITDATE", Storage:="_WFCOMPLETEDSCOPEEDITDATE", DbType:="DateTime")>  _
	Public Property WFCOMPLETEDSCOPEEDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._WFCOMPLETEDSCOPEEDITDATE
		End Get
		Set
			If (Me._WFCOMPLETEDSCOPEEDITDATE.Equals(value) = false) Then
				Me._WFCOMPLETEDSCOPEEDITDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WF_INSTANCESTATEResult
	
	Private _WFINSTANCESTATEEDITDATE As System.Nullable(Of Date)
	
	Private _WFINSTANCESTATEINSTANCESTATEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WF INSTANCESTATE EDITDATE", Storage:="_WFINSTANCESTATEEDITDATE", DbType:="DateTime")>  _
	Public Property WFINSTANCESTATEEDITDATE() As System.Nullable(Of Date)
		Get
			Return Me._WFINSTANCESTATEEDITDATE
		End Get
		Set
			If (Me._WFINSTANCESTATEEDITDATE.Equals(value) = false) Then
				Me._WFINSTANCESTATEEDITDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WF INSTANCESTATE INSTANCESTATEID", Storage:="_WFINSTANCESTATEINSTANCESTATEID", DbType:="UniqueIdentifier")>  _
	Public Property WFINSTANCESTATEINSTANCESTATEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WFINSTANCESTATEINSTANCESTATEID
		End Get
		Set
			If (Me._WFINSTANCESTATEINSTANCESTATEID.Equals(value) = false) Then
				Me._WFINSTANCESTATEINSTANCESTATEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WORKFLOW_ARCHIVEResult
	
	Private _WORKFLOWARCHIVEINSTANCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW ARCHIVE INSTANCEID", Storage:="_WORKFLOWARCHIVEINSTANCEID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWARCHIVEINSTANCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWARCHIVEINSTANCEID
		End Get
		Set
			If (Me._WORKFLOWARCHIVEINSTANCEID.Equals(value) = false) Then
				Me._WORKFLOWARCHIVEINSTANCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WORKFLOW_QUEUEResult
	
	Private _WORKFLOWQUEUECREATEDATE As System.Nullable(Of Date)
	
	Private _WORKFLOWQUEUEWORKFLOW_QUEUEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW QUEUE CREATEDATE", Storage:="_WORKFLOWQUEUECREATEDATE", DbType:="DateTime")>  _
	Public Property WORKFLOWQUEUECREATEDATE() As System.Nullable(Of Date)
		Get
			Return Me._WORKFLOWQUEUECREATEDATE
		End Get
		Set
			If (Me._WORKFLOWQUEUECREATEDATE.Equals(value) = false) Then
				Me._WORKFLOWQUEUECREATEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW QUEUE WORKFLOW_QUEUEID", Storage:="_WORKFLOWQUEUEWORKFLOW_QUEUEID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWQUEUEWORKFLOW_QUEUEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWQUEUEWORKFLOW_QUEUEID
		End Get
		Set
			If (Me._WORKFLOWQUEUEWORKFLOW_QUEUEID.Equals(value) = false) Then
				Me._WORKFLOWQUEUEWORKFLOW_QUEUEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WORKFLOW_SUBSCRIPTIONResult
	
	Private _WORKFLOWSUBSCRIPTIONUSERID As System.Nullable(Of System.Guid)
	
	Private _WORKFLOWSUBSCRIPTIONWORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW SUBSCRIPTION USERID", Storage:="_WORKFLOWSUBSCRIPTIONUSERID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWSUBSCRIPTIONUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWSUBSCRIPTIONUSERID
		End Get
		Set
			If (Me._WORKFLOWSUBSCRIPTIONUSERID.Equals(value) = false) Then
				Me._WORKFLOWSUBSCRIPTIONUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW SUBSCRIPTION WORKFLOWDEFID", Storage:="_WORKFLOWSUBSCRIPTIONWORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWSUBSCRIPTIONWORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWSUBSCRIPTIONWORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWSUBSCRIPTIONWORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWSUBSCRIPTIONWORKFLOWDEFID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WORKFLOWDEFResult
	
	Private _WORKFLOWDEFINITIONCreateDate As System.Nullable(Of Date)
	
	Private _WORKFLOWDEFINITIONCREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _WORKFLOWDEFINITIONEditDate As System.Nullable(Of Date)
	
	Private _WORKFLOWDEFINITIONEDITUSERID As System.Nullable(Of System.Guid)
	
	Private _WORKFLOWDEFINITIONISPRIVATE As System.Nullable(Of Boolean)
	
	Private _WORKFLOWDEFINITIONMANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _WORKFLOWDEFWORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW DEFINITION Create Date", Storage:="_WORKFLOWDEFINITIONCreateDate", DbType:="DateTime")>  _
	Public Property WORKFLOWDEFINITIONCreateDate() As System.Nullable(Of Date)
		Get
			Return Me._WORKFLOWDEFINITIONCreateDate
		End Get
		Set
			If (Me._WORKFLOWDEFINITIONCreateDate.Equals(value) = false) Then
				Me._WORKFLOWDEFINITIONCreateDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW DEFINITION CREATEUSERID", Storage:="_WORKFLOWDEFINITIONCREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFINITIONCREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFINITIONCREATEUSERID
		End Get
		Set
			If (Me._WORKFLOWDEFINITIONCREATEUSERID.Equals(value) = false) Then
				Me._WORKFLOWDEFINITIONCREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW DEFINITION Edit Date", Storage:="_WORKFLOWDEFINITIONEditDate", DbType:="DateTime")>  _
	Public Property WORKFLOWDEFINITIONEditDate() As System.Nullable(Of Date)
		Get
			Return Me._WORKFLOWDEFINITIONEditDate
		End Get
		Set
			If (Me._WORKFLOWDEFINITIONEditDate.Equals(value) = false) Then
				Me._WORKFLOWDEFINITIONEditDate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW DEFINITION EDITUSERID", Storage:="_WORKFLOWDEFINITIONEDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFINITIONEDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFINITIONEDITUSERID
		End Get
		Set
			If (Me._WORKFLOWDEFINITIONEDITUSERID.Equals(value) = false) Then
				Me._WORKFLOWDEFINITIONEDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW DEFINITION ISPRIVATE", Storage:="_WORKFLOWDEFINITIONISPRIVATE", DbType:="Bit")>  _
	Public Property WORKFLOWDEFINITIONISPRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._WORKFLOWDEFINITIONISPRIVATE
		End Get
		Set
			If (Me._WORKFLOWDEFINITIONISPRIVATE.Equals(value) = false) Then
				Me._WORKFLOWDEFINITIONISPRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOW DEFINITION MANAGEUSERID", Storage:="_WORKFLOWDEFINITIONMANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFINITIONMANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFINITIONMANAGEUSERID
		End Get
		Set
			If (Me._WORKFLOWDEFINITIONMANAGEUSERID.Equals(value) = false) Then
				Me._WORKFLOWDEFINITIONMANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOWDEF WORKFLOWDEFID", Storage:="_WORKFLOWDEFWORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFWORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFWORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFWORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWDEFWORKFLOWDEFID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WORKFLOWDEF_ACCESSResult
	
	Private _WORKFLOWDEFACCESSAccessLevel As String
	
	Private _WORKFLOWDEFACCESSWorkflowdefid As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOWDEF ACCESS Access Level", Storage:="_WORKFLOWDEFACCESSAccessLevel", DbType:="NVarChar(7)")>  _
	Public Property WORKFLOWDEFACCESSAccessLevel() As String
		Get
			Return Me._WORKFLOWDEFACCESSAccessLevel
		End Get
		Set
			If (String.Equals(Me._WORKFLOWDEFACCESSAccessLevel, value) = false) Then
				Me._WORKFLOWDEFACCESSAccessLevel = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOWDEF ACCESS Workflowdefid", Storage:="_WORKFLOWDEFACCESSWorkflowdefid", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFACCESSWorkflowdefid() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFACCESSWorkflowdefid
		End Get
		Set
			If (Me._WORKFLOWDEFACCESSWorkflowdefid.Equals(value) = false) Then
				Me._WORKFLOWDEFACCESSWorkflowdefid = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNB_WORKFLOWDEF_ACLResult
	
	Private _WORKFLOWDEFACLACCESSORID As System.Nullable(Of System.Guid)
	
	Private _WORKFLOWDEFACLWORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOWDEF ACL ACCESSORID", Storage:="_WORKFLOWDEFACLACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFACLACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFACLACCESSORID
		End Get
		Set
			If (Me._WORKFLOWDEFACLACCESSORID.Equals(value) = false) Then
				Me._WORKFLOWDEFACLACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="WORKFLOWDEF ACL WORKFLOWDEFID", Storage:="_WORKFLOWDEFACLWORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFACLWORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFACLWORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFACLWORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWDEFACLWORKFLOWDEFID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GEN_DATETABLEResult
	
	Private _Date As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="date", Storage:="_Date", DbType:="Date")>  _
	Public Property [Date]() As System.Nullable(Of Date)
		Get
			Return Me._Date
		End Get
		Set
			If (Me._Date.Equals(value) = false) Then
				Me._Date = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ACCESSOR_COLUMNSResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _ACCESSLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSLEVEL", DbType:="Int")>  _
	Public Property ACCESSLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._ACCESSLEVEL
		End Get
		Set
			If (Me._ACCESSLEVEL.Equals(value) = false) Then
				Me._ACCESSLEVEL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ACCESSORPREFERENCEResult
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _PREFERENCEID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _ISSERIALIZED As System.Nullable(Of Boolean)
	
	Private _OBJECTBINARYVALUE As System.Data.Linq.Binary
	
	Private _OBJECTSTRINGVALUE As String
	
	Private _ISCUSTOM As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PREFERENCEID", DbType:="UniqueIdentifier")>  _
	Public Property PREFERENCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PREFERENCEID
		End Get
		Set
			If (Me._PREFERENCEID.Equals(value) = false) Then
				Me._PREFERENCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="VarChar(256)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSERIALIZED", DbType:="Bit")>  _
	Public Property ISSERIALIZED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISSERIALIZED
		End Get
		Set
			If (Me._ISSERIALIZED.Equals(value) = false) Then
				Me._ISSERIALIZED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTBINARYVALUE", DbType:="VarBinary(6000)", CanBeNull:=true)>  _
	Public Property OBJECTBINARYVALUE() As System.Data.Linq.Binary
		Get
			Return Me._OBJECTBINARYVALUE
		End Get
		Set
			If (Object.Equals(Me._OBJECTBINARYVALUE, value) = false) Then
				Me._OBJECTBINARYVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTSTRINGVALUE", DbType:="NVarChar(256)")>  _
	Public Property OBJECTSTRINGVALUE() As String
		Get
			Return Me._OBJECTSTRINGVALUE
		End Get
		Set
			If (String.Equals(Me._OBJECTSTRINGVALUE, value) = false) Then
				Me._OBJECTSTRINGVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISCUSTOM", DbType:="Int")>  _
	Public Property ISCUSTOM() As System.Nullable(Of Integer)
		Get
			Return Me._ISCUSTOM
		End Get
		Set
			If (Me._ISCUSTOM.Equals(value) = false) Then
				Me._ISCUSTOM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ACCESSORS_AS_DELEGATESResult
	
	Private _GRANTTOACCESSORID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Private _CALENDARLEVEL As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GRANTTOACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property GRANTTOACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GRANTTOACCESSORID
		End Get
		Set
			If (Me._GRANTTOACCESSORID.Equals(value) = false) Then
				Me._GRANTTOACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALENDARLEVEL", DbType:="TinyInt")>  _
	Public Property CALENDARLEVEL() As System.Nullable(Of Byte)
		Get
			Return Me._CALENDARLEVEL
		End Get
		Set
			If (Me._CALENDARLEVEL.Equals(value) = false) Then
				Me._CALENDARLEVEL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ACTIVITYASSOCIATED_WITH_FIELDResult
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(131)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ACTIVITYCONTACTIDResult
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _FULLNAME As String
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Private _COMPANYNAME As String
	
	Private _RN As System.Nullable(Of Long)
	
	Private _SECURED_CONTACT_COUNT As System.Nullable(Of Long)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(128)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me._FULLNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me._LASTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me._FIRSTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(128)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me._COMPANYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RN", DbType:="BigInt")>  _
	Public Property RN() As System.Nullable(Of Long)
		Get
			Return Me._RN
		End Get
		Set
			If (Me._RN.Equals(value) = false) Then
				Me._RN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECURED_CONTACT_COUNT", DbType:="BigInt")>  _
	Public Property SECURED_CONTACT_COUNT() As System.Nullable(Of Long)
		Get
			Return Me._SECURED_CONTACT_COUNT
		End Get
		Set
			If (Me._SECURED_CONTACT_COUNT.Equals(value) = false) Then
				Me._SECURED_CONTACT_COUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_COLUMN_TEAMACCESSLISTResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _BASED_ON As String
	
	Private _ACCESSLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASED_ON", DbType:="VarChar(1)")>  _
	Public Property BASED_ON() As String
		Get
			Return Me._BASED_ON
		End Get
		Set
			If (String.Equals(Me._BASED_ON, value) = false) Then
				Me._BASED_ON = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSLEVEL", DbType:="Int")>  _
	Public Property ACCESSLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._ACCESSLEVEL
		End Get
		Set
			If (Me._ACCESSLEVEL.Equals(value) = false) Then
				Me._ACCESSLEVEL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_COLUMN_USERACCESSLISTResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _BASED_ON As String
	
	Private _ACCESSLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASED_ON", DbType:="VarChar(1)")>  _
	Public Property BASED_ON() As String
		Get
			Return Me._BASED_ON
		End Get
		Set
			If (String.Equals(Me._BASED_ON, value) = false) Then
				Me._BASED_ON = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSLEVEL", DbType:="Int")>  _
	Public Property ACCESSLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._ACCESSLEVEL
		End Get
		Set
			If (Me._ACCESSLEVEL.Equals(value) = false) Then
				Me._ACCESSLEVEL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_DATELISTResult
	
	Private _THISDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_THISDATE", DbType:="SmallDateTime")>  _
	Public Property THISDATE() As System.Nullable(Of Date)
		Get
			Return Me._THISDATE
		End Get
		Set
			If (Me._THISDATE.Equals(value) = false) Then
				Me._THISDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_DATELIST_LIMITEDResult
	
	Private _THISDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_THISDATE", DbType:="SmallDateTime")>  _
	Public Property THISDATE() As System.Nullable(Of Date)
		Get
			Return Me._THISDATE
		End Get
		Set
			If (Me._THISDATE.Equals(value) = false) Then
				Me._THISDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_DATESINRANGEResult
	
	Private _ADate As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="aDate", Storage:="_ADate", DbType:="Date")>  _
	Public Property ADate() As System.Nullable(Of Date)
		Get
			Return Me._ADate
		End Get
		Set
			If (Me._ADate.Equals(value) = false) Then
				Me._ADate = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ENTITY_COLUMNSResult
	
	Private _EntityName As String
	
	Private _EntityDisplayName As String
	
	Private _ColumnID As System.Nullable(Of System.Guid)
	
	Private _BaseColumnName As String
	
	Private _ColumnAliasName As String
	
	Private _ColumnDisplayName As String
	
	Private _IsCustom As System.Nullable(Of Integer)
	
	Private _PhysicalDataType As String
	
	Private _ActDataType As String
	
	Private _AppDataType As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityName", DbType:="NVarChar(64)")>  _
	Public Property EntityName() As String
		Get
			Return Me._EntityName
		End Get
		Set
			If (String.Equals(Me._EntityName, value) = false) Then
				Me._EntityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityDisplayName", DbType:="NVarChar(64)")>  _
	Public Property EntityDisplayName() As String
		Get
			Return Me._EntityDisplayName
		End Get
		Set
			If (String.Equals(Me._EntityDisplayName, value) = false) Then
				Me._EntityDisplayName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnID", DbType:="UniqueIdentifier")>  _
	Public Property ColumnID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ColumnID
		End Get
		Set
			If (Me._ColumnID.Equals(value) = false) Then
				Me._ColumnID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BaseColumnName", DbType:="NVarChar(64)")>  _
	Public Property BaseColumnName() As String
		Get
			Return Me._BaseColumnName
		End Get
		Set
			If (String.Equals(Me._BaseColumnName, value) = false) Then
				Me._BaseColumnName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnAliasName", DbType:="NVarChar(64)")>  _
	Public Property ColumnAliasName() As String
		Get
			Return Me._ColumnAliasName
		End Get
		Set
			If (String.Equals(Me._ColumnAliasName, value) = false) Then
				Me._ColumnAliasName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnDisplayName", DbType:="NVarChar(192)")>  _
	Public Property ColumnDisplayName() As String
		Get
			Return Me._ColumnDisplayName
		End Get
		Set
			If (String.Equals(Me._ColumnDisplayName, value) = false) Then
				Me._ColumnDisplayName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IsCustom", DbType:="Int")>  _
	Public Property IsCustom() As System.Nullable(Of Integer)
		Get
			Return Me._IsCustom
		End Get
		Set
			If (Me._IsCustom.Equals(value) = false) Then
				Me._IsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PhysicalDataType", DbType:="NVarChar(32)")>  _
	Public Property PhysicalDataType() As String
		Get
			Return Me._PhysicalDataType
		End Get
		Set
			If (String.Equals(Me._PhysicalDataType, value) = false) Then
				Me._PhysicalDataType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ActDataType", DbType:="NVarChar(32)")>  _
	Public Property ActDataType() As String
		Get
			Return Me._ActDataType
		End Get
		Set
			If (String.Equals(Me._ActDataType, value) = false) Then
				Me._ActDataType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AppDataType", DbType:="NVarChar(255)")>  _
	Public Property AppDataType() As String
		Get
			Return Me._AppDataType
		End Get
		Set
			If (String.Equals(Me._AppDataType, value) = false) Then
				Me._AppDataType = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_ENTITY_COLUMNS_DISALLOWEDResult
	
	Private _EntityName As String
	
	Private _EntityDisplayName As String
	
	Private _ColumnID As System.Nullable(Of System.Guid)
	
	Private _BaseColumnName As String
	
	Private _ColumnAliasName As String
	
	Private _ColumnDisplayName As String
	
	Private _IsCustom As System.Nullable(Of Integer)
	
	Private _PhysicalDataType As String
	
	Private _ActDataType As String
	
	Private _AppDataType As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityName", DbType:="NVarChar(64)")>  _
	Public Property EntityName() As String
		Get
			Return Me._EntityName
		End Get
		Set
			If (String.Equals(Me._EntityName, value) = false) Then
				Me._EntityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityDisplayName", DbType:="NVarChar(64)")>  _
	Public Property EntityDisplayName() As String
		Get
			Return Me._EntityDisplayName
		End Get
		Set
			If (String.Equals(Me._EntityDisplayName, value) = false) Then
				Me._EntityDisplayName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnID", DbType:="UniqueIdentifier")>  _
	Public Property ColumnID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ColumnID
		End Get
		Set
			If (Me._ColumnID.Equals(value) = false) Then
				Me._ColumnID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BaseColumnName", DbType:="NVarChar(64)")>  _
	Public Property BaseColumnName() As String
		Get
			Return Me._BaseColumnName
		End Get
		Set
			If (String.Equals(Me._BaseColumnName, value) = false) Then
				Me._BaseColumnName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnAliasName", DbType:="NVarChar(64)")>  _
	Public Property ColumnAliasName() As String
		Get
			Return Me._ColumnAliasName
		End Get
		Set
			If (String.Equals(Me._ColumnAliasName, value) = false) Then
				Me._ColumnAliasName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnDisplayName", DbType:="NVarChar(192)")>  _
	Public Property ColumnDisplayName() As String
		Get
			Return Me._ColumnDisplayName
		End Get
		Set
			If (String.Equals(Me._ColumnDisplayName, value) = false) Then
				Me._ColumnDisplayName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IsCustom", DbType:="Int")>  _
	Public Property IsCustom() As System.Nullable(Of Integer)
		Get
			Return Me._IsCustom
		End Get
		Set
			If (Me._IsCustom.Equals(value) = false) Then
				Me._IsCustom = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PhysicalDataType", DbType:="NVarChar(32)")>  _
	Public Property PhysicalDataType() As String
		Get
			Return Me._PhysicalDataType
		End Get
		Set
			If (String.Equals(Me._PhysicalDataType, value) = false) Then
				Me._PhysicalDataType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ActDataType", DbType:="NVarChar(32)")>  _
	Public Property ActDataType() As String
		Get
			Return Me._ActDataType
		End Get
		Set
			If (String.Equals(Me._ActDataType, value) = false) Then
				Me._ActDataType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AppDataType", DbType:="NVarChar(255)")>  _
	Public Property AppDataType() As String
		Get
			Return Me._AppDataType
		End Get
		Set
			If (String.Equals(Me._AppDataType, value) = false) Then
				Me._AppDataType = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_HISTORYCONTACTSResult
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _FULLNAME As String
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Private _COMPANYNAME As String
	
	Private _RN As System.Nullable(Of Long)
	
	Private _SECURED_RECORD_COUNT As System.Nullable(Of Long)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(131)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me._FULLNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me._LASTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me._FIRSTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(128)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me._COMPANYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RN", DbType:="BigInt")>  _
	Public Property RN() As System.Nullable(Of Long)
		Get
			Return Me._RN
		End Get
		Set
			If (Me._RN.Equals(value) = false) Then
				Me._RN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECURED_RECORD_COUNT", DbType:="BigInt")>  _
	Public Property SECURED_RECORD_COUNT() As System.Nullable(Of Long)
		Get
			Return Me._SECURED_RECORD_COUNT
		End Get
		Set
			If (Me._SECURED_RECORD_COUNT.Equals(value) = false) Then
				Me._SECURED_RECORD_COUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_MYRECORDResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_NOTECONTACTSResult
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _FULLNAME As String
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Private _COMPANYNAME As String
	
	Private _RN As System.Nullable(Of Long)
	
	Private _SECURED_RECORD_COUNT As System.Nullable(Of Long)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(131)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me._FULLNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me._LASTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me._FIRSTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(128)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me._COMPANYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RN", DbType:="BigInt")>  _
	Public Property RN() As System.Nullable(Of Long)
		Get
			Return Me._RN
		End Get
		Set
			If (Me._RN.Equals(value) = false) Then
				Me._RN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECURED_RECORD_COUNT", DbType:="BigInt")>  _
	Public Property SECURED_RECORD_COUNT() As System.Nullable(Of Long)
		Get
			Return Me._SECURED_RECORD_COUNT
		End Get
		Set
			If (Me._SECURED_RECORD_COUNT.Equals(value) = false) Then
				Me._SECURED_RECORD_COUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_OPP_ASSOCIATED_WITH_FIELDResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(131)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_OPP_PRODUCT_FIELDResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _PRODUCT As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCT", DbType:="NVarChar(259)")>  _
	Public Property PRODUCT() As String
		Get
			Return Me._PRODUCT
		End Get
		Set
			If (String.Equals(Me._PRODUCT, value) = false) Then
				Me._PRODUCT = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_OPPORTUNITY_SECUREDResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_OPPORTUNITYCONTACTIDResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _FULLNAME As String
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Private _COMPANYNAME As String
	
	Private _CONTACT_COUNT As System.Nullable(Of Long)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(131)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me._FULLNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me._LASTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me._FIRSTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(128)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me._COMPANYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_COUNT", DbType:="BigInt")>  _
	Public Property CONTACT_COUNT() As System.Nullable(Of Long)
		Get
			Return Me._CONTACT_COUNT
		End Get
		Set
			If (Me._CONTACT_COUNT.Equals(value) = false) Then
				Me._CONTACT_COUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_GET_OPPORTUNITYPRODUCTIDResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _PRODUCTID As System.Nullable(Of System.Guid)
	
	Private _PRODUCT As String
	
	Private _PRODUCT_COUNT As System.Nullable(Of Long)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If (Me._PRODUCTID.Equals(value) = false) Then
				Me._PRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCT", DbType:="NVarChar(259)")>  _
	Public Property PRODUCT() As String
		Get
			Return Me._PRODUCT
		End Get
		Set
			If (String.Equals(Me._PRODUCT, value) = false) Then
				Me._PRODUCT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCT_COUNT", DbType:="BigInt")>  _
	Public Property PRODUCT_COUNT() As System.Nullable(Of Long)
		Get
			Return Me._PRODUCT_COUNT
		End Get
		Set
			If (Me._PRODUCT_COUNT.Equals(value) = false) Then
				Me._PRODUCT_COUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_SYNC_GET_USERSResult
	
	Private _USERLOGIN As String
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERLOGIN", DbType:="NVarChar(128)")>  _
	Public Property USERLOGIN() As String
		Get
			Return Me._USERLOGIN
		End Get
		Set
			If (String.Equals(Me._USERLOGIN, value) = false) Then
				Me._USERLOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNC_SYS_ALIASNAMEResult
	
	Private _TABLENAME As String
	
	Private _COLUMNAME As String
	
	Private _ALIASNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNAME() As String
		Get
			Return Me._COLUMNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNAME, value) = false) Then
				Me._COLUMNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(4000)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me._ALIASNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_ACTIVITYResult
	
	Private _ABL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABL_ACTIVITYID
		End Get
		Set
			If (Me._ABL_ACTIVITYID.Equals(value) = false) Then
				Me._ABL_ACTIVITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_CONNECTORResult
	
	Private _CONNECTORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTORID", DbType:="UniqueIdentifier")>  _
	Public Property CONNECTORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONNECTORID
		End Get
		Set
			If (Me._CONNECTORID.Equals(value) = false) Then
				Me._CONNECTORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_CONNECTOR_ACCESSORCONFIGResult
	
	Private _CONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property CONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If (Me._CONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._CONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_CONNECTOR_ENTITYResult
	
	Private _CONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property CONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If (Me._CONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._CONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_CONNECTOR_ENTITYSCHEMAResult
	
	Private _CONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _ENTITYID As System.Nullable(Of System.Guid)
	
	Private _ORDINAL As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property CONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If (Me._CONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._CONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (Me._ENTITYID.Equals(value) = false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="TinyInt")>  _
	Public Property ORDINAL() As System.Nullable(Of Byte)
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Me._ORDINAL.Equals(value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_CONNECTORTYPEResult
	
	Private _CONNECTORTYPEID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTORTYPEID", DbType:="Int")>  _
	Public Property CONNECTORTYPEID() As System.Nullable(Of Integer)
		Get
			Return Me._CONNECTORTYPEID
		End Get
		Set
			If (Me._CONNECTORTYPEID.Equals(value) = false) Then
				Me._CONNECTORTYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_DEPENDENTResult
	
	Private _DEPENDENTID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPENDENTID", DbType:="Int")>  _
	Public Property DEPENDENTID() As System.Nullable(Of Integer)
		Get
			Return Me._DEPENDENTID
		End Get
		Set
			If (Me._DEPENDENTID.Equals(value) = false) Then
				Me._DEPENDENTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_FIELDResult
	
	Private _CONNECTOR_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _BUSINESS_FIELD_NAME As String
	
	Private _BUSINESS_RECORD_TYPE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONNECTOR_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property CONNECTOR_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONNECTOR_ENTITYID
		End Get
		Set
			If (Me._CONNECTOR_ENTITYID.Equals(value) = false) Then
				Me._CONNECTOR_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_FIELD_NAME", DbType:="NVarChar(50)")>  _
	Public Property BUSINESS_FIELD_NAME() As String
		Get
			Return Me._BUSINESS_FIELD_NAME
		End Get
		Set
			If (String.Equals(Me._BUSINESS_FIELD_NAME, value) = false) Then
				Me._BUSINESS_FIELD_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_RECORD_TYPE", DbType:="NVarChar(50)")>  _
	Public Property BUSINESS_RECORD_TYPE() As String
		Get
			Return Me._BUSINESS_RECORD_TYPE
		End Get
		Set
			If (String.Equals(Me._BUSINESS_RECORD_TYPE, value) = false) Then
				Me._BUSINESS_RECORD_TYPE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_LINKResult
	
	Private _LINKID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="Int")>  _
	Public Property LINKID() As System.Nullable(Of Integer)
		Get
			Return Me._LINKID
		End Get
		Set
			If (Me._LINKID.Equals(value) = false) Then
				Me._LINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_LINK_DEPENDENTResult
	
	Private _LINKID As System.Nullable(Of Integer)
	
	Private _DEPENDENTID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="Int")>  _
	Public Property LINKID() As System.Nullable(Of Integer)
		Get
			Return Me._LINKID
		End Get
		Set
			If (Me._LINKID.Equals(value) = false) Then
				Me._LINKID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPENDENTID", DbType:="Int")>  _
	Public Property DEPENDENTID() As System.Nullable(Of Integer)
		Get
			Return Me._DEPENDENTID
		End Get
		Set
			If (Me._DEPENDENTID.Equals(value) = false) Then
				Me._DEPENDENTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_LINKREMAPResult
	
	Private _LINKID As System.Nullable(Of Integer)
	
	Private _PRIOR_ACT_RECORDID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="Int")>  _
	Public Property LINKID() As System.Nullable(Of Integer)
		Get
			Return Me._LINKID
		End Get
		Set
			If (Me._LINKID.Equals(value) = false) Then
				Me._LINKID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIOR_ACT_RECORDID", DbType:="UniqueIdentifier")>  _
	Public Property PRIOR_ACT_RECORDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRIOR_ACT_RECORDID
		End Get
		Set
			If (Me._PRIOR_ACT_RECORDID.Equals(value) = false) Then
				Me._PRIOR_ACT_RECORDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_MASTERQUEUE_INPUTResult
	
	Private _ROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID", DbType:="Int")>  _
	Public Property ROWID() As System.Nullable(Of Integer)
		Get
			Return Me._ROWID
		End Get
		Set
			If (Me._ROWID.Equals(value) = false) Then
				Me._ROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_MASTERQUEUE_OUTPUTResult
	
	Private _ROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID", DbType:="Int")>  _
	Public Property ROWID() As System.Nullable(Of Integer)
		Get
			Return Me._ROWID
		End Get
		Set
			If (Me._ROWID.Equals(value) = false) Then
				Me._ROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_MASTERQUEUE_PREFILTERResult
	
	Private _ROWID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID", DbType:="Int")>  _
	Public Property ROWID() As System.Nullable(Of Integer)
		Get
			Return Me._ROWID
		End Get
		Set
			If (Me._ROWID.Equals(value) = false) Then
				Me._ROWID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ABL_SCHEDULEDFORResult
	
	Private _ABL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _SCHEDULEDFORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABL_ACTIVITYID
		End Get
		Set
			If (Me._ABL_ACTIVITYID.Equals(value) = false) Then
				Me._ABL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SCHEDULEDFORID", DbType:="UniqueIdentifier")>  _
	Public Property SCHEDULEDFORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SCHEDULEDFORID
		End Get
		Set
			If (Me._SCHEDULEDFORID.Equals(value) = false) Then
				Me._SCHEDULEDFORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACCESSORResult
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACCESSOR_ACTIVITYResult
	
	Private _ACCESSOR_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSOR_ACTIVITY_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYPRIORITYID As System.Nullable(Of Byte)
	
	Private _ALARMCLEARED_DATES As String
	
	Private _BANNER_COLOR As System.Nullable(Of Integer)
	
	Private _CLEARED_DATES As String
	
	Private _IS_ACKNOWLEDGED As System.Nullable(Of Boolean)
	
	Private _IS_ALARMED As System.Nullable(Of Boolean)
	
	Private _IS_ALL_DAY_BANNER As System.Nullable(Of Boolean)
	
	Private _IS_BASE_RECORD As System.Nullable(Of Boolean)
	
	Private _LEAD_MINUTES As System.Nullable(Of Integer)
	
	Private _STATUSEXCEPTION_DATES As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOR_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOR_ACTIVITYID
		End Get
		Set
			If (Me._ACCESSOR_ACTIVITYID.Equals(value) = false) Then
				Me._ACCESSOR_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITY_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOR_ACTIVITY_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOR_ACTIVITY_ACTIVITYID
		End Get
		Set
			If (Me._ACCESSOR_ACTIVITY_ACTIVITYID.Equals(value) = false) Then
				Me._ACCESSOR_ACTIVITY_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt")>  _
	Public Property ACTIVITYPRIORITYID() As System.Nullable(Of Byte)
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If (Me._ACTIVITYPRIORITYID.Equals(value) = false) Then
				Me._ACTIVITYPRIORITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMCLEARED_DATES", DbType:="NVarChar(MAX)")>  _
	Public Property ALARMCLEARED_DATES() As String
		Get
			Return Me._ALARMCLEARED_DATES
		End Get
		Set
			If (String.Equals(Me._ALARMCLEARED_DATES, value) = false) Then
				Me._ALARMCLEARED_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BANNER_COLOR", DbType:="Int")>  _
	Public Property BANNER_COLOR() As System.Nullable(Of Integer)
		Get
			Return Me._BANNER_COLOR
		End Get
		Set
			If (Me._BANNER_COLOR.Equals(value) = false) Then
				Me._BANNER_COLOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLEARED_DATES", DbType:="NVarChar(MAX)")>  _
	Public Property CLEARED_DATES() As String
		Get
			Return Me._CLEARED_DATES
		End Get
		Set
			If (String.Equals(Me._CLEARED_DATES, value) = false) Then
				Me._CLEARED_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACKNOWLEDGED", DbType:="Bit")>  _
	Public Property IS_ACKNOWLEDGED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ACKNOWLEDGED
		End Get
		Set
			If (Me._IS_ACKNOWLEDGED.Equals(value) = false) Then
				Me._IS_ACKNOWLEDGED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALARMED", DbType:="Bit")>  _
	Public Property IS_ALARMED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ALARMED
		End Get
		Set
			If (Me._IS_ALARMED.Equals(value) = false) Then
				Me._IS_ALARMED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALL_DAY_BANNER", DbType:="Bit")>  _
	Public Property IS_ALL_DAY_BANNER() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ALL_DAY_BANNER
		End Get
		Set
			If (Me._IS_ALL_DAY_BANNER.Equals(value) = false) Then
				Me._IS_ALL_DAY_BANNER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_BASE_RECORD", DbType:="Bit")>  _
	Public Property IS_BASE_RECORD() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_BASE_RECORD
		End Get
		Set
			If (Me._IS_BASE_RECORD.Equals(value) = false) Then
				Me._IS_BASE_RECORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LEAD_MINUTES", DbType:="Int")>  _
	Public Property LEAD_MINUTES() As System.Nullable(Of Integer)
		Get
			Return Me._LEAD_MINUTES
		End Get
		Set
			If (Me._LEAD_MINUTES.Equals(value) = false) Then
				Me._LEAD_MINUTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSEXCEPTION_DATES", DbType:="NVarChar(MAX)")>  _
	Public Property STATUSEXCEPTION_DATES() As String
		Get
			Return Me._STATUSEXCEPTION_DATES
		End Get
		Set
			If (String.Equals(Me._STATUSEXCEPTION_DATES, value) = false) Then
				Me._STATUSEXCEPTION_DATES = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACCESSOR_ACTIVITY_CLEAREDResult
	
	Private _ACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._ACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._ACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACCESSOR_DELEGATEResult
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _GRANTTOACCESSORID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GRANTTOACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property GRANTTOACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GRANTTOACCESSORID
		End Get
		Set
			If (Me._GRANTTOACCESSORID.Equals(value) = false) Then
				Me._GRANTTOACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACCESSOR_PREFERENCEResult
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _PREFERENCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PREFERENCEID", DbType:="UniqueIdentifier")>  _
	Public Property PREFERENCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PREFERENCEID
		End Get
		Set
			If (Me._PREFERENCEID.Equals(value) = false) Then
				Me._PREFERENCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACCESSOR_SETTINGResult
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _SETTINGID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGID", DbType:="UniqueIdentifier")>  _
	Public Property SETTINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SETTINGID
		End Get
		Set
			If (Me._SETTINGID.Equals(value) = false) Then
				Me._SETTINGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITYResult
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYSERIESAPPLIEDID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DELETED_DATES As String
	
	Private _DETAILS As String
	
	Private _DURATION As System.Nullable(Of Integer)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _END_DATE_TIME As System.Nullable(Of Date)
	
	Private _EXTERNAL_ID As String
	
	Private _IS_DELETED As System.Nullable(Of Boolean)
	
	Private _IS_EVENT As System.Nullable(Of Boolean)
	
	Private _IS_INVITATION_SENT As System.Nullable(Of Boolean)
	
	Private _IS_RECURENDLESS As System.Nullable(Of Boolean)
	
	Private _IS_TIMELESS As System.Nullable(Of Boolean)
	
	Private _LAST_EDITED_BY As String
	
	Private _LOCATION As String
	
	Private _MASTERACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ORGANIZER As String
	
	Private _PARENTACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _IS_PRIVATE As System.Nullable(Of Byte)
	
	Private _RECORD_CREATOR As String
	
	Private _RECURRING_END_DATE As System.Nullable(Of Date)
	
	Private _RECURSOURCEACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _REGARDING As String
	
	Private _START_DATE_TIME As System.Nullable(Of Date)
	
	Private _TZ_BIAS As System.Nullable(Of Short)
	
	Private _TZ_DAYLIGHT_BIAS As System.Nullable(Of Short)
	
	Private _TZ_STANDARD_BIAS As System.Nullable(Of Short)
	
	Private _WF_CONTEXTID As System.Nullable(Of System.Guid)
	
	Private _WF_INSTANCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESAPPLIEDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDID.Equals(value) = false) Then
				Me._ACTIVITYSERIESAPPLIEDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEID.Equals(value) = false) Then
				Me._ACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETED_DATES", DbType:="NVarChar(MAX)")>  _
	Public Property DELETED_DATES() As String
		Get
			Return Me._DELETED_DATES
		End Get
		Set
			If (String.Equals(Me._DELETED_DATES, value) = false) Then
				Me._DELETED_DATES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", DbType:="Int")>  _
	Public Property DURATION() As System.Nullable(Of Integer)
		Get
			Return Me._DURATION
		End Get
		Set
			If (Me._DURATION.Equals(value) = false) Then
				Me._DURATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_END_DATE_TIME", DbType:="SmallDateTime")>  _
	Public Property END_DATE_TIME() As System.Nullable(Of Date)
		Get
			Return Me._END_DATE_TIME
		End Get
		Set
			If (Me._END_DATE_TIME.Equals(value) = false) Then
				Me._END_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTERNAL_ID", DbType:="VarChar(1024)")>  _
	Public Property EXTERNAL_ID() As String
		Get
			Return Me._EXTERNAL_ID
		End Get
		Set
			If (String.Equals(Me._EXTERNAL_ID, value) = false) Then
				Me._EXTERNAL_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DELETED", DbType:="Bit")>  _
	Public Property IS_DELETED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DELETED
		End Get
		Set
			If (Me._IS_DELETED.Equals(value) = false) Then
				Me._IS_DELETED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_EVENT", DbType:="Bit")>  _
	Public Property IS_EVENT() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_EVENT
		End Get
		Set
			If (Me._IS_EVENT.Equals(value) = false) Then
				Me._IS_EVENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_INVITATION_SENT", DbType:="Bit")>  _
	Public Property IS_INVITATION_SENT() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_INVITATION_SENT
		End Get
		Set
			If (Me._IS_INVITATION_SENT.Equals(value) = false) Then
				Me._IS_INVITATION_SENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_RECURENDLESS", DbType:="Bit")>  _
	Public Property IS_RECURENDLESS() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_RECURENDLESS
		End Get
		Set
			If (Me._IS_RECURENDLESS.Equals(value) = false) Then
				Me._IS_RECURENDLESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_TIMELESS", DbType:="Bit")>  _
	Public Property IS_TIMELESS() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_TIMELESS
		End Get
		Set
			If (Me._IS_TIMELESS.Equals(value) = false) Then
				Me._IS_TIMELESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCATION", DbType:="NVarChar(128)")>  _
	Public Property LOCATION() As String
		Get
			Return Me._LOCATION
		End Get
		Set
			If (String.Equals(Me._LOCATION, value) = false) Then
				Me._LOCATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MASTERACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property MASTERACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MASTERACTIVITYID
		End Get
		Set
			If (Me._MASTERACTIVITYID.Equals(value) = false) Then
				Me._MASTERACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZER", DbType:="NVarChar(128)")>  _
	Public Property ORGANIZER() As String
		Get
			Return Me._ORGANIZER
		End Get
		Set
			If (String.Equals(Me._ORGANIZER, value) = false) Then
				Me._ORGANIZER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTACTIVITYID
		End Get
		Set
			If (Me._PARENTACTIVITYID.Equals(value) = false) Then
				Me._PARENTACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="TinyInt")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Byte)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURRING_END_DATE", DbType:="DateTime")>  _
	Public Property RECURRING_END_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECURRING_END_DATE
		End Get
		Set
			If (Me._RECURRING_END_DATE.Equals(value) = false) Then
				Me._RECURRING_END_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECURSOURCEACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property RECURSOURCEACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._RECURSOURCEACTIVITYID
		End Get
		Set
			If (Me._RECURSOURCEACTIVITYID.Equals(value) = false) Then
				Me._RECURSOURCEACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me._REGARDING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_START_DATE_TIME", DbType:="SmallDateTime")>  _
	Public Property START_DATE_TIME() As System.Nullable(Of Date)
		Get
			Return Me._START_DATE_TIME
		End Get
		Set
			If (Me._START_DATE_TIME.Equals(value) = false) Then
				Me._START_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_BIAS", DbType:="SmallInt")>  _
	Public Property TZ_BIAS() As System.Nullable(Of Short)
		Get
			Return Me._TZ_BIAS
		End Get
		Set
			If (Me._TZ_BIAS.Equals(value) = false) Then
				Me._TZ_BIAS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_DAYLIGHT_BIAS", DbType:="SmallInt")>  _
	Public Property TZ_DAYLIGHT_BIAS() As System.Nullable(Of Short)
		Get
			Return Me._TZ_DAYLIGHT_BIAS
		End Get
		Set
			If (Me._TZ_DAYLIGHT_BIAS.Equals(value) = false) Then
				Me._TZ_DAYLIGHT_BIAS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TZ_STANDARD_BIAS", DbType:="SmallInt")>  _
	Public Property TZ_STANDARD_BIAS() As System.Nullable(Of Short)
		Get
			Return Me._TZ_STANDARD_BIAS
		End Get
		Set
			If (Me._TZ_STANDARD_BIAS.Equals(value) = false) Then
				Me._TZ_STANDARD_BIAS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WF_CONTEXTID", DbType:="UniqueIdentifier")>  _
	Public Property WF_CONTEXTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WF_CONTEXTID
		End Get
		Set
			If (Me._WF_CONTEXTID.Equals(value) = false) Then
				Me._WF_CONTEXTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WF_INSTANCEID", DbType:="UniqueIdentifier")>  _
	Public Property WF_INSTANCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WF_INSTANCEID
		End Get
		Set
			If (Me._WF_INSTANCEID.Equals(value) = false) Then
				Me._WF_INSTANCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITY_ABL_ACTIVITYResult
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ABL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ABL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ABL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ABL_ACTIVITYID
		End Get
		Set
			If (Me._ABL_ACTIVITYID.Equals(value) = false) Then
				Me._ABL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITYPRIORITYResult
	
	Private _ACTIVITYPRIORITYGUID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYPRIORITYID As System.Nullable(Of Byte)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _IS_ACTIVE As System.Nullable(Of Boolean)
	
	Private _PRIORITY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYGUID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYPRIORITYGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYPRIORITYGUID
		End Get
		Set
			If (Me._ACTIVITYPRIORITYGUID.Equals(value) = false) Then
				Me._ACTIVITYPRIORITYGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYPRIORITYID", DbType:="TinyInt")>  _
	Public Property ACTIVITYPRIORITYID() As System.Nullable(Of Byte)
		Get
			Return Me._ACTIVITYPRIORITYID
		End Get
		Set
			If (Me._ACTIVITYPRIORITYID.Equals(value) = false) Then
				Me._ACTIVITYPRIORITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(64)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit")>  _
	Public Property IS_ACTIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If (Me._IS_ACTIVE.Equals(value) = false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIORITY", DbType:="NVarChar(64)")>  _
	Public Property PRIORITY() As String
		Get
			Return Me._PRIORITY
		End Get
		Set
			If (String.Equals(Me._PRIORITY, value) = false) Then
				Me._PRIORITY = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITYSERIESResult
	
	Private _ACTIVITYSERIESID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESID
		End Get
		Set
			If (Me._ACTIVITYSERIESID.Equals(value) = false) Then
				Me._ACTIVITYSERIESID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me._MANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITYSERIESAPPLIEDResult
	
	Private _ACTIVITYSERIESAPPLIEDID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESAPPLIEDID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESAPPLIEDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESAPPLIEDID
		End Get
		Set
			If (Me._ACTIVITYSERIESAPPLIEDID.Equals(value) = false) Then
				Me._ACTIVITYSERIESAPPLIEDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITYSERIESITEMResult
	
	Private _ACTIVITYSERIESITEMID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ORGANIZEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYSERIESITEMID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYSERIESITEMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYSERIESITEMID
		End Get
		Set
			If (Me._ACTIVITYSERIESITEMID.Equals(value) = false) Then
				Me._ACTIVITYSERIESITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ORGANIZEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ORGANIZEUSERID
		End Get
		Set
			If (Me._ORGANIZEUSERID.Equals(value) = false) Then
				Me._ORGANIZEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ACTIVITYTYPEResult
	
	Private _ACTIVITYTYPEGUID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITY_TYPE As String
	
	Private _ACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _IS_ACTIVE As System.Nullable(Of Boolean)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _REGARDING_PICKLISTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEGUID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYTYPEGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYTYPEGUID
		End Get
		Set
			If (Me._ACTIVITYTYPEGUID.Equals(value) = false) Then
				Me._ACTIVITYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITY_TYPE", DbType:="NVarChar(64)")>  _
	Public Property ACTIVITY_TYPE() As String
		Get
			Return Me._ACTIVITY_TYPE
		End Get
		Set
			If (String.Equals(Me._ACTIVITY_TYPE, value) = false) Then
				Me._ACTIVITY_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEID.Equals(value) = false) Then
				Me._ACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit")>  _
	Public Property IS_ACTIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If (Me._IS_ACTIVE.Equals(value) = false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING_PICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property REGARDING_PICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._REGARDING_PICKLISTID
		End Get
		Set
			If (Me._REGARDING_PICKLISTID.Equals(value) = false) Then
				Me._REGARDING_PICKLISTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ADDRESSResult
	
	Private _ADDRESSID As System.Nullable(Of System.Guid)
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _CITY As String
	
	Private _COUNTRY As String
	
	Private _STATE As String
	
	Private _ZIP_CODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESSID", DbType:="UniqueIdentifier")>  _
	Public Property ADDRESSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ADDRESSID
		End Get
		Set
			If (Me._ADDRESSID.Equals(value) = false) Then
				Me._ADDRESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_ACTIVITYResult
	
	Private _AL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _ORGANIZEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property AL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._AL_ACTIVITYID
		End Get
		Set
			If (Me._AL_ACTIVITYID.Equals(value) = false) Then
				Me._AL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORGANIZEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property ORGANIZEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ORGANIZEUSERID
		End Get
		Set
			If (Me._ORGANIZEUSERID.Equals(value) = false) Then
				Me._ORGANIZEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_ACTIVITY_EXTERNALIDResult
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_DATAMAPPINGResult
	
	Private _DATAMAPPINGID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATAMAPPINGID", DbType:="UniqueIdentifier")>  _
	Public Property DATAMAPPINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DATAMAPPINGID
		End Get
		Set
			If (Me._DATAMAPPINGID.Equals(value) = false) Then
				Me._DATAMAPPINGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_DRIVERCONFIGResult
	
	Private _LINKDRIVERCLSID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKDRIVERCLSID", DbType:="UniqueIdentifier")>  _
	Public Property LINKDRIVERCLSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LINKDRIVERCLSID
		End Get
		Set
			If (Me._LINKDRIVERCLSID.Equals(value) = false) Then
				Me._LINKDRIVERCLSID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_LINKResult
	
	Private _LINKID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="UniqueIdentifier")>  _
	Public Property LINKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LINKID
		End Get
		Set
			If (Me._LINKID.Equals(value) = false) Then
				Me._LINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_SCHEDULEDFORResult
	
	Private _AL_ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _SCHEDULEDFORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_AL_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property AL_ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._AL_ACTIVITYID
		End Get
		Set
			If (Me._AL_ACTIVITYID.Equals(value) = false) Then
				Me._AL_ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SCHEDULEDFORID", DbType:="UniqueIdentifier")>  _
	Public Property SCHEDULEDFORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SCHEDULEDFORID
		End Get
		Set
			If (Me._SCHEDULEDFORID.Equals(value) = false) Then
				Me._SCHEDULEDFORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_SYNCDATAResult
	
	Private _DATAMAPPINGID As System.Nullable(Of System.Guid)
	
	Private _LINKID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATAMAPPINGID", DbType:="UniqueIdentifier")>  _
	Public Property DATAMAPPINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DATAMAPPINGID
		End Get
		Set
			If (Me._DATAMAPPINGID.Equals(value) = false) Then
				Me._DATAMAPPINGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LINKID", DbType:="UniqueIdentifier")>  _
	Public Property LINKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LINKID
		End Get
		Set
			If (Me._LINKID.Equals(value) = false) Then
				Me._LINKID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_AL_USERSETTINGResult
	
	Private _USERSETTINGID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERSETTINGID", DbType:="UniqueIdentifier")>  _
	Public Property USERSETTINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERSETTINGID
		End Get
		Set
			If (Me._USERSETTINGID.Equals(value) = false) Then
				Me._USERSETTINGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ALARMSNOOZEResult
	
	Private _ALARMSNOOZEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALARMSNOOZEID", DbType:="UniqueIdentifier")>  _
	Public Property ALARMSNOOZEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ALARMSNOOZEID
		End Get
		Set
			If (Me._ALARMSNOOZEID.Equals(value) = false) Then
				Me._ALARMSNOOZEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ATTACHMENTResult
	
	Private _ATTACHMENTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENTID", DbType:="UniqueIdentifier")>  _
	Public Property ATTACHMENTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ATTACHMENTID
		End Get
		Set
			If (Me._ATTACHMENTID.Equals(value) = false) Then
				Me._ATTACHMENTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANYResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _BILLING_ADDRESS_1 As String
	
	Private _BILLING_ADDRESS_2 As String
	
	Private _BILLING_ADDRESS_3 As String
	
	Private _BILLING_CITY As String
	
	Private _BILLING_COUNTRY As String
	
	Private _BILLING_STATE As String
	
	Private _BILLING_ZIP_CODE As String
	
	Private _CITY As String
	
	Private _COMPANY As String
	
	Private _COMPANY_DESCRIPTION As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CustomerID As String
	
	Private _DIVISION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EXTENSION As String
	
	Private _FAX_EXTENSION As String
	
	Private _FAX_PHONE As String
	
	Private _HAS_DIVISIONS As System.Nullable(Of Boolean)
	
	Private _HIERARCHY_LEVEL As System.Nullable(Of Integer)
	
	Private _ID_STATUS As String
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _INDUSTRY As String
	
	Private _LAST_EDITED_BY As String
	
	Private _NUMBER_OF_EMPLOYEES As System.Nullable(Of Integer)
	
	Private _PARENTCOMPANYID As System.Nullable(Of System.Guid)
	
	Private _PHONE As String
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _REGION As String
	
	Private _REVENUE As System.Nullable(Of Decimal)
	
	Private _SHIPPING_ADDRESS_1 As String
	
	Private _SHIPPING_ADDRESS_2 As String
	
	Private _SHIPPING_ADDRESS_3 As String
	
	Private _SHIPPING_CITY As String
	
	Private _SHIPPING_COUNTRY As String
	
	Private _SHIPPING_STATE As String
	
	Private _SHIPPING_ZIP_CODE As String
	
	Private _SIC_CODE As String
	
	Private _STATE As String
	
	Private _TERRITORY As String
	
	Private _TICKER_SYMBOL As String
	
	Private _TOLL_FREE_EXTENSION As String
	
	Private _TOLL_FREE_PHONE As String
	
	Private _WEB_SITE As String
	
	Private _ZIP_CODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ADDRESS_1() As String
		Get
			Return Me._BILLING_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._BILLING_ADDRESS_1, value) = false) Then
				Me._BILLING_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ADDRESS_2() As String
		Get
			Return Me._BILLING_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._BILLING_ADDRESS_2, value) = false) Then
				Me._BILLING_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ADDRESS_3() As String
		Get
			Return Me._BILLING_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._BILLING_ADDRESS_3, value) = false) Then
				Me._BILLING_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_CITY", DbType:="NVarChar(256)")>  _
	Public Property BILLING_CITY() As String
		Get
			Return Me._BILLING_CITY
		End Get
		Set
			If (String.Equals(Me._BILLING_CITY, value) = false) Then
				Me._BILLING_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property BILLING_COUNTRY() As String
		Get
			Return Me._BILLING_COUNTRY
		End Get
		Set
			If (String.Equals(Me._BILLING_COUNTRY, value) = false) Then
				Me._BILLING_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_STATE", DbType:="NVarChar(256)")>  _
	Public Property BILLING_STATE() As String
		Get
			Return Me._BILLING_STATE
		End Get
		Set
			If (String.Equals(Me._BILLING_STATE, value) = false) Then
				Me._BILLING_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BILLING_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property BILLING_ZIP_CODE() As String
		Get
			Return Me._BILLING_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._BILLING_ZIP_CODE, value) = false) Then
				Me._BILLING_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property COMPANY_DESCRIPTION() As String
		Get
			Return Me._COMPANY_DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._COMPANY_DESCRIPTION, value) = false) Then
				Me._COMPANY_DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Customer ID", Storage:="_CustomerID", DbType:="NVarChar(8)")>  _
	Public Property CustomerID() As String
		Get
			Return Me._CustomerID
		End Get
		Set
			If (String.Equals(Me._CustomerID, value) = false) Then
				Me._CustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DIVISION", DbType:="NVarChar(64)")>  _
	Public Property DIVISION() As String
		Get
			Return Me._DIVISION
		End Get
		Set
			If (String.Equals(Me._DIVISION, value) = false) Then
				Me._DIVISION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property EXTENSION() As String
		Get
			Return Me._EXTENSION
		End Get
		Set
			If (String.Equals(Me._EXTENSION, value) = false) Then
				Me._EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property FAX_EXTENSION() As String
		Get
			Return Me._FAX_EXTENSION
		End Get
		Set
			If (String.Equals(Me._FAX_EXTENSION, value) = false) Then
				Me._FAX_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property FAX_PHONE() As String
		Get
			Return Me._FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._FAX_PHONE, value) = false) Then
				Me._FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HAS_DIVISIONS", DbType:="Bit")>  _
	Public Property HAS_DIVISIONS() As System.Nullable(Of Boolean)
		Get
			Return Me._HAS_DIVISIONS
		End Get
		Set
			If (Me._HAS_DIVISIONS.Equals(value) = false) Then
				Me._HAS_DIVISIONS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERARCHY_LEVEL", DbType:="Int")>  _
	Public Property HIERARCHY_LEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERARCHY_LEVEL
		End Get
		Set
			If (Me._HIERARCHY_LEVEL.Equals(value) = false) Then
				Me._HIERARCHY_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ID/STATUS", Storage:="_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property ID_STATUS() As String
		Get
			Return Me._ID_STATUS
		End Get
		Set
			If (String.Equals(Me._ID_STATUS, value) = false) Then
				Me._ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDUSTRY", DbType:="NVarChar(64)")>  _
	Public Property INDUSTRY() As String
		Get
			Return Me._INDUSTRY
		End Get
		Set
			If (String.Equals(Me._INDUSTRY, value) = false) Then
				Me._INDUSTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_OF_EMPLOYEES", DbType:="Int")>  _
	Public Property NUMBER_OF_EMPLOYEES() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_OF_EMPLOYEES
		End Get
		Set
			If (Me._NUMBER_OF_EMPLOYEES.Equals(value) = false) Then
				Me._NUMBER_OF_EMPLOYEES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTCOMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTCOMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTCOMPANYID
		End Get
		Set
			If (Me._PARENTCOMPANYID.Equals(value) = false) Then
				Me._PARENTCOMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PHONE() As String
		Get
			Return Me._PHONE
		End Get
		Set
			If (String.Equals(Me._PHONE, value) = false) Then
				Me._PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGION", DbType:="NVarChar(64)")>  _
	Public Property REGION() As String
		Get
			Return Me._REGION
		End Get
		Set
			If (String.Equals(Me._REGION, value) = false) Then
				Me._REGION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REVENUE", DbType:="Decimal(18,2)")>  _
	Public Property REVENUE() As System.Nullable(Of Decimal)
		Get
			Return Me._REVENUE
		End Get
		Set
			If (Me._REVENUE.Equals(value) = false) Then
				Me._REVENUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ADDRESS_1() As String
		Get
			Return Me._SHIPPING_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ADDRESS_1, value) = false) Then
				Me._SHIPPING_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ADDRESS_2() As String
		Get
			Return Me._SHIPPING_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ADDRESS_2, value) = false) Then
				Me._SHIPPING_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ADDRESS_3() As String
		Get
			Return Me._SHIPPING_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ADDRESS_3, value) = false) Then
				Me._SHIPPING_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_CITY", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_CITY() As String
		Get
			Return Me._SHIPPING_CITY
		End Get
		Set
			If (String.Equals(Me._SHIPPING_CITY, value) = false) Then
				Me._SHIPPING_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_COUNTRY() As String
		Get
			Return Me._SHIPPING_COUNTRY
		End Get
		Set
			If (String.Equals(Me._SHIPPING_COUNTRY, value) = false) Then
				Me._SHIPPING_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_STATE", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_STATE() As String
		Get
			Return Me._SHIPPING_STATE
		End Get
		Set
			If (String.Equals(Me._SHIPPING_STATE, value) = false) Then
				Me._SHIPPING_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SHIPPING_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property SHIPPING_ZIP_CODE() As String
		Get
			Return Me._SHIPPING_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._SHIPPING_ZIP_CODE, value) = false) Then
				Me._SHIPPING_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SIC_CODE", DbType:="NVarChar(8)")>  _
	Public Property SIC_CODE() As String
		Get
			Return Me._SIC_CODE
		End Get
		Set
			If (String.Equals(Me._SIC_CODE, value) = false) Then
				Me._SIC_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TERRITORY", DbType:="NVarChar(64)")>  _
	Public Property TERRITORY() As String
		Get
			Return Me._TERRITORY
		End Get
		Set
			If (String.Equals(Me._TERRITORY, value) = false) Then
				Me._TERRITORY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TICKER_SYMBOL", DbType:="NVarChar(12)")>  _
	Public Property TICKER_SYMBOL() As String
		Get
			Return Me._TICKER_SYMBOL
		End Get
		Set
			If (String.Equals(Me._TICKER_SYMBOL, value) = false) Then
				Me._TICKER_SYMBOL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOLL_FREE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property TOLL_FREE_EXTENSION() As String
		Get
			Return Me._TOLL_FREE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._TOLL_FREE_EXTENSION, value) = false) Then
				Me._TOLL_FREE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOLL_FREE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property TOLL_FREE_PHONE() As String
		Get
			Return Me._TOLL_FREE_PHONE
		End Get
		Set
			If (String.Equals(Me._TOLL_FREE_PHONE, value) = false) Then
				Me._TOLL_FREE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property WEB_SITE() As String
		Get
			Return Me._WEB_SITE
		End Get
		Set
			If (String.Equals(Me._WEB_SITE, value) = false) Then
				Me._WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_ACCESSResult
	
	Private _ACCESS_LEVEL As String
	
	Private _COMPANY_ACCESS_COMPANYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7)")>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_ACCESS_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANY_ACCESS_COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANY_ACCESS_COMPANYID
		End Get
		Set
			If (Me._COMPANY_ACCESS_COMPANYID.Equals(value) = false) Then
				Me._COMPANY_ACCESS_COMPANYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_ACLResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_ACTIVITYResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_CONTACTResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_HISTORYResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_NOTEResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANY_OPPORTUNITYResult
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANYCONTACT_MAPResult
	
	Private _COMPANY_COLUMNID As System.Nullable(Of System.Guid)
	
	Private _CONTACT_COLUMNID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANY_COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANY_COLUMNID
		End Get
		Set
			If (Me._COMPANY_COLUMNID.Equals(value) = false) Then
				Me._COMPANY_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACT_COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACT_COLUMNID
		End Get
		Set
			If (Me._CONTACT_COLUMNID.Equals(value) = false) Then
				Me._CONTACT_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COMPANYQUERYResult
	
	Private _COMPANYQUERYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYQUERYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYQUERYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYQUERYID
		End Get
		Set
			If (Me._COMPANYQUERYID.Equals(value) = false) Then
				Me._COMPANYQUERYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACTResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _ALTERNATE_EXTENSION As String
	
	Private _ALTERNATE_PHONE As String
	
	Private _BIRTH_DATE As System.Nullable(Of Date)
	
	Private _CITY As String
	
	Private _COMPANY As String
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACT As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CustomerID As String
	
	Private _DEPARTMENT As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _E_MAIL As String
	
	Private _EmailPermission As String
	
	Private _EXTENSION As String
	
	Private _FAX_EXTENSION As String
	
	Private _FAX_PHONE As String
	
	Private _FirstPurchase As System.Nullable(Of Date)
	
	Private _FIRST_NAME As String
	
	Private _HOME_ADDRESS_1 As String
	
	Private _HOME_ADDRESS_2 As String
	
	Private _HOME_ADDRESS_3 As String
	
	Private _HOME_CITY As String
	
	Private _HOME_COUNTRY As String
	
	Private _HOME_EXTENSION As String
	
	Private _HOME_PHONE As String
	
	Private _HOME_STATE As String
	
	Private _HOME_ZIP_CODE As String
	
	Private _ID_STATUS As String
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _IS_IMPORTED As System.Nullable(Of Boolean)
	
	Private _IS_USER As System.Nullable(Of Boolean)
	
	Private _KeyContact As System.Nullable(Of Boolean)
	
	Private _LastYrsPurchases As System.Nullable(Of Decimal)
	
	Private _LAST_ATTEMPT As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _LAST_E_MAIL As System.Nullable(Of Date)
	
	Private _LAST_MEETING As System.Nullable(Of Date)
	
	Private _LAST_NAME As String
	
	Private _LAST_REACH As System.Nullable(Of Date)
	
	Private _LAST_RESULTS As String
	
	Private _LETTER_DATE As System.Nullable(Of Date)
	
	Private _MESSENGER_ID As String
	
	Private _MIDDLE_NAME As String
	
	Private _MOBILE_EXTENSION As String
	
	Private _MOBILE_PHONE As String
	
	Private _NAME_PREFIX As String
	
	Private _NAME_SUFFIX As String
	
	Private _PAGER_EXTENSION As String
	
	Private _PAGER_PHONE As String
	
	Private _PERSONAL_E_MAIL As String
	
	Private _PHONE As String
	
	Private _Photo As System.Data.Linq.Binary
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _SALUTATION As String
	
	Private _SnapshotContactGrade As String
	
	Private _SnapshotContactRank As System.Nullable(Of Integer)
	
	Private _SnapshotFavorites As String
	
	Private _SnapshotWhoIs As String
	
	Private _SPOUSE As String
	
	Private _STATE As String
	
	Private _TITLE As String
	
	Private _Trivia As String
	
	Private _USER1 As String
	
	Private _USER10 As String
	
	Private _USER2 As String
	
	Private _USER3 As String
	
	Private _USER4 As String
	
	Private _USER5 As String
	
	Private _USER6 As String
	
	Private _USER7 As String
	
	Private _USER8 As String
	
	Private _USER9 As String
	
	Private _WEB_SITE As String
	
	Private _ZIP_CODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALTERNATE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property ALTERNATE_EXTENSION() As String
		Get
			Return Me._ALTERNATE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._ALTERNATE_EXTENSION, value) = false) Then
				Me._ALTERNATE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALTERNATE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property ALTERNATE_PHONE() As String
		Get
			Return Me._ALTERNATE_PHONE
		End Get
		Set
			If (String.Equals(Me._ALTERNATE_PHONE, value) = false) Then
				Me._ALTERNATE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BIRTH_DATE", DbType:="DateTime")>  _
	Public Property BIRTH_DATE() As System.Nullable(Of Date)
		Get
			Return Me._BIRTH_DATE
		End Get
		Set
			If (Me._BIRTH_DATE.Equals(value) = false) Then
				Me._BIRTH_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT", DbType:="NVarChar(128)")>  _
	Public Property CONTACT() As String
		Get
			Return Me._CONTACT
		End Get
		Set
			If (String.Equals(Me._CONTACT, value) = false) Then
				Me._CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Customer ID", Storage:="_CustomerID", DbType:="NVarChar(8)")>  _
	Public Property CustomerID() As String
		Get
			Return Me._CustomerID
		End Get
		Set
			If (String.Equals(Me._CustomerID, value) = false) Then
				Me._CustomerID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPARTMENT", DbType:="NVarChar(128)")>  _
	Public Property DEPARTMENT() As String
		Get
			Return Me._DEPARTMENT
		End Get
		Set
			If (String.Equals(Me._DEPARTMENT, value) = false) Then
				Me._DEPARTMENT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="E-MAIL", Storage:="_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property E_MAIL() As String
		Get
			Return Me._E_MAIL
		End Get
		Set
			If (String.Equals(Me._E_MAIL, value) = false) Then
				Me._E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Email Permission", Storage:="_EmailPermission", DbType:="NVarChar(20)")>  _
	Public Property EmailPermission() As String
		Get
			Return Me._EmailPermission
		End Get
		Set
			If (String.Equals(Me._EmailPermission, value) = false) Then
				Me._EmailPermission = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property EXTENSION() As String
		Get
			Return Me._EXTENSION
		End Get
		Set
			If (String.Equals(Me._EXTENSION, value) = false) Then
				Me._EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property FAX_EXTENSION() As String
		Get
			Return Me._FAX_EXTENSION
		End Get
		Set
			If (String.Equals(Me._FAX_EXTENSION, value) = false) Then
				Me._FAX_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property FAX_PHONE() As String
		Get
			Return Me._FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._FAX_PHONE, value) = false) Then
				Me._FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="First Purchase", Storage:="_FirstPurchase", DbType:="DateTime")>  _
	Public Property FirstPurchase() As System.Nullable(Of Date)
		Get
			Return Me._FirstPurchase
		End Get
		Set
			If (Me._FirstPurchase.Equals(value) = false) Then
				Me._FirstPurchase = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRST_NAME", DbType:="NVarChar(64)")>  _
	Public Property FIRST_NAME() As String
		Get
			Return Me._FIRST_NAME
		End Get
		Set
			If (String.Equals(Me._FIRST_NAME, value) = false) Then
				Me._FIRST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_1() As String
		Get
			Return Me._HOME_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_1, value) = false) Then
				Me._HOME_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_2() As String
		Get
			Return Me._HOME_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_2, value) = false) Then
				Me._HOME_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property HOME_ADDRESS_3() As String
		Get
			Return Me._HOME_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._HOME_ADDRESS_3, value) = false) Then
				Me._HOME_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_CITY", DbType:="NVarChar(256)")>  _
	Public Property HOME_CITY() As String
		Get
			Return Me._HOME_CITY
		End Get
		Set
			If (String.Equals(Me._HOME_CITY, value) = false) Then
				Me._HOME_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property HOME_COUNTRY() As String
		Get
			Return Me._HOME_COUNTRY
		End Get
		Set
			If (String.Equals(Me._HOME_COUNTRY, value) = false) Then
				Me._HOME_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property HOME_EXTENSION() As String
		Get
			Return Me._HOME_EXTENSION
		End Get
		Set
			If (String.Equals(Me._HOME_EXTENSION, value) = false) Then
				Me._HOME_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_PHONE", DbType:="NVarChar(32)")>  _
	Public Property HOME_PHONE() As String
		Get
			Return Me._HOME_PHONE
		End Get
		Set
			If (String.Equals(Me._HOME_PHONE, value) = false) Then
				Me._HOME_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_STATE", DbType:="NVarChar(256)")>  _
	Public Property HOME_STATE() As String
		Get
			Return Me._HOME_STATE
		End Get
		Set
			If (String.Equals(Me._HOME_STATE, value) = false) Then
				Me._HOME_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOME_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property HOME_ZIP_CODE() As String
		Get
			Return Me._HOME_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._HOME_ZIP_CODE, value) = false) Then
				Me._HOME_ZIP_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="ID/STATUS", Storage:="_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property ID_STATUS() As String
		Get
			Return Me._ID_STATUS
		End Get
		Set
			If (String.Equals(Me._ID_STATUS, value) = false) Then
				Me._ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_IMPORTED", DbType:="Bit")>  _
	Public Property IS_IMPORTED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_IMPORTED
		End Get
		Set
			If (Me._IS_IMPORTED.Equals(value) = false) Then
				Me._IS_IMPORTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USER", DbType:="Bit")>  _
	Public Property IS_USER() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_USER
		End Get
		Set
			If (Me._IS_USER.Equals(value) = false) Then
				Me._IS_USER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Key Contact", Storage:="_KeyContact", DbType:="Bit")>  _
	Public Property KeyContact() As System.Nullable(Of Boolean)
		Get
			Return Me._KeyContact
		End Get
		Set
			If (Me._KeyContact.Equals(value) = false) Then
				Me._KeyContact = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Last Yrs Purchases", Storage:="_LastYrsPurchases", DbType:="Decimal(7,0)")>  _
	Public Property LastYrsPurchases() As System.Nullable(Of Decimal)
		Get
			Return Me._LastYrsPurchases
		End Get
		Set
			If (Me._LastYrsPurchases.Equals(value) = false) Then
				Me._LastYrsPurchases = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ATTEMPT", DbType:="DateTime")>  _
	Public Property LAST_ATTEMPT() As System.Nullable(Of Date)
		Get
			Return Me._LAST_ATTEMPT
		End Get
		Set
			If (Me._LAST_ATTEMPT.Equals(value) = false) Then
				Me._LAST_ATTEMPT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="LAST_E-MAIL", Storage:="_LAST_E_MAIL", DbType:="DateTime")>  _
	Public Property LAST_E_MAIL() As System.Nullable(Of Date)
		Get
			Return Me._LAST_E_MAIL
		End Get
		Set
			If (Me._LAST_E_MAIL.Equals(value) = false) Then
				Me._LAST_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_MEETING", DbType:="DateTime")>  _
	Public Property LAST_MEETING() As System.Nullable(Of Date)
		Get
			Return Me._LAST_MEETING
		End Get
		Set
			If (Me._LAST_MEETING.Equals(value) = false) Then
				Me._LAST_MEETING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_NAME", DbType:="NVarChar(128)")>  _
	Public Property LAST_NAME() As String
		Get
			Return Me._LAST_NAME
		End Get
		Set
			If (String.Equals(Me._LAST_NAME, value) = false) Then
				Me._LAST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_REACH", DbType:="DateTime")>  _
	Public Property LAST_REACH() As System.Nullable(Of Date)
		Get
			Return Me._LAST_REACH
		End Get
		Set
			If (Me._LAST_REACH.Equals(value) = false) Then
				Me._LAST_REACH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_RESULTS", DbType:="NVarChar(128)")>  _
	Public Property LAST_RESULTS() As String
		Get
			Return Me._LAST_RESULTS
		End Get
		Set
			If (String.Equals(Me._LAST_RESULTS, value) = false) Then
				Me._LAST_RESULTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LETTER_DATE", DbType:="DateTime")>  _
	Public Property LETTER_DATE() As System.Nullable(Of Date)
		Get
			Return Me._LETTER_DATE
		End Get
		Set
			If (Me._LETTER_DATE.Equals(value) = false) Then
				Me._LETTER_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MESSENGER_ID", DbType:="NVarChar(16)")>  _
	Public Property MESSENGER_ID() As String
		Get
			Return Me._MESSENGER_ID
		End Get
		Set
			If (String.Equals(Me._MESSENGER_ID, value) = false) Then
				Me._MESSENGER_ID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIDDLE_NAME", DbType:="NVarChar(64)")>  _
	Public Property MIDDLE_NAME() As String
		Get
			Return Me._MIDDLE_NAME
		End Get
		Set
			If (String.Equals(Me._MIDDLE_NAME, value) = false) Then
				Me._MIDDLE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MOBILE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property MOBILE_EXTENSION() As String
		Get
			Return Me._MOBILE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._MOBILE_EXTENSION, value) = false) Then
				Me._MOBILE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MOBILE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property MOBILE_PHONE() As String
		Get
			Return Me._MOBILE_PHONE
		End Get
		Set
			If (String.Equals(Me._MOBILE_PHONE, value) = false) Then
				Me._MOBILE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME_PREFIX", DbType:="NVarChar(32)")>  _
	Public Property NAME_PREFIX() As String
		Get
			Return Me._NAME_PREFIX
		End Get
		Set
			If (String.Equals(Me._NAME_PREFIX, value) = false) Then
				Me._NAME_PREFIX = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME_SUFFIX", DbType:="NVarChar(32)")>  _
	Public Property NAME_SUFFIX() As String
		Get
			Return Me._NAME_SUFFIX
		End Get
		Set
			If (String.Equals(Me._NAME_SUFFIX, value) = false) Then
				Me._NAME_SUFFIX = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PAGER_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property PAGER_EXTENSION() As String
		Get
			Return Me._PAGER_EXTENSION
		End Get
		Set
			If (String.Equals(Me._PAGER_EXTENSION, value) = false) Then
				Me._PAGER_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PAGER_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PAGER_PHONE() As String
		Get
			Return Me._PAGER_PHONE
		End Get
		Set
			If (String.Equals(Me._PAGER_PHONE, value) = false) Then
				Me._PAGER_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="PERSONAL_E-MAIL", Storage:="_PERSONAL_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property PERSONAL_E_MAIL() As String
		Get
			Return Me._PERSONAL_E_MAIL
		End Get
		Set
			If (String.Equals(Me._PERSONAL_E_MAIL, value) = false) Then
				Me._PERSONAL_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PHONE() As String
		Get
			Return Me._PHONE
		End Get
		Set
			If (String.Equals(Me._PHONE, value) = false) Then
				Me._PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Photo", DbType:="VarBinary(MAX)", CanBeNull:=true)>  _
	Public Property Photo() As System.Data.Linq.Binary
		Get
			Return Me._Photo
		End Get
		Set
			If (Object.Equals(Me._Photo, value) = false) Then
				Me._Photo = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SALUTATION", DbType:="NVarChar(32)")>  _
	Public Property SALUTATION() As String
		Get
			Return Me._SALUTATION
		End Get
		Set
			If (String.Equals(Me._SALUTATION, value) = false) Then
				Me._SALUTATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Contact Grade", Storage:="_SnapshotContactGrade", DbType:="NVarChar(50)")>  _
	Public Property SnapshotContactGrade() As String
		Get
			Return Me._SnapshotContactGrade
		End Get
		Set
			If (String.Equals(Me._SnapshotContactGrade, value) = false) Then
				Me._SnapshotContactGrade = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Contact Rank", Storage:="_SnapshotContactRank", DbType:="Int")>  _
	Public Property SnapshotContactRank() As System.Nullable(Of Integer)
		Get
			Return Me._SnapshotContactRank
		End Get
		Set
			If (Me._SnapshotContactRank.Equals(value) = false) Then
				Me._SnapshotContactRank = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot Favorites", Storage:="_SnapshotFavorites", DbType:="NVarChar(MAX)")>  _
	Public Property SnapshotFavorites() As String
		Get
			Return Me._SnapshotFavorites
		End Get
		Set
			If (String.Equals(Me._SnapshotFavorites, value) = false) Then
				Me._SnapshotFavorites = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Snapshot WhoIs", Storage:="_SnapshotWhoIs", DbType:="NVarChar(MAX)")>  _
	Public Property SnapshotWhoIs() As String
		Get
			Return Me._SnapshotWhoIs
		End Get
		Set
			If (String.Equals(Me._SnapshotWhoIs, value) = false) Then
				Me._SnapshotWhoIs = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SPOUSE", DbType:="NVarChar(64)")>  _
	Public Property SPOUSE() As String
		Get
			Return Me._SPOUSE
		End Get
		Set
			If (String.Equals(Me._SPOUSE, value) = false) Then
				Me._SPOUSE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TITLE", DbType:="NVarChar(128)")>  _
	Public Property TITLE() As String
		Get
			Return Me._TITLE
		End Get
		Set
			If (String.Equals(Me._TITLE, value) = false) Then
				Me._TITLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Trivia", DbType:="NVarChar(MAX)")>  _
	Public Property Trivia() As String
		Get
			Return Me._Trivia
		End Get
		Set
			If (String.Equals(Me._Trivia, value) = false) Then
				Me._Trivia = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER1", DbType:="NVarChar(64)")>  _
	Public Property USER1() As String
		Get
			Return Me._USER1
		End Get
		Set
			If (String.Equals(Me._USER1, value) = false) Then
				Me._USER1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER10", DbType:="NVarChar(64)")>  _
	Public Property USER10() As String
		Get
			Return Me._USER10
		End Get
		Set
			If (String.Equals(Me._USER10, value) = false) Then
				Me._USER10 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER2", DbType:="NVarChar(64)")>  _
	Public Property USER2() As String
		Get
			Return Me._USER2
		End Get
		Set
			If (String.Equals(Me._USER2, value) = false) Then
				Me._USER2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER3", DbType:="NVarChar(64)")>  _
	Public Property USER3() As String
		Get
			Return Me._USER3
		End Get
		Set
			If (String.Equals(Me._USER3, value) = false) Then
				Me._USER3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER4", DbType:="NVarChar(64)")>  _
	Public Property USER4() As String
		Get
			Return Me._USER4
		End Get
		Set
			If (String.Equals(Me._USER4, value) = false) Then
				Me._USER4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER5", DbType:="NVarChar(64)")>  _
	Public Property USER5() As String
		Get
			Return Me._USER5
		End Get
		Set
			If (String.Equals(Me._USER5, value) = false) Then
				Me._USER5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER6", DbType:="NVarChar(64)")>  _
	Public Property USER6() As String
		Get
			Return Me._USER6
		End Get
		Set
			If (String.Equals(Me._USER6, value) = false) Then
				Me._USER6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER7", DbType:="NVarChar(75)")>  _
	Public Property USER7() As String
		Get
			Return Me._USER7
		End Get
		Set
			If (String.Equals(Me._USER7, value) = false) Then
				Me._USER7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER8", DbType:="NVarChar(75)")>  _
	Public Property USER8() As String
		Get
			Return Me._USER8
		End Get
		Set
			If (String.Equals(Me._USER8, value) = false) Then
				Me._USER8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USER9", DbType:="NVarChar(75)")>  _
	Public Property USER9() As String
		Get
			Return Me._USER9
		End Get
		Set
			If (String.Equals(Me._USER9, value) = false) Then
				Me._USER9 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property WEB_SITE() As String
		Get
			Return Me._WEB_SITE
		End Get
		Set
			If (String.Equals(Me._WEB_SITE, value) = false) Then
				Me._WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_ACCESSResult
	
	Private _ACCESS_LEVEL As String
	
	Private _CONTACT_ACCESS_CONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7)")>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_ACCESS_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACT_ACCESS_CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACT_ACCESS_CONTACTID
		End Get
		Set
			If (Me._CONTACT_ACCESS_CONTACTID.Equals(value) = false) Then
				Me._CONTACT_ACCESS_CONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_ACLResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_ACTIVITYResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_CONTACTResult
	
	Private _CONTACTID1 As System.Nullable(Of System.Guid)
	
	Private _CONTACTID2 As System.Nullable(Of System.Guid)
	
	Private _CONTACT1_ROLE As String
	
	Private _CONTACT2_ROLE As String
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DETAILS As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _LAST_EDITED_BY As String
	
	Private _RECORD_CREATOR As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID1", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID1
		End Get
		Set
			If (Me._CONTACTID1.Equals(value) = false) Then
				Me._CONTACTID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID2", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID2
		End Get
		Set
			If (Me._CONTACTID2.Equals(value) = false) Then
				Me._CONTACTID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT1_ROLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT1_ROLE() As String
		Get
			Return Me._CONTACT1_ROLE
		End Get
		Set
			If (String.Equals(Me._CONTACT1_ROLE, value) = false) Then
				Me._CONTACT1_ROLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT2_ROLE", DbType:="NVarChar(128)")>  _
	Public Property CONTACT2_ROLE() As String
		Get
			Return Me._CONTACT2_ROLE
		End Get
		Set
			If (String.Equals(Me._CONTACT2_ROLE, value) = false) Then
				Me._CONTACT2_ROLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_HISTORYResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_NOTEResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_OPPORTUNITYResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_CONTACT_SOURCEResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_COUNTRYResult
	
	Private _COUNTRYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRYID", DbType:="UniqueIdentifier")>  _
	Public Property COUNTRYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COUNTRYID
		End Get
		Set
			If (Me._COUNTRYID.Equals(value) = false) Then
				Me._COUNTRYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_DBCONFIGResult
	
	Private _DBCONFIGID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DBCONFIGID", DbType:="UniqueIdentifier")>  _
	Public Property DBCONFIGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DBCONFIGID
		End Get
		Set
			If (Me._DBCONFIGID.Equals(value) = false) Then
				Me._DBCONFIGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_EMAILResult
	
	Private _EMAILID As System.Nullable(Of System.Guid)
	
	Private _E_MAIL As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EMAILID", DbType:="UniqueIdentifier")>  _
	Public Property EMAILID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EMAILID
		End Get
		Set
			If (Me._EMAILID.Equals(value) = false) Then
				Me._EMAILID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="E-MAIL", Storage:="_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property E_MAIL() As String
		Get
			Return Me._E_MAIL
		End Get
		Set
			If (String.Equals(Me._E_MAIL, value) = false) Then
				Me._E_MAIL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_EVENTLOGResult
	
	Private _EVENTLOGID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGID", DbType:="Int")>  _
	Public Property EVENTLOGID() As System.Nullable(Of Integer)
		Get
			Return Me._EVENTLOGID
		End Get
		Set
			If (Me._EVENTLOGID.Equals(value) = false) Then
				Me._EVENTLOGID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_EVENTLOGDETAILResult
	
	Private _DETAILS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(2000)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_EVENTLOGTYPEResult
	
	Private _EVENTLOGTYPEID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENTLOGTYPEID", DbType:="TinyInt")>  _
	Public Property EVENTLOGTYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._EVENTLOGTYPEID
		End Get
		Set
			If (Me._EVENTLOGTYPEID.Equals(value) = false) Then
				Me._EVENTLOGTYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_EXTERNALMAP_SOURCEResult
	
	Private _SOURCEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SOURCEID", DbType:="UniqueIdentifier")>  _
	Public Property SOURCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SOURCEID
		End Get
		Set
			If (Me._SOURCEID.Equals(value) = false) Then
				Me._SOURCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_FEATURESETResult
	
	Private _FEATURESETID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATURESETID", DbType:="UniqueIdentifier")>  _
	Public Property FEATURESETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FEATURESETID
		End Get
		Set
			If (Me._FEATURESETID.Equals(value) = false) Then
				Me._FEATURESETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_FOLDERResult
	
	Private _FOLDERID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt")>  _
	Public Property FOLDERID() As System.Nullable(Of Byte)
		Get
			Return Me._FOLDERID
		End Get
		Set
			If (Me._FOLDERID.Equals(value) = false) Then
				Me._FOLDERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUPResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _ADDRESS_1 As String
	
	Private _ADDRESS_2 As String
	
	Private _ADDRESS_3 As String
	
	Private _CITY As String
	
	Private _COUNTRY As String
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _GROUP_DESCRIPTION As String
	
	Private _GROUP_NAME As String
	
	Private _HAS_SUBGROUPS As System.Nullable(Of Boolean)
	
	Private _HIERARCHY_LEVEL As System.Nullable(Of Integer)
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _PARENTGROUPID As System.Nullable(Of System.Guid)
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _STATE As String
	
	Private _ZIP_CODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_1() As String
		Get
			Return Me._ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._ADDRESS_1, value) = false) Then
				Me._ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_2() As String
		Get
			Return Me._ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._ADDRESS_2, value) = false) Then
				Me._ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property ADDRESS_3() As String
		Get
			Return Me._ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._ADDRESS_3, value) = false) Then
				Me._ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CITY", DbType:="NVarChar(256)")>  _
	Public Property CITY() As String
		Get
			Return Me._CITY
		End Get
		Set
			If (String.Equals(Me._CITY, value) = false) Then
				Me._CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property COUNTRY() As String
		Get
			Return Me._COUNTRY
		End Get
		Set
			If (String.Equals(Me._COUNTRY, value) = false) Then
				Me._COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUP_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property GROUP_DESCRIPTION() As String
		Get
			Return Me._GROUP_DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._GROUP_DESCRIPTION, value) = false) Then
				Me._GROUP_DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUP_NAME", DbType:="NVarChar(128)")>  _
	Public Property GROUP_NAME() As String
		Get
			Return Me._GROUP_NAME
		End Get
		Set
			If (String.Equals(Me._GROUP_NAME, value) = false) Then
				Me._GROUP_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HAS_SUBGROUPS", DbType:="Bit")>  _
	Public Property HAS_SUBGROUPS() As System.Nullable(Of Boolean)
		Get
			Return Me._HAS_SUBGROUPS
		End Get
		Set
			If (Me._HAS_SUBGROUPS.Equals(value) = false) Then
				Me._HAS_SUBGROUPS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERARCHY_LEVEL", DbType:="Int")>  _
	Public Property HIERARCHY_LEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERARCHY_LEVEL
		End Get
		Set
			If (Me._HIERARCHY_LEVEL.Equals(value) = false) Then
				Me._HIERARCHY_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENTGROUPID", DbType:="UniqueIdentifier")>  _
	Public Property PARENTGROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PARENTGROUPID
		End Get
		Set
			If (Me._PARENTGROUPID.Equals(value) = false) Then
				Me._PARENTGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATE", DbType:="NVarChar(256)")>  _
	Public Property STATE() As String
		Get
			Return Me._STATE
		End Get
		Set
			If (String.Equals(Me._STATE, value) = false) Then
				Me._STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property ZIP_CODE() As String
		Get
			Return Me._ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._ZIP_CODE, value) = false) Then
				Me._ZIP_CODE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_ACCESSResult
	
	Private _ACCESS_LEVEL As String
	
	Private _GROUP_ACCESS_GROUPID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7)")>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUP_ACCESS_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUP_ACCESS_GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUP_ACCESS_GROUPID
		End Get
		Set
			If (Me._GROUP_ACCESS_GROUPID.Equals(value) = false) Then
				Me._GROUP_ACCESS_GROUPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_ACLResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_ACTIVITYResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_CONTACTResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_HISTORYResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_NOTEResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUP_OPPORTUNITYResult
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_GROUPQUERYResult
	
	Private _GROUPQUERYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPQUERYID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPQUERYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPQUERYID
		End Get
		Set
			If (Me._GROUPQUERYID.Equals(value) = false) Then
				Me._GROUPQUERYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_HISTORYResult
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSOR_ACTIVITY_CLEAREDID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DETAILS As String
	
	Private _DURATION As System.Nullable(Of Integer)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _END_DATE_TIME As System.Nullable(Of Date)
	
	Private _HISTORYTYPEID As System.Nullable(Of Short)
	
	Private _LAST_EDITED_BY As String
	
	Private _IS_PRIVATE As System.Nullable(Of Byte)
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REGARDING As String
	
	Private _START_DATE_TIME As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSOR_ACTIVITY_CLEAREDID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSOR_ACTIVITY_CLEAREDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSOR_ACTIVITY_CLEAREDID
		End Get
		Set
			If (Me._ACCESSOR_ACTIVITY_CLEAREDID.Equals(value) = false) Then
				Me._ACCESSOR_ACTIVITY_CLEAREDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DURATION", DbType:="Int")>  _
	Public Property DURATION() As System.Nullable(Of Integer)
		Get
			Return Me._DURATION
		End Get
		Set
			If (Me._DURATION.Equals(value) = false) Then
				Me._DURATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_END_DATE_TIME", DbType:="SmallDateTime")>  _
	Public Property END_DATE_TIME() As System.Nullable(Of Date)
		Get
			Return Me._END_DATE_TIME
		End Get
		Set
			If (Me._END_DATE_TIME.Equals(value) = false) Then
				Me._END_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="TinyInt")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Byte)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REGARDING", DbType:="NVarChar(256)")>  _
	Public Property REGARDING() As String
		Get
			Return Me._REGARDING
		End Get
		Set
			If (String.Equals(Me._REGARDING, value) = false) Then
				Me._REGARDING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_START_DATE_TIME", DbType:="SmallDateTime")>  _
	Public Property START_DATE_TIME() As System.Nullable(Of Date)
		Get
			Return Me._START_DATE_TIME
		End Get
		Set
			If (Me._START_DATE_TIME.Equals(value) = false) Then
				Me._START_DATE_TIME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_HISTORYTYPEResult
	
	Private _HISTORYTYPEGUID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYTYPEID As System.Nullable(Of Short)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _HISTORY_TYPE As String
	
	Private _HISTORYTYPEGROUPID As System.Nullable(Of Short)
	
	Private _HISTORYTYPEID As System.Nullable(Of Short)
	
	Private _IS_ACTIVE As System.Nullable(Of Boolean)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _IS_DEFAULT As System.Nullable(Of Boolean)
	
	Private _IS_USER_RECORDABLE As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGUID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYTYPEGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYTYPEGUID
		End Get
		Set
			If (Me._HISTORYTYPEGUID.Equals(value) = false) Then
				Me._HISTORYTYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYTYPEID", DbType:="SmallInt")>  _
	Public Property ACTIVITYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._ACTIVITYTYPEID
		End Get
		Set
			If (Me._ACTIVITYTYPEID.Equals(value) = false) Then
				Me._ACTIVITYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORY_TYPE", DbType:="NVarChar(64)")>  _
	Public Property HISTORY_TYPE() As String
		Get
			Return Me._HISTORY_TYPE
		End Get
		Set
			If (String.Equals(Me._HISTORY_TYPE, value) = false) Then
				Me._HISTORY_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEGROUPID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEGROUPID
		End Get
		Set
			If (Me._HISTORYTYPEGROUPID.Equals(value) = false) Then
				Me._HISTORYTYPEGROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEID", DbType:="SmallInt")>  _
	Public Property HISTORYTYPEID() As System.Nullable(Of Short)
		Get
			Return Me._HISTORYTYPEID
		End Get
		Set
			If (Me._HISTORYTYPEID.Equals(value) = false) Then
				Me._HISTORYTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit")>  _
	Public Property IS_ACTIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If (Me._IS_ACTIVE.Equals(value) = false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DEFAULT", DbType:="Bit")>  _
	Public Property IS_DEFAULT() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DEFAULT
		End Get
		Set
			If (Me._IS_DEFAULT.Equals(value) = false) Then
				Me._IS_DEFAULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USER_RECORDABLE", DbType:="Bit")>  _
	Public Property IS_USER_RECORDABLE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_USER_RECORDABLE
		End Get
		Set
			If (Me._IS_USER_RECORDABLE.Equals(value) = false) Then
				Me._IS_USER_RECORDABLE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_HISTORYTYPE_GROUPResult
	
	Private _HISTORYTYPEGROUPGUID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPEGROUPGUID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYTYPEGROUPGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYTYPEGROUPGUID
		End Get
		Set
			If (Me._HISTORYTYPEGROUPGUID.Equals(value) = false) Then
				Me._HISTORYTYPEGROUPGUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_HISTORYTYPE_SUPERGROUPResult
	
	Private _HISTORYTYPESUPERGROUPGUID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYTYPESUPERGROUPGUID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYTYPESUPERGROUPGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYTYPESUPERGROUPGUID
		End Get
		Set
			If (Me._HISTORYTYPESUPERGROUPGUID.Equals(value) = false) Then
				Me._HISTORYTYPESUPERGROUPGUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_IMPORT_HISTORYResult
	
	Private _IMPORT_HISTORYID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DETAILS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property IMPORT_HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._IMPORT_HISTORYID
		End Get
		Set
			If (Me._IMPORT_HISTORYID.Equals(value) = false) Then
				Me._IMPORT_HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(MAX)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_IMPORT_HISTORYITEMResult
	
	Private _ACT_RECORDID As System.Nullable(Of System.Guid)
	
	Private _ENTITYID As System.Nullable(Of System.Guid)
	
	Private _DETAILS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACT_RECORDID", DbType:="UniqueIdentifier")>  _
	Public Property ACT_RECORDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACT_RECORDID
		End Get
		Set
			If (Me._ACT_RECORDID.Equals(value) = false) Then
				Me._ACT_RECORDID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (Me._ENTITYID.Equals(value) = false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1024)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_LOCALSTRINGResult
	
	Private _STRINGKEY As String
	
	Private _LOCALSTRINGID As System.Nullable(Of System.Guid)
	
	Private _STRINGVALUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STRINGKEY", DbType:="VarChar(50)")>  _
	Public Property STRINGKEY() As String
		Get
			Return Me._STRINGKEY
		End Get
		Set
			If (String.Equals(Me._STRINGKEY, value) = false) Then
				Me._STRINGKEY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCALSTRINGID", DbType:="UniqueIdentifier")>  _
	Public Property LOCALSTRINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOCALSTRINGID
		End Get
		Set
			If (Me._LOCALSTRINGID.Equals(value) = false) Then
				Me._LOCALSTRINGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STRINGVALUE", DbType:="NVarChar(3000)")>  _
	Public Property STRINGVALUE() As String
		Get
			Return Me._STRINGVALUE
		End Get
		Set
			If (String.Equals(Me._STRINGVALUE, value) = false) Then
				Me._STRINGVALUE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_LOGONHISTORYResult
	
	Private _LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _APPLICATION_NAME As String
	
	Private _APPLICATION_VERSION As String
	
	Private _CLIENT_IP_ADDRESS As String
	
	Private _CLIENT_MACHINE As String
	
	Private _CLIENT_USERNAME As String
	
	Private _DATABASE_NAME As String
	
	Private _DATABASE_SERVER As String
	
	Private _LOGOFF_DATE As System.Nullable(Of Date)
	
	Private _LOGON_DATE As System.Nullable(Of Date)
	
	Private _LOGONHISTORY_USERID As System.Nullable(Of System.Guid)
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOGONHISTORYID
		End Get
		Set
			If (Me._LOGONHISTORYID.Equals(value) = false) Then
				Me._LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION_NAME", DbType:="NVarChar(64)")>  _
	Public Property APPLICATION_NAME() As String
		Get
			Return Me._APPLICATION_NAME
		End Get
		Set
			If (String.Equals(Me._APPLICATION_NAME, value) = false) Then
				Me._APPLICATION_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION_VERSION", DbType:="NVarChar(64)")>  _
	Public Property APPLICATION_VERSION() As String
		Get
			Return Me._APPLICATION_VERSION
		End Get
		Set
			If (String.Equals(Me._APPLICATION_VERSION, value) = false) Then
				Me._APPLICATION_VERSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_IP_ADDRESS", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_IP_ADDRESS() As String
		Get
			Return Me._CLIENT_IP_ADDRESS
		End Get
		Set
			If (String.Equals(Me._CLIENT_IP_ADDRESS, value) = false) Then
				Me._CLIENT_IP_ADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_MACHINE", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_MACHINE() As String
		Get
			Return Me._CLIENT_MACHINE
		End Get
		Set
			If (String.Equals(Me._CLIENT_MACHINE, value) = false) Then
				Me._CLIENT_MACHINE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CLIENT_USERNAME", DbType:="NVarChar(64)")>  _
	Public Property CLIENT_USERNAME() As String
		Get
			Return Me._CLIENT_USERNAME
		End Get
		Set
			If (String.Equals(Me._CLIENT_USERNAME, value) = false) Then
				Me._CLIENT_USERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_NAME", DbType:="NVarChar(64)")>  _
	Public Property DATABASE_NAME() As String
		Get
			Return Me._DATABASE_NAME
		End Get
		Set
			If (String.Equals(Me._DATABASE_NAME, value) = false) Then
				Me._DATABASE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_SERVER", DbType:="NVarChar(64)")>  _
	Public Property DATABASE_SERVER() As String
		Get
			Return Me._DATABASE_SERVER
		End Get
		Set
			If (String.Equals(Me._DATABASE_SERVER, value) = false) Then
				Me._DATABASE_SERVER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGOFF_DATE", DbType:="DateTime")>  _
	Public Property LOGOFF_DATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGOFF_DATE
		End Get
		Set
			If (Me._LOGOFF_DATE.Equals(value) = false) Then
				Me._LOGOFF_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGON_DATE", DbType:="DateTime")>  _
	Public Property LOGON_DATE() As System.Nullable(Of Date)
		Get
			Return Me._LOGON_DATE
		End Get
		Set
			If (Me._LOGON_DATE.Equals(value) = false) Then
				Me._LOGON_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGONHISTORY_USERID", DbType:="UniqueIdentifier")>  _
	Public Property LOGONHISTORY_USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LOGONHISTORY_USERID
		End Get
		Set
			If (Me._LOGONHISTORY_USERID.Equals(value) = false) Then
				Me._LOGONHISTORY_USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_NOTEResult
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _NOTE As String
	
	Private _NOTE_DATE As System.Nullable(Of Date)
	
	Private _NOTETYPEID As System.Nullable(Of Short)
	
	Private _IS_PRIVATE As System.Nullable(Of Byte)
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTE", DbType:="NVarChar(MAX)")>  _
	Public Property NOTE() As String
		Get
			Return Me._NOTE
		End Get
		Set
			If (String.Equals(Me._NOTE, value) = false) Then
				Me._NOTE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTE_DATE", DbType:="SmallDateTime")>  _
	Public Property NOTE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._NOTE_DATE
		End Get
		Set
			If (Me._NOTE_DATE.Equals(value) = false) Then
				Me._NOTE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEID", DbType:="SmallInt")>  _
	Public Property NOTETYPEID() As System.Nullable(Of Short)
		Get
			Return Me._NOTETYPEID
		End Get
		Set
			If (Me._NOTETYPEID.Equals(value) = false) Then
				Me._NOTETYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="TinyInt")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Byte)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_NOTETYPEResult
	
	Private _NOTETYPEGUID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _IS_ACTIVE As System.Nullable(Of Boolean)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _NOTE_TYPE As String
	
	Private _NOTETYPEID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEGUID", DbType:="UniqueIdentifier")>  _
	Public Property NOTETYPEGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTETYPEGUID
		End Get
		Set
			If (Me._NOTETYPEGUID.Equals(value) = false) Then
				Me._NOTETYPEGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit")>  _
	Public Property IS_ACTIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If (Me._IS_ACTIVE.Equals(value) = false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTE_TYPE", DbType:="NVarChar(64)")>  _
	Public Property NOTE_TYPE() As String
		Get
			Return Me._NOTE_TYPE
		End Get
		Set
			If (String.Equals(Me._NOTE_TYPE, value) = false) Then
				Me._NOTE_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTETYPEID", DbType:="SmallInt")>  _
	Public Property NOTETYPEID() As System.Nullable(Of Short)
		Get
			Return Me._NOTETYPEID
		End Get
		Set
			If (Me._NOTETYPEID.Equals(value) = false) Then
				Me._NOTETYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBFUNCTIONResult
	
	Private _FUNCTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONID", DbType:="Int")>  _
	Public Property FUNCTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._FUNCTIONID
		End Get
		Set
			If (Me._FUNCTIONID.Equals(value) = false) Then
				Me._FUNCTIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBFUNCTION_SYSCOLUMNResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _FUNCTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONID", DbType:="Int")>  _
	Public Property FUNCTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._FUNCTIONID
		End Get
		Set
			If (Me._FUNCTIONID.Equals(value) = false) Then
				Me._FUNCTIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEWResult
	
	Private _VIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEW_DERIVEDCOLUMNResult
	
	Private _VIEWNAME As String
	
	Private _COLUMNNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEW_JOINDATAResult
	
	Private _VIEWNAME As String
	
	Private _PARENT_VIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PARENT_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property PARENT_VIEWNAME() As String
		Get
			Return Me._PARENT_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PARENT_VIEWNAME, value) = false) Then
				Me._PARENT_VIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEW_KEYINDEXResult
	
	Private _KEYINDEXID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYINDEXID", DbType:="UniqueIdentifier")>  _
	Public Property KEYINDEXID() As System.Nullable(Of System.Guid)
		Get
			Return Me._KEYINDEXID
		End Get
		Set
			If (Me._KEYINDEXID.Equals(value) = false) Then
				Me._KEYINDEXID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEW_KEYINDEX_SYSCOLUMNResult
	
	Private _KEYINDEXID As System.Nullable(Of System.Guid)
	
	Private _COLUMNNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_KEYINDEXID", DbType:="UniqueIdentifier")>  _
	Public Property KEYINDEXID() As System.Nullable(Of System.Guid)
		Get
			Return Me._KEYINDEXID
		End Get
		Set
			If (Me._KEYINDEXID.Equals(value) = false) Then
				Me._KEYINDEXID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEW_OLEDBFUNCTIONResult
	
	Private _VIEWNAME As String
	
	Private _FUNCTIONID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FUNCTIONID", DbType:="Int")>  _
	Public Property FUNCTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._FUNCTIONID
		End Get
		Set
			If (Me._FUNCTIONID.Equals(value) = false) Then
				Me._FUNCTIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OLEDBVIEW_PROVIDERVIEWResult
	
	Private _VIEWNAME As String
	
	Private _PROVIDER_VIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property VIEWNAME() As String
		Get
			Return Me._VIEWNAME
		End Get
		Set
			If (String.Equals(Me._VIEWNAME, value) = false) Then
				Me._VIEWNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				Me._PROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITYResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ACTUAL_CLOSE_DATE As System.Nullable(Of Date)
	
	Private _Budget As String
	
	Private _COMPETITOR As String
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CurrentlyUsing As String
	
	Private _DAYS_OPEN As System.Nullable(Of Integer)
	
	Private _DecisionBasedOn As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _ESTIMATED_CLOSE_DATE As System.Nullable(Of Date)
	
	Private _GROSS_MARGIN As System.Nullable(Of Decimal)
	
	Private _IMPORT_DATE As System.Nullable(Of Date)
	
	Private _LAST_EDITED_BY As String
	
	Private _MajorObstacle As String
	
	Private _OPEN_DATE As System.Nullable(Of Date)
	
	Private _OPPORTUNITY_FIELD_1 As String
	
	Private _OPPORTUNITY_FIELD_2 As System.Nullable(Of Date)
	
	Private _OPPORTUNITY_FIELD_3 As String
	
	Private _OPPORTUNITY_FIELD_4 As String
	
	Private _OPPORTUNITY_FIELD_5 As String
	
	Private _OPPORTUNITY_FIELD_6 As String
	
	Private _OPPORTUNITY_FIELD_7 As String
	
	Private _OPPORTUNITY_FIELD_8 As String
	
	Private _OPPORTUNITY_NAME As String
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Private _PROBABILITY_OF_CLOSE As System.Nullable(Of Byte)
	
	Private _REASON As String
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _REFERRED_BY As String
	
	Private _STAGEID As System.Nullable(Of System.Guid)
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Private _TOTAL As System.Nullable(Of Decimal)
	
	Private _WEIGHTED_TOTAL As System.Nullable(Of Decimal)
	
	Private _WhatIsTheirPain As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTUAL_CLOSE_DATE", DbType:="DateTime")>  _
	Public Property ACTUAL_CLOSE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTUAL_CLOSE_DATE
		End Get
		Set
			If (Me._ACTUAL_CLOSE_DATE.Equals(value) = false) Then
				Me._ACTUAL_CLOSE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Budget", DbType:="NVarChar(50)")>  _
	Public Property Budget() As String
		Get
			Return Me._Budget
		End Get
		Set
			If (String.Equals(Me._Budget, value) = false) Then
				Me._Budget = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPETITOR", DbType:="NVarChar(128)")>  _
	Public Property COMPETITOR() As String
		Get
			Return Me._COMPETITOR
		End Get
		Set
			If (String.Equals(Me._COMPETITOR, value) = false) Then
				Me._COMPETITOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Currently Using", Storage:="_CurrentlyUsing", DbType:="NVarChar(50)")>  _
	Public Property CurrentlyUsing() As String
		Get
			Return Me._CurrentlyUsing
		End Get
		Set
			If (String.Equals(Me._CurrentlyUsing, value) = false) Then
				Me._CurrentlyUsing = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DAYS_OPEN", DbType:="Int")>  _
	Public Property DAYS_OPEN() As System.Nullable(Of Integer)
		Get
			Return Me._DAYS_OPEN
		End Get
		Set
			If (Me._DAYS_OPEN.Equals(value) = false) Then
				Me._DAYS_OPEN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Decision Based on", Storage:="_DecisionBasedOn", DbType:="NVarChar(70)")>  _
	Public Property DecisionBasedOn() As String
		Get
			Return Me._DecisionBasedOn
		End Get
		Set
			If (String.Equals(Me._DecisionBasedOn, value) = false) Then
				Me._DecisionBasedOn = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ESTIMATED_CLOSE_DATE", DbType:="DateTime")>  _
	Public Property ESTIMATED_CLOSE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ESTIMATED_CLOSE_DATE
		End Get
		Set
			If (Me._ESTIMATED_CLOSE_DATE.Equals(value) = false) Then
				Me._ESTIMATED_CLOSE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROSS_MARGIN", DbType:="Decimal(17,2)")>  _
	Public Property GROSS_MARGIN() As System.Nullable(Of Decimal)
		Get
			Return Me._GROSS_MARGIN
		End Get
		Set
			If (Me._GROSS_MARGIN.Equals(value) = false) Then
				Me._GROSS_MARGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IMPORT_DATE", DbType:="DateTime")>  _
	Public Property IMPORT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._IMPORT_DATE
		End Get
		Set
			If (Me._IMPORT_DATE.Equals(value) = false) Then
				Me._IMPORT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Major Obstacle", Storage:="_MajorObstacle", DbType:="NVarChar(MAX)")>  _
	Public Property MajorObstacle() As String
		Get
			Return Me._MajorObstacle
		End Get
		Set
			If (String.Equals(Me._MajorObstacle, value) = false) Then
				Me._MajorObstacle = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPEN_DATE", DbType:="DateTime")>  _
	Public Property OPEN_DATE() As System.Nullable(Of Date)
		Get
			Return Me._OPEN_DATE
		End Get
		Set
			If (Me._OPEN_DATE.Equals(value) = false) Then
				Me._OPEN_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_1", DbType:="NVarChar(10)")>  _
	Public Property OPPORTUNITY_FIELD_1() As String
		Get
			Return Me._OPPORTUNITY_FIELD_1
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_1, value) = false) Then
				Me._OPPORTUNITY_FIELD_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_2", DbType:="DateTime")>  _
	Public Property OPPORTUNITY_FIELD_2() As System.Nullable(Of Date)
		Get
			Return Me._OPPORTUNITY_FIELD_2
		End Get
		Set
			If (Me._OPPORTUNITY_FIELD_2.Equals(value) = false) Then
				Me._OPPORTUNITY_FIELD_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_3", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_3() As String
		Get
			Return Me._OPPORTUNITY_FIELD_3
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_3, value) = false) Then
				Me._OPPORTUNITY_FIELD_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_4", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_4() As String
		Get
			Return Me._OPPORTUNITY_FIELD_4
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_4, value) = false) Then
				Me._OPPORTUNITY_FIELD_4 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_5", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_5() As String
		Get
			Return Me._OPPORTUNITY_FIELD_5
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_5, value) = false) Then
				Me._OPPORTUNITY_FIELD_5 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_6", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_6() As String
		Get
			Return Me._OPPORTUNITY_FIELD_6
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_6, value) = false) Then
				Me._OPPORTUNITY_FIELD_6 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_7", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_7() As String
		Get
			Return Me._OPPORTUNITY_FIELD_7
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_7, value) = false) Then
				Me._OPPORTUNITY_FIELD_7 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_FIELD_8", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_FIELD_8() As String
		Get
			Return Me._OPPORTUNITY_FIELD_8
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_FIELD_8, value) = false) Then
				Me._OPPORTUNITY_FIELD_8 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_NAME", DbType:="NVarChar(64)")>  _
	Public Property OPPORTUNITY_NAME() As String
		Get
			Return Me._OPPORTUNITY_NAME
		End Get
		Set
			If (String.Equals(Me._OPPORTUNITY_NAME, value) = false) Then
				Me._OPPORTUNITY_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROBABILITY_OF_CLOSE", DbType:="TinyInt")>  _
	Public Property PROBABILITY_OF_CLOSE() As System.Nullable(Of Byte)
		Get
			Return Me._PROBABILITY_OF_CLOSE
		End Get
		Set
			If (Me._PROBABILITY_OF_CLOSE.Equals(value) = false) Then
				Me._PROBABILITY_OF_CLOSE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REASON", DbType:="NVarChar(128)")>  _
	Public Property REASON() As String
		Get
			Return Me._REASON
		End Get
		Set
			If (String.Equals(Me._REASON, value) = false) Then
				Me._REASON = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REFERRED_BY", DbType:="NVarChar(64)")>  _
	Public Property REFERRED_BY() As String
		Get
			Return Me._REFERRED_BY
		End Get
		Set
			If (String.Equals(Me._REFERRED_BY, value) = false) Then
				Me._REFERRED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier")>  _
	Public Property STAGEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGEID
		End Get
		Set
			If (Me._STAGEID.Equals(value) = false) Then
				Me._STAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TOTAL", DbType:="Decimal(17,2)")>  _
	Public Property TOTAL() As System.Nullable(Of Decimal)
		Get
			Return Me._TOTAL
		End Get
		Set
			If (Me._TOTAL.Equals(value) = false) Then
				Me._TOTAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEIGHTED_TOTAL", DbType:="Decimal(17,2)")>  _
	Public Property WEIGHTED_TOTAL() As System.Nullable(Of Decimal)
		Get
			Return Me._WEIGHTED_TOTAL
		End Get
		Set
			If (Me._WEIGHTED_TOTAL.Equals(value) = false) Then
				Me._WEIGHTED_TOTAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="What is their pain", Storage:="_WhatIsTheirPain", DbType:="NVarChar(MAX)")>  _
	Public Property WhatIsTheirPain() As String
		Get
			Return Me._WhatIsTheirPain
		End Get
		Set
			If (String.Equals(Me._WhatIsTheirPain, value) = false) Then
				Me._WhatIsTheirPain = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_ACCESSResult
	
	Private _ACCESS_LEVEL As String
	
	Private _OPPORTUNITY_ACCESS_OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7)")>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITY_ACCESS_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITY_ACCESS_OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITY_ACCESS_OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITY_ACCESS_OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITY_ACCESS_OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_ACLResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_ACTIVITYResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_ASSOCIATED_DATAResult
	
	Private _ASSOCIATED_DATA_OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ASSOCIATED_WITH As String
	
	Private _COMPANY As String
	
	Private _CONTACT As String
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATED_DATA_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property ASSOCIATED_DATA_OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ASSOCIATED_DATA_OPPORTUNITYID
		End Get
		Set
			If (Me._ASSOCIATED_DATA_OPPORTUNITYID.Equals(value) = false) Then
				Me._ASSOCIATED_DATA_OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ASSOCIATED_WITH", DbType:="NVarChar(2000)")>  _
	Public Property ASSOCIATED_WITH() As String
		Get
			Return Me._ASSOCIATED_WITH
		End Get
		Set
			If (String.Equals(Me._ASSOCIATED_WITH, value) = false) Then
				Me._ASSOCIATED_WITH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY", DbType:="NVarChar(450)")>  _
	Public Property COMPANY() As String
		Get
			Return Me._COMPANY
		End Get
		Set
			If (String.Equals(Me._COMPANY, value) = false) Then
				Me._COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT", DbType:="NVarChar(450)")>  _
	Public Property CONTACT() As String
		Get
			Return Me._CONTACT
		End Get
		Set
			If (String.Equals(Me._CONTACT, value) = false) Then
				Me._CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_HISTORYResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_NOTEResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_PRODUCTSERVICEResult
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _PRODUCTSERVICEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTSERVICEID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTSERVICEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTSERVICEID
		End Get
		Set
			If (Me._PRODUCTSERVICEID.Equals(value) = false) Then
				Me._PRODUCTSERVICEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_OPPORTUNITY_STAGE_PROCESSResult
	
	Private _PROCESS As String
	
	Private _STAGE As String
	
	Private _STAGE_PROCESS_OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESS", DbType:="NVarChar(64)")>  _
	Public Property PROCESS() As String
		Get
			Return Me._PROCESS
		End Get
		Set
			If (String.Equals(Me._PROCESS, value) = false) Then
				Me._PROCESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGE", DbType:="NVarChar(64)")>  _
	Public Property STAGE() As String
		Get
			Return Me._STAGE
		End Get
		Set
			If (String.Equals(Me._STAGE, value) = false) Then
				Me._STAGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGE_PROCESS_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property STAGE_PROCESS_OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGE_PROCESS_OPPORTUNITYID
		End Get
		Set
			If (Me._STAGE_PROCESS_OPPORTUNITYID.Equals(value) = false) Then
				Me._STAGE_PROCESS_OPPORTUNITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PASSWORDHISTORYResult
	
	Private _PASSWORDHISTORYID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PASSWORDHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property PASSWORDHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PASSWORDHISTORYID
		End Get
		Set
			If (Me._PASSWORDHISTORYID.Equals(value) = false) Then
				Me._PASSWORDHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PERMISSIONResult
	
	Private _PERMISSIONID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PERMISSION_DEPENDResult
	
	Private _PERMISSIONID As System.Nullable(Of System.Guid)
	
	Private _DEPENDID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEPENDID", DbType:="UniqueIdentifier")>  _
	Public Property DEPENDID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DEPENDID
		End Get
		Set
			If (Me._DEPENDID.Equals(value) = false) Then
				Me._DEPENDID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PHONEResult
	
	Private _PHONEID As System.Nullable(Of System.Guid)
	
	Private _EXTENSION As String
	
	Private _PHONE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONEID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEID
		End Get
		Set
			If (Me._PHONEID.Equals(value) = false) Then
				Me._PHONEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property EXTENSION() As String
		Get
			Return Me._EXTENSION
		End Get
		Set
			If (String.Equals(Me._EXTENSION, value) = false) Then
				Me._EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONE", DbType:="NVarChar(32)")>  _
	Public Property PHONE() As String
		Get
			Return Me._PHONE
		End Get
		Set
			If (String.Equals(Me._PHONE, value) = false) Then
				Me._PHONE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PHONEMASKResult
	
	Private _PHONEMASKID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PHONEMASKID", DbType:="UniqueIdentifier")>  _
	Public Property PHONEMASKID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PHONEMASKID
		End Get
		Set
			If (Me._PHONEMASKID.Equals(value) = false) Then
				Me._PHONEMASKID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PICKLISTResult
	
	Private _PICKLISTID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DATATYPEID As System.Nullable(Of Byte)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_ADD_TO_LIST As System.Nullable(Of Boolean)
	
	Private _IS_AUTO_INSERT As System.Nullable(Of Boolean)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _NAME As String
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If (Me._PICKLISTID.Equals(value) = false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt")>  _
	Public Property DATATYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If (Me._DATATYPEID.Equals(value) = false) Then
				Me._DATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ADD_TO_LIST", DbType:="Bit")>  _
	Public Property IS_ADD_TO_LIST() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ADD_TO_LIST
		End Get
		Set
			If (Me._IS_ADD_TO_LIST.Equals(value) = false) Then
				Me._IS_ADD_TO_LIST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_AUTO_INSERT", DbType:="Bit")>  _
	Public Property IS_AUTO_INSERT() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_AUTO_INSERT
		End Get
		Set
			If (Me._IS_AUTO_INSERT.Equals(value) = false) Then
				Me._IS_AUTO_INSERT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PICKLIST_SYSCOLUMNResult
	
	Private _PICKLISTID As System.Nullable(Of System.Guid)
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If (Me._PICKLISTID.Equals(value) = false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PICKLISTITEMResult
	
	Private _PICKLISTITEMID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _NAME As String
	
	Private _PICKLISTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTITEMID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTITEMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTITEMID
		End Get
		Set
			If (Me._PICKLISTITEMID.Equals(value) = false) Then
				Me._PICKLISTITEMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(442)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID", DbType:="UniqueIdentifier")>  _
	Public Property PICKLISTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PICKLISTID
		End Get
		Set
			If (Me._PICKLISTID.Equals(value) = false) Then
				Me._PICKLISTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PREFERENCEResult
	
	Private _PREFERENCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PREFERENCEID", DbType:="UniqueIdentifier")>  _
	Public Property PREFERENCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PREFERENCEID
		End Get
		Set
			If (Me._PREFERENCEID.Equals(value) = false) Then
				Me._PREFERENCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PROCESSResult
	
	Private _PROCESSID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _IS_ACTIVE As System.Nullable(Of Boolean)
	
	Private _PROCESS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESSID", DbType:="UniqueIdentifier")>  _
	Public Property PROCESSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PROCESSID
		End Get
		Set
			If (Me._PROCESSID.Equals(value) = false) Then
				Me._PROCESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ACTIVE", DbType:="Bit")>  _
	Public Property IS_ACTIVE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ACTIVE
		End Get
		Set
			If (Me._IS_ACTIVE.Equals(value) = false) Then
				Me._IS_ACTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESS", DbType:="NVarChar(64)")>  _
	Public Property PROCESS() As String
		Get
			Return Me._PROCESS
		End Get
		Set
			If (String.Equals(Me._PROCESS, value) = false) Then
				Me._PROCESS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PRODUCTResult
	
	Private _PRODUCTID As System.Nullable(Of System.Guid)
	
	Private _CODE As String
	
	Private _COST As System.Nullable(Of Decimal)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _PRICE As System.Nullable(Of Decimal)
	
	Private _PRODUCT As String
	
	Private _TYPE As String
	
	Private _UNIT_OF_ISSUE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If (Me._PRODUCTID.Equals(value) = false) Then
				Me._PRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CODE", DbType:="NVarChar(64)")>  _
	Public Property CODE() As String
		Get
			Return Me._CODE
		End Get
		Set
			If (String.Equals(Me._CODE, value) = false) Then
				Me._CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COST", DbType:="Decimal(19,4)")>  _
	Public Property COST() As System.Nullable(Of Decimal)
		Get
			Return Me._COST
		End Get
		Set
			If (Me._COST.Equals(value) = false) Then
				Me._COST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRICE", DbType:="Decimal(19,4)")>  _
	Public Property PRICE() As System.Nullable(Of Decimal)
		Get
			Return Me._PRICE
		End Get
		Set
			If (Me._PRICE.Equals(value) = false) Then
				Me._PRICE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCT", DbType:="NVarChar(256)")>  _
	Public Property PRODUCT() As String
		Get
			Return Me._PRODUCT
		End Get
		Set
			If (String.Equals(Me._PRODUCT, value) = false) Then
				Me._PRODUCT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPE", DbType:="NVarChar(128)")>  _
	Public Property TYPE() As String
		Get
			Return Me._TYPE
		End Get
		Set
			If (String.Equals(Me._TYPE, value) = false) Then
				Me._TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_OF_ISSUE", DbType:="NVarChar(32)")>  _
	Public Property UNIT_OF_ISSUE() As String
		Get
			Return Me._UNIT_OF_ISSUE
		End Get
		Set
			If (String.Equals(Me._UNIT_OF_ISSUE, value) = false) Then
				Me._UNIT_OF_ISSUE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PRODUCTSERVICEResult
	
	Private _PRODUCTSERVICEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DISCOUNT_PRICE As System.Nullable(Of Decimal)
	
	Private _DISCOUNT_TYPE As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EXTENDED_AMT As System.Nullable(Of Decimal)
	
	Private _ITEM_CODE As String
	
	Private _ITEM_TYPE As String
	
	Private _LAST_EDITED_BY As String
	
	Private _NAME As String
	
	Private _PRODUCTID As System.Nullable(Of System.Guid)
	
	Private _QUANTITY As System.Nullable(Of Decimal)
	
	Private _RECORD_CREATOR As String
	
	Private _UNIT_COST As System.Nullable(Of Decimal)
	
	Private _UNIT_DISCOUNT As System.Nullable(Of Decimal)
	
	Private _UNIT_PRICE As System.Nullable(Of Decimal)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTSERVICEID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTSERVICEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTSERVICEID
		End Get
		Set
			If (Me._PRODUCTSERVICEID.Equals(value) = false) Then
				Me._PRODUCTSERVICEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNT_PRICE", DbType:="Decimal(23,8)")>  _
	Public Property DISCOUNT_PRICE() As System.Nullable(Of Decimal)
		Get
			Return Me._DISCOUNT_PRICE
		End Get
		Set
			If (Me._DISCOUNT_PRICE.Equals(value) = false) Then
				Me._DISCOUNT_PRICE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISCOUNT_TYPE", DbType:="NVarChar(10)")>  _
	Public Property DISCOUNT_TYPE() As String
		Get
			Return Me._DISCOUNT_TYPE
		End Get
		Set
			If (String.Equals(Me._DISCOUNT_TYPE, value) = false) Then
				Me._DISCOUNT_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXTENDED_AMT", DbType:="Decimal(23,8)")>  _
	Public Property EXTENDED_AMT() As System.Nullable(Of Decimal)
		Get
			Return Me._EXTENDED_AMT
		End Get
		Set
			If (Me._EXTENDED_AMT.Equals(value) = false) Then
				Me._EXTENDED_AMT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEM_CODE", DbType:="NVarChar(64)")>  _
	Public Property ITEM_CODE() As String
		Get
			Return Me._ITEM_CODE
		End Get
		Set
			If (String.Equals(Me._ITEM_CODE, value) = false) Then
				Me._ITEM_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEM_TYPE", DbType:="NVarChar(128)")>  _
	Public Property ITEM_TYPE() As String
		Get
			Return Me._ITEM_TYPE
		End Get
		Set
			If (String.Equals(Me._ITEM_TYPE, value) = false) Then
				Me._ITEM_TYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(256)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRODUCTID", DbType:="UniqueIdentifier")>  _
	Public Property PRODUCTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRODUCTID
		End Get
		Set
			If (Me._PRODUCTID.Equals(value) = false) Then
				Me._PRODUCTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_QUANTITY", DbType:="Decimal(16,2)")>  _
	Public Property QUANTITY() As System.Nullable(Of Decimal)
		Get
			Return Me._QUANTITY
		End Get
		Set
			If (Me._QUANTITY.Equals(value) = false) Then
				Me._QUANTITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_COST", DbType:="Decimal(23,8)")>  _
	Public Property UNIT_COST() As System.Nullable(Of Decimal)
		Get
			Return Me._UNIT_COST
		End Get
		Set
			If (Me._UNIT_COST.Equals(value) = false) Then
				Me._UNIT_COST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_DISCOUNT", DbType:="Decimal(19,10)")>  _
	Public Property UNIT_DISCOUNT() As System.Nullable(Of Decimal)
		Get
			Return Me._UNIT_DISCOUNT
		End Get
		Set
			If (Me._UNIT_DISCOUNT.Equals(value) = false) Then
				Me._UNIT_DISCOUNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UNIT_PRICE", DbType:="Decimal(23,8)")>  _
	Public Property UNIT_PRICE() As System.Nullable(Of Decimal)
		Get
			Return Me._UNIT_PRICE
		End Get
		Set
			If (Me._UNIT_PRICE.Equals(value) = false) Then
				Me._UNIT_PRICE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_PROVIDERVIEWResult
	
	Private _PROVIDER_VIEWNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROVIDER_VIEWNAME", DbType:="NVarChar(64)")>  _
	Public Property PROVIDER_VIEWNAME() As String
		Get
			Return Me._PROVIDER_VIEWNAME
		End Get
		Set
			If (String.Equals(Me._PROVIDER_VIEWNAME, value) = false) Then
				Me._PROVIDER_VIEWNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_RESOURCEResult
	
	Private _RESOURCEID As System.Nullable(Of System.Guid)
	
	Private _DESCRIPTION As String
	
	Private _RESOURCE_TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCEID", DbType:="UniqueIdentifier")>  _
	Public Property RESOURCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._RESOURCEID
		End Get
		Set
			If (Me._RESOURCEID.Equals(value) = false) Then
				Me._RESOURCEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESOURCE_TYPENUM", DbType:="TinyInt")>  _
	Public Property RESOURCE_TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._RESOURCE_TYPENUM
		End Get
		Set
			If (Me._RESOURCE_TYPENUM.Equals(value) = false) Then
				Me._RESOURCE_TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ROLEResult
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _ROLE_DESCRIPTION As String
	
	Private _ROLE_DISPLAYNAME As String
	
	Private _ROLE_NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property ROLE_DESCRIPTION() As String
		Get
			Return Me._ROLE_DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._ROLE_DESCRIPTION, value) = false) Then
				Me._ROLE_DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE_DISPLAYNAME", DbType:="NVarChar(96)")>  _
	Public Property ROLE_DISPLAYNAME() As String
		Get
			Return Me._ROLE_DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._ROLE_DISPLAYNAME, value) = false) Then
				Me._ROLE_DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLE_NAME", DbType:="NVarChar(64)")>  _
	Public Property ROLE_NAME() As String
		Get
			Return Me._ROLE_NAME
		End Get
		Set
			If (String.Equals(Me._ROLE_NAME, value) = false) Then
				Me._ROLE_NAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_ROLE_PERMISSIONResult
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _PERMISSIONID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SECONDARYResult
	
	Private _SECONDARYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARYID", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARYID
		End Get
		Set
			If (Me._SECONDARYID.Equals(value) = false) Then
				Me._SECONDARYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SECONDARY_CONTACTResult
	
	Private _PRIMARY_CONTACTID As System.Nullable(Of System.Guid)
	
	Private _SECONDARY_ADDRESS_1 As String
	
	Private _SECONDARY_ADDRESS_2 As String
	
	Private _SECONDARY_ADDRESS_3 As String
	
	Private _SECONDARY_CITY As String
	
	Private _SECONDARY_COMPANY As String
	
	Private _SECONDARY_CONTACT As String
	
	Private _SECONDARY_CONTACTID As System.Nullable(Of System.Guid)
	
	Private _SECONDARY_COUNTRY As String
	
	Private _SECONDARY_E_MAIL As String
	
	Private _SECONDARY_FAX_PHONE As String
	
	Private _SECONDARY_FIRST_NAME As String
	
	Private _SECONDARY_ID_STATUS As String
	
	Private _SECONDARY_IS_PRIVATE As System.Nullable(Of Boolean)
	
	Private _SECONDARY_LAST_NAME As String
	
	Private _SECONDARY_MOBILE_PHONE As String
	
	Private _SECONDARY_PHONE As String
	
	Private _SECONDARY_PHONE_EXTENSION As String
	
	Private _SECONDARY_STATE As String
	
	Private _SECONDARY_TITLE As String
	
	Private _SECONDARY_WEB_SITE As String
	
	Private _SECONDARY_ZIP_CODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PRIMARY_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property PRIMARY_CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PRIMARY_CONTACTID
		End Get
		Set
			If (Me._PRIMARY_CONTACTID.Equals(value) = false) Then
				Me._PRIMARY_CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_1", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_1() As String
		Get
			Return Me._SECONDARY_ADDRESS_1
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_1, value) = false) Then
				Me._SECONDARY_ADDRESS_1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_2", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_2() As String
		Get
			Return Me._SECONDARY_ADDRESS_2
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_2, value) = false) Then
				Me._SECONDARY_ADDRESS_2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ADDRESS_3", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ADDRESS_3() As String
		Get
			Return Me._SECONDARY_ADDRESS_3
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ADDRESS_3, value) = false) Then
				Me._SECONDARY_ADDRESS_3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CITY", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_CITY() As String
		Get
			Return Me._SECONDARY_CITY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_CITY, value) = false) Then
				Me._SECONDARY_CITY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_COMPANY", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_COMPANY() As String
		Get
			Return Me._SECONDARY_COMPANY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_COMPANY, value) = false) Then
				Me._SECONDARY_COMPANY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CONTACT", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_CONTACT() As String
		Get
			Return Me._SECONDARY_CONTACT
		End Get
		Set
			If (String.Equals(Me._SECONDARY_CONTACT, value) = false) Then
				Me._SECONDARY_CONTACT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property SECONDARY_CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SECONDARY_CONTACTID
		End Get
		Set
			If (Me._SECONDARY_CONTACTID.Equals(value) = false) Then
				Me._SECONDARY_CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_COUNTRY", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_COUNTRY() As String
		Get
			Return Me._SECONDARY_COUNTRY
		End Get
		Set
			If (String.Equals(Me._SECONDARY_COUNTRY, value) = false) Then
				Me._SECONDARY_COUNTRY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY_E-MAIL", Storage:="_SECONDARY_E_MAIL", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_E_MAIL() As String
		Get
			Return Me._SECONDARY_E_MAIL
		End Get
		Set
			If (String.Equals(Me._SECONDARY_E_MAIL, value) = false) Then
				Me._SECONDARY_E_MAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_FAX_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_FAX_PHONE() As String
		Get
			Return Me._SECONDARY_FAX_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_FAX_PHONE, value) = false) Then
				Me._SECONDARY_FAX_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_FIRST_NAME", DbType:="NVarChar(64)")>  _
	Public Property SECONDARY_FIRST_NAME() As String
		Get
			Return Me._SECONDARY_FIRST_NAME
		End Get
		Set
			If (String.Equals(Me._SECONDARY_FIRST_NAME, value) = false) Then
				Me._SECONDARY_FIRST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SECONDARY_ID/STATUS", Storage:="_SECONDARY_ID_STATUS", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_ID_STATUS() As String
		Get
			Return Me._SECONDARY_ID_STATUS
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ID_STATUS, value) = false) Then
				Me._SECONDARY_ID_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_IS_PRIVATE", DbType:="Bit")>  _
	Public Property SECONDARY_IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._SECONDARY_IS_PRIVATE
		End Get
		Set
			If (Me._SECONDARY_IS_PRIVATE.Equals(value) = false) Then
				Me._SECONDARY_IS_PRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_LAST_NAME", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_LAST_NAME() As String
		Get
			Return Me._SECONDARY_LAST_NAME
		End Get
		Set
			If (String.Equals(Me._SECONDARY_LAST_NAME, value) = false) Then
				Me._SECONDARY_LAST_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_MOBILE_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_MOBILE_PHONE() As String
		Get
			Return Me._SECONDARY_MOBILE_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_MOBILE_PHONE, value) = false) Then
				Me._SECONDARY_MOBILE_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PHONE", DbType:="NVarChar(32)")>  _
	Public Property SECONDARY_PHONE() As String
		Get
			Return Me._SECONDARY_PHONE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PHONE, value) = false) Then
				Me._SECONDARY_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_PHONE_EXTENSION", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_PHONE_EXTENSION() As String
		Get
			Return Me._SECONDARY_PHONE_EXTENSION
		End Get
		Set
			If (String.Equals(Me._SECONDARY_PHONE_EXTENSION, value) = false) Then
				Me._SECONDARY_PHONE_EXTENSION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_STATE", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_STATE() As String
		Get
			Return Me._SECONDARY_STATE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_STATE, value) = false) Then
				Me._SECONDARY_STATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_TITLE", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_TITLE() As String
		Get
			Return Me._SECONDARY_TITLE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_TITLE, value) = false) Then
				Me._SECONDARY_TITLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_WEB_SITE", DbType:="NVarChar(128)")>  _
	Public Property SECONDARY_WEB_SITE() As String
		Get
			Return Me._SECONDARY_WEB_SITE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_WEB_SITE, value) = false) Then
				Me._SECONDARY_WEB_SITE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SECONDARY_ZIP_CODE", DbType:="NVarChar(256)")>  _
	Public Property SECONDARY_ZIP_CODE() As String
		Get
			Return Me._SECONDARY_ZIP_CODE
		End Get
		Set
			If (String.Equals(Me._SECONDARY_ZIP_CODE, value) = false) Then
				Me._SECONDARY_ZIP_CODE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SECURED_MY_RECORDResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SERIALNUMBERResult
	
	Private _SERIALNUMBERID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERIALNUMBERID", DbType:="UniqueIdentifier")>  _
	Public Property SERIALNUMBERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SERIALNUMBERID
		End Get
		Set
			If (Me._SERIALNUMBERID.Equals(value) = false) Then
				Me._SERIALNUMBERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SETTINGResult
	
	Private _SETTINGID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SETTINGID", DbType:="UniqueIdentifier")>  _
	Public Property SETTINGID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SETTINGID
		End Get
		Set
			If (Me._SETTINGID.Equals(value) = false) Then
				Me._SETTINGID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SQLTRACEResult
	
	Private _SQLTRACEID As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SQLTRACEID", DbType:="Int")>  _
	Public Property SQLTRACEID() As System.Nullable(Of Integer)
		Get
			Return Me._SQLTRACEID
		End Get
		Set
			If (Me._SQLTRACEID.Equals(value) = false) Then
				Me._SQLTRACEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_STAGEResult
	
	Private _STAGEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _PROCESSID As System.Nullable(Of System.Guid)
	
	Private _STAGE As String
	
	Private _STEP As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier")>  _
	Public Property STAGEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGEID
		End Get
		Set
			If (Me._STAGEID.Equals(value) = false) Then
				Me._STAGEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PROCESSID", DbType:="UniqueIdentifier")>  _
	Public Property PROCESSID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PROCESSID
		End Get
		Set
			If (Me._PROCESSID.Equals(value) = false) Then
				Me._PROCESSID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGE", DbType:="NVarChar(64)")>  _
	Public Property STAGE() As String
		Get
			Return Me._STAGE
		End Get
		Set
			If (String.Equals(Me._STAGE, value) = false) Then
				Me._STAGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="STEP", Storage:="_STEP", DbType:="Int")>  _
	Public Property [STEP]() As System.Nullable(Of Integer)
		Get
			Return Me._STEP
		End Get
		Set
			If (Me._STEP.Equals(value) = false) Then
				Me._STEP = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_STAGE_COLORResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _STAGEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STAGEID", DbType:="UniqueIdentifier")>  _
	Public Property STAGEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._STAGEID
		End Get
		Set
			If (Me._STAGEID.Equals(value) = false) Then
				Me._STAGEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNC_DEVICETABLEResult
	
	Private _SYNCDB_TYPENUM As System.Nullable(Of Byte)
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDB_TYPENUM", DbType:="TinyInt")>  _
	Public Property SYNCDB_TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCDB_TYPENUM
		End Get
		Set
			If (Me._SYNCDB_TYPENUM.Equals(value) = false) Then
				Me._SYNCDB_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNC_INITIALIZE_ROWDATAResult
	
	Private _ORDINAL As System.Data.Linq.Binary
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="rowversion", CanBeNull:=true)>  _
	Public Property ORDINAL() As System.Data.Linq.Binary
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Object.Equals(Me._ORDINAL, value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNC_INITIALIZE_ROWSCHEMAResult
	
	Private _ORDINAL As System.Data.Linq.Binary
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="rowversion", CanBeNull:=true)>  _
	Public Property ORDINAL() As System.Data.Linq.Binary
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Object.Equals(Me._ORDINAL, value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCACCESSORResult
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCCOLUMNResult
	
	Private _COLUMNLUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt")>  _
	Public Property COLUMNLUID() As System.Nullable(Of Short)
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If (Me._COLUMNLUID.Equals(value) = false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCCONTACTResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me._MANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCCONTACT_ACLResult
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBResult
	
	Private _SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DATABASE_NAME As String
	
	Private _DATABASEID As System.Nullable(Of System.Guid)
	
	Private _DEVICE_SERIAL_NUMBER As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EXPIRE_DAYS As System.Nullable(Of Short)
	
	Private _IS_EXPIRED As System.Nullable(Of Boolean)
	
	Private _IS_INCLUDE_ATTACHMENTS As System.Nullable(Of Boolean)
	
	Private _IS_SYNC_ATTACHMENTS As System.Nullable(Of Boolean)
	
	Private _IS_SYNC_SUPPLEMENTAL_FILES As System.Nullable(Of Boolean)
	
	Private _LAST_EDITED_BY As String
	
	Private _MAX_ATTACH_BYTES As System.Nullable(Of Integer)
	
	Private _ORIGINAL_CREATE_DATE As System.Nullable(Of Date)
	
	Private _PUB_SYNCDBGUID As System.Nullable(Of System.Guid)
	
	Private _RECORD_CREATOR As String
	
	Private _SERVER_NAME As String
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Private _SYNC_SERVER_MACHINE_NAME As String
	
	Private _SYNC_SERVER_PORT As System.Nullable(Of Integer)
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Private _WEB_SERVER_ADDRESS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBGUID
		End Get
		Set
			If (Me._SYNCDBGUID.Equals(value) = false) Then
				Me._SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASE_NAME", DbType:="NVarChar(196)")>  _
	Public Property DATABASE_NAME() As String
		Get
			Return Me._DATABASE_NAME
		End Get
		Set
			If (String.Equals(Me._DATABASE_NAME, value) = false) Then
				Me._DATABASE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASEID", DbType:="UniqueIdentifier")>  _
	Public Property DATABASEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DATABASEID
		End Get
		Set
			If (Me._DATABASEID.Equals(value) = false) Then
				Me._DATABASEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEVICE_SERIAL_NUMBER", DbType:="NVarChar(64)")>  _
	Public Property DEVICE_SERIAL_NUMBER() As String
		Get
			Return Me._DEVICE_SERIAL_NUMBER
		End Get
		Set
			If (String.Equals(Me._DEVICE_SERIAL_NUMBER, value) = false) Then
				Me._DEVICE_SERIAL_NUMBER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIRE_DAYS", DbType:="SmallInt")>  _
	Public Property EXPIRE_DAYS() As System.Nullable(Of Short)
		Get
			Return Me._EXPIRE_DAYS
		End Get
		Set
			If (Me._EXPIRE_DAYS.Equals(value) = false) Then
				Me._EXPIRE_DAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_EXPIRED", DbType:="Bit")>  _
	Public Property IS_EXPIRED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_EXPIRED
		End Get
		Set
			If (Me._IS_EXPIRED.Equals(value) = false) Then
				Me._IS_EXPIRED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_INCLUDE_ATTACHMENTS", DbType:="Bit")>  _
	Public Property IS_INCLUDE_ATTACHMENTS() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_INCLUDE_ATTACHMENTS
		End Get
		Set
			If (Me._IS_INCLUDE_ATTACHMENTS.Equals(value) = false) Then
				Me._IS_INCLUDE_ATTACHMENTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_SYNC_ATTACHMENTS", DbType:="Bit")>  _
	Public Property IS_SYNC_ATTACHMENTS() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_SYNC_ATTACHMENTS
		End Get
		Set
			If (Me._IS_SYNC_ATTACHMENTS.Equals(value) = false) Then
				Me._IS_SYNC_ATTACHMENTS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_SYNC_SUPPLEMENTAL_FILES", DbType:="Bit")>  _
	Public Property IS_SYNC_SUPPLEMENTAL_FILES() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_SYNC_SUPPLEMENTAL_FILES
		End Get
		Set
			If (Me._IS_SYNC_SUPPLEMENTAL_FILES.Equals(value) = false) Then
				Me._IS_SYNC_SUPPLEMENTAL_FILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MAX_ATTACH_BYTES", DbType:="Int")>  _
	Public Property MAX_ATTACH_BYTES() As System.Nullable(Of Integer)
		Get
			Return Me._MAX_ATTACH_BYTES
		End Get
		Set
			If (Me._MAX_ATTACH_BYTES.Equals(value) = false) Then
				Me._MAX_ATTACH_BYTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGINAL_CREATE_DATE", DbType:="DateTime")>  _
	Public Property ORIGINAL_CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ORIGINAL_CREATE_DATE
		End Get
		Set
			If (Me._ORIGINAL_CREATE_DATE.Equals(value) = false) Then
				Me._ORIGINAL_CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUB_SYNCDBGUID", DbType:="UniqueIdentifier")>  _
	Public Property PUB_SYNCDBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PUB_SYNCDBGUID
		End Get
		Set
			If (Me._PUB_SYNCDBGUID.Equals(value) = false) Then
				Me._PUB_SYNCDBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERVER_NAME", DbType:="NVarChar(64)")>  _
	Public Property SERVER_NAME() As String
		Get
			Return Me._SERVER_NAME
		End Get
		Set
			If (String.Equals(Me._SERVER_NAME, value) = false) Then
				Me._SERVER_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_MACHINE_NAME", DbType:="NVarChar(64)")>  _
	Public Property SYNC_SERVER_MACHINE_NAME() As String
		Get
			Return Me._SYNC_SERVER_MACHINE_NAME
		End Get
		Set
			If (String.Equals(Me._SYNC_SERVER_MACHINE_NAME, value) = false) Then
				Me._SYNC_SERVER_MACHINE_NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_SERVER_PORT", DbType:="Int")>  _
	Public Property SYNC_SERVER_PORT() As System.Nullable(Of Integer)
		Get
			Return Me._SYNC_SERVER_PORT
		End Get
		Set
			If (Me._SYNC_SERVER_PORT.Equals(value) = false) Then
				Me._SYNC_SERVER_PORT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WEB_SERVER_ADDRESS", DbType:="NVarChar(256)")>  _
	Public Property WEB_SERVER_ADDRESS() As String
		Get
			Return Me._WEB_SERVER_ADDRESS
		End Get
		Set
			If (String.Equals(Me._WEB_SERVER_ADDRESS, value) = false) Then
				Me._WEB_SERVER_ADDRESS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAPResult
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _PUBDBID As System.Nullable(Of Short)
	
	Private _SUBDBID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PUBDBID", DbType:="SmallInt")>  _
	Public Property PUBDBID() As System.Nullable(Of Short)
		Get
			Return Me._PUBDBID
		End Get
		Set
			If (Me._PUBDBID.Equals(value) = false) Then
				Me._PUBDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBDBID", DbType:="SmallInt")>  _
	Public Property SUBDBID() As System.Nullable(Of Short)
		Get
			Return Me._SUBDBID
		End Get
		Set
			If (Me._SUBDBID.Equals(value) = false) Then
				Me._SUBDBID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAP_ROWDATAResult
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _ORDINAL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int")>  _
	Public Property ORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Me._ORDINAL.Equals(value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAP_ROWEXCEPTIONResult
	
	Private _ORDINAL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int")>  _
	Public Property ORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Me._ORDINAL.Equals(value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAP_ROWFILEResult
	
	Private _ORDINAL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int")>  _
	Public Property ORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Me._ORDINAL.Equals(value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAP_ROWSCHEMAResult
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _ORDINAL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="Int")>  _
	Public Property ORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Me._ORDINAL.Equals(value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAP_SESSIONResult
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _SESSIONID As System.Nullable(Of Integer)
	
	Private _ATTACHMENT_ACCESS As System.Xml.Linq.XElement
	
	Private _NUMBER_ACTIVE_MEMBERS As System.Nullable(Of Integer)
	
	Private _NUMBER_DELETED_MEMBERS As System.Nullable(Of Integer)
	
	Private _NUMBER_DELETED_ROWS As System.Nullable(Of Integer)
	
	Private _NUMBER_NEW_MEMBERS As System.Nullable(Of Integer)
	
	Private _NUMBER_NEW_ROWS As System.Nullable(Of Integer)
	
	Private _SESSION_DATE_TIME As System.Nullable(Of Date)
	
	Private _SYNC_USER As System.Xml.Linq.XElement
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int")>  _
	Public Property SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SESSIONID
		End Get
		Set
			If (Me._SESSIONID.Equals(value) = false) Then
				Me._SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ATTACHMENT_ACCESS", DbType:="Xml", CanBeNull:=true)>  _
	Public Property ATTACHMENT_ACCESS() As System.Xml.Linq.XElement
		Get
			Return Me._ATTACHMENT_ACCESS
		End Get
		Set
			If (Object.Equals(Me._ATTACHMENT_ACCESS, value) = false) Then
				Me._ATTACHMENT_ACCESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_ACTIVE_MEMBERS", DbType:="Int")>  _
	Public Property NUMBER_ACTIVE_MEMBERS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_ACTIVE_MEMBERS
		End Get
		Set
			If (Me._NUMBER_ACTIVE_MEMBERS.Equals(value) = false) Then
				Me._NUMBER_ACTIVE_MEMBERS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_DELETED_MEMBERS", DbType:="Int")>  _
	Public Property NUMBER_DELETED_MEMBERS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_DELETED_MEMBERS
		End Get
		Set
			If (Me._NUMBER_DELETED_MEMBERS.Equals(value) = false) Then
				Me._NUMBER_DELETED_MEMBERS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_DELETED_ROWS", DbType:="Int")>  _
	Public Property NUMBER_DELETED_ROWS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_DELETED_ROWS
		End Get
		Set
			If (Me._NUMBER_DELETED_ROWS.Equals(value) = false) Then
				Me._NUMBER_DELETED_ROWS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_NEW_MEMBERS", DbType:="Int")>  _
	Public Property NUMBER_NEW_MEMBERS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_NEW_MEMBERS
		End Get
		Set
			If (Me._NUMBER_NEW_MEMBERS.Equals(value) = false) Then
				Me._NUMBER_NEW_MEMBERS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NUMBER_NEW_ROWS", DbType:="Int")>  _
	Public Property NUMBER_NEW_ROWS() As System.Nullable(Of Integer)
		Get
			Return Me._NUMBER_NEW_ROWS
		End Get
		Set
			If (Me._NUMBER_NEW_ROWS.Equals(value) = false) Then
				Me._NUMBER_NEW_ROWS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSION_DATE_TIME", DbType:="DateTime")>  _
	Public Property SESSION_DATE_TIME() As System.Nullable(Of Date)
		Get
			Return Me._SESSION_DATE_TIME
		End Get
		Set
			If (Me._SESSION_DATE_TIME.Equals(value) = false) Then
				Me._SESSION_DATE_TIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNC_USER", DbType:="Xml", CanBeNull:=true)>  _
	Public Property SYNC_USER() As System.Xml.Linq.XElement
		Get
			Return Me._SYNC_USER
		End Get
		Set
			If (Object.Equals(Me._SYNC_USER, value) = false) Then
				Me._SYNC_USER = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAP_SESSIONROWResult
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAPINFOResult
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _IS_REPLAY As System.Nullable(Of Boolean)
	
	Private _NEXT_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_RESULT As System.Nullable(Of Integer)
	
	Private _RECEIVE_SESSIONID As System.Nullable(Of Integer)
	
	Private _RECEIVE_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_UPDATE_DATE As System.Nullable(Of Date)
	
	Private _SEND_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _SEND_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _SEND_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_SESSIONID As System.Nullable(Of Integer)
	
	Private _SEND_SNAPSHOT_DATE As System.Nullable(Of Date)
	
	Private _SEND_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _SEND_SYNC_STATUS As System.Nullable(Of Integer)
	
	Private _SEND_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_REPLAY", DbType:="Bit")>  _
	Public Property IS_REPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_REPLAY
		End Get
		Set
			If (Me._IS_REPLAY.Equals(value) = false) Then
				Me._IS_REPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_ADD_SYNCROWID
		End Get
		Set
			If (Me._NEXT_ADD_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_DELETE_SYNCROWID
		End Get
		Set
			If (Me._NEXT_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property NEXT_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._NEXT_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._NEXT_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._NEXT_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_ADD_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_ADD_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_ATTEMPT_DATE
		End Get
		Set
			If (Me._RECEIVE_ATTEMPT_DATE.Equals(value) = false) Then
				Me._RECEIVE_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_COMPLETE_DATE
		End Get
		Set
			If (Me._RECEIVE_COMPLETE_DATE.Equals(value) = false) Then
				Me._RECEIVE_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_DELETE_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_RESULT", DbType:="Int")>  _
	Public Property RECEIVE_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_RESULT
		End Get
		Set
			If (Me._RECEIVE_RESULT.Equals(value) = false) Then
				Me._RECEIVE_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SESSIONID", DbType:="Int")>  _
	Public Property RECEIVE_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_SESSIONID
		End Get
		Set
			If (Me._RECEIVE_SESSIONID.Equals(value) = false) Then
				Me._RECEIVE_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_SUCCESS_DATE
		End Get
		Set
			If (Me._RECEIVE_SUCCESS_DATE.Equals(value) = false) Then
				Me._RECEIVE_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_UPDATE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_UPDATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_UPDATE_DATE
		End Get
		Set
			If (Me._RECEIVE_UPDATE_DATE.Equals(value) = false) Then
				Me._RECEIVE_UPDATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_ADD_SYNCROWID
		End Get
		Set
			If (Me._SEND_ADD_SYNCROWID.Equals(value) = false) Then
				Me._SEND_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property SEND_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_ATTEMPT_DATE
		End Get
		Set
			If (Me._SEND_ATTEMPT_DATE.Equals(value) = false) Then
				Me._SEND_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property SEND_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_COMPLETE_DATE
		End Get
		Set
			If (Me._SEND_COMPLETE_DATE.Equals(value) = false) Then
				Me._SEND_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_DELETE_SYNCROWID
		End Get
		Set
			If (Me._SEND_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._SEND_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SESSIONID", DbType:="Int")>  _
	Public Property SEND_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_SESSIONID
		End Get
		Set
			If (Me._SEND_SESSIONID.Equals(value) = false) Then
				Me._SEND_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SNAPSHOT_DATE", DbType:="DateTime")>  _
	Public Property SEND_SNAPSHOT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SNAPSHOT_DATE
		End Get
		Set
			If (Me._SEND_SNAPSHOT_DATE.Equals(value) = false) Then
				Me._SEND_SNAPSHOT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property SEND_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SUCCESS_DATE
		End Get
		Set
			If (Me._SEND_SUCCESS_DATE.Equals(value) = false) Then
				Me._SEND_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SYNC_STATUS", DbType:="Int")>  _
	Public Property SEND_SYNC_STATUS() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_SYNC_STATUS
		End Get
		Set
			If (Me._SEND_SYNC_STATUS.Equals(value) = false) Then
				Me._SEND_SYNC_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property SEND_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._SEND_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._SEND_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBMAPINFO_HISTORYResult
	
	Private _SYNCDBMAPINFO_HISTORYID As System.Nullable(Of Integer)
	
	Private _IS_REPLAY As System.Nullable(Of Boolean)
	
	Private _NEXT_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _RECEIVE_RESULT As System.Nullable(Of Integer)
	
	Private _RECEIVE_SESSIONID As System.Nullable(Of Integer)
	
	Private _RECEIVE_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _RECEIVE_UPDATE_DATE As System.Nullable(Of Date)
	
	Private _SEND_ADD_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_ATTEMPT_DATE As System.Nullable(Of Date)
	
	Private _SEND_COMPLETE_DATE As System.Nullable(Of Date)
	
	Private _SEND_DELETE_SYNCROWID As System.Nullable(Of Integer)
	
	Private _SEND_RESULT As System.Nullable(Of Integer)
	
	Private _SEND_SESSIONID As System.Nullable(Of Integer)
	
	Private _SEND_SNAPSHOT_DATE As System.Nullable(Of Date)
	
	Private _SEND_SUCCESS_DATE As System.Nullable(Of Date)
	
	Private _SEND_UPDATE_SEND_DATE As System.Nullable(Of Date)
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPINFO_HISTORYID", DbType:="Int")>  _
	Public Property SYNCDBMAPINFO_HISTORYID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCDBMAPINFO_HISTORYID
		End Get
		Set
			If (Me._SYNCDBMAPINFO_HISTORYID.Equals(value) = false) Then
				Me._SYNCDBMAPINFO_HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_REPLAY", DbType:="Bit")>  _
	Public Property IS_REPLAY() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_REPLAY
		End Get
		Set
			If (Me._IS_REPLAY.Equals(value) = false) Then
				Me._IS_REPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_ADD_SYNCROWID
		End Get
		Set
			If (Me._NEXT_ADD_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property NEXT_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_DELETE_SYNCROWID
		End Get
		Set
			If (Me._NEXT_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._NEXT_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property NEXT_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._NEXT_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._NEXT_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._NEXT_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_ADD_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_ADD_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_ATTEMPT_DATE
		End Get
		Set
			If (Me._RECEIVE_ATTEMPT_DATE.Equals(value) = false) Then
				Me._RECEIVE_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_COMPLETE_DATE
		End Get
		Set
			If (Me._RECEIVE_COMPLETE_DATE.Equals(value) = false) Then
				Me._RECEIVE_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property RECEIVE_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_DELETE_SYNCROWID
		End Get
		Set
			If (Me._RECEIVE_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._RECEIVE_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_RESULT", DbType:="Int")>  _
	Public Property RECEIVE_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_RESULT
		End Get
		Set
			If (Me._RECEIVE_RESULT.Equals(value) = false) Then
				Me._RECEIVE_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SESSIONID", DbType:="Int")>  _
	Public Property RECEIVE_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._RECEIVE_SESSIONID
		End Get
		Set
			If (Me._RECEIVE_SESSIONID.Equals(value) = false) Then
				Me._RECEIVE_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_SUCCESS_DATE
		End Get
		Set
			If (Me._RECEIVE_SUCCESS_DATE.Equals(value) = false) Then
				Me._RECEIVE_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECEIVE_UPDATE_DATE", DbType:="DateTime")>  _
	Public Property RECEIVE_UPDATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._RECEIVE_UPDATE_DATE
		End Get
		Set
			If (Me._RECEIVE_UPDATE_DATE.Equals(value) = false) Then
				Me._RECEIVE_UPDATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ADD_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_ADD_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_ADD_SYNCROWID
		End Get
		Set
			If (Me._SEND_ADD_SYNCROWID.Equals(value) = false) Then
				Me._SEND_ADD_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_ATTEMPT_DATE", DbType:="DateTime")>  _
	Public Property SEND_ATTEMPT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_ATTEMPT_DATE
		End Get
		Set
			If (Me._SEND_ATTEMPT_DATE.Equals(value) = false) Then
				Me._SEND_ATTEMPT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_COMPLETE_DATE", DbType:="DateTime")>  _
	Public Property SEND_COMPLETE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_COMPLETE_DATE
		End Get
		Set
			If (Me._SEND_COMPLETE_DATE.Equals(value) = false) Then
				Me._SEND_COMPLETE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_DELETE_SYNCROWID", DbType:="Int")>  _
	Public Property SEND_DELETE_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_DELETE_SYNCROWID
		End Get
		Set
			If (Me._SEND_DELETE_SYNCROWID.Equals(value) = false) Then
				Me._SEND_DELETE_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_RESULT", DbType:="Int")>  _
	Public Property SEND_RESULT() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_RESULT
		End Get
		Set
			If (Me._SEND_RESULT.Equals(value) = false) Then
				Me._SEND_RESULT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SESSIONID", DbType:="Int")>  _
	Public Property SEND_SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SEND_SESSIONID
		End Get
		Set
			If (Me._SEND_SESSIONID.Equals(value) = false) Then
				Me._SEND_SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SNAPSHOT_DATE", DbType:="DateTime")>  _
	Public Property SEND_SNAPSHOT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SNAPSHOT_DATE
		End Get
		Set
			If (Me._SEND_SNAPSHOT_DATE.Equals(value) = false) Then
				Me._SEND_SNAPSHOT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_SUCCESS_DATE", DbType:="DateTime")>  _
	Public Property SEND_SUCCESS_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_SUCCESS_DATE
		End Get
		Set
			If (Me._SEND_SUCCESS_DATE.Equals(value) = false) Then
				Me._SEND_SUCCESS_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SEND_UPDATE_SEND_DATE", DbType:="DateTime")>  _
	Public Property SEND_UPDATE_SEND_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SEND_UPDATE_SEND_DATE
		End Get
		Set
			If (Me._SEND_UPDATE_SEND_DATE.Equals(value) = false) Then
				Me._SEND_UPDATE_SEND_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCDBTYPEResult
	
	Private _SYNCDBTYPEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBTYPEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCDBTYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCDBTYPEID
		End Get
		Set
			If (Me._SYNCDBTYPEID.Equals(value) = false) Then
				Me._SYNCDBTYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCEXTENDEDDATAResult
	
	Private _SYNCEXTENDEDDATAID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCEXTENDEDDATAID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCEXTENDEDDATAID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCEXTENDEDDATAID
		End Get
		Set
			If (Me._SYNCEXTENDEDDATAID.Equals(value) = false) Then
				Me._SYNCEXTENDEDDATAID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCEXTENDEDDATA_TYPEResult
	
	Private _SYNCEXTENDEDDATA_TYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCEXTENDEDDATA_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCEXTENDEDDATA_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCEXTENDEDDATA_TYPEID
		End Get
		Set
			If (Me._SYNCEXTENDEDDATA_TYPEID.Equals(value) = false) Then
				Me._SYNCEXTENDEDDATA_TYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCROW_ADDResult
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _ACTION_DATE As System.Nullable(Of Date)
	
	Private _ORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime")>  _
	Public Property ACTION_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If (Me._ACTION_DATE.Equals(value) = false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property ORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If (Me._ORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCROW_DELETEResult
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _ACTION_DATE As System.Nullable(Of Date)
	
	Private _ACTIVITYID As System.Nullable(Of System.Guid)
	
	Private _COMPANYID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _GROUPID As System.Nullable(Of System.Guid)
	
	Private _HISTORYID As System.Nullable(Of System.Guid)
	
	Private _NOTEID As System.Nullable(Of System.Guid)
	
	Private _OPPORTUNITYID As System.Nullable(Of System.Guid)
	
	Private _ORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _ROWINFO As String
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Private _TYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime")>  _
	Public Property ACTION_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If (Me._ACTION_DATE.Equals(value) = false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIVITYID", DbType:="UniqueIdentifier")>  _
	Public Property ACTIVITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACTIVITYID
		End Get
		Set
			If (Me._ACTIVITYID.Equals(value) = false) Then
				Me._ACTIVITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANYID
		End Get
		Set
			If (Me._COMPANYID.Equals(value) = false) Then
				Me._COMPANYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_GROUPID", DbType:="UniqueIdentifier")>  _
	Public Property GROUPID() As System.Nullable(Of System.Guid)
		Get
			Return Me._GROUPID
		End Get
		Set
			If (Me._GROUPID.Equals(value) = false) Then
				Me._GROUPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property HISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._HISTORYID
		End Get
		Set
			If (Me._HISTORYID.Equals(value) = false) Then
				Me._HISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NOTEID", DbType:="UniqueIdentifier")>  _
	Public Property NOTEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._NOTEID
		End Get
		Set
			If (Me._NOTEID.Equals(value) = false) Then
				Me._NOTEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPPORTUNITYID", DbType:="UniqueIdentifier")>  _
	Public Property OPPORTUNITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._OPPORTUNITYID
		End Get
		Set
			If (Me._OPPORTUNITYID.Equals(value) = false) Then
				Me._OPPORTUNITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property ORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If (Me._ORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWINFO", DbType:="NVarChar(512)")>  _
	Public Property ROWINFO() As String
		Get
			Return Me._ROWINFO
		End Get
		Set
			If (String.Equals(Me._ROWINFO, value) = false) Then
				Me._ROWINFO = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TYPEID
		End Get
		Set
			If (Me._TYPEID.Equals(value) = false) Then
				Me._TYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCROW_EXCEPTIONResult
	
	Private _ROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Private _ACTION_CODE As String
	
	Private _ACTION_DATE As System.Nullable(Of Date)
	
	Private _DB_ERROR_NUM As System.Nullable(Of Integer)
	
	Private _DETAILS As String
	
	Private _REF_ROW_EXCEPTIONID As System.Nullable(Of Integer)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _SESSIONID As System.Nullable(Of Integer)
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWEXCEPTIONID", DbType:="Int")>  _
	Public Property ROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._ROWEXCEPTIONID
		End Get
		Set
			If (Me._ROWEXCEPTIONID.Equals(value) = false) Then
				Me._ROWEXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_CODE", DbType:="Char(2)")>  _
	Public Property ACTION_CODE() As String
		Get
			Return Me._ACTION_CODE
		End Get
		Set
			If (String.Equals(Me._ACTION_CODE, value) = false) Then
				Me._ACTION_CODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime")>  _
	Public Property ACTION_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If (Me._ACTION_DATE.Equals(value) = false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DB_ERROR_NUM", DbType:="Int")>  _
	Public Property DB_ERROR_NUM() As System.Nullable(Of Integer)
		Get
			Return Me._DB_ERROR_NUM
		End Get
		Set
			If (Me._DB_ERROR_NUM.Equals(value) = false) Then
				Me._DB_ERROR_NUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(1000)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_ROW_EXCEPTIONID", DbType:="Int")>  _
	Public Property REF_ROW_EXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._REF_ROW_EXCEPTIONID
		End Get
		Set
			If (Me._REF_ROW_EXCEPTIONID.Equals(value) = false) Then
				Me._REF_ROW_EXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int")>  _
	Public Property SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SESSIONID
		End Get
		Set
			If (Me._SESSIONID.Equals(value) = false) Then
				Me._SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCROW_FILEResult
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ACTION_DATE As System.Nullable(Of Date)
	
	Private _ACTIONCODE As String
	
	Private _APPLY_DATE As System.Nullable(Of Date)
	
	Private _FILEHASH As String
	
	Private _FILEID As System.Nullable(Of System.Guid)
	
	Private _FILENAME As String
	
	Private _FOLDERID As System.Nullable(Of Byte)
	
	Private _ORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime")>  _
	Public Property ACTION_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If (Me._ACTION_DATE.Equals(value) = false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="NVarChar(2)")>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLY_DATE", DbType:="DateTime")>  _
	Public Property APPLY_DATE() As System.Nullable(Of Date)
		Get
			Return Me._APPLY_DATE
		End Get
		Set
			If (Me._APPLY_DATE.Equals(value) = false) Then
				Me._APPLY_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEHASH", DbType:="Char(34)")>  _
	Public Property FILEHASH() As String
		Get
			Return Me._FILEHASH
		End Get
		Set
			If (String.Equals(Me._FILEHASH, value) = false) Then
				Me._FILEHASH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEID", DbType:="UniqueIdentifier")>  _
	Public Property FILEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FILEID
		End Get
		Set
			If (Me._FILEID.Equals(value) = false) Then
				Me._FILEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512)")>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me._FILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt")>  _
	Public Property FOLDERID() As System.Nullable(Of Byte)
		Get
			Return Me._FOLDERID
		End Get
		Set
			If (Me._FOLDERID.Equals(value) = false) Then
				Me._FOLDERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property ORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If (Me._ORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCROW_UPDATEResult
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ROWID3 As System.Nullable(Of System.Guid)
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID3", DbType:="UniqueIdentifier")>  _
	Public Property ROWID3() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID3
		End Get
		Set
			If (Me._ROWID3.Equals(value) = false) Then
				Me._ROWID3 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCROW_UPDATECOLUMNResult
	
	Private _UPDATECOLUMN_SYNCROWID As System.Nullable(Of Integer)
	
	Private _COLUMNLUID As System.Nullable(Of Short)
	
	Private _ACTION_DATE As System.Nullable(Of Date)
	
	Private _ACCESSORLUID As System.Nullable(Of Short)
	
	Private _APPLY_DATE As System.Nullable(Of Date)
	
	Private _COLUMNVALUE As String
	
	Private _ORIGIN_SYNCDBID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UPDATECOLUMN_SYNCROWID", DbType:="Int")>  _
	Public Property UPDATECOLUMN_SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._UPDATECOLUMN_SYNCROWID
		End Get
		Set
			If (Me._UPDATECOLUMN_SYNCROWID.Equals(value) = false) Then
				Me._UPDATECOLUMN_SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNLUID", DbType:="SmallInt")>  _
	Public Property COLUMNLUID() As System.Nullable(Of Short)
		Get
			Return Me._COLUMNLUID
		End Get
		Set
			If (Me._COLUMNLUID.Equals(value) = false) Then
				Me._COLUMNLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTION_DATE", DbType:="DateTime")>  _
	Public Property ACTION_DATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTION_DATE
		End Get
		Set
			If (Me._ACTION_DATE.Equals(value) = false) Then
				Me._ACTION_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORLUID", DbType:="SmallInt")>  _
	Public Property ACCESSORLUID() As System.Nullable(Of Short)
		Get
			Return Me._ACCESSORLUID
		End Get
		Set
			If (Me._ACCESSORLUID.Equals(value) = false) Then
				Me._ACCESSORLUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLY_DATE", DbType:="DateTime")>  _
	Public Property APPLY_DATE() As System.Nullable(Of Date)
		Get
			Return Me._APPLY_DATE
		End Get
		Set
			If (Me._APPLY_DATE.Equals(value) = false) Then
				Me._APPLY_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNVALUE", DbType:="NVarChar(500)")>  _
	Public Property COLUMNVALUE() As String
		Get
			Return Me._COLUMNVALUE
		End Get
		Set
			If (String.Equals(Me._COLUMNVALUE, value) = false) Then
				Me._COLUMNVALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_SYNCDBID", DbType:="SmallInt")>  _
	Public Property ORIGIN_SYNCDBID() As System.Nullable(Of Short)
		Get
			Return Me._ORIGIN_SYNCDBID
		End Get
		Set
			If (Me._ORIGIN_SYNCDBID.Equals(value) = false) Then
				Me._ORIGIN_SYNCDBID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCSETResult
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DESCRIPTION As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_ALL_USER_SYNCSET As System.Nullable(Of Boolean)
	
	Private _LAST_EDITED_BY As String
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _RECORD_CREATOR As String
	
	Private _RECORD_MANAGER As String
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(256)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALL_USER_SYNCSET", DbType:="Bit")>  _
	Public Property IS_ALL_USER_SYNCSET() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ALL_USER_SYNCSET
		End Get
		Set
			If (Me._IS_ALL_USER_SYNCSET.Equals(value) = false) Then
				Me._IS_ALL_USER_SYNCSET = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_EDITED_BY", DbType:="NVarChar(128)")>  _
	Public Property LAST_EDITED_BY() As String
		Get
			Return Me._LAST_EDITED_BY
		End Get
		Set
			If (String.Equals(Me._LAST_EDITED_BY, value) = false) Then
				Me._LAST_EDITED_BY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me._MANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(312)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_MANAGER", DbType:="NVarChar(128)")>  _
	Public Property RECORD_MANAGER() As String
		Get
			Return Me._RECORD_MANAGER
		End Get
		Set
			If (String.Equals(Me._RECORD_MANAGER, value) = false) Then
				Me._RECORD_MANAGER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCSET_ACCESSORResult
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _RECORD_CREATOR As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORD_CREATOR", DbType:="NVarChar(128)")>  _
	Public Property RECORD_CREATOR() As String
		Get
			Return Me._RECORD_CREATOR
		End Get
		Set
			If (String.Equals(Me._RECORD_CREATOR, value) = false) Then
				Me._RECORD_CREATOR = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCSETQUERYResult
	
	Private _SYNCSETQUERYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETQUERYID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETQUERYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETQUERYID
		End Get
		Set
			If (Me._SYNCSETQUERYID.Equals(value) = false) Then
				Me._SYNCSETQUERYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCSETTYPEResult
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCSUBSCRIPTIONResult
	
	Private _SYNCSETID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _SUBSCRIBE_BY_DBGUID As System.Nullable(Of System.Guid)
	
	Private _SUBSCRIBE_BY_USERID As System.Nullable(Of System.Guid)
	
	Private _SUBSCRIBE_DATE As System.Nullable(Of Date)
	
	Private _SUBSCRIBE_SOURCENUM As System.Nullable(Of Byte)
	
	Private _SUBSCRIBE_STATUSNUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCSETID", DbType:="UniqueIdentifier")>  _
	Public Property SYNCSETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SYNCSETID
		End Get
		Set
			If (Me._SYNCSETID.Equals(value) = false) Then
				Me._SYNCSETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_BY_DBGUID", DbType:="UniqueIdentifier")>  _
	Public Property SUBSCRIBE_BY_DBGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SUBSCRIBE_BY_DBGUID
		End Get
		Set
			If (Me._SUBSCRIBE_BY_DBGUID.Equals(value) = false) Then
				Me._SUBSCRIBE_BY_DBGUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_BY_USERID", DbType:="UniqueIdentifier")>  _
	Public Property SUBSCRIBE_BY_USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._SUBSCRIBE_BY_USERID
		End Get
		Set
			If (Me._SUBSCRIBE_BY_USERID.Equals(value) = false) Then
				Me._SUBSCRIBE_BY_USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_DATE", DbType:="DateTime")>  _
	Public Property SUBSCRIBE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._SUBSCRIBE_DATE
		End Get
		Set
			If (Me._SUBSCRIBE_DATE.Equals(value) = false) Then
				Me._SUBSCRIBE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_SOURCENUM", DbType:="TinyInt")>  _
	Public Property SUBSCRIBE_SOURCENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SUBSCRIBE_SOURCENUM
		End Get
		Set
			If (Me._SUBSCRIBE_SOURCENUM.Equals(value) = false) Then
				Me._SUBSCRIBE_SOURCENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SUBSCRIBE_STATUSNUM", DbType:="TinyInt")>  _
	Public Property SUBSCRIBE_STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._SUBSCRIBE_STATUSNUM
		End Get
		Set
			If (Me._SUBSCRIBE_STATUSNUM.Equals(value) = false) Then
				Me._SUBSCRIBE_STATUSNUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYNCTABLEResult
	
	Private _TABLELUID As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="SmallInt")>  _
	Public Property TABLELUID() As System.Nullable(Of Short)
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (Me._TABLELUID.Equals(value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSCALCCOLUMNResult
	
	Private _CALCCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _BASECOLUMNID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property CALCCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CALCCOLUMNID
		End Get
		Set
			If (Me._CALCCOLUMNID.Equals(value) = false) Then
				Me._CALCCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BASECOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property BASECOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._BASECOLUMNID
		End Get
		Set
			If (Me._BASECOLUMNID.Equals(value) = false) Then
				Me._BASECOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSCOLUMNResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _ALIASNAME As String
	
	Private _CALCDEFINITION As String
	
	Private _CALCDISPLAY As String
	
	Private _CAN_DELETE As System.Nullable(Of Boolean)
	
	Private _CAN_RESIZE As System.Nullable(Of Boolean)
	
	Private _CHANGE_DATATYPE As System.Nullable(Of Boolean)
	
	Private _COLUMNNAME As String
	
	Private _COLUMNTYPE As System.Nullable(Of Byte)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DATATYPEID As System.Nullable(Of Byte)
	
	Private _DECIMAL_PRECISION As System.Nullable(Of Byte)
	
	Private _DEFAULT_VALUE As String
	
	Private _DESCRIPTION As String
	
	Private _DISPLAYNAME As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _EVENT_ON_CHANGE As String
	
	Private _EVENT_ON_FOCUS As String
	
	Private _EVENT_ON_LOST_FOCUS As String
	
	Private _FIELD_FORMAT As String
	
	Private _IS_ALLOW_BLANKS As System.Nullable(Of Boolean)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _IS_PRIMARY_FIELD As System.Nullable(Of Boolean)
	
	Private _IS_PROTECTED As System.Nullable(Of Boolean)
	
	Private _IS_TRACKED As System.Nullable(Of Boolean)
	
	Private _ISDEFINEFIELD As System.Nullable(Of Boolean)
	
	Private _ISDISPLAYED As System.Nullable(Of Boolean)
	
	Private _ISNULLABLE As System.Nullable(Of Boolean)
	
	Private _ITEM As System.Nullable(Of System.Guid)
	
	Private _LENGTH As System.Nullable(Of Short)
	
	Private _MIN_COLUMN_LENGTH As System.Nullable(Of Short)
	
	Private _OLEDBNAME As String
	
	Private _OLEDBTYPENUM As System.Nullable(Of Byte)
	
	Private _ORDINAL As System.Nullable(Of Short)
	
	Private _PICKLISTID_COLUMNID As String
	
	Private _RECORDIDENTIFIER As System.Nullable(Of Byte)
	
	Private _REF_JOINCOLUMN As String
	
	Private _REF_REALCOLUMN As String
	
	Private _REF_REALCOLUMNID As System.Nullable(Of System.Guid)
	
	Private _SYNCTYPENUM As System.Nullable(Of Byte)
	
	Private _TABLEID As System.Nullable(Of System.Guid)
	
	Private _UPDATETYPE As System.Nullable(Of Byte)
	
	Private _VALIDACCESSLEVELS As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ALIASNAME", DbType:="NVarChar(64)")>  _
	Public Property ALIASNAME() As String
		Get
			Return Me._ALIASNAME
		End Get
		Set
			If (String.Equals(Me._ALIASNAME, value) = false) Then
				Me._ALIASNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCDEFINITION", DbType:="NVarChar(500)")>  _
	Public Property CALCDEFINITION() As String
		Get
			Return Me._CALCDEFINITION
		End Get
		Set
			If (String.Equals(Me._CALCDEFINITION, value) = false) Then
				Me._CALCDEFINITION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CALCDISPLAY", DbType:="NVarChar(500)")>  _
	Public Property CALCDISPLAY() As String
		Get
			Return Me._CALCDISPLAY
		End Get
		Set
			If (String.Equals(Me._CALCDISPLAY, value) = false) Then
				Me._CALCDISPLAY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CAN_DELETE", DbType:="Bit")>  _
	Public Property CAN_DELETE() As System.Nullable(Of Boolean)
		Get
			Return Me._CAN_DELETE
		End Get
		Set
			If (Me._CAN_DELETE.Equals(value) = false) Then
				Me._CAN_DELETE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CAN_RESIZE", DbType:="Bit")>  _
	Public Property CAN_RESIZE() As System.Nullable(Of Boolean)
		Get
			Return Me._CAN_RESIZE
		End Get
		Set
			If (Me._CAN_RESIZE.Equals(value) = false) Then
				Me._CAN_RESIZE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CHANGE_DATATYPE", DbType:="Bit")>  _
	Public Property CHANGE_DATATYPE() As System.Nullable(Of Boolean)
		Get
			Return Me._CHANGE_DATATYPE
		End Get
		Set
			If (Me._CHANGE_DATATYPE.Equals(value) = false) Then
				Me._CHANGE_DATATYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNTYPE", DbType:="TinyInt")>  _
	Public Property COLUMNTYPE() As System.Nullable(Of Byte)
		Get
			Return Me._COLUMNTYPE
		End Get
		Set
			If (Me._COLUMNTYPE.Equals(value) = false) Then
				Me._COLUMNTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt")>  _
	Public Property DATATYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If (Me._DATATYPEID.Equals(value) = false) Then
				Me._DATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DECIMAL_PRECISION", DbType:="TinyInt")>  _
	Public Property DECIMAL_PRECISION() As System.Nullable(Of Byte)
		Get
			Return Me._DECIMAL_PRECISION
		End Get
		Set
			If (Me._DECIMAL_PRECISION.Equals(value) = false) Then
				Me._DECIMAL_PRECISION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEFAULT_VALUE", DbType:="NVarChar(500)")>  _
	Public Property DEFAULT_VALUE() As String
		Get
			Return Me._DEFAULT_VALUE
		End Get
		Set
			If (String.Equals(Me._DEFAULT_VALUE, value) = false) Then
				Me._DEFAULT_VALUE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(MAX)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(192)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENT_ON_CHANGE", DbType:="NVarChar(512)")>  _
	Public Property EVENT_ON_CHANGE() As String
		Get
			Return Me._EVENT_ON_CHANGE
		End Get
		Set
			If (String.Equals(Me._EVENT_ON_CHANGE, value) = false) Then
				Me._EVENT_ON_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENT_ON_FOCUS", DbType:="NVarChar(512)")>  _
	Public Property EVENT_ON_FOCUS() As String
		Get
			Return Me._EVENT_ON_FOCUS
		End Get
		Set
			If (String.Equals(Me._EVENT_ON_FOCUS, value) = false) Then
				Me._EVENT_ON_FOCUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EVENT_ON_LOST_FOCUS", DbType:="NVarChar(512)")>  _
	Public Property EVENT_ON_LOST_FOCUS() As String
		Get
			Return Me._EVENT_ON_LOST_FOCUS
		End Get
		Set
			If (String.Equals(Me._EVENT_ON_LOST_FOCUS, value) = false) Then
				Me._EVENT_ON_LOST_FOCUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIELD_FORMAT", DbType:="NVarChar(500)")>  _
	Public Property FIELD_FORMAT() As String
		Get
			Return Me._FIELD_FORMAT
		End Get
		Set
			If (String.Equals(Me._FIELD_FORMAT, value) = false) Then
				Me._FIELD_FORMAT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALLOW_BLANKS", DbType:="Bit")>  _
	Public Property IS_ALLOW_BLANKS() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ALLOW_BLANKS
		End Get
		Set
			If (Me._IS_ALLOW_BLANKS.Equals(value) = false) Then
				Me._IS_ALLOW_BLANKS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIMARY_FIELD", DbType:="Bit")>  _
	Public Property IS_PRIMARY_FIELD() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIMARY_FIELD
		End Get
		Set
			If (Me._IS_PRIMARY_FIELD.Equals(value) = false) Then
				Me._IS_PRIMARY_FIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PROTECTED", DbType:="Bit")>  _
	Public Property IS_PROTECTED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PROTECTED
		End Get
		Set
			If (Me._IS_PROTECTED.Equals(value) = false) Then
				Me._IS_PROTECTED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_TRACKED", DbType:="Bit")>  _
	Public Property IS_TRACKED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_TRACKED
		End Get
		Set
			If (Me._IS_TRACKED.Equals(value) = false) Then
				Me._IS_TRACKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDEFINEFIELD", DbType:="Bit")>  _
	Public Property ISDEFINEFIELD() As System.Nullable(Of Boolean)
		Get
			Return Me._ISDEFINEFIELD
		End Get
		Set
			If (Me._ISDEFINEFIELD.Equals(value) = false) Then
				Me._ISDEFINEFIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit")>  _
	Public Property ISDISPLAYED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If (Me._ISDISPLAYED.Equals(value) = false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISNULLABLE", DbType:="Bit")>  _
	Public Property ISNULLABLE() As System.Nullable(Of Boolean)
		Get
			Return Me._ISNULLABLE
		End Get
		Set
			If (Me._ISNULLABLE.Equals(value) = false) Then
				Me._ISNULLABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ITEM", DbType:="UniqueIdentifier")>  _
	Public Property ITEM() As System.Nullable(Of System.Guid)
		Get
			Return Me._ITEM
		End Get
		Set
			If (Me._ITEM.Equals(value) = false) Then
				Me._ITEM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LENGTH", DbType:="SmallInt")>  _
	Public Property LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._LENGTH
		End Get
		Set
			If (Me._LENGTH.Equals(value) = false) Then
				Me._LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MIN_COLUMN_LENGTH", DbType:="SmallInt")>  _
	Public Property MIN_COLUMN_LENGTH() As System.Nullable(Of Short)
		Get
			Return Me._MIN_COLUMN_LENGTH
		End Get
		Set
			If (Me._MIN_COLUMN_LENGTH.Equals(value) = false) Then
				Me._MIN_COLUMN_LENGTH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLEDBNAME", DbType:="NVarChar(96)")>  _
	Public Property OLEDBNAME() As String
		Get
			Return Me._OLEDBNAME
		End Get
		Set
			If (String.Equals(Me._OLEDBNAME, value) = false) Then
				Me._OLEDBNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OLEDBTYPENUM", DbType:="TinyInt")>  _
	Public Property OLEDBTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._OLEDBTYPENUM
		End Get
		Set
			If (Me._OLEDBTYPENUM.Equals(value) = false) Then
				Me._OLEDBTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORDINAL", DbType:="SmallInt")>  _
	Public Property ORDINAL() As System.Nullable(Of Short)
		Get
			Return Me._ORDINAL
		End Get
		Set
			If (Me._ORDINAL.Equals(value) = false) Then
				Me._ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PICKLISTID_COLUMNID", DbType:="NVarChar(64)")>  _
	Public Property PICKLISTID_COLUMNID() As String
		Get
			Return Me._PICKLISTID_COLUMNID
		End Get
		Set
			If (String.Equals(Me._PICKLISTID_COLUMNID, value) = false) Then
				Me._PICKLISTID_COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDIDENTIFIER", DbType:="TinyInt")>  _
	Public Property RECORDIDENTIFIER() As System.Nullable(Of Byte)
		Get
			Return Me._RECORDIDENTIFIER
		End Get
		Set
			If (Me._RECORDIDENTIFIER.Equals(value) = false) Then
				Me._RECORDIDENTIFIER = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_JOINCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property REF_JOINCOLUMN() As String
		Get
			Return Me._REF_JOINCOLUMN
		End Get
		Set
			If (String.Equals(Me._REF_JOINCOLUMN, value) = false) Then
				Me._REF_JOINCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_REALCOLUMN", DbType:="NVarChar(64)")>  _
	Public Property REF_REALCOLUMN() As String
		Get
			Return Me._REF_REALCOLUMN
		End Get
		Set
			If (String.Equals(Me._REF_REALCOLUMN, value) = false) Then
				Me._REF_REALCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REF_REALCOLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property REF_REALCOLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._REF_REALCOLUMNID
		End Get
		Set
			If (Me._REF_REALCOLUMNID.Equals(value) = false) Then
				Me._REF_REALCOLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCTYPENUM", DbType:="TinyInt")>  _
	Public Property SYNCTYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._SYNCTYPENUM
		End Get
		Set
			If (Me._SYNCTYPENUM.Equals(value) = false) Then
				Me._SYNCTYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEID
		End Get
		Set
			If (Me._TABLEID.Equals(value) = false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UPDATETYPE", DbType:="TinyInt")>  _
	Public Property UPDATETYPE() As System.Nullable(Of Byte)
		Get
			Return Me._UPDATETYPE
		End Get
		Set
			If (Me._UPDATETYPE.Equals(value) = false) Then
				Me._UPDATETYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALIDACCESSLEVELS", DbType:="TinyInt")>  _
	Public Property VALIDACCESSLEVELS() As System.Nullable(Of Byte)
		Get
			Return Me._VALIDACCESSLEVELS
		End Get
		Set
			If (Me._VALIDACCESSLEVELS.Equals(value) = false) Then
				Me._VALIDACCESSLEVELS = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSCOLUMN_ACLResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSCONSTANTResult
	
	Private _CONSTANTNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONSTANTNAME", DbType:="NVarChar(64)")>  _
	Public Property CONSTANTNAME() As String
		Get
			Return Me._CONSTANTNAME
		End Get
		Set
			If (String.Equals(Me._CONSTANTNAME, value) = false) Then
				Me._CONSTANTNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSDATATYPEResult
	
	Private _DATATYPEID As System.Nullable(Of Byte)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATATYPEID", DbType:="TinyInt")>  _
	Public Property DATATYPEID() As System.Nullable(Of Byte)
		Get
			Return Me._DATATYPEID
		End Get
		Set
			If (Me._DATATYPEID.Equals(value) = false) Then
				Me._DATATYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSDOMAINResult
	
	Private _DOMAINID As System.Nullable(Of Byte)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt")>  _
	Public Property DOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._DOMAINID
		End Get
		Set
			If (Me._DOMAINID.Equals(value) = false) Then
				Me._DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSDOMAIN_SYSOPERATORResult
	
	Private _DOMAINID As System.Nullable(Of Byte)
	
	Private _OPERATORID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt")>  _
	Public Property DOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._DOMAINID
		End Get
		Set
			If (Me._DOMAINID.Equals(value) = false) Then
				Me._DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt")>  _
	Public Property OPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._OPERATORID
		End Get
		Set
			If (Me._OPERATORID.Equals(value) = false) Then
				Me._OPERATORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSENTITYResult
	
	Private _ENTITYID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _DESCRIPTION As String
	
	Private _DISPLAYNAME As String
	
	Private _EDIT_HISTORY As System.Nullable(Of Boolean)
	
	Private _ENABLE_DUP_CHECKING As System.Nullable(Of Boolean)
	
	Private _FEATUREID As System.Nullable(Of System.Guid)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _IS_DEFINE_FIELDS As System.Nullable(Of Boolean)
	
	Private _IS_DISPLAYED As System.Nullable(Of Boolean)
	
	Private _NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (Me._ENTITYID.Equals(value) = false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(512)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_HISTORY", DbType:="Bit")>  _
	Public Property EDIT_HISTORY() As System.Nullable(Of Boolean)
		Get
			Return Me._EDIT_HISTORY
		End Get
		Set
			If (Me._EDIT_HISTORY.Equals(value) = false) Then
				Me._EDIT_HISTORY = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENABLE_DUP_CHECKING", DbType:="Bit")>  _
	Public Property ENABLE_DUP_CHECKING() As System.Nullable(Of Boolean)
		Get
			Return Me._ENABLE_DUP_CHECKING
		End Get
		Set
			If (Me._ENABLE_DUP_CHECKING.Equals(value) = false) Then
				Me._ENABLE_DUP_CHECKING = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FEATUREID", DbType:="UniqueIdentifier")>  _
	Public Property FEATUREID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FEATUREID
		End Get
		Set
			If (Me._FEATUREID.Equals(value) = false) Then
				Me._FEATUREID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DEFINE_FIELDS", DbType:="Bit")>  _
	Public Property IS_DEFINE_FIELDS() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DEFINE_FIELDS
		End Get
		Set
			If (Me._IS_DEFINE_FIELDS.Equals(value) = false) Then
				Me._IS_DEFINE_FIELDS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DISPLAYED", DbType:="Bit")>  _
	Public Property IS_DISPLAYED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DISPLAYED
		End Get
		Set
			If (Me._IS_DISPLAYED.Equals(value) = false) Then
				Me._IS_DISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(64)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSENTITY_SYSTABLEResult
	
	Private _ENTITYID As System.Nullable(Of System.Guid)
	
	Private _TABLEID As System.Nullable(Of System.Guid)
	
	Private _ISPRIMARYTABLE As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (Me._ENTITYID.Equals(value) = false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEID
		End Get
		Set
			If (Me._TABLEID.Equals(value) = false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIMARYTABLE", DbType:="Bit")>  _
	Public Property ISPRIMARYTABLE() As System.Nullable(Of Boolean)
		Get
			Return Me._ISPRIMARYTABLE
		End Get
		Set
			If (Me._ISPRIMARYTABLE.Equals(value) = false) Then
				Me._ISPRIMARYTABLE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSENTITYRELATIONResult
	
	Private _FROM_ENTITYID As System.Nullable(Of System.Guid)
	
	Private _TO_ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FROM_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property FROM_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FROM_ENTITYID
		End Get
		Set
			If (Me._FROM_ENTITYID.Equals(value) = false) Then
				Me._FROM_ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TO_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property TO_ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TO_ENTITYID
		End Get
		Set
			If (Me._TO_ENTITYID.Equals(value) = false) Then
				Me._TO_ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSLOCALCOLUMNResult
	
	Private _COLUMNNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSLOCALMESSAGEResult
	
	Private _MESSAGEKEY As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MESSAGEKEY", DbType:="VarChar(64)")>  _
	Public Property MESSAGEKEY() As String
		Get
			Return Me._MESSAGEKEY
		End Get
		Set
			If (String.Equals(Me._MESSAGEKEY, value) = false) Then
				Me._MESSAGEKEY = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSOPERATORResult
	
	Private _OPERATORID As System.Nullable(Of Byte)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt")>  _
	Public Property OPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._OPERATORID
		End Get
		Set
			If (Me._OPERATORID.Equals(value) = false) Then
				Me._OPERATORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSTABLEResult
	
	Private _TABLEID As System.Nullable(Of System.Guid)
	
	Private _CONTAINSADDRESS As System.Nullable(Of Boolean)
	
	Private _CONTAINSEMAIL As System.Nullable(Of Boolean)
	
	Private _CONTAINSPHONE As System.Nullable(Of Boolean)
	
	Private _CONTAINSVIRTUALS As System.Nullable(Of Boolean)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _DESCRIPTION As String
	
	Private _DISPLAYNAME As String
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _HASVIRTUALCOLUMN As System.Nullable(Of Boolean)
	
	Private _IS_CUSTOM As System.Nullable(Of Boolean)
	
	Private _IS_DEFINE_FIELD As System.Nullable(Of Boolean)
	
	Private _IS_DISPLAYED As System.Nullable(Of Boolean)
	
	Private _TABLEDOMAINID As System.Nullable(Of Byte)
	
	Private _TABLENAME As String
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEID
		End Get
		Set
			If (Me._TABLEID.Equals(value) = false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSADDRESS", DbType:="Bit")>  _
	Public Property CONTAINSADDRESS() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTAINSADDRESS
		End Get
		Set
			If (Me._CONTAINSADDRESS.Equals(value) = false) Then
				Me._CONTAINSADDRESS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSEMAIL", DbType:="Bit")>  _
	Public Property CONTAINSEMAIL() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTAINSEMAIL
		End Get
		Set
			If (Me._CONTAINSEMAIL.Equals(value) = false) Then
				Me._CONTAINSEMAIL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSPHONE", DbType:="Bit")>  _
	Public Property CONTAINSPHONE() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTAINSPHONE
		End Get
		Set
			If (Me._CONTAINSPHONE.Equals(value) = false) Then
				Me._CONTAINSPHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTAINSVIRTUALS", DbType:="Bit")>  _
	Public Property CONTAINSVIRTUALS() As System.Nullable(Of Boolean)
		Get
			Return Me._CONTAINSVIRTUALS
		End Get
		Set
			If (Me._CONTAINSVIRTUALS.Equals(value) = false) Then
				Me._CONTAINSVIRTUALS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(512)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DISPLAYNAME", DbType:="NVarChar(64)")>  _
	Public Property DISPLAYNAME() As String
		Get
			Return Me._DISPLAYNAME
		End Get
		Set
			If (String.Equals(Me._DISPLAYNAME, value) = false) Then
				Me._DISPLAYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HASVIRTUALCOLUMN", DbType:="Bit")>  _
	Public Property HASVIRTUALCOLUMN() As System.Nullable(Of Boolean)
		Get
			Return Me._HASVIRTUALCOLUMN
		End Get
		Set
			If (Me._HASVIRTUALCOLUMN.Equals(value) = false) Then
				Me._HASVIRTUALCOLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CUSTOM", DbType:="Bit")>  _
	Public Property IS_CUSTOM() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CUSTOM
		End Get
		Set
			If (Me._IS_CUSTOM.Equals(value) = false) Then
				Me._IS_CUSTOM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DEFINE_FIELD", DbType:="Bit")>  _
	Public Property IS_DEFINE_FIELD() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DEFINE_FIELD
		End Get
		Set
			If (Me._IS_DEFINE_FIELD.Equals(value) = false) Then
				Me._IS_DEFINE_FIELD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_DISPLAYED", DbType:="Bit")>  _
	Public Property IS_DISPLAYED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_DISPLAYED
		End Get
		Set
			If (Me._IS_DISPLAYED.Equals(value) = false) Then
				Me._IS_DISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAINID", DbType:="TinyInt")>  _
	Public Property TABLEDOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._TABLEDOMAINID
		End Get
		Set
			If (Me._TABLEDOMAINID.Equals(value) = false) Then
				Me._TABLEDOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSTABLEDOMAINResult
	
	Private _TABLEDOMAINGUID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAINGUID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEDOMAINGUID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEDOMAINGUID
		End Get
		Set
			If (Me._TABLEDOMAINGUID.Equals(value) = false) Then
				Me._TABLEDOMAINGUID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSTABLEKEYResult
	
	Private _TABLEKEYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEKEYID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEKEYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEKEYID
		End Get
		Set
			If (Me._TABLEKEYID.Equals(value) = false) Then
				Me._TABLEKEYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSTABLEKEY_SYSCOLUMNResult
	
	Private _TABLEKEYID As System.Nullable(Of System.Guid)
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEKEYID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEKEYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEKEYID
		End Get
		Set
			If (Me._TABLEKEYID.Equals(value) = false) Then
				Me._TABLEKEYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSTABLEORDERResult
	
	Private _TABLENAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSTABLERELATIONResult
	
	Private _CHILDTABLE As String
	
	Private _CHILDCOLUMN As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CHILDTABLE", DbType:="NVarChar(32)")>  _
	Public Property CHILDTABLE() As String
		Get
			Return Me._CHILDTABLE
		End Get
		Set
			If (String.Equals(Me._CHILDTABLE, value) = false) Then
				Me._CHILDTABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CHILDCOLUMN", DbType:="NVarChar(32)")>  _
	Public Property CHILDCOLUMN() As String
		Get
			Return Me._CHILDCOLUMN
		End Get
		Set
			If (String.Equals(Me._CHILDCOLUMN, value) = false) Then
				Me._CHILDCOLUMN = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSVALUEResult
	
	Private _VALUEID As System.Nullable(Of Byte)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID", DbType:="TinyInt")>  _
	Public Property VALUEID() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID
		End Get
		Set
			If (Me._VALUEID.Equals(value) = false) Then
				Me._VALUEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_SYSVALUEUSAGEResult
	
	Private _DOMAINID As System.Nullable(Of Byte)
	
	Private _OPERATORID As System.Nullable(Of Byte)
	
	Private _VALUEID As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DOMAINID", DbType:="TinyInt")>  _
	Public Property DOMAINID() As System.Nullable(Of Byte)
		Get
			Return Me._DOMAINID
		End Get
		Set
			If (Me._DOMAINID.Equals(value) = false) Then
				Me._DOMAINID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OPERATORID", DbType:="TinyInt")>  _
	Public Property OPERATORID() As System.Nullable(Of Byte)
		Get
			Return Me._OPERATORID
		End Get
		Set
			If (Me._OPERATORID.Equals(value) = false) Then
				Me._OPERATORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_VALUEID", DbType:="TinyInt")>  _
	Public Property VALUEID() As System.Nullable(Of Byte)
		Get
			Return Me._VALUEID
		End Get
		Set
			If (Me._VALUEID.Equals(value) = false) Then
				Me._VALUEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_TEAMResult
	
	Private _TEAMID As System.Nullable(Of System.Guid)
	
	Private _DESCRIPTION As String
	
	Private _ISDISPLAYED As System.Nullable(Of Boolean)
	
	Private _ISSYSTEM As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier")>  _
	Public Property TEAMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TEAMID
		End Get
		Set
			If (Me._TEAMID.Equals(value) = false) Then
				Me._TEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DESCRIPTION", DbType:="NVarChar(128)")>  _
	Public Property DESCRIPTION() As String
		Get
			Return Me._DESCRIPTION
		End Get
		Set
			If (String.Equals(Me._DESCRIPTION, value) = false) Then
				Me._DESCRIPTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISDISPLAYED", DbType:="Bit")>  _
	Public Property ISDISPLAYED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISDISPLAYED
		End Get
		Set
			If (Me._ISDISPLAYED.Equals(value) = false) Then
				Me._ISDISPLAYED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSYSTEM", DbType:="Bit")>  _
	Public Property ISSYSTEM() As System.Nullable(Of Boolean)
		Get
			Return Me._ISSYSTEM
		End Get
		Set
			If (Me._ISSYSTEM.Equals(value) = false) Then
				Me._ISSYSTEM = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_TEAM_USERResult
	
	Private _TEAMID As System.Nullable(Of System.Guid)
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TEAMID", DbType:="UniqueIdentifier")>  _
	Public Property TEAMID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TEAMID
		End Get
		Set
			If (Me._TEAMID.Equals(value) = false) Then
				Me._TEAMID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USERResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _IS_ALLOW_PASSWORD_CHANGE As System.Nullable(Of Boolean)
	
	Private _IS_CASE_SENSITIVE_PASSWORD As System.Nullable(Of Boolean)
	
	Private _IS_FORCE_PASSWORD_CHANGE As System.Nullable(Of Boolean)
	
	Private _IS_PASSWORD_NEVER_EXPIRES As System.Nullable(Of Boolean)
	
	Private _IS_USEPERSONALFILES As System.Nullable(Of Boolean)
	
	Private _IS_VERIFIED As System.Nullable(Of Boolean)
	
	Private _LAST_LOGONHISTORYID As System.Nullable(Of System.Guid)
	
	Private _LOGIN As String
	
	Private _ROLEID As System.Nullable(Of System.Guid)
	
	Private _UTC_OFFSET As System.Nullable(Of Short)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_ALLOW_PASSWORD_CHANGE", DbType:="Bit")>  _
	Public Property IS_ALLOW_PASSWORD_CHANGE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_ALLOW_PASSWORD_CHANGE
		End Get
		Set
			If (Me._IS_ALLOW_PASSWORD_CHANGE.Equals(value) = false) Then
				Me._IS_ALLOW_PASSWORD_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_CASE_SENSITIVE_PASSWORD", DbType:="Bit")>  _
	Public Property IS_CASE_SENSITIVE_PASSWORD() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_CASE_SENSITIVE_PASSWORD
		End Get
		Set
			If (Me._IS_CASE_SENSITIVE_PASSWORD.Equals(value) = false) Then
				Me._IS_CASE_SENSITIVE_PASSWORD = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_FORCE_PASSWORD_CHANGE", DbType:="Bit")>  _
	Public Property IS_FORCE_PASSWORD_CHANGE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_FORCE_PASSWORD_CHANGE
		End Get
		Set
			If (Me._IS_FORCE_PASSWORD_CHANGE.Equals(value) = false) Then
				Me._IS_FORCE_PASSWORD_CHANGE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PASSWORD_NEVER_EXPIRES", DbType:="Bit")>  _
	Public Property IS_PASSWORD_NEVER_EXPIRES() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PASSWORD_NEVER_EXPIRES
		End Get
		Set
			If (Me._IS_PASSWORD_NEVER_EXPIRES.Equals(value) = false) Then
				Me._IS_PASSWORD_NEVER_EXPIRES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_USEPERSONALFILES", DbType:="Bit")>  _
	Public Property IS_USEPERSONALFILES() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_USEPERSONALFILES
		End Get
		Set
			If (Me._IS_USEPERSONALFILES.Equals(value) = false) Then
				Me._IS_USEPERSONALFILES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_VERIFIED", DbType:="Bit")>  _
	Public Property IS_VERIFIED() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_VERIFIED
		End Get
		Set
			If (Me._IS_VERIFIED.Equals(value) = false) Then
				Me._IS_VERIFIED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_LOGONHISTORYID", DbType:="UniqueIdentifier")>  _
	Public Property LAST_LOGONHISTORYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._LAST_LOGONHISTORYID
		End Get
		Set
			If (Me._LAST_LOGONHISTORYID.Equals(value) = false) Then
				Me._LAST_LOGONHISTORYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGIN", DbType:="NVarChar(128)")>  _
	Public Property LOGIN() As String
		Get
			Return Me._LOGIN
		End Get
		Set
			If (String.Equals(Me._LOGIN, value) = false) Then
				Me._LOGIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROLEID", DbType:="UniqueIdentifier")>  _
	Public Property ROLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROLEID
		End Get
		Set
			If (Me._ROLEID.Equals(value) = false) Then
				Me._ROLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_UTC_OFFSET", DbType:="SmallInt")>  _
	Public Property UTC_OFFSET() As System.Nullable(Of Short)
		Get
			Return Me._UTC_OFFSET
		End Get
		Set
			If (Me._UTC_OFFSET.Equals(value) = false) Then
				Me._UTC_OFFSET = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USER_ACCESSOR_ENUMResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USER_COLUMNACCESSResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USER_DEFAULT_ACLResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _ENTITYID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="UniqueIdentifier")>  _
	Public Property ENTITYID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (Me._ENTITYID.Equals(value) = false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USER_PERMISSIONResult
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _PERMISSIONID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PERMISSIONID", DbType:="UniqueIdentifier")>  _
	Public Property PERMISSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._PERMISSIONID
		End Get
		Set
			If (Me._PERMISSIONID.Equals(value) = false) Then
				Me._PERMISSIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USERPASSWORD_RESETResult
	
	Private _RESETID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESETID", DbType:="UniqueIdentifier")>  _
	Public Property RESETID() As System.Nullable(Of System.Guid)
		Get
			Return Me._RESETID
		End Get
		Set
			If (Me._RESETID.Equals(value) = false) Then
				Me._RESETID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_USERSESSIONResult
	
	Private _USERSESSIONID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERSESSIONID", DbType:="UniqueIdentifier")>  _
	Public Property USERSESSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERSESSIONID
		End Get
		Set
			If (Me._USERSESSIONID.Equals(value) = false) Then
				Me._USERSESSIONID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_VIRTUALRECORDTYPEResult
	
	Private _TABLEID As System.Nullable(Of System.Guid)
	
	Private _TYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEID", DbType:="UniqueIdentifier")>  _
	Public Property TABLEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TABLEID
		End Get
		Set
			If (Me._TABLEID.Equals(value) = false) Then
				Me._TABLEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._TYPEID
		End Get
		Set
			If (Me._TYPEID.Equals(value) = false) Then
				Me._TYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WF_COMPLETEDSCOPEResult
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WF_INSTANCESTATEResult
	
	Private _INSTANCESTATEID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCESTATEID", DbType:="UniqueIdentifier")>  _
	Public Property INSTANCESTATEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._INSTANCESTATEID
		End Get
		Set
			If (Me._INSTANCESTATEID.Equals(value) = false) Then
				Me._INSTANCESTATEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WORKFLOW_ARCHIVEResult
	
	Private _INSTANCEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCEID", DbType:="UniqueIdentifier")>  _
	Public Property INSTANCEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._INSTANCEID
		End Get
		Set
			If (Me._INSTANCEID.Equals(value) = false) Then
				Me._INSTANCEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WORKFLOW_QUEUEResult
	
	Private _WORKFLOW_QUEUEID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOW_QUEUEID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOW_QUEUEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOW_QUEUEID
		End Get
		Set
			If (Me._WORKFLOW_QUEUEID.Equals(value) = false) Then
				Me._WORKFLOW_QUEUEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WORKFLOW_SUBSCRIPTIONResult
	
	Private _WORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWDEFID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WORKFLOWDEFResult
	
	Private _WORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Private _CREATE_DATE As System.Nullable(Of Date)
	
	Private _CREATEUSERID As System.Nullable(Of System.Guid)
	
	Private _EDIT_DATE As System.Nullable(Of Date)
	
	Private _EDITUSERID As System.Nullable(Of System.Guid)
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _IS_PRIVATE As System.Nullable(Of Boolean)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWDEFID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATE_DATE", DbType:="DateTime")>  _
	Public Property CREATE_DATE() As System.Nullable(Of Date)
		Get
			Return Me._CREATE_DATE
		End Get
		Set
			If (Me._CREATE_DATE.Equals(value) = false) Then
				Me._CREATE_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CREATEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property CREATEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CREATEUSERID
		End Get
		Set
			If (Me._CREATEUSERID.Equals(value) = false) Then
				Me._CREATEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDIT_DATE", DbType:="DateTime")>  _
	Public Property EDIT_DATE() As System.Nullable(Of Date)
		Get
			Return Me._EDIT_DATE
		End Get
		Set
			If (Me._EDIT_DATE.Equals(value) = false) Then
				Me._EDIT_DATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EDITUSERID", DbType:="UniqueIdentifier")>  _
	Public Property EDITUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._EDITUSERID
		End Get
		Set
			If (Me._EDITUSERID.Equals(value) = false) Then
				Me._EDITUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me._MANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_IS_PRIVATE", DbType:="Bit")>  _
	Public Property IS_PRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._IS_PRIVATE
		End Get
		Set
			If (Me._IS_PRIVATE.Equals(value) = false) Then
				Me._IS_PRIVATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WORKFLOWDEF_ACCESSResult
	
	Private _ACCESS_LEVEL As String
	
	Private _WORKFLOWDEF_ACCESS_WORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESS_LEVEL", DbType:="NVarChar(7)")>  _
	Public Property ACCESS_LEVEL() As String
		Get
			Return Me._ACCESS_LEVEL
		End Get
		Set
			If (String.Equals(Me._ACCESS_LEVEL, value) = false) Then
				Me._ACCESS_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEF_ACCESS_WORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEF_ACCESS_WORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEF_ACCESS_WORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEF_ACCESS_WORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWDEF_ACCESS_WORKFLOWDEFID = value
			End If
		End Set
	End Property
End Class

Partial Public Class FNR_WORKFLOWDEF_ACLResult
	
	Private _WORKFLOWDEFID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_WORKFLOWDEFID", DbType:="UniqueIdentifier")>  _
	Public Property WORKFLOWDEFID() As System.Nullable(Of System.Guid)
		Get
			Return Me._WORKFLOWDEFID
		End Get
		Set
			If (Me._WORKFLOWDEFID.Equals(value) = false) Then
				Me._WORKFLOWDEFID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CHECKFORCONFLICTSResult1
	
	Private _ENTITYID As String
	
	Private _RECORDTYPE As String
	
	Private _INPUT_ROWID As System.Nullable(Of Integer)
	
	Private _OUTPUT_ROWID As System.Nullable(Of Integer)
	
	Private _INPUT_ROW_TIMESTAMP As System.Nullable(Of Date)
	
	Private _OUTPUT_ROW_TIMESTAMP As System.Nullable(Of Date)
	
	Private _INPUT_ACTIONCODE As String
	
	Private _OUTPUT_ACTIONCODE As String
	
	Private _INPUT_TRANSACTIONXMLDATA As String
	
	Private _OUTPUT_TRANSACTIONXMLDATA As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ENTITYID", DbType:="NVarChar(100)")>  _
	Public Property ENTITYID() As String
		Get
			Return Me._ENTITYID
		End Get
		Set
			If (String.Equals(Me._ENTITYID, value) = false) Then
				Me._ENTITYID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RECORDTYPE", DbType:="NVarChar(50)")>  _
	Public Property RECORDTYPE() As String
		Get
			Return Me._RECORDTYPE
		End Get
		Set
			If (String.Equals(Me._RECORDTYPE, value) = false) Then
				Me._RECORDTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INPUT_ROWID", DbType:="Int")>  _
	Public Property INPUT_ROWID() As System.Nullable(Of Integer)
		Get
			Return Me._INPUT_ROWID
		End Get
		Set
			If (Me._INPUT_ROWID.Equals(value) = false) Then
				Me._INPUT_ROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OUTPUT_ROWID", DbType:="Int")>  _
	Public Property OUTPUT_ROWID() As System.Nullable(Of Integer)
		Get
			Return Me._OUTPUT_ROWID
		End Get
		Set
			If (Me._OUTPUT_ROWID.Equals(value) = false) Then
				Me._OUTPUT_ROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INPUT_ROW_TIMESTAMP", DbType:="DateTime")>  _
	Public Property INPUT_ROW_TIMESTAMP() As System.Nullable(Of Date)
		Get
			Return Me._INPUT_ROW_TIMESTAMP
		End Get
		Set
			If (Me._INPUT_ROW_TIMESTAMP.Equals(value) = false) Then
				Me._INPUT_ROW_TIMESTAMP = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OUTPUT_ROW_TIMESTAMP", DbType:="DateTime")>  _
	Public Property OUTPUT_ROW_TIMESTAMP() As System.Nullable(Of Date)
		Get
			Return Me._OUTPUT_ROW_TIMESTAMP
		End Get
		Set
			If (Me._OUTPUT_ROW_TIMESTAMP.Equals(value) = false) Then
				Me._OUTPUT_ROW_TIMESTAMP = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INPUT_ACTIONCODE", DbType:="Char(2)")>  _
	Public Property INPUT_ACTIONCODE() As String
		Get
			Return Me._INPUT_ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._INPUT_ACTIONCODE, value) = false) Then
				Me._INPUT_ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OUTPUT_ACTIONCODE", DbType:="Char(2)")>  _
	Public Property OUTPUT_ACTIONCODE() As String
		Get
			Return Me._OUTPUT_ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._OUTPUT_ACTIONCODE, value) = false) Then
				Me._OUTPUT_ACTIONCODE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INPUT_TRANSACTIONXMLDATA", DbType:="NVarChar(MAX)")>  _
	Public Property INPUT_TRANSACTIONXMLDATA() As String
		Get
			Return Me._INPUT_TRANSACTIONXMLDATA
		End Get
		Set
			If (String.Equals(Me._INPUT_TRANSACTIONXMLDATA, value) = false) Then
				Me._INPUT_TRANSACTIONXMLDATA = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OUTPUT_TRANSACTIONXMLDATA", DbType:="NVarChar(MAX)")>  _
	Public Property OUTPUT_TRANSACTIONXMLDATA() As String
		Get
			Return Me._OUTPUT_TRANSACTIONXMLDATA
		End Get
		Set
			If (String.Equals(Me._OUTPUT_TRANSACTIONXMLDATA, value) = false) Then
				Me._OUTPUT_TRANSACTIONXMLDATA = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CHECKFORCONFLICTSResult2
	
	Private _Column1 As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="Int")>  _
	Public Property Column1() As System.Nullable(Of Integer)
		Get
			Return Me._Column1
		End Get
		Set
			If (Me._Column1.Equals(value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CONVERT_ACCOUNTINGLINKSResult1
	
	Private _ReturnCode As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ReturnCode", DbType:="Int")>  _
	Public Property ReturnCode() As System.Nullable(Of Integer)
		Get
			Return Me._ReturnCode
		End Get
		Set
			If (Me._ReturnCode.Equals(value) = false) Then
				Me._ReturnCode = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CONVERT_ACCOUNTINGLINKSResult2
	
	Private _Column1 As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="Int")>  _
	Public Property Column1() As System.Nullable(Of Integer)
		Get
			Return Me._Column1
		End Get
		Set
			If (Me._Column1.Equals(value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CREATEEXPLODEDPREFILTERVIEWResult1
	
	Private _Column1 As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="NVarChar(MAX)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CREATEEXPLODEDPREFILTERVIEWResult2
	
	Private _Column1 As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="NVarChar(128)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_CREATEEXPLODEDPREFILTERVIEWResult3
	
	Private _Column1 As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="Int")>  _
	Public Property Column1() As System.Nullable(Of Integer)
		Get
			Return Me._Column1
		End Get
		Set
			If (Me._Column1.Equals(value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_DELETE_LINK_AND_DEPENDENTResult1
	
	Private _Column1 As String
	
	Private _TRANCNT As System.Nullable(Of Integer)
	
	Private _TRANCOUNT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="VarChar(12)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCNT", DbType:="Int")>  _
	Public Property TRANCNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCNT
		End Get
		Set
			If (Me._TRANCNT.Equals(value) = false) Then
				Me._TRANCNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCOUNT", DbType:="Int")>  _
	Public Property TRANCOUNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCOUNT
		End Get
		Set
			If (Me._TRANCOUNT.Equals(value) = false) Then
				Me._TRANCOUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_DELETE_LINK_AND_DEPENDENTResult2
	
	Private _DependentRowsDeleted As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DependentRowsDeleted", DbType:="Int")>  _
	Public Property DependentRowsDeleted() As System.Nullable(Of Integer)
		Get
			Return Me._DependentRowsDeleted
		End Get
		Set
			If (Me._DependentRowsDeleted.Equals(value) = false) Then
				Me._DependentRowsDeleted = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_DELETE_LINK_AND_DEPENDENTResult3
	
	Private _LinkRowsDeleted As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LinkRowsDeleted", DbType:="Int")>  _
	Public Property LinkRowsDeleted() As System.Nullable(Of Integer)
		Get
			Return Me._LinkRowsDeleted
		End Get
		Set
			If (Me._LinkRowsDeleted.Equals(value) = false) Then
				Me._LinkRowsDeleted = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_INSERT_LINK_DEPENDENTResult
	
	Private _Column1 As String
	
	Private _TRANCNT As System.Nullable(Of Integer)
	
	Private _TRANCOUNT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="VarChar(12)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCNT", DbType:="Int")>  _
	Public Property TRANCNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCNT
		End Get
		Set
			If (Me._TRANCNT.Equals(value) = false) Then
				Me._TRANCNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCOUNT", DbType:="Int")>  _
	Public Property TRANCOUNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCOUNT
		End Get
		Set
			If (Me._TRANCOUNT.Equals(value) = false) Then
				Me._TRANCOUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_ABL_REQUIRESCONVERSIONResult
	
	Private _ReturnCode As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ReturnCode", DbType:="Int")>  _
	Public Property ReturnCode() As System.Nullable(Of Integer)
		Get
			Return Me._ReturnCode
		End Get
		Set
			If (Me._ReturnCode.Equals(value) = false) Then
				Me._ReturnCode = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_CHK_COMPANYHIERARCHYResult
	
	Private _HIERLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERLEVEL", DbType:="Int")>  _
	Public Property HIERLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERLEVEL
		End Get
		Set
			If (Me._HIERLEVEL.Equals(value) = false) Then
				Me._HIERLEVEL = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_CHK_GROUPHIERARCHYResult
	
	Private _HIERLEVEL As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HIERLEVEL", DbType:="Int")>  _
	Public Property HIERLEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._HIERLEVEL
		End Get
		Set
			If (Me._HIERLEVEL.Equals(value) = false) Then
				Me._HIERLEVEL = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_DEL_SYSCOLUMNResult
	
	Private _Column1 As String
	
	Private _TRANCNT As System.Nullable(Of Integer)
	
	Private _TRANCOUNT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="VarChar(12)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCNT", DbType:="Int")>  _
	Public Property TRANCNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCNT
		End Get
		Set
			If (Me._TRANCNT.Equals(value) = false) Then
				Me._TRANCNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCOUNT", DbType:="Int")>  _
	Public Property TRANCOUNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCOUNT
		End Get
		Set
			If (Me._TRANCOUNT.Equals(value) = false) Then
				Me._TRANCOUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_DEL_SYSTABLEResult
	
	Private _Column1 As String
	
	Private _TRANCNT As System.Nullable(Of Integer)
	
	Private _TRANCOUNT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="VarChar(12)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCNT", DbType:="Int")>  _
	Public Property TRANCNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCNT
		End Get
		Set
			If (Me._TRANCNT.Equals(value) = false) Then
				Me._TRANCNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TRANCOUNT", DbType:="Int")>  _
	Public Property TRANCOUNT() As System.Nullable(Of Integer)
		Get
			Return Me._TRANCOUNT
		End Get
		Set
			If (Me._TRANCOUNT.Equals(value) = false) Then
				Me._TRANCOUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_dtSearch_FILTER_HITSResult1
	
	Private _EntityType As String
	
	Private _EntityKeyFromXML As String
	
	Private _EntityKey As System.Nullable(Of System.Guid)
	
	Private _ParentType As String
	
	Private _ParentKey As System.Nullable(Of System.Guid)
	
	Private _Access As System.Nullable(Of Byte)
	
	Private _IsPrivate As System.Nullable(Of Byte)
	
	Private _RecordManager As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="entityType", Storage:="_EntityType", DbType:="NVarChar(128)")>  _
	Public Property EntityType() As String
		Get
			Return Me._EntityType
		End Get
		Set
			If (String.Equals(Me._EntityType, value) = false) Then
				Me._EntityType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="entityKeyFromXML", Storage:="_EntityKeyFromXML", DbType:="VarChar(255)")>  _
	Public Property EntityKeyFromXML() As String
		Get
			Return Me._EntityKeyFromXML
		End Get
		Set
			If (String.Equals(Me._EntityKeyFromXML, value) = false) Then
				Me._EntityKeyFromXML = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="entityKey", Storage:="_EntityKey", DbType:="UniqueIdentifier")>  _
	Public Property EntityKey() As System.Nullable(Of System.Guid)
		Get
			Return Me._EntityKey
		End Get
		Set
			If (Me._EntityKey.Equals(value) = false) Then
				Me._EntityKey = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="parentType", Storage:="_ParentType", DbType:="NVarChar(128)")>  _
	Public Property ParentType() As String
		Get
			Return Me._ParentType
		End Get
		Set
			If (String.Equals(Me._ParentType, value) = false) Then
				Me._ParentType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="parentKey", Storage:="_ParentKey", DbType:="UniqueIdentifier")>  _
	Public Property ParentKey() As System.Nullable(Of System.Guid)
		Get
			Return Me._ParentKey
		End Get
		Set
			If (Me._ParentKey.Equals(value) = false) Then
				Me._ParentKey = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="access", Storage:="_Access", DbType:="TinyInt")>  _
	Public Property Access() As System.Nullable(Of Byte)
		Get
			Return Me._Access
		End Get
		Set
			If (Me._Access.Equals(value) = false) Then
				Me._Access = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="isPrivate", Storage:="_IsPrivate", DbType:="TinyInt")>  _
	Public Property IsPrivate() As System.Nullable(Of Byte)
		Get
			Return Me._IsPrivate
		End Get
		Set
			If (Me._IsPrivate.Equals(value) = false) Then
				Me._IsPrivate = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="recordManager", Storage:="_RecordManager", DbType:="UniqueIdentifier")>  _
	Public Property RecordManager() As System.Nullable(Of System.Guid)
		Get
			Return Me._RecordManager
		End Get
		Set
			If (Me._RecordManager.Equals(value) = false) Then
				Me._RecordManager = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_dtSearch_FILTER_HITSResult2
	
	Private _RLS As System.Nullable(Of Integer)
	
	Private _EntityName As String
	
	Private _ID As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RLS", DbType:="Int")>  _
	Public Property RLS() As System.Nullable(Of Integer)
		Get
			Return Me._RLS
		End Get
		Set
			If (Me._RLS.Equals(value) = false) Then
				Me._RLS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityName", DbType:="NVarChar(128)")>  _
	Public Property EntityName() As String
		Get
			Return Me._EntityName
		End Get
		Set
			If (String.Equals(Me._EntityName, value) = false) Then
				Me._EntityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ID", DbType:="NVarChar(255)")>  _
	Public Property ID() As String
		Get
			Return Me._ID
		End Get
		Set
			If (String.Equals(Me._ID, value) = false) Then
				Me._ID = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_dtSearch_FILTER_HITSResult3
	
	Private _MetaData As System.Nullable(Of Integer)
	
	Private _EntityName As String
	
	Private _EntityDisplayName As String
	
	Private _ColumnAliasName As String
	
	Private _ColumnDisplayName As String
	
	Private _PhysicalDataType As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MetaData", DbType:="Int")>  _
	Public Property MetaData() As System.Nullable(Of Integer)
		Get
			Return Me._MetaData
		End Get
		Set
			If (Me._MetaData.Equals(value) = false) Then
				Me._MetaData = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityName", DbType:="NVarChar(4000)")>  _
	Public Property EntityName() As String
		Get
			Return Me._EntityName
		End Get
		Set
			If (String.Equals(Me._EntityName, value) = false) Then
				Me._EntityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityDisplayName", DbType:="NVarChar(3000)")>  _
	Public Property EntityDisplayName() As String
		Get
			Return Me._EntityDisplayName
		End Get
		Set
			If (String.Equals(Me._EntityDisplayName, value) = false) Then
				Me._EntityDisplayName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnAliasName", DbType:="NVarChar(64)")>  _
	Public Property ColumnAliasName() As String
		Get
			Return Me._ColumnAliasName
		End Get
		Set
			If (String.Equals(Me._ColumnAliasName, value) = false) Then
				Me._ColumnAliasName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnDisplayName", DbType:="NVarChar(192)")>  _
	Public Property ColumnDisplayName() As String
		Get
			Return Me._ColumnDisplayName
		End Get
		Set
			If (String.Equals(Me._ColumnDisplayName, value) = false) Then
				Me._ColumnDisplayName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PhysicalDataType", DbType:="NVarChar(32)")>  _
	Public Property PhysicalDataType() As String
		Get
			Return Me._PhysicalDataType
		End Get
		Set
			If (String.Equals(Me._PhysicalDataType, value) = false) Then
				Me._PhysicalDataType = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_dtSearch_FILTER_HITSResult4
	
	Private _FLS As System.Nullable(Of Integer)
	
	Private _EntityName As String
	
	Private _ColumnAliasName As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FLS", DbType:="Int")>  _
	Public Property FLS() As System.Nullable(Of Integer)
		Get
			Return Me._FLS
		End Get
		Set
			If (Me._FLS.Equals(value) = false) Then
				Me._FLS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EntityName", DbType:="NVarChar(4000)")>  _
	Public Property EntityName() As String
		Get
			Return Me._EntityName
		End Get
		Set
			If (String.Equals(Me._EntityName, value) = false) Then
				Me._EntityName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ColumnAliasName", DbType:="NVarChar(64)")>  _
	Public Property ColumnAliasName() As String
		Get
			Return Me._ColumnAliasName
		End Get
		Set
			If (String.Equals(Me._ColumnAliasName, value) = false) Then
				Me._ColumnAliasName = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_GET_DBLOCKINFOResult
	
	Private _LOCK_LEVEL As System.Nullable(Of Integer)
	
	Private _LOCK_EFFECTIVE As System.Nullable(Of Date)
	
	Private _USERID As System.Nullable(Of System.Guid)
	
	Private _USERNAME As String
	
	Private _ISSUED_DATETIME As System.Nullable(Of Date)
	
	Private _REMAINING_MINUTES As System.Nullable(Of Decimal)
	
	Private _REASON As String
	
	Private _LOCK_HOST As String
	
	Private _COMMENTS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCK_LEVEL", DbType:="Int")>  _
	Public Property LOCK_LEVEL() As System.Nullable(Of Integer)
		Get
			Return Me._LOCK_LEVEL
		End Get
		Set
			If (Me._LOCK_LEVEL.Equals(value) = false) Then
				Me._LOCK_LEVEL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCK_EFFECTIVE", DbType:="DateTime")>  _
	Public Property LOCK_EFFECTIVE() As System.Nullable(Of Date)
		Get
			Return Me._LOCK_EFFECTIVE
		End Get
		Set
			If (Me._LOCK_EFFECTIVE.Equals(value) = false) Then
				Me._LOCK_EFFECTIVE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERID", DbType:="UniqueIdentifier")>  _
	Public Property USERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERID
		End Get
		Set
			If (Me._USERID.Equals(value) = false) Then
				Me._USERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERNAME", DbType:="NVarChar(128)")>  _
	Public Property USERNAME() As String
		Get
			Return Me._USERNAME
		End Get
		Set
			If (String.Equals(Me._USERNAME, value) = false) Then
				Me._USERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISSUED_DATETIME", DbType:="DateTime")>  _
	Public Property ISSUED_DATETIME() As System.Nullable(Of Date)
		Get
			Return Me._ISSUED_DATETIME
		End Get
		Set
			If (Me._ISSUED_DATETIME.Equals(value) = false) Then
				Me._ISSUED_DATETIME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REMAINING_MINUTES", DbType:="Decimal(12,2)")>  _
	Public Property REMAINING_MINUTES() As System.Nullable(Of Decimal)
		Get
			Return Me._REMAINING_MINUTES
		End Get
		Set
			If (Me._REMAINING_MINUTES.Equals(value) = false) Then
				Me._REMAINING_MINUTES = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_REASON", DbType:="NVarChar(512)")>  _
	Public Property REASON() As String
		Get
			Return Me._REASON
		End Get
		Set
			If (String.Equals(Me._REASON, value) = false) Then
				Me._REASON = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOCK_HOST", DbType:="NVarChar(512)")>  _
	Public Property LOCK_HOST() As String
		Get
			Return Me._LOCK_HOST
		End Get
		Set
			If (String.Equals(Me._LOCK_HOST, value) = false) Then
				Me._LOCK_HOST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMMENTS", DbType:="NVarChar(512)")>  _
	Public Property COMMENTS() As String
		Get
			Return Me._COMMENTS
		End Get
		Set
			If (String.Equals(Me._COMMENTS, value) = false) Then
				Me._COMMENTS = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_GET_USERSESSIONResult
	
	Private _USERSESSIONID As System.Nullable(Of System.Guid)
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Private _HOSTNAME As String
	
	Private _APPLICATION As String
	
	Private _LOGIN_TIME As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USERSESSIONID", DbType:="UniqueIdentifier")>  _
	Public Property USERSESSIONID() As System.Nullable(Of System.Guid)
		Get
			Return Me._USERSESSIONID
		End Get
		Set
			If (Me._USERSESSIONID.Equals(value) = false) Then
				Me._USERSESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOSTNAME", DbType:="NVarChar(64)")>  _
	Public Property HOSTNAME() As String
		Get
			Return Me._HOSTNAME
		End Get
		Set
			If (String.Equals(Me._HOSTNAME, value) = false) Then
				Me._HOSTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLICATION", DbType:="NVarChar(128)")>  _
	Public Property APPLICATION() As String
		Get
			Return Me._APPLICATION
		End Get
		Set
			If (String.Equals(Me._APPLICATION, value) = false) Then
				Me._APPLICATION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LOGIN_TIME", DbType:="DateTime")>  _
	Public Property LOGIN_TIME() As System.Nullable(Of Date)
		Get
			Return Me._LOGIN_TIME
		End Get
		Set
			If (Me._LOGIN_TIME.Equals(value) = false) Then
				Me._LOGIN_TIME = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_DBSIZEResult1
	
	Private _USED_MB As System.Nullable(Of Double)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USED_MB", DbType:="Float")>  _
	Public Property USED_MB() As System.Nullable(Of Double)
		Get
			Return Me._USED_MB
		End Get
		Set
			If (Me._USED_MB.Equals(value) = false) Then
				Me._USED_MB = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_DBSIZEResult2
	
	Private _NAME As String
	
	Private _RESERVED_MB As System.Nullable(Of Decimal)
	
	Private _USED_MB As System.Nullable(Of Decimal)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(3000)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESERVED_MB", DbType:="Decimal(10,2)")>  _
	Public Property RESERVED_MB() As System.Nullable(Of Decimal)
		Get
			Return Me._RESERVED_MB
		End Get
		Set
			If (Me._RESERVED_MB.Equals(value) = false) Then
				Me._RESERVED_MB = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_USED_MB", DbType:="Decimal(10,2)")>  _
	Public Property USED_MB() As System.Nullable(Of Decimal)
		Get
			Return Me._USED_MB
		End Get
		Set
			If (Me._USED_MB.Equals(value) = false) Then
				Me._USED_MB = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_DBSIZEResult3
	
	Private _TABLEDOMAIN As String
	
	Private _RESERVED As System.Nullable(Of Decimal)
	
	Private _DATA As System.Nullable(Of Decimal)
	
	Private _INDEXSIZE As System.Nullable(Of Decimal)
	
	Private _FREESPACE As System.Nullable(Of Decimal)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLEDOMAIN", DbType:="NVarChar(64)")>  _
	Public Property TABLEDOMAIN() As String
		Get
			Return Me._TABLEDOMAIN
		End Get
		Set
			If (String.Equals(Me._TABLEDOMAIN, value) = false) Then
				Me._TABLEDOMAIN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_RESERVED", DbType:="Decimal(10,2)")>  _
	Public Property RESERVED() As System.Nullable(Of Decimal)
		Get
			Return Me._RESERVED
		End Get
		Set
			If (Me._RESERVED.Equals(value) = false) Then
				Me._RESERVED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATA", DbType:="Decimal(10,2)")>  _
	Public Property DATA() As System.Nullable(Of Decimal)
		Get
			Return Me._DATA
		End Get
		Set
			If (Me._DATA.Equals(value) = false) Then
				Me._DATA = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDEXSIZE", DbType:="Decimal(10,2)")>  _
	Public Property INDEXSIZE() As System.Nullable(Of Decimal)
		Get
			Return Me._INDEXSIZE
		End Get
		Set
			If (Me._INDEXSIZE.Equals(value) = false) Then
				Me._INDEXSIZE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FREESPACE", DbType:="Decimal(10,2)")>  _
	Public Property FREESPACE() As System.Nullable(Of Decimal)
		Get
			Return Me._FREESPACE
		End Get
		Set
			If (Me._FREESPACE.Equals(value) = false) Then
				Me._FREESPACE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_PURGE_EVENTLOGSResult
	
	Private _RETAINDAYS As System.Nullable(Of Integer)
	
	Private _CUTOFFDATE As System.Nullable(Of Date)
	
	Private _SYNCDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="RETAIN DAYS", Storage:="_RETAINDAYS", DbType:="Int")>  _
	Public Property RETAINDAYS() As System.Nullable(Of Integer)
		Get
			Return Me._RETAINDAYS
		End Get
		Set
			If (Me._RETAINDAYS.Equals(value) = false) Then
				Me._RETAINDAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CUTOFF DATE", Storage:="_CUTOFFDATE", DbType:="DateTime")>  _
	Public Property CUTOFFDATE() As System.Nullable(Of Date)
		Get
			Return Me._CUTOFFDATE
		End Get
		Set
			If (Me._CUTOFFDATE.Equals(value) = false) Then
				Me._CUTOFFDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="SYNC DATE", Storage:="_SYNCDATE", DbType:="DateTime")>  _
	Public Property SYNCDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCDATE
		End Get
		Set
			If (Me._SYNCDATE.Equals(value) = false) Then
				Me._SYNCDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_REINDEXCHECKResult
	
	Private _TABLENAME As String
	
	Private _OBJECTID As System.Nullable(Of Integer)
	
	Private _INDEXNAME As String
	
	Private _INDEXID As System.Nullable(Of Integer)
	
	Private _INDEXTYPE As String
	
	Private _STATUS As System.Nullable(Of Integer)
	
	Private _Avg_fragmentation_in_percent As System.Nullable(Of Double)
	
	Private _Avg_fragment_size_in_pages As System.Nullable(Of Double)
	
	Private _Fragment_count As System.Nullable(Of Integer)
	
	Private _Record_count As System.Nullable(Of Integer)
	
	Private _Page_count As System.Nullable(Of Integer)
	
	Private _Fill_factor As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(255)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_OBJECTID", DbType:="Int")>  _
	Public Property OBJECTID() As System.Nullable(Of Integer)
		Get
			Return Me._OBJECTID
		End Get
		Set
			If (Me._OBJECTID.Equals(value) = false) Then
				Me._OBJECTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDEXNAME", DbType:="NVarChar(255)")>  _
	Public Property INDEXNAME() As String
		Get
			Return Me._INDEXNAME
		End Get
		Set
			If (String.Equals(Me._INDEXNAME, value) = false) Then
				Me._INDEXNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDEXID", DbType:="Int")>  _
	Public Property INDEXID() As System.Nullable(Of Integer)
		Get
			Return Me._INDEXID
		End Get
		Set
			If (Me._INDEXID.Equals(value) = false) Then
				Me._INDEXID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INDEXTYPE", DbType:="NVarChar(32)")>  _
	Public Property INDEXTYPE() As String
		Get
			Return Me._INDEXTYPE
		End Get
		Set
			If (String.Equals(Me._INDEXTYPE, value) = false) Then
				Me._INDEXTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUS", DbType:="Int")>  _
	Public Property STATUS() As System.Nullable(Of Integer)
		Get
			Return Me._STATUS
		End Get
		Set
			If (Me._STATUS.Equals(value) = false) Then
				Me._STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="avg_fragmentation_in_percent", Storage:="_Avg_fragmentation_in_percent", DbType:="Float")>  _
	Public Property Avg_fragmentation_in_percent() As System.Nullable(Of Double)
		Get
			Return Me._Avg_fragmentation_in_percent
		End Get
		Set
			If (Me._Avg_fragmentation_in_percent.Equals(value) = false) Then
				Me._Avg_fragmentation_in_percent = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="avg_fragment_size_in_pages", Storage:="_Avg_fragment_size_in_pages", DbType:="Float")>  _
	Public Property Avg_fragment_size_in_pages() As System.Nullable(Of Double)
		Get
			Return Me._Avg_fragment_size_in_pages
		End Get
		Set
			If (Me._Avg_fragment_size_in_pages.Equals(value) = false) Then
				Me._Avg_fragment_size_in_pages = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="fragment_count", Storage:="_Fragment_count", DbType:="Int")>  _
	Public Property Fragment_count() As System.Nullable(Of Integer)
		Get
			Return Me._Fragment_count
		End Get
		Set
			If (Me._Fragment_count.Equals(value) = false) Then
				Me._Fragment_count = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="record_count", Storage:="_Record_count", DbType:="Int")>  _
	Public Property Record_count() As System.Nullable(Of Integer)
		Get
			Return Me._Record_count
		End Get
		Set
			If (Me._Record_count.Equals(value) = false) Then
				Me._Record_count = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="page_count", Storage:="_Page_count", DbType:="Int")>  _
	Public Property Page_count() As System.Nullable(Of Integer)
		Get
			Return Me._Page_count
		End Get
		Set
			If (Me._Page_count.Equals(value) = false) Then
				Me._Page_count = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="fill_factor", Storage:="_Fill_factor", DbType:="Int")>  _
	Public Property Fill_factor() As System.Nullable(Of Integer)
		Get
			Return Me._Fill_factor
		End Get
		Set
			If (Me._Fill_factor.Equals(value) = false) Then
				Me._Fill_factor = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_WHOLOCKResult1
	
	Private _Spid As System.Nullable(Of Short)
	
	Private _BlockedBy As System.Nullable(Of Short)
	
	Private _Status As String
	
	Private _Login As String
	
	Private _HostName As String
	
	Private _Program As String
	
	Private _Cmd As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="spid", Storage:="_Spid", DbType:="SmallInt")>  _
	Public Property Spid() As System.Nullable(Of Short)
		Get
			Return Me._Spid
		End Get
		Set
			If (Me._Spid.Equals(value) = false) Then
				Me._Spid = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Blocked By", Storage:="_BlockedBy", DbType:="SmallInt")>  _
	Public Property BlockedBy() As System.Nullable(Of Short)
		Get
			Return Me._BlockedBy
		End Get
		Set
			If (Me._BlockedBy.Equals(value) = false) Then
				Me._BlockedBy = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="status", Storage:="_Status", DbType:="NVarChar(15)")>  _
	Public Property Status() As String
		Get
			Return Me._Status
		End Get
		Set
			If (String.Equals(Me._Status, value) = false) Then
				Me._Status = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Login", DbType:="NVarChar(20)")>  _
	Public Property Login() As String
		Get
			Return Me._Login
		End Get
		Set
			If (String.Equals(Me._Login, value) = false) Then
				Me._Login = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HostName", DbType:="NVarChar(15)")>  _
	Public Property HostName() As String
		Get
			Return Me._HostName
		End Get
		Set
			If (String.Equals(Me._HostName, value) = false) Then
				Me._HostName = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Program", DbType:="NVarChar(30)")>  _
	Public Property Program() As String
		Get
			Return Me._Program
		End Get
		Set
			If (String.Equals(Me._Program, value) = false) Then
				Me._Program = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="cmd", Storage:="_Cmd", DbType:="NChar(16)")>  _
	Public Property Cmd() As String
		Get
			Return Me._Cmd
		End Get
		Set
			If (String.Equals(Me._Cmd, value) = false) Then
				Me._Cmd = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_MAINT_WHOLOCKResult2
	
	Private _Table As String
	
	Private _ResourceType As String
	
	Private _LockMode As String
	
	Private _Req_spid As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_Table", DbType:="NVarChar(30)")>  _
	Public Property Table() As String
		Get
			Return Me._Table
		End Get
		Set
			If (String.Equals(Me._Table, value) = false) Then
				Me._Table = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Resource Type", Storage:="_ResourceType", DbType:="VarChar(11)")>  _
	Public Property ResourceType() As String
		Get
			Return Me._ResourceType
		End Get
		Set
			If (String.Equals(Me._ResourceType, value) = false) Then
				Me._ResourceType = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="Lock Mode", Storage:="_LockMode", DbType:="VarChar(23)")>  _
	Public Property LockMode() As String
		Get
			Return Me._LockMode
		End Get
		Set
			If (String.Equals(Me._LockMode, value) = false) Then
				Me._LockMode = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="req_spid", Storage:="_Req_spid", DbType:="Int")>  _
	Public Property Req_spid() As System.Nullable(Of Integer)
		Get
			Return Me._Req_spid
		End Get
		Set
			If (Me._Req_spid.Equals(value) = false) Then
				Me._Req_spid = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_CHECK4CHANGEResult1
	
	Private _TABLENAME As String
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ACTIONDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime")>  _
	Public Property ACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If (Me._ACTIONDATE.Equals(value) = false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_CHECK4CHANGEResult2
	
	Private _TABLENAME As String
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _ACTIONDATE As System.Nullable(Of Date)
	
	Private _APPLYDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime")>  _
	Public Property ACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If (Me._ACTIONDATE.Equals(value) = false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_APPLYDATE", DbType:="DateTime")>  _
	Public Property APPLYDATE() As System.Nullable(Of Date)
		Get
			Return Me._APPLYDATE
		End Get
		Set
			If (Me._APPLYDATE.Equals(value) = false) Then
				Me._APPLYDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_CHECK4CHANGEResult3
	
	Private _FILENAME As String
	
	Private _PATH As String
	
	Private _ACTIONDATE As System.Nullable(Of Date)
	
	Private _ACTIONCODE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512)")>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me._FILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PATH", DbType:="NVarChar(256)")>  _
	Public Property PATH() As String
		Get
			Return Me._PATH
		End Get
		Set
			If (String.Equals(Me._PATH, value) = false) Then
				Me._PATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime")>  _
	Public Property ACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If (Me._ACTIONDATE.Equals(value) = false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONCODE", DbType:="NVarChar(2)")>  _
	Public Property ACTIONCODE() As String
		Get
			Return Me._ACTIONCODE
		End Get
		Set
			If (String.Equals(Me._ACTIONCODE, value) = false) Then
				Me._ACTIONCODE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_CHECK4CHANGEResult4
	
	Private _TABLENAME As String
	
	Private _ROWEXCEPTIONID As System.Nullable(Of Integer)
	
	Private _SESSIONID As System.Nullable(Of Integer)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _ROWID2 As System.Nullable(Of System.Guid)
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Private _ACTIONDATE As System.Nullable(Of Date)
	
	Private _DETAILS As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWEXCEPTIONID", DbType:="Int")>  _
	Public Property ROWEXCEPTIONID() As System.Nullable(Of Integer)
		Get
			Return Me._ROWEXCEPTIONID
		End Get
		Set
			If (Me._ROWEXCEPTIONID.Equals(value) = false) Then
				Me._ROWEXCEPTIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SESSIONID", DbType:="Int")>  _
	Public Property SESSIONID() As System.Nullable(Of Integer)
		Get
			Return Me._SESSIONID
		End Get
		Set
			If (Me._SESSIONID.Equals(value) = false) Then
				Me._SESSIONID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID2", DbType:="UniqueIdentifier")>  _
	Public Property ROWID2() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID2
		End Get
		Set
			If (Me._ROWID2.Equals(value) = false) Then
				Me._ROWID2 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACTIONDATE", DbType:="DateTime")>  _
	Public Property ACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._ACTIONDATE
		End Get
		Set
			If (Me._ACTIONDATE.Equals(value) = false) Then
				Me._ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DETAILS", DbType:="NVarChar(32)")>  _
	Public Property DETAILS() As String
		Get
			Return Me._DETAILS
		End Get
		Set
			If (String.Equals(Me._DETAILS, value) = false) Then
				Me._DETAILS = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_EXPIREDATABASEResult
	
	Private _SERVERNAME As String
	
	Private _DATABASENAME As String
	
	Private _EXPIREDAYS As System.Nullable(Of Short)
	
	Private _LAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _DAYS_LEFT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERVERNAME", DbType:="NVarChar(64)")>  _
	Public Property SERVERNAME() As String
		Get
			Return Me._SERVERNAME
		End Get
		Set
			If (String.Equals(Me._SERVERNAME, value) = false) Then
				Me._SERVERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASENAME", DbType:="NVarChar(196)")>  _
	Public Property DATABASENAME() As String
		Get
			Return Me._DATABASENAME
		End Get
		Set
			If (String.Equals(Me._DATABASENAME, value) = false) Then
				Me._DATABASENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREDAYS", DbType:="SmallInt")>  _
	Public Property EXPIREDAYS() As System.Nullable(Of Short)
		Get
			Return Me._EXPIREDAYS
		End Get
		Set
			If (Me._EXPIREDAYS.Equals(value) = false) Then
				Me._EXPIREDAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property LAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If (Me._LAST_SUCCESSDATE.Equals(value) = false) Then
				Me._LAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DAYS_LEFT", DbType:="Int")>  _
	Public Property DAYS_LEFT() As System.Nullable(Of Integer)
		Get
			Return Me._DAYS_LEFT
		End Get
		Set
			If (Me._DAYS_LEFT.Equals(value) = false) Then
				Me._DAYS_LEFT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_LOOKUPLASTSYNCResult1
	
	Private _Column1 As String
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _DBID As System.Nullable(Of Short)
	
	Private _LAST_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _LAST_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _LAST_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _LAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _NEXT_ADDSYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_DELSYNCROWID As System.Nullable(Of Integer)
	
	Private _NEXT_UPDSENDDATE As System.Nullable(Of Date)
	
	Private _NEXT_SUCCESSDATE As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="VarChar(6)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DBID", DbType:="SmallInt")>  _
	Public Property DBID() As System.Nullable(Of Short)
		Get
			Return Me._DBID
		End Get
		Set
			If (Me._DBID.Equals(value) = false) Then
				Me._DBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_ADDSYNCROWID", DbType:="Int")>  _
	Public Property LAST_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._LAST_ADDSYNCROWID
		End Get
		Set
			If (Me._LAST_ADDSYNCROWID.Equals(value) = false) Then
				Me._LAST_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_DELSYNCROWID", DbType:="Int")>  _
	Public Property LAST_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._LAST_DELSYNCROWID
		End Get
		Set
			If (Me._LAST_DELSYNCROWID.Equals(value) = false) Then
				Me._LAST_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property LAST_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_UPDSENDDATE
		End Get
		Set
			If (Me._LAST_UPDSENDDATE.Equals(value) = false) Then
				Me._LAST_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property LAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If (Me._LAST_SUCCESSDATE.Equals(value) = false) Then
				Me._LAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_ADDSYNCROWID", DbType:="Int")>  _
	Public Property NEXT_ADDSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_ADDSYNCROWID
		End Get
		Set
			If (Me._NEXT_ADDSYNCROWID.Equals(value) = false) Then
				Me._NEXT_ADDSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_DELSYNCROWID", DbType:="Int")>  _
	Public Property NEXT_DELSYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._NEXT_DELSYNCROWID
		End Get
		Set
			If (Me._NEXT_DELSYNCROWID.Equals(value) = false) Then
				Me._NEXT_DELSYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_UPDSENDDATE", DbType:="DateTime")>  _
	Public Property NEXT_UPDSENDDATE() As System.Nullable(Of Date)
		Get
			Return Me._NEXT_UPDSENDDATE
		End Get
		Set
			If (Me._NEXT_UPDSENDDATE.Equals(value) = false) Then
				Me._NEXT_UPDSENDDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXT_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property NEXT_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._NEXT_SUCCESSDATE
		End Get
		Set
			If (Me._NEXT_SUCCESSDATE.Equals(value) = false) Then
				Me._NEXT_SUCCESSDATE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_LOOKUPLASTSYNCResult2
	
	Private _Column1 As String
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _TABLENAME As String
	
	Private _TABLELUID As String
	
	Private _SYNCDB As String
	
	Private _ORIGIN_DBID As System.Nullable(Of Short)
	
	Private _ROWID1 As System.Nullable(Of System.Guid)
	
	Private _SYNCACTION As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="VarChar(28)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(25)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLELUID", DbType:="NVarChar(9)")>  _
	Public Property TABLELUID() As String
		Get
			Return Me._TABLELUID
		End Get
		Set
			If (String.Equals(Me._TABLELUID, value) = false) Then
				Me._TABLELUID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDB", DbType:="NVarChar(25)")>  _
	Public Property SYNCDB() As String
		Get
			Return Me._SYNCDB
		End Get
		Set
			If (String.Equals(Me._SYNCDB, value) = false) Then
				Me._SYNCDB = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ORIGIN_DBID", DbType:="SmallInt")>  _
	Public Property ORIGIN_DBID() As System.Nullable(Of Short)
		Get
			Return Me._ORIGIN_DBID
		End Get
		Set
			If (Me._ORIGIN_DBID.Equals(value) = false) Then
				Me._ORIGIN_DBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWID1", DbType:="UniqueIdentifier")>  _
	Public Property ROWID1() As System.Nullable(Of System.Guid)
		Get
			Return Me._ROWID1
		End Get
		Set
			If (Me._ROWID1.Equals(value) = false) Then
				Me._ROWID1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCACTION", DbType:="NChar(1)")>  _
	Public Property SYNCACTION() As String
		Get
			Return Me._SYNCACTION
		End Get
		Set
			If (String.Equals(Me._SYNCACTION, value) = false) Then
				Me._SYNCACTION = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PROCESS_CHK4LUIDSResult
	
	Private _TABLENAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PROCESS_COMPLETEResult
	
	Private _Column1 As String
	
	Private _CONTACTID As System.Nullable(Of System.Guid)
	
	Private _FULLNAME As String
	
	Private _COMPANYNAME As String
	
	Private _BUSINESS_PHONE As String
	
	Private _MANAGEUSERID As System.Nullable(Of System.Guid)
	
	Private _ISPRIVATE As System.Nullable(Of Boolean)
	
	Private _DELETEUSERID As System.Nullable(Of System.Guid)
	
	Private _DELETEDATE As System.Nullable(Of Date)
	
	Private _LASTNAME As String
	
	Private _FIRSTNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="", Storage:="_Column1", DbType:="NVarChar(46)")>  _
	Public Property Column1() As String
		Get
			Return Me._Column1
		End Get
		Set
			If (String.Equals(Me._Column1, value) = false) Then
				Me._Column1 = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACTID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACTID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACTID
		End Get
		Set
			If (Me._CONTACTID.Equals(value) = false) Then
				Me._CONTACTID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FULLNAME", DbType:="NVarChar(256)")>  _
	Public Property FULLNAME() As String
		Get
			Return Me._FULLNAME
		End Get
		Set
			If (String.Equals(Me._FULLNAME, value) = false) Then
				Me._FULLNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANYNAME", DbType:="NVarChar(256)")>  _
	Public Property COMPANYNAME() As String
		Get
			Return Me._COMPANYNAME
		End Get
		Set
			If (String.Equals(Me._COMPANYNAME, value) = false) Then
				Me._COMPANYNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_BUSINESS_PHONE", DbType:="NVarChar(32)")>  _
	Public Property BUSINESS_PHONE() As String
		Get
			Return Me._BUSINESS_PHONE
		End Get
		Set
			If (String.Equals(Me._BUSINESS_PHONE, value) = false) Then
				Me._BUSINESS_PHONE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_MANAGEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property MANAGEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._MANAGEUSERID
		End Get
		Set
			If (Me._MANAGEUSERID.Equals(value) = false) Then
				Me._MANAGEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISPRIVATE", DbType:="Bit")>  _
	Public Property ISPRIVATE() As System.Nullable(Of Boolean)
		Get
			Return Me._ISPRIVATE
		End Get
		Set
			If (Me._ISPRIVATE.Equals(value) = false) Then
				Me._ISPRIVATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETEUSERID", DbType:="UniqueIdentifier")>  _
	Public Property DELETEUSERID() As System.Nullable(Of System.Guid)
		Get
			Return Me._DELETEUSERID
		End Get
		Set
			If (Me._DELETEUSERID.Equals(value) = false) Then
				Me._DELETEUSERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DELETEDATE", DbType:="DateTime")>  _
	Public Property DELETEDATE() As System.Nullable(Of Date)
		Get
			Return Me._DELETEDATE
		End Get
		Set
			If (Me._DELETEDATE.Equals(value) = false) Then
				Me._DELETEDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LASTNAME", DbType:="NVarChar(128)")>  _
	Public Property LASTNAME() As String
		Get
			Return Me._LASTNAME
		End Get
		Set
			If (String.Equals(Me._LASTNAME, value) = false) Then
				Me._LASTNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FIRSTNAME", DbType:="NVarChar(64)")>  _
	Public Property FIRSTNAME() As String
		Get
			Return Me._FIRSTNAME
		End Get
		Set
			If (String.Equals(Me._FIRSTNAME, value) = false) Then
				Me._FIRSTNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PROCESS_FILEResult
	
	Private _SYNCHDR_ORDINAL As System.Nullable(Of Integer)
	
	Private _SYNCHDR_COLUMNCNT As String
	
	Private _SYNCHDR_ACTION As String
	
	Private _SYNCHDR_STATUS As String
	
	Private _SYNCHDR_ACTIONDATE As System.Nullable(Of Date)
	
	Private _SYNCHDR_ORIGDBID As System.Nullable(Of Short)
	
	Private _SYNCROWID As System.Nullable(Of Integer)
	
	Private _FOLDERID As System.Nullable(Of Byte)
	
	Private _PATH As String
	
	Private _FILENAME As String
	
	Private _FILEHASH As String
	
	Private _FILEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCHDR_ORDINAL", DbType:="Int")>  _
	Public Property SYNCHDR_ORDINAL() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCHDR_ORDINAL
		End Get
		Set
			If (Me._SYNCHDR_ORDINAL.Equals(value) = false) Then
				Me._SYNCHDR_ORDINAL = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCHDR_COLUMNCNT", DbType:="VarChar(1)")>  _
	Public Property SYNCHDR_COLUMNCNT() As String
		Get
			Return Me._SYNCHDR_COLUMNCNT
		End Get
		Set
			If (String.Equals(Me._SYNCHDR_COLUMNCNT, value) = false) Then
				Me._SYNCHDR_COLUMNCNT = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCHDR_ACTION", DbType:="Char(2)")>  _
	Public Property SYNCHDR_ACTION() As String
		Get
			Return Me._SYNCHDR_ACTION
		End Get
		Set
			If (String.Equals(Me._SYNCHDR_ACTION, value) = false) Then
				Me._SYNCHDR_ACTION = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCHDR_STATUS", DbType:="VarChar(1)")>  _
	Public Property SYNCHDR_STATUS() As String
		Get
			Return Me._SYNCHDR_STATUS
		End Get
		Set
			If (String.Equals(Me._SYNCHDR_STATUS, value) = false) Then
				Me._SYNCHDR_STATUS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCHDR_ACTIONDATE", DbType:="DateTime")>  _
	Public Property SYNCHDR_ACTIONDATE() As System.Nullable(Of Date)
		Get
			Return Me._SYNCHDR_ACTIONDATE
		End Get
		Set
			If (Me._SYNCHDR_ACTIONDATE.Equals(value) = false) Then
				Me._SYNCHDR_ACTIONDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCHDR_ORIGDBID", DbType:="SmallInt")>  _
	Public Property SYNCHDR_ORIGDBID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCHDR_ORIGDBID
		End Get
		Set
			If (Me._SYNCHDR_ORIGDBID.Equals(value) = false) Then
				Me._SYNCHDR_ORIGDBID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCROWID", DbType:="Int")>  _
	Public Property SYNCROWID() As System.Nullable(Of Integer)
		Get
			Return Me._SYNCROWID
		End Get
		Set
			If (Me._SYNCROWID.Equals(value) = false) Then
				Me._SYNCROWID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FOLDERID", DbType:="TinyInt")>  _
	Public Property FOLDERID() As System.Nullable(Of Byte)
		Get
			Return Me._FOLDERID
		End Get
		Set
			If (Me._FOLDERID.Equals(value) = false) Then
				Me._FOLDERID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_PATH", DbType:="NVarChar(256)")>  _
	Public Property PATH() As String
		Get
			Return Me._PATH
		End Get
		Set
			If (String.Equals(Me._PATH, value) = false) Then
				Me._PATH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILENAME", DbType:="NVarChar(512)")>  _
	Public Property FILENAME() As String
		Get
			Return Me._FILENAME
		End Get
		Set
			If (String.Equals(Me._FILENAME, value) = false) Then
				Me._FILENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEHASH", DbType:="Char(34)")>  _
	Public Property FILEHASH() As String
		Get
			Return Me._FILEHASH
		End Get
		Set
			If (String.Equals(Me._FILEHASH, value) = false) Then
				Me._FILEHASH = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_FILEID", DbType:="UniqueIdentifier")>  _
	Public Property FILEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._FILEID
		End Get
		Set
			If (Me._FILEID.Equals(value) = false) Then
				Me._FILEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult1
	
	Private _ROWTYPE As String
	
	Private _EARLIEST As System.Nullable(Of Date)
	
	Private _LATEST As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWTYPE", DbType:="VarChar(14)")>  _
	Public Property ROWTYPE() As String
		Get
			Return Me._ROWTYPE
		End Get
		Set
			If (String.Equals(Me._ROWTYPE, value) = false) Then
				Me._ROWTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EARLIEST", DbType:="DateTime")>  _
	Public Property EARLIEST() As System.Nullable(Of Date)
		Get
			Return Me._EARLIEST
		End Get
		Set
			If (Me._EARLIEST.Equals(value) = false) Then
				Me._EARLIEST = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LATEST", DbType:="DateTime")>  _
	Public Property LATEST() As System.Nullable(Of Date)
		Get
			Return Me._LATEST
		End Get
		Set
			If (Me._LATEST.Equals(value) = false) Then
				Me._LATEST = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult2
	
	Private _ROWTYPE As String
	
	Private _TABLE_COLUMN As String
	
	Private _ROWCOUNT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWTYPE", DbType:="VarChar(35)")>  _
	Public Property ROWTYPE() As String
		Get
			Return Me._ROWTYPE
		End Get
		Set
			If (String.Equals(Me._ROWTYPE, value) = false) Then
				Me._ROWTYPE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="TABLE.COLUMN", Storage:="_TABLE_COLUMN", DbType:="NVarChar(97)")>  _
	Public Property TABLE_COLUMN() As String
		Get
			Return Me._TABLE_COLUMN
		End Get
		Set
			If (String.Equals(Me._TABLE_COLUMN, value) = false) Then
				Me._TABLE_COLUMN = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ROWCOUNT", DbType:="Int")>  _
	Public Property ROWCOUNT() As System.Nullable(Of Integer)
		Get
			Return Me._ROWCOUNT
		End Get
		Set
			If (Me._ROWCOUNT.Equals(value) = false) Then
				Me._ROWCOUNT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult3
	
	Private _SERVERNAME As String
	
	Private _DATABASENAME As String
	
	Private _EXPIREDAYS As System.Nullable(Of Short)
	
	Private _LAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _DAYS_LEFT As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SERVERNAME", DbType:="NVarChar(64)")>  _
	Public Property SERVERNAME() As String
		Get
			Return Me._SERVERNAME
		End Get
		Set
			If (String.Equals(Me._SERVERNAME, value) = false) Then
				Me._SERVERNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASENAME", DbType:="NVarChar(196)")>  _
	Public Property DATABASENAME() As String
		Get
			Return Me._DATABASENAME
		End Get
		Set
			If (String.Equals(Me._DATABASENAME, value) = false) Then
				Me._DATABASENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREDAYS", DbType:="SmallInt")>  _
	Public Property EXPIREDAYS() As System.Nullable(Of Short)
		Get
			Return Me._EXPIREDAYS
		End Get
		Set
			If (Me._EXPIREDAYS.Equals(value) = false) Then
				Me._EXPIREDAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property LAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If (Me._LAST_SUCCESSDATE.Equals(value) = false) Then
				Me._LAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DAYS_LEFT", DbType:="Int")>  _
	Public Property DAYS_LEFT() As System.Nullable(Of Integer)
		Get
			Return Me._DAYS_LEFT
		End Get
		Set
			If (Me._DAYS_LEFT.Equals(value) = false) Then
				Me._DAYS_LEFT = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult4
	
	Private _SYNCDBMAPID As System.Nullable(Of Short)
	
	Private _STATUSNUM As System.Nullable(Of Byte)
	
	Private _LAST_SUCCESSDATE As System.Nullable(Of Date)
	
	Private _EXPIREDAYS As System.Nullable(Of Short)
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Private _COMPUTED_EXPIREDATE As System.Nullable(Of Date)
	
	Private _DATABASENAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_SYNCDBMAPID", DbType:="SmallInt")>  _
	Public Property SYNCDBMAPID() As System.Nullable(Of Short)
		Get
			Return Me._SYNCDBMAPID
		End Get
		Set
			If (Me._SYNCDBMAPID.Equals(value) = false) Then
				Me._SYNCDBMAPID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="TinyInt")>  _
	Public Property STATUSNUM() As System.Nullable(Of Byte)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_LAST_SUCCESSDATE", DbType:="DateTime")>  _
	Public Property LAST_SUCCESSDATE() As System.Nullable(Of Date)
		Get
			Return Me._LAST_SUCCESSDATE
		End Get
		Set
			If (Me._LAST_SUCCESSDATE.Equals(value) = false) Then
				Me._LAST_SUCCESSDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_EXPIREDAYS", DbType:="SmallInt")>  _
	Public Property EXPIREDAYS() As System.Nullable(Of Short)
		Get
			Return Me._EXPIREDAYS
		End Get
		Set
			If (Me._EXPIREDAYS.Equals(value) = false) Then
				Me._EXPIREDAYS = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPUTED_EXPIREDATE", DbType:="DateTime")>  _
	Public Property COMPUTED_EXPIREDATE() As System.Nullable(Of Date)
		Get
			Return Me._COMPUTED_EXPIREDATE
		End Get
		Set
			If (Me._COMPUTED_EXPIREDATE.Equals(value) = false) Then
				Me._COMPUTED_EXPIREDATE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DATABASENAME", DbType:="NVarChar(196)")>  _
	Public Property DATABASENAME() As String
		Get
			Return Me._DATABASENAME
		End Get
		Set
			If (String.Equals(Me._DATABASENAME, value) = false) Then
				Me._DATABASENAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult5
	
	Private _DELETINGSYNCROW_ADDROWS As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DELETING SYNCROW_ADD ROWS", Storage:="_DELETINGSYNCROW_ADDROWS", DbType:="Int")>  _
	Public Property DELETINGSYNCROW_ADDROWS() As System.Nullable(Of Integer)
		Get
			Return Me._DELETINGSYNCROW_ADDROWS
		End Get
		Set
			If (Me._DELETINGSYNCROW_ADDROWS.Equals(value) = false) Then
				Me._DELETINGSYNCROW_ADDROWS = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult6
	
	Private _DELETINGSYNCROW_DELETEROWS As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DELETING SYNCROW_DELETE ROWS", Storage:="_DELETINGSYNCROW_DELETEROWS", DbType:="Int")>  _
	Public Property DELETINGSYNCROW_DELETEROWS() As System.Nullable(Of Integer)
		Get
			Return Me._DELETINGSYNCROW_DELETEROWS
		End Get
		Set
			If (Me._DELETINGSYNCROW_DELETEROWS.Equals(value) = false) Then
				Me._DELETINGSYNCROW_DELETEROWS = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_SYNC_PURGELOGSResult7
	
	Private _DELETINGSYNCROW_UPDATECOLUMNROWS As System.Nullable(Of Integer)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="DELETING SYNCROW_UPDATECOLUMN ROWS", Storage:="_DELETINGSYNCROW_UPDATECOLUMNROWS", DbType:="Int")>  _
	Public Property DELETINGSYNCROW_UPDATECOLUMNROWS() As System.Nullable(Of Integer)
		Get
			Return Me._DELETINGSYNCROW_UPDATECOLUMNROWS
		End Get
		Set
			If (Me._DELETINGSYNCROW_UPDATECOLUMNROWS.Equals(value) = false) Then
				Me._DELETINGSYNCROW_UPDATECOLUMNROWS = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_UPD_LINKED_CONTACTFIELDSResult
	
	Private _COMPANY_TABLENAME As String
	
	Private _COMPANY_TYPENUM As System.Nullable(Of Byte)
	
	Private _COMPANY_REF_TABLE As String
	
	Private _COMPANY_TYPEID As System.Nullable(Of System.Guid)
	
	Private _CONTACT_TABLENAME As String
	
	Private _CONTACT_TYPENUM As System.Nullable(Of Byte)
	
	Private _CONTACT_REF_TABLE As String
	
	Private _CONTACT_TYPEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property COMPANY_TABLENAME() As String
		Get
			Return Me._COMPANY_TABLENAME
		End Get
		Set
			If (String.Equals(Me._COMPANY_TABLENAME, value) = false) Then
				Me._COMPANY_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_TYPENUM", DbType:="TinyInt")>  _
	Public Property COMPANY_TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._COMPANY_TYPENUM
		End Get
		Set
			If (Me._COMPANY_TYPENUM.Equals(value) = false) Then
				Me._COMPANY_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_REF_TABLE", DbType:="NVarChar(12)")>  _
	Public Property COMPANY_REF_TABLE() As String
		Get
			Return Me._COMPANY_REF_TABLE
		End Get
		Set
			If (String.Equals(Me._COMPANY_REF_TABLE, value) = false) Then
				Me._COMPANY_REF_TABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COMPANY_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property COMPANY_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COMPANY_TYPEID
		End Get
		Set
			If (Me._COMPANY_TYPEID.Equals(value) = false) Then
				Me._COMPANY_TYPEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property CONTACT_TABLENAME() As String
		Get
			Return Me._CONTACT_TABLENAME
		End Get
		Set
			If (String.Equals(Me._CONTACT_TABLENAME, value) = false) Then
				Me._CONTACT_TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_TYPENUM", DbType:="TinyInt")>  _
	Public Property CONTACT_TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._CONTACT_TYPENUM
		End Get
		Set
			If (Me._CONTACT_TYPENUM.Equals(value) = false) Then
				Me._CONTACT_TYPENUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_REF_TABLE", DbType:="NVarChar(12)")>  _
	Public Property CONTACT_REF_TABLE() As String
		Get
			Return Me._CONTACT_REF_TABLE
		End Get
		Set
			If (String.Equals(Me._CONTACT_REF_TABLE, value) = false) Then
				Me._CONTACT_REF_TABLE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_CONTACT_TYPEID", DbType:="UniqueIdentifier")>  _
	Public Property CONTACT_TYPEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._CONTACT_TYPEID
		End Get
		Set
			If (Me._CONTACT_TYPEID.Equals(value) = false) Then
				Me._CONTACT_TYPEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_UPD_SYSCOLUMN_ACLResult
	
	Private _COLUMNID As System.Nullable(Of System.Guid)
	
	Private _TABLENAME As String
	
	Private _COLUMNNAME As String
	
	Private _ACCESSORID As System.Nullable(Of System.Guid)
	
	Private _NAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNID", DbType:="UniqueIdentifier")>  _
	Public Property COLUMNID() As System.Nullable(Of System.Guid)
		Get
			Return Me._COLUMNID
		End Get
		Set
			If (Me._COLUMNID.Equals(value) = false) Then
				Me._COLUMNID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ACCESSORID", DbType:="UniqueIdentifier")>  _
	Public Property ACCESSORID() As System.Nullable(Of System.Guid)
		Get
			Return Me._ACCESSORID
		End Get
		Set
			If (Me._ACCESSORID.Equals(value) = false) Then
				Me._ACCESSORID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NAME", DbType:="NVarChar(128)")>  _
	Public Property NAME() As String
		Get
			Return Me._NAME
		End Get
		Set
			If (String.Equals(Me._NAME, value) = false) Then
				Me._NAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_UPD_VIRTUALCOLUMN_LITEResult1
	
	Private _DEBUG As String
	
	Private _TABLENAME As String
	
	Private _COLUMNNAME As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_DEBUG", DbType:="VarChar(22)")>  _
	Public Property DEBUG() As String
		Get
			Return Me._DEBUG
		End Get
		Set
			If (String.Equals(Me._DEBUG, value) = false) Then
				Me._DEBUG = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_UPD_VIRTUALCOLUMN_LITEResult2
	
	Private _HOSTTABLE As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_HOSTTABLE", DbType:="NVarChar(32)")>  _
	Public Property HOSTTABLE() As String
		Get
			Return Me._HOSTTABLE
		End Get
		Set
			If (String.Equals(Me._HOSTTABLE, value) = false) Then
				Me._HOSTTABLE = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_UPD_VIRTUALCOLUMN_LITEResult3
	
	Private _CASE As String
	
	Private _TABLENAME As String
	
	Private _COLUMNNAME As String
	
	Private _TYPENUM As System.Nullable(Of Byte)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="CASE", Storage:="_CASE", DbType:="VarChar(29)")>  _
	Public Property [CASE]() As String
		Get
			Return Me._CASE
		End Get
		Set
			If (String.Equals(Me._CASE, value) = false) Then
				Me._CASE = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TABLENAME", DbType:="NVarChar(32)")>  _
	Public Property TABLENAME() As String
		Get
			Return Me._TABLENAME
		End Get
		Set
			If (String.Equals(Me._TABLENAME, value) = false) Then
				Me._TABLENAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_COLUMNNAME", DbType:="NVarChar(64)")>  _
	Public Property COLUMNNAME() As String
		Get
			Return Me._COLUMNNAME
		End Get
		Set
			If (String.Equals(Me._COLUMNNAME, value) = false) Then
				Me._COLUMNNAME = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_TYPENUM", DbType:="TinyInt")>  _
	Public Property TYPENUM() As System.Nullable(Of Byte)
		Get
			Return Me._TYPENUM
		End Get
		Set
			If (Me._TYPENUM.Equals(value) = false) Then
				Me._TYPENUM = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_UPD_VIRTUALCOLUMN_LOCALEResult
	
	Private _CLOCAL_FIELD_STRING As String
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Name:="cLOCAL_FIELD_STRING", Storage:="_CLOCAL_FIELD_STRING", DbType:="NVarChar(64)")>  _
	Public Property CLOCAL_FIELD_STRING() As String
		Get
			Return Me._CLOCAL_FIELD_STRING
		End Get
		Set
			If (String.Equals(Me._CLOCAL_FIELD_STRING, value) = false) Then
				Me._CLOCAL_FIELD_STRING = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_WF_RETRIEVE_ALL_INSTANCEDESCRIPTIONSResult
	
	Private _INSTANCESTATEID As System.Nullable(Of System.Guid)
	
	Private _STATUSNUM As System.Nullable(Of Integer)
	
	Private _ISBLOCKED As System.Nullable(Of Boolean)
	
	Private _INFO As String
	
	Private _NEXTTIMER As System.Nullable(Of Date)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCESTATEID", DbType:="UniqueIdentifier")>  _
	Public Property INSTANCESTATEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._INSTANCESTATEID
		End Get
		Set
			If (Me._INSTANCESTATEID.Equals(value) = false) Then
				Me._INSTANCESTATEID = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_STATUSNUM", DbType:="Int")>  _
	Public Property STATUSNUM() As System.Nullable(Of Integer)
		Get
			Return Me._STATUSNUM
		End Get
		Set
			If (Me._STATUSNUM.Equals(value) = false) Then
				Me._STATUSNUM = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_ISBLOCKED", DbType:="Bit")>  _
	Public Property ISBLOCKED() As System.Nullable(Of Boolean)
		Get
			Return Me._ISBLOCKED
		End Get
		Set
			If (Me._ISBLOCKED.Equals(value) = false) Then
				Me._ISBLOCKED = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INFO", DbType:="NVarChar(MAX)")>  _
	Public Property INFO() As String
		Get
			Return Me._INFO
		End Get
		Set
			If (String.Equals(Me._INFO, value) = false) Then
				Me._INFO = value
			End If
		End Set
	End Property
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_NEXTTIMER", DbType:="DateTime")>  _
	Public Property NEXTTIMER() As System.Nullable(Of Date)
		Get
			Return Me._NEXTTIMER
		End Get
		Set
			If (Me._NEXTTIMER.Equals(value) = false) Then
				Me._NEXTTIMER = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_WF_RETRIEVE_EXPIREDTIMERIDSResult
	
	Private _INSTANCESTATEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCESTATEID", DbType:="UniqueIdentifier")>  _
	Public Property INSTANCESTATEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._INSTANCESTATEID
		End Get
		Set
			If (Me._INSTANCESTATEID.Equals(value) = false) Then
				Me._INSTANCESTATEID = value
			End If
		End Set
	End Property
End Class

Partial Public Class PRC_WF_RETRIEVE_NONBLOCKING_INSTANCESTATEIDSResult
	
	Private _INSTANCESTATEID As System.Nullable(Of System.Guid)
	
	Public Sub New()
		MyBase.New
	End Sub
	
	<Global.System.Data.Linq.Mapping.ColumnAttribute(Storage:="_INSTANCESTATEID", DbType:="UniqueIdentifier")>  _
	Public Property INSTANCESTATEID() As System.Nullable(Of System.Guid)
		Get
			Return Me._INSTANCESTATEID
		End Get
		Set
			If (Me._INSTANCESTATEID.Equals(value) = false) Then
				Me._INSTANCESTATEID = value
			End If
		End Set
	End Property
End Class
