'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
'
' 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
Namespace LightSwitchApplication.Implementation
#Region "Person"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class Person
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property LastName() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.LastName
Get
Return Me._LastName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._LastName, value) Then
Me.RaiseDataMemberChanging("LastName")
Me.ValidateProperty("LastName", value)
Me._LastName = value
Me.RaiseDataMemberChanged("LastName")
End If
End Set
End Property
Private _LastName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property FirstName() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.FirstName
Get
Return Me._FirstName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._FirstName, value) Then
Me.RaiseDataMemberChanging("FirstName")
Me.ValidateProperty("FirstName", value)
Me._FirstName = value
Me.RaiseDataMemberChanged("FirstName")
End If
End Set
End Property
Private _FirstName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Salutation() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Salutation
Get
Return Me._Salutation
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Salutation, value) Then
Me.RaiseDataMemberChanging("Salutation")
Me.ValidateProperty("Salutation", value)
Me._Salutation = value
Me.RaiseDataMemberChanged("Salutation")
End If
End Set
End Property
Private _Salutation As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property NameSuffix() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.NameSuffix
Get
Return Me._NameSuffix
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._NameSuffix, value) Then
Me.RaiseDataMemberChanging("NameSuffix")
Me.ValidateProperty("NameSuffix", value)
Me._NameSuffix = value
Me.RaiseDataMemberChanged("NameSuffix")
End If
End Set
End Property
Private _NameSuffix As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address1() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Address1
Get
Return Me._Address1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address1, value) Then
Me.RaiseDataMemberChanging("Address1")
Me.ValidateProperty("Address1", value)
Me._Address1 = value
Me.RaiseDataMemberChanged("Address1")
End If
End Set
End Property
Private _Address1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address2() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Address2
Get
Return Me._Address2
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address2, value) Then
Me.RaiseDataMemberChanging("Address2")
Me.ValidateProperty("Address2", value)
Me._Address2 = value
Me.RaiseDataMemberChanged("Address2")
End If
End Set
End Property
Private _Address2 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property City() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.City
Get
Return Me._City
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._City, value) Then
Me.RaiseDataMemberChanging("City")
Me.ValidateProperty("City", value)
Me._City = value
Me.RaiseDataMemberChanged("City")
End If
End Set
End Property
Private _City As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property State() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.State
Get
Return Me._State
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._State, value) Then
Me.RaiseDataMemberChanging("State")
Me.ValidateProperty("State", value)
Me._State = value
Me.RaiseDataMemberChanged("State")
End If
End Set
End Property
Private _State As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Zip() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Zip
Get
Return Me._Zip
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Zip, value) Then
Me.RaiseDataMemberChanging("Zip")
Me.ValidateProperty("Zip", value)
Me._Zip = value
Me.RaiseDataMemberChanged("Zip")
End If
End Set
End Property
Private _Zip As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Email() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Email
Get
Return Me._Email
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Email, value) Then
Me.RaiseDataMemberChanging("Email")
Me.ValidateProperty("Email", value)
Me._Email = value
Me.RaiseDataMemberChanged("Email")
End If
End Set
End Property
Private _Email As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SecondaryContactFlag() As Boolean Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.SecondaryContactFlag
Get
Return Me._SecondaryContactFlag
End Get
Set(ByVal value As Boolean)
If Not Global.System.Object.Equals(Me._SecondaryContactFlag, value) Then
Me.RaiseDataMemberChanging("SecondaryContactFlag")
Me.ValidateProperty("SecondaryContactFlag", value)
Me._SecondaryContactFlag = value
Me.RaiseDataMemberChanged("SecondaryContactFlag")
End If
End Set
End Property
Private _SecondaryContactFlag As Boolean
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property HomePhone() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.HomePhone
Get
Return Me._HomePhone
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._HomePhone, value) Then
Me.RaiseDataMemberChanging("HomePhone")
Me.ValidateProperty("HomePhone", value)
Me._HomePhone = value
Me.RaiseDataMemberChanged("HomePhone")
End If
End Set
End Property
Private _HomePhone As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MobilPhone() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.MobilPhone
Get
Return Me._MobilPhone
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MobilPhone, value) Then
Me.RaiseDataMemberChanging("MobilPhone")
Me.ValidateProperty("MobilPhone", value)
Me._MobilPhone = value
Me.RaiseDataMemberChanged("MobilPhone")
End If
End Set
End Property
Private _MobilPhone As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property BusinessPhone() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.BusinessPhone
Get
Return Me._BusinessPhone
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._BusinessPhone, value) Then
Me.RaiseDataMemberChanging("BusinessPhone")
Me.ValidateProperty("BusinessPhone", value)
Me._BusinessPhone = value
Me.RaiseDataMemberChanged("BusinessPhone")
End If
End Set
End Property
Private _BusinessPhone As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Company() As String Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Company
Get
Return Me._Company
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Company, value) Then
Me.RaiseDataMemberChanging("Company")
Me.ValidateProperty("Company", value)
Me._Company = value
Me.RaiseDataMemberChanged("Company")
End If
End Set
End Property
Private _Company As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property RefNumber() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.RefNumber
Get
Return Me._RefNumber
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._RefNumber, value) Then
Me.RaiseDataMemberChanging("RefNumber")
Me.ValidateProperty("RefNumber", value)
Me._RefNumber = value
Me.RaiseDataMemberChanged("RefNumber")
End If
End Set
End Property
Private _RefNumber As Global.System.Nullable(Of Integer)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Person_MailCode() As Integer
Get
Return Me._Person_MailCode
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Person_MailCode, value) Then
Me.RaiseDataMemberChanging("Person_MailCode")
Me.ValidateProperty("Person_MailCode", value)
Me._Person_MailCode = value
Me.RaiseDataMemberChanged("Person_MailCode")
End If
End Set
End Property
Private _Person_MailCode As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Person_MailCode", "Person_MailCode", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property MailCode() As Global.LightSwitchApplication.Implementation.MailCode
Get
If (Me._MailCode Is Nothing) Then
Me._MailCode = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailCode)(Me, "MailCode", AddressOf Me.FilterMailCode)
End If
Return Me._MailCode.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.MailCode)
Dim previous As MailCode = Me.MailCode
If (previous IsNot value) Then
Me.ValidateProperty("MailCode", value)
If (previous IsNot Nothing) Then
Me._MailCode.Entity = Nothing
previous.People.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Person_MailCode = value.Id
Else
Me.Person_MailCode = Nothing
End If
Me._MailCode.Entity = value
If (value IsNot Nothing) Then
value.People.Add(Me)
End If
Me.RaisePropertyChanged("MailCode")
End If
End Set
End Property
Private _MailCode As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailCode)
Private Function FilterMailCode(ByVal entity As Global.LightSwitchApplication.Implementation.MailCode) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Person_MailCode)
End Function
Private Property _MailCodeImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.MailCode
Get
Return Me.MailCode
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.MailCode = DirectCast(value, Global.LightSwitchApplication.Implementation.MailCode)
End Set
End Property
<Global.System.ComponentModel.DataAnnotations.Association("Subscription_Person", "Id", "Subscription_Person")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Subscriptions() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Subscription)
Get
If (Me._Subscriptions Is Nothing) Then
Me._Subscriptions = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Subscription)(Me, "Subscriptions", AddressOf Me.FilterSubscriptions, AddressOf Me.AttachSubscriptions, AddressOf Me.DetachSubscriptions)
End If
Return Me._Subscriptions
End Get
End Property
Private _Subscriptions As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Subscription)
Private Sub AttachSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription)
entity.Person = Me
End Sub
Private Sub DetachSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription)
entity.Person = Nothing
End Sub
Private Function FilterSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription) As Boolean
Return Global.System.Object.Equals(entity.Subscription_Person, Me.Id)
End Function
Private ReadOnly Property _SubscriptionsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Subscriptions
Get
Return Me.Subscriptions
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("Activity_Person", "Id", "Activity_Person")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Activities() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Activity)
Get
If (Me._Activities Is Nothing) Then
Me._Activities = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Activity)(Me, "Activities", AddressOf Me.FilterActivities, AddressOf Me.AttachActivities, AddressOf Me.DetachActivities)
End If
Return Me._Activities
End Get
End Property
Private _Activities As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Activity)
Private Sub AttachActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity)
entity.Person = Me
End Sub
Private Sub DetachActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity)
entity.Person = Nothing
End Sub
Private Function FilterActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity) As Boolean
Return Global.System.Object.Equals(entity.Activity_Person, Me.Id)
End Function
Private ReadOnly Property _ActivitiesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Activities
Get
Return Me.Activities
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("Donation_Person", "Id", "Donation_Person")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Donations() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Donation)
Get
If (Me._Donations Is Nothing) Then
Me._Donations = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Donation)(Me, "Donations", AddressOf Me.FilterDonations, AddressOf Me.AttachDonations, AddressOf Me.DetachDonations)
End If
Return Me._Donations
End Get
End Property
Private _Donations As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Donation)
Private Sub AttachDonations(ByVal entity As Global.LightSwitchApplication.Implementation.Donation)
entity.Person = Me
End Sub
Private Sub DetachDonations(ByVal entity As Global.LightSwitchApplication.Implementation.Donation)
entity.Person = Nothing
End Sub
Private Function FilterDonations(ByVal entity As Global.LightSwitchApplication.Implementation.Donation) As Boolean
Return Global.System.Object.Equals(entity.Donation_Person, Me.Id)
End Function
Private ReadOnly Property _DonationsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Donations
Get
Return Me.Donations
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("Program_Person", "Id", "Program_Person")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Programs() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Program)
Get
If (Me._Programs Is Nothing) Then
Me._Programs = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Program)(Me, "Programs", AddressOf Me.FilterPrograms, AddressOf Me.AttachPrograms, AddressOf Me.DetachPrograms)
End If
Return Me._Programs
End Get
End Property
Private _Programs As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Program)
Private Sub AttachPrograms(ByVal entity As Global.LightSwitchApplication.Implementation.Program)
entity.Person = Me
End Sub
Private Sub DetachPrograms(ByVal entity As Global.LightSwitchApplication.Implementation.Program)
entity.Person = Nothing
End Sub
Private Function FilterPrograms(ByVal entity As Global.LightSwitchApplication.Implementation.Program) As Boolean
Return Global.System.Object.Equals(entity.Program_Person, Me.Id)
End Function
Private ReadOnly Property _ProgramsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Person.DetailsClass.IImplementation.Programs
Get
Return Me.Programs
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "MailCode"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class MailCode
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailCodeName() As String Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation.MailCodeName
Get
Return Me._MailCodeName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MailCodeName, value) Then
Me.RaiseDataMemberChanging("MailCodeName")
Me.ValidateProperty("MailCodeName", value)
Me._MailCodeName = value
Me.RaiseDataMemberChanged("MailCodeName")
End If
End Set
End Property
Private _MailCodeName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property IsDefault() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation.IsDefault
Get
Return Me._IsDefault
End Get
Set(ByVal value As Global.System.Nullable(Of Boolean))
If Not Global.System.Object.Equals(Me._IsDefault, value) Then
Me.RaiseDataMemberChanging("IsDefault")
Me.ValidateProperty("IsDefault", value)
Me._IsDefault = value
Me.RaiseDataMemberChanged("IsDefault")
End If
End Set
End Property
Private _IsDefault As Global.System.Nullable(Of Boolean)
<Global.System.ComponentModel.DataAnnotations.Association("Person_MailCode", "Id", "Person_MailCode")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property People() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Person)
Get
If (Me._People Is Nothing) Then
Me._People = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Person)(Me, "People", AddressOf Me.FilterPeople, AddressOf Me.AttachPeople, AddressOf Me.DetachPeople)
End If
Return Me._People
End Get
End Property
Private _People As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Person)
Private Sub AttachPeople(ByVal entity As Global.LightSwitchApplication.Implementation.Person)
entity.MailCode = Me
End Sub
Private Sub DetachPeople(ByVal entity As Global.LightSwitchApplication.Implementation.Person)
entity.MailCode = Nothing
End Sub
Private Function FilterPeople(ByVal entity As Global.LightSwitchApplication.Implementation.Person) As Boolean
Return Global.System.Object.Equals(entity.Person_MailCode, Me.Id)
End Function
Private ReadOnly Property _PeopleImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation.People
Get
Return Me.People
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("MailListCode_MailCode", "Id", "MailListCode_MailCode")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property MailListCodes() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of MailListCode)
Get
If (Me._MailListCodes Is Nothing) Then
Me._MailListCodes = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.MailListCode)(Me, "MailListCodes", AddressOf Me.FilterMailListCodes, AddressOf Me.AttachMailListCodes, AddressOf Me.DetachMailListCodes)
End If
Return Me._MailListCodes
End Get
End Property
Private _MailListCodes As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.MailListCode)
Private Sub AttachMailListCodes(ByVal entity As Global.LightSwitchApplication.Implementation.MailListCode)
entity.MailCode = Me
End Sub
Private Sub DetachMailListCodes(ByVal entity As Global.LightSwitchApplication.Implementation.MailListCode)
entity.MailCode = Nothing
End Sub
Private Function FilterMailListCodes(ByVal entity As Global.LightSwitchApplication.Implementation.MailListCode) As Boolean
Return Global.System.Object.Equals(entity.MailListCode_MailCode, Me.Id)
End Function
Private ReadOnly Property _MailListCodesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation.MailListCodes
Get
Return Me.MailListCodes
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("ImportPerson_MailCode", "Id", "ImportPerson_MailCode")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property ImportPersons() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of ImportPerson)
Get
If (Me._ImportPersons Is Nothing) Then
Me._ImportPersons = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ImportPerson)(Me, "ImportPersons", AddressOf Me.FilterImportPersons, AddressOf Me.AttachImportPersons, AddressOf Me.DetachImportPersons)
End If
Return Me._ImportPersons
End Get
End Property
Private _ImportPersons As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ImportPerson)
Private Sub AttachImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson)
entity.MailCode = Me
End Sub
Private Sub DetachImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson)
entity.MailCode = Nothing
End Sub
Private Function FilterImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson) As Boolean
Return Global.System.Object.Equals(entity.ImportPerson_MailCode, Me.Id)
End Function
Private ReadOnly Property _ImportPersonsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.MailCode.DetailsClass.IImplementation.ImportPersons
Get
Return Me.ImportPersons
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "Subscription"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class Subscription
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SubscriptionDate() As Date Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.SubscriptionDate
Get
Return Me._SubscriptionDate
End Get
Set(ByVal value As Date)
If Not Global.System.Object.Equals(Me._SubscriptionDate, value) Then
Me.RaiseDataMemberChanging("SubscriptionDate")
Me.ValidateProperty("SubscriptionDate", value)
Me._SubscriptionDate = value
Me.RaiseDataMemberChanged("SubscriptionDate")
End If
End Set
End Property
Private _SubscriptionDate As Date
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property RefNumber() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.RefNumber
Get
Return Me._RefNumber
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._RefNumber, value) Then
Me.RaiseDataMemberChanging("RefNumber")
Me.ValidateProperty("RefNumber", value)
Me._RefNumber = value
Me.RaiseDataMemberChanged("RefNumber")
End If
End Set
End Property
Private _RefNumber As Global.System.Nullable(Of Integer)
<Global.System.ComponentModel.DataAnnotations.Association("SubscriptionDetail_Subscription", "Id", "SubscriptionDetail_Subscription")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property SubscriptionDetails() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of SubscriptionDetail)
Get
If (Me._SubscriptionDetails Is Nothing) Then
Me._SubscriptionDetails = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)(Me, "SubscriptionDetails", AddressOf Me.FilterSubscriptionDetails, AddressOf Me.AttachSubscriptionDetails, AddressOf Me.DetachSubscriptionDetails)
End If
Return Me._SubscriptionDetails
End Get
End Property
Private _SubscriptionDetails As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)
Private Sub AttachSubscriptionDetails(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionDetail)
entity.Subscription = Me
End Sub
Private Sub DetachSubscriptionDetails(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionDetail)
entity.Subscription = Nothing
End Sub
Private Function FilterSubscriptionDetails(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionDetail) As Boolean
Return Global.System.Object.Equals(entity.SubscriptionDetail_Subscription, Me.Id)
End Function
Private ReadOnly Property _SubscriptionDetailsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.SubscriptionDetails
Get
Return Me.SubscriptionDetails
End Get
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Subscription_Person() As Integer
Get
Return Me._Subscription_Person
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Subscription_Person, value) Then
Me.RaiseDataMemberChanging("Subscription_Person")
Me.ValidateProperty("Subscription_Person", value)
Me._Subscription_Person = value
Me.RaiseDataMemberChanged("Subscription_Person")
End If
End Set
End Property
Private _Subscription_Person As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Subscription_Person", "Subscription_Person", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Person() As Global.LightSwitchApplication.Implementation.Person
Get
If (Me._Person Is Nothing) Then
Me._Person = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)(Me, "Person", AddressOf Me.FilterPerson)
End If
Return Me._Person.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Person)
Dim previous As Person = Me.Person
If (previous IsNot value) Then
Me.ValidateProperty("Person", value)
If (previous IsNot Nothing) Then
Me._Person.Entity = Nothing
previous.Subscriptions.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Subscription_Person = value.Id
Else
Me.Subscription_Person = Nothing
End If
Me._Person.Entity = value
If (value IsNot Nothing) Then
value.Subscriptions.Add(Me)
End If
Me.RaisePropertyChanged("Person")
End If
End Set
End Property
Private _Person As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)
Private Function FilterPerson(ByVal entity As Global.LightSwitchApplication.Implementation.Person) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Subscription_Person)
End Function
Private Property _PersonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Person
Get
Return Me.Person
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Person = DirectCast(value, Global.LightSwitchApplication.Implementation.Person)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Subscription_Season() As Integer
Get
Return Me._Subscription_Season
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Subscription_Season, value) Then
Me.RaiseDataMemberChanging("Subscription_Season")
Me.ValidateProperty("Subscription_Season", value)
Me._Subscription_Season = value
Me.RaiseDataMemberChanged("Subscription_Season")
End If
End Set
End Property
Private _Subscription_Season As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Subscription_Season", "Subscription_Season", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Season() As Global.LightSwitchApplication.Implementation.Season
Get
If (Me._Season Is Nothing) Then
Me._Season = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)(Me, "Season", AddressOf Me.FilterSeason)
End If
Return Me._Season.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Season)
Dim previous As Season = Me.Season
If (previous IsNot value) Then
Me.ValidateProperty("Season", value)
If (previous IsNot Nothing) Then
Me._Season.Entity = Nothing
previous.Subscriptions.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Subscription_Season = value.Id
Else
Me.Subscription_Season = Nothing
End If
Me._Season.Entity = value
If (value IsNot Nothing) Then
value.Subscriptions.Add(Me)
End If
Me.RaisePropertyChanged("Season")
End If
End Set
End Property
Private _Season As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)
Private Function FilterSeason(ByVal entity As Global.LightSwitchApplication.Implementation.Season) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Subscription_Season)
End Function
Private Property _SeasonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Season
Get
Return Me.Season
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Season = DirectCast(value, Global.LightSwitchApplication.Implementation.Season)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "SubscriptionDetail"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class SubscriptionDetail
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.SubscriptionDetail.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.SubscriptionDetail.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Quantity() As Integer Implements Global.LightSwitchApplication.SubscriptionDetail.DetailsClass.IImplementation.Quantity
Get
Return Me._Quantity
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Quantity, value) Then
Me.RaiseDataMemberChanging("Quantity")
Me.ValidateProperty("Quantity", value)
Me._Quantity = value
Me.RaiseDataMemberChanged("Quantity")
End If
End Set
End Property
Private _Quantity As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SubscriptionDetail_SubscriptionType() As Integer
Get
Return Me._SubscriptionDetail_SubscriptionType
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._SubscriptionDetail_SubscriptionType, value) Then
Me.RaiseDataMemberChanging("SubscriptionDetail_SubscriptionType")
Me.ValidateProperty("SubscriptionDetail_SubscriptionType", value)
Me._SubscriptionDetail_SubscriptionType = value
Me.RaiseDataMemberChanged("SubscriptionDetail_SubscriptionType")
End If
End Set
End Property
Private _SubscriptionDetail_SubscriptionType As Integer
<Global.System.ComponentModel.DataAnnotations.Association("SubscriptionDetail_SubscriptionType", "SubscriptionDetail_SubscriptionType", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property SubscriptionType() As Global.LightSwitchApplication.Implementation.SubscriptionType
Get
If (Me._SubscriptionType Is Nothing) Then
Me._SubscriptionType = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.SubscriptionType)(Me, "SubscriptionType", AddressOf Me.FilterSubscriptionType)
End If
Return Me._SubscriptionType.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.SubscriptionType)
Dim previous As SubscriptionType = Me.SubscriptionType
If (previous IsNot value) Then
Me.ValidateProperty("SubscriptionType", value)
If (previous IsNot Nothing) Then
Me._SubscriptionType.Entity = Nothing
previous.SubscriptionDetails.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.SubscriptionDetail_SubscriptionType = value.Id
Else
Me.SubscriptionDetail_SubscriptionType = Nothing
End If
Me._SubscriptionType.Entity = value
If (value IsNot Nothing) Then
value.SubscriptionDetails.Add(Me)
End If
Me.RaisePropertyChanged("SubscriptionType")
End If
End Set
End Property
Private _SubscriptionType As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.SubscriptionType)
Private Function FilterSubscriptionType(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionType) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.SubscriptionDetail_SubscriptionType)
End Function
Private Property _SubscriptionTypeImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.SubscriptionDetail.DetailsClass.IImplementation.SubscriptionType
Get
Return Me.SubscriptionType
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.SubscriptionType = DirectCast(value, Global.LightSwitchApplication.Implementation.SubscriptionType)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SubscriptionDetail_Subscription() As Integer
Get
Return Me._SubscriptionDetail_Subscription
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._SubscriptionDetail_Subscription, value) Then
Me.RaiseDataMemberChanging("SubscriptionDetail_Subscription")
Me.ValidateProperty("SubscriptionDetail_Subscription", value)
Me._SubscriptionDetail_Subscription = value
Me.RaiseDataMemberChanged("SubscriptionDetail_Subscription")
End If
End Set
End Property
Private _SubscriptionDetail_Subscription As Integer
<Global.System.ComponentModel.DataAnnotations.Association("SubscriptionDetail_Subscription", "SubscriptionDetail_Subscription", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Subscription() As Global.LightSwitchApplication.Implementation.Subscription
Get
If (Me._Subscription Is Nothing) Then
Me._Subscription = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Subscription)(Me, "Subscription", AddressOf Me.FilterSubscription)
End If
Return Me._Subscription.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Subscription)
Dim previous As Subscription = Me.Subscription
If (previous IsNot value) Then
Me.ValidateProperty("Subscription", value)
If (previous IsNot Nothing) Then
Me._Subscription.Entity = Nothing
previous.SubscriptionDetails.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.SubscriptionDetail_Subscription = value.Id
Else
Me.SubscriptionDetail_Subscription = Nothing
End If
Me._Subscription.Entity = value
If (value IsNot Nothing) Then
value.SubscriptionDetails.Add(Me)
End If
Me.RaisePropertyChanged("Subscription")
End If
End Set
End Property
Private _Subscription As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Subscription)
Private Function FilterSubscription(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.SubscriptionDetail_Subscription)
End Function
Private Property _SubscriptionImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.SubscriptionDetail.DetailsClass.IImplementation.Subscription
Get
Return Me.Subscription
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Subscription = DirectCast(value, Global.LightSwitchApplication.Implementation.Subscription)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "SubscriptionType"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class SubscriptionType
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.SubscriptionType.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.SubscriptionType.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SubscriptionDescription() As String Implements Global.LightSwitchApplication.SubscriptionType.DetailsClass.IImplementation.SubscriptionDescription
Get
Return Me._SubscriptionDescription
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._SubscriptionDescription, value) Then
Me.RaiseDataMemberChanging("SubscriptionDescription")
Me.ValidateProperty("SubscriptionDescription", value)
Me._SubscriptionDescription = value
Me.RaiseDataMemberChanged("SubscriptionDescription")
End If
End Set
End Property
Private _SubscriptionDescription As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property IsDefault() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.SubscriptionType.DetailsClass.IImplementation.IsDefault
Get
Return Me._IsDefault
End Get
Set(ByVal value As Global.System.Nullable(Of Boolean))
If Not Global.System.Object.Equals(Me._IsDefault, value) Then
Me.RaiseDataMemberChanging("IsDefault")
Me.ValidateProperty("IsDefault", value)
Me._IsDefault = value
Me.RaiseDataMemberChanged("IsDefault")
End If
End Set
End Property
Private _IsDefault As Global.System.Nullable(Of Boolean)
<Global.System.ComponentModel.DataAnnotations.Association("SubscriptionDetail_SubscriptionType", "Id", "SubscriptionDetail_SubscriptionType")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property SubscriptionDetails() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of SubscriptionDetail)
Get
If (Me._SubscriptionDetails Is Nothing) Then
Me._SubscriptionDetails = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)(Me, "SubscriptionDetails", AddressOf Me.FilterSubscriptionDetails, AddressOf Me.AttachSubscriptionDetails, AddressOf Me.DetachSubscriptionDetails)
End If
Return Me._SubscriptionDetails
End Get
End Property
Private _SubscriptionDetails As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)
Private Sub AttachSubscriptionDetails(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionDetail)
entity.SubscriptionType = Me
End Sub
Private Sub DetachSubscriptionDetails(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionDetail)
entity.SubscriptionType = Nothing
End Sub
Private Function FilterSubscriptionDetails(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionDetail) As Boolean
Return Global.System.Object.Equals(entity.SubscriptionDetail_SubscriptionType, Me.Id)
End Function
Private ReadOnly Property _SubscriptionDetailsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.SubscriptionType.DetailsClass.IImplementation.SubscriptionDetails
Get
Return Me.SubscriptionDetails
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("ImportPerson_SubscriptionType", "Id", "ImportPerson_SubscriptionType")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property ImportPersons() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of ImportPerson)
Get
If (Me._ImportPersons Is Nothing) Then
Me._ImportPersons = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ImportPerson)(Me, "ImportPersons", AddressOf Me.FilterImportPersons, AddressOf Me.AttachImportPersons, AddressOf Me.DetachImportPersons)
End If
Return Me._ImportPersons
End Get
End Property
Private _ImportPersons As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ImportPerson)
Private Sub AttachImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson)
entity.SubscriptionType = Me
End Sub
Private Sub DetachImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson)
entity.SubscriptionType = Nothing
End Sub
Private Function FilterImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson) As Boolean
Return Global.System.Object.Equals(entity.ImportPerson_SubscriptionType, Me.Id)
End Function
Private ReadOnly Property _ImportPersonsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.SubscriptionType.DetailsClass.IImplementation.ImportPersons
Get
Return Me.ImportPersons
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ActivityName"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class ActivityName
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.ActivityName.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.ActivityName.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ActivityDescription() As String Implements Global.LightSwitchApplication.ActivityName.DetailsClass.IImplementation.ActivityDescription
Get
Return Me._ActivityDescription
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ActivityDescription, value) Then
Me.RaiseDataMemberChanging("ActivityDescription")
Me.ValidateProperty("ActivityDescription", value)
Me._ActivityDescription = value
Me.RaiseDataMemberChanged("ActivityDescription")
End If
End Set
End Property
Private _ActivityDescription As String
<Global.System.ComponentModel.DataAnnotations.Association("Activity_ActivityName", "Id", "Activity_ActivityName")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Activities() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Activity)
Get
If (Me._Activities Is Nothing) Then
Me._Activities = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Activity)(Me, "Activities", AddressOf Me.FilterActivities, AddressOf Me.AttachActivities, AddressOf Me.DetachActivities)
End If
Return Me._Activities
End Get
End Property
Private _Activities As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Activity)
Private Sub AttachActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity)
entity.ActivityName = Me
End Sub
Private Sub DetachActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity)
entity.ActivityName = Nothing
End Sub
Private Function FilterActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity) As Boolean
Return Global.System.Object.Equals(entity.Activity_ActivityName, Me.Id)
End Function
Private ReadOnly Property _ActivitiesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.ActivityName.DetailsClass.IImplementation.Activities
Get
Return Me.Activities
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "Activity"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class Activity
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.Activity.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.Activity.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Activity_ActivityName() As Integer
Get
Return Me._Activity_ActivityName
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Activity_ActivityName, value) Then
Me.RaiseDataMemberChanging("Activity_ActivityName")
Me.ValidateProperty("Activity_ActivityName", value)
Me._Activity_ActivityName = value
Me.RaiseDataMemberChanged("Activity_ActivityName")
End If
End Set
End Property
Private _Activity_ActivityName As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Activity_ActivityName", "Activity_ActivityName", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property ActivityName() As Global.LightSwitchApplication.Implementation.ActivityName
Get
If (Me._ActivityName Is Nothing) Then
Me._ActivityName = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.ActivityName)(Me, "ActivityName", AddressOf Me.FilterActivityName)
End If
Return Me._ActivityName.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.ActivityName)
Dim previous As ActivityName = Me.ActivityName
If (previous IsNot value) Then
Me.ValidateProperty("ActivityName", value)
If (previous IsNot Nothing) Then
Me._ActivityName.Entity = Nothing
previous.Activities.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Activity_ActivityName = value.Id
Else
Me.Activity_ActivityName = Nothing
End If
Me._ActivityName.Entity = value
If (value IsNot Nothing) Then
value.Activities.Add(Me)
End If
Me.RaisePropertyChanged("ActivityName")
End If
End Set
End Property
Private _ActivityName As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.ActivityName)
Private Function FilterActivityName(ByVal entity As Global.LightSwitchApplication.Implementation.ActivityName) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Activity_ActivityName)
End Function
Private Property _ActivityNameImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Activity.DetailsClass.IImplementation.ActivityName
Get
Return Me.ActivityName
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.ActivityName = DirectCast(value, Global.LightSwitchApplication.Implementation.ActivityName)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Activity_Person() As Integer
Get
Return Me._Activity_Person
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Activity_Person, value) Then
Me.RaiseDataMemberChanging("Activity_Person")
Me.ValidateProperty("Activity_Person", value)
Me._Activity_Person = value
Me.RaiseDataMemberChanged("Activity_Person")
End If
End Set
End Property
Private _Activity_Person As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Activity_Person", "Activity_Person", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Person() As Global.LightSwitchApplication.Implementation.Person
Get
If (Me._Person Is Nothing) Then
Me._Person = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)(Me, "Person", AddressOf Me.FilterPerson)
End If
Return Me._Person.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Person)
Dim previous As Person = Me.Person
If (previous IsNot value) Then
Me.ValidateProperty("Person", value)
If (previous IsNot Nothing) Then
Me._Person.Entity = Nothing
previous.Activities.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Activity_Person = value.Id
Else
Me.Activity_Person = Nothing
End If
Me._Person.Entity = value
If (value IsNot Nothing) Then
value.Activities.Add(Me)
End If
Me.RaisePropertyChanged("Person")
End If
End Set
End Property
Private _Person As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)
Private Function FilterPerson(ByVal entity As Global.LightSwitchApplication.Implementation.Person) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Activity_Person)
End Function
Private Property _PersonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Activity.DetailsClass.IImplementation.Person
Get
Return Me.Person
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Person = DirectCast(value, Global.LightSwitchApplication.Implementation.Person)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Activity_Season() As Integer
Get
Return Me._Activity_Season
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Activity_Season, value) Then
Me.RaiseDataMemberChanging("Activity_Season")
Me.ValidateProperty("Activity_Season", value)
Me._Activity_Season = value
Me.RaiseDataMemberChanged("Activity_Season")
End If
End Set
End Property
Private _Activity_Season As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Activity_Season", "Activity_Season", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Season() As Global.LightSwitchApplication.Implementation.Season
Get
If (Me._Season Is Nothing) Then
Me._Season = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)(Me, "Season", AddressOf Me.FilterSeason)
End If
Return Me._Season.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Season)
Dim previous As Season = Me.Season
If (previous IsNot value) Then
Me.ValidateProperty("Season", value)
If (previous IsNot Nothing) Then
Me._Season.Entity = Nothing
previous.Activities.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Activity_Season = value.Id
Else
Me.Activity_Season = Nothing
End If
Me._Season.Entity = value
If (value IsNot Nothing) Then
value.Activities.Add(Me)
End If
Me.RaisePropertyChanged("Season")
End If
End Set
End Property
Private _Season As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)
Private Function FilterSeason(ByVal entity As Global.LightSwitchApplication.Implementation.Season) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Activity_Season)
End Function
Private Property _SeasonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Activity.DetailsClass.IImplementation.Season
Get
Return Me.Season
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Season = DirectCast(value, Global.LightSwitchApplication.Implementation.Season)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "Donation"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class Donation
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property DonationDate() As Date Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation.DonationDate
Get
Return Me._DonationDate
End Get
Set(ByVal value As Date)
If Not Global.System.Object.Equals(Me._DonationDate, value) Then
Me.RaiseDataMemberChanging("DonationDate")
Me.ValidateProperty("DonationDate", value)
Me._DonationDate = value
Me.RaiseDataMemberChanged("DonationDate")
End If
End Set
End Property
Private _DonationDate As Date
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property DonationAmount() As Global.System.Nullable(Of Decimal) Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation.DonationAmount
Get
Return Me._DonationAmount
End Get
Set(ByVal value As Global.System.Nullable(Of Decimal))
If Not Global.System.Object.Equals(Me._DonationAmount, value) Then
Me.RaiseDataMemberChanging("DonationAmount")
Me.ValidateProperty("DonationAmount", value)
Me._DonationAmount = value
Me.RaiseDataMemberChanged("DonationAmount")
End If
End Set
End Property
Private _DonationAmount As Global.System.Nullable(Of Decimal)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property RefNumber() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation.RefNumber
Get
Return Me._RefNumber
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._RefNumber, value) Then
Me.RaiseDataMemberChanging("RefNumber")
Me.ValidateProperty("RefNumber", value)
Me._RefNumber = value
Me.RaiseDataMemberChanged("RefNumber")
End If
End Set
End Property
Private _RefNumber As Global.System.Nullable(Of Integer)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Donation_Person() As Integer
Get
Return Me._Donation_Person
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Donation_Person, value) Then
Me.RaiseDataMemberChanging("Donation_Person")
Me.ValidateProperty("Donation_Person", value)
Me._Donation_Person = value
Me.RaiseDataMemberChanged("Donation_Person")
End If
End Set
End Property
Private _Donation_Person As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Donation_Person", "Donation_Person", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Person() As Global.LightSwitchApplication.Implementation.Person
Get
If (Me._Person Is Nothing) Then
Me._Person = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)(Me, "Person", AddressOf Me.FilterPerson)
End If
Return Me._Person.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Person)
Dim previous As Person = Me.Person
If (previous IsNot value) Then
Me.ValidateProperty("Person", value)
If (previous IsNot Nothing) Then
Me._Person.Entity = Nothing
previous.Donations.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Donation_Person = value.Id
Else
Me.Donation_Person = Nothing
End If
Me._Person.Entity = value
If (value IsNot Nothing) Then
value.Donations.Add(Me)
End If
Me.RaisePropertyChanged("Person")
End If
End Set
End Property
Private _Person As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)
Private Function FilterPerson(ByVal entity As Global.LightSwitchApplication.Implementation.Person) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Donation_Person)
End Function
Private Property _PersonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation.Person
Get
Return Me.Person
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Person = DirectCast(value, Global.LightSwitchApplication.Implementation.Person)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Donation_Season() As Integer
Get
Return Me._Donation_Season
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Donation_Season, value) Then
Me.RaiseDataMemberChanging("Donation_Season")
Me.ValidateProperty("Donation_Season", value)
Me._Donation_Season = value
Me.RaiseDataMemberChanged("Donation_Season")
End If
End Set
End Property
Private _Donation_Season As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Donation_Season", "Donation_Season", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Season() As Global.LightSwitchApplication.Implementation.Season
Get
If (Me._Season Is Nothing) Then
Me._Season = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)(Me, "Season", AddressOf Me.FilterSeason)
End If
Return Me._Season.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Season)
Dim previous As Season = Me.Season
If (previous IsNot value) Then
Me.ValidateProperty("Season", value)
If (previous IsNot Nothing) Then
Me._Season.Entity = Nothing
previous.Donations.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Donation_Season = value.Id
Else
Me.Donation_Season = Nothing
End If
Me._Season.Entity = value
If (value IsNot Nothing) Then
value.Donations.Add(Me)
End If
Me.RaisePropertyChanged("Season")
End If
End Set
End Property
Private _Season As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)
Private Function FilterSeason(ByVal entity As Global.LightSwitchApplication.Implementation.Season) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Donation_Season)
End Function
Private Property _SeasonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Donation.DetailsClass.IImplementation.Season
Get
Return Me.Season
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Season = DirectCast(value, Global.LightSwitchApplication.Implementation.Season)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "Season"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class Season
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SeasonName() As String Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.SeasonName
Get
Return Me._SeasonName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._SeasonName, value) Then
Me.RaiseDataMemberChanging("SeasonName")
Me.ValidateProperty("SeasonName", value)
Me._SeasonName = value
Me.RaiseDataMemberChanged("SeasonName")
End If
End Set
End Property
Private _SeasonName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Year() As String Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.Year
Get
Return Me._Year
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Year, value) Then
Me.RaiseDataMemberChanging("Year")
Me.ValidateProperty("Year", value)
Me._Year = value
Me.RaiseDataMemberChanged("Year")
End If
End Set
End Property
Private _Year As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property IsDefault() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.IsDefault
Get
Return Me._IsDefault
End Get
Set(ByVal value As Global.System.Nullable(Of Boolean))
If Not Global.System.Object.Equals(Me._IsDefault, value) Then
Me.RaiseDataMemberChanging("IsDefault")
Me.ValidateProperty("IsDefault", value)
Me._IsDefault = value
Me.RaiseDataMemberChanged("IsDefault")
End If
End Set
End Property
Private _IsDefault As Global.System.Nullable(Of Boolean)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property IsInactive() As Boolean Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.IsInactive
Get
Return Me._IsInactive
End Get
Set(ByVal value As Boolean)
If Not Global.System.Object.Equals(Me._IsInactive, value) Then
Me.RaiseDataMemberChanging("IsInactive")
Me.ValidateProperty("IsInactive", value)
Me._IsInactive = value
Me.RaiseDataMemberChanged("IsInactive")
End If
End Set
End Property
Private _IsInactive As Boolean
<Global.System.ComponentModel.DataAnnotations.Association("Subscription_Season", "Id", "Subscription_Season")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Subscriptions() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Subscription)
Get
If (Me._Subscriptions Is Nothing) Then
Me._Subscriptions = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Subscription)(Me, "Subscriptions", AddressOf Me.FilterSubscriptions, AddressOf Me.AttachSubscriptions, AddressOf Me.DetachSubscriptions)
End If
Return Me._Subscriptions
End Get
End Property
Private _Subscriptions As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Subscription)
Private Sub AttachSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription)
entity.Season = Me
End Sub
Private Sub DetachSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription)
entity.Season = Nothing
End Sub
Private Function FilterSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription) As Boolean
Return Global.System.Object.Equals(entity.Subscription_Season, Me.Id)
End Function
Private ReadOnly Property _SubscriptionsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.Subscriptions
Get
Return Me.Subscriptions
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("Activity_Season", "Id", "Activity_Season")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Activities() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Activity)
Get
If (Me._Activities Is Nothing) Then
Me._Activities = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Activity)(Me, "Activities", AddressOf Me.FilterActivities, AddressOf Me.AttachActivities, AddressOf Me.DetachActivities)
End If
Return Me._Activities
End Get
End Property
Private _Activities As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Activity)
Private Sub AttachActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity)
entity.Season = Me
End Sub
Private Sub DetachActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity)
entity.Season = Nothing
End Sub
Private Function FilterActivities(ByVal entity As Global.LightSwitchApplication.Implementation.Activity) As Boolean
Return Global.System.Object.Equals(entity.Activity_Season, Me.Id)
End Function
Private ReadOnly Property _ActivitiesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.Activities
Get
Return Me.Activities
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("Donation_Season", "Id", "Donation_Season")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Donations() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Donation)
Get
If (Me._Donations Is Nothing) Then
Me._Donations = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Donation)(Me, "Donations", AddressOf Me.FilterDonations, AddressOf Me.AttachDonations, AddressOf Me.DetachDonations)
End If
Return Me._Donations
End Get
End Property
Private _Donations As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Donation)
Private Sub AttachDonations(ByVal entity As Global.LightSwitchApplication.Implementation.Donation)
entity.Season = Me
End Sub
Private Sub DetachDonations(ByVal entity As Global.LightSwitchApplication.Implementation.Donation)
entity.Season = Nothing
End Sub
Private Function FilterDonations(ByVal entity As Global.LightSwitchApplication.Implementation.Donation) As Boolean
Return Global.System.Object.Equals(entity.Donation_Season, Me.Id)
End Function
Private ReadOnly Property _DonationsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.Donations
Get
Return Me.Donations
End Get
End Property
<Global.System.ComponentModel.DataAnnotations.Association("ImportPerson_Season", "Id", "ImportPerson_Season")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property ImportPersons() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of ImportPerson)
Get
If (Me._ImportPersons Is Nothing) Then
Me._ImportPersons = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ImportPerson)(Me, "ImportPersons", AddressOf Me.FilterImportPersons, AddressOf Me.AttachImportPersons, AddressOf Me.DetachImportPersons)
End If
Return Me._ImportPersons
End Get
End Property
Private _ImportPersons As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ImportPerson)
Private Sub AttachImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson)
entity.Season = Me
End Sub
Private Sub DetachImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson)
entity.Season = Nothing
End Sub
Private Function FilterImportPersons(ByVal entity As Global.LightSwitchApplication.Implementation.ImportPerson) As Boolean
Return Global.System.Object.Equals(entity.ImportPerson_Season, Me.Id)
End Function
Private ReadOnly Property _ImportPersonsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Season.DetailsClass.IImplementation.ImportPersons
Get
Return Me.ImportPersons
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "MailList"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class MailList
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.MailList.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.MailList.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailListName() As String Implements Global.LightSwitchApplication.MailList.DetailsClass.IImplementation.MailListName
Get
Return Me._MailListName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MailListName, value) Then
Me.RaiseDataMemberChanging("MailListName")
Me.ValidateProperty("MailListName", value)
Me._MailListName = value
Me.RaiseDataMemberChanged("MailListName")
End If
End Set
End Property
Private _MailListName As String
<Global.System.ComponentModel.DataAnnotations.Association("MailListCode_MailList", "Id", "MailListCode_MailList")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property MailListCodes() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of MailListCode)
Get
If (Me._MailListCodes Is Nothing) Then
Me._MailListCodes = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.MailListCode)(Me, "MailListCodes", AddressOf Me.FilterMailListCodes, AddressOf Me.AttachMailListCodes, AddressOf Me.DetachMailListCodes)
End If
Return Me._MailListCodes
End Get
End Property
Private _MailListCodes As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.MailListCode)
Private Sub AttachMailListCodes(ByVal entity As Global.LightSwitchApplication.Implementation.MailListCode)
entity.MailList = Me
End Sub
Private Sub DetachMailListCodes(ByVal entity As Global.LightSwitchApplication.Implementation.MailListCode)
entity.MailList = Nothing
End Sub
Private Function FilterMailListCodes(ByVal entity As Global.LightSwitchApplication.Implementation.MailListCode) As Boolean
Return Global.System.Object.Equals(entity.MailListCode_MailList, Me.Id)
End Function
Private ReadOnly Property _MailListCodesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.MailList.DetailsClass.IImplementation.MailListCodes
Get
Return Me.MailListCodes
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "MailListCode"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class MailListCode
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.MailListCode.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.MailListCode.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailListCode_MailList() As Integer
Get
Return Me._MailListCode_MailList
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._MailListCode_MailList, value) Then
Me.RaiseDataMemberChanging("MailListCode_MailList")
Me.ValidateProperty("MailListCode_MailList", value)
Me._MailListCode_MailList = value
Me.RaiseDataMemberChanged("MailListCode_MailList")
End If
End Set
End Property
Private _MailListCode_MailList As Integer
<Global.System.ComponentModel.DataAnnotations.Association("MailListCode_MailList", "MailListCode_MailList", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property MailList() As Global.LightSwitchApplication.Implementation.MailList
Get
If (Me._MailList Is Nothing) Then
Me._MailList = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailList)(Me, "MailList", AddressOf Me.FilterMailList)
End If
Return Me._MailList.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.MailList)
Dim previous As MailList = Me.MailList
If (previous IsNot value) Then
Me.ValidateProperty("MailList", value)
If (previous IsNot Nothing) Then
Me._MailList.Entity = Nothing
previous.MailListCodes.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.MailListCode_MailList = value.Id
Else
Me.MailListCode_MailList = Nothing
End If
Me._MailList.Entity = value
If (value IsNot Nothing) Then
value.MailListCodes.Add(Me)
End If
Me.RaisePropertyChanged("MailList")
End If
End Set
End Property
Private _MailList As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailList)
Private Function FilterMailList(ByVal entity As Global.LightSwitchApplication.Implementation.MailList) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.MailListCode_MailList)
End Function
Private Property _MailListImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.MailListCode.DetailsClass.IImplementation.MailList
Get
Return Me.MailList
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.MailList = DirectCast(value, Global.LightSwitchApplication.Implementation.MailList)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailListCode_MailCode() As Integer
Get
Return Me._MailListCode_MailCode
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._MailListCode_MailCode, value) Then
Me.RaiseDataMemberChanging("MailListCode_MailCode")
Me.ValidateProperty("MailListCode_MailCode", value)
Me._MailListCode_MailCode = value
Me.RaiseDataMemberChanged("MailListCode_MailCode")
End If
End Set
End Property
Private _MailListCode_MailCode As Integer
<Global.System.ComponentModel.DataAnnotations.Association("MailListCode_MailCode", "MailListCode_MailCode", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property MailCode() As Global.LightSwitchApplication.Implementation.MailCode
Get
If (Me._MailCode Is Nothing) Then
Me._MailCode = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailCode)(Me, "MailCode", AddressOf Me.FilterMailCode)
End If
Return Me._MailCode.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.MailCode)
Dim previous As MailCode = Me.MailCode
If (previous IsNot value) Then
Me.ValidateProperty("MailCode", value)
If (previous IsNot Nothing) Then
Me._MailCode.Entity = Nothing
previous.MailListCodes.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.MailListCode_MailCode = value.Id
Else
Me.MailListCode_MailCode = Nothing
End If
Me._MailCode.Entity = value
If (value IsNot Nothing) Then
value.MailListCodes.Add(Me)
End If
Me.RaisePropertyChanged("MailCode")
End If
End Set
End Property
Private _MailCode As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailCode)
Private Function FilterMailCode(ByVal entity As Global.LightSwitchApplication.Implementation.MailCode) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.MailListCode_MailCode)
End Function
Private Property _MailCodeImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.MailListCode.DetailsClass.IImplementation.MailCode
Get
Return Me.MailCode
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.MailCode = DirectCast(value, Global.LightSwitchApplication.Implementation.MailCode)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ProgramActivityName"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class ProgramActivityName
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.ProgramActivityName.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.ProgramActivityName.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ProgramActivity() As String Implements Global.LightSwitchApplication.ProgramActivityName.DetailsClass.IImplementation.ProgramActivity
Get
Return Me._ProgramActivity
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ProgramActivity, value) Then
Me.RaiseDataMemberChanging("ProgramActivity")
Me.ValidateProperty("ProgramActivity", value)
Me._ProgramActivity = value
Me.RaiseDataMemberChanged("ProgramActivity")
End If
End Set
End Property
Private _ProgramActivity As String
<Global.System.ComponentModel.DataAnnotations.Association("ProgramActivity_ProgramActivityName", "Id", "ProgramActivity_ProgramActivityName")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property ProgramActivities() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of ProgramActivity)
Get
If (Me._ProgramActivities Is Nothing) Then
Me._ProgramActivities = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ProgramActivity)(Me, "ProgramActivities", AddressOf Me.FilterProgramActivities, AddressOf Me.AttachProgramActivities, AddressOf Me.DetachProgramActivities)
End If
Return Me._ProgramActivities
End Get
End Property
Private _ProgramActivities As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ProgramActivity)
Private Sub AttachProgramActivities(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivity)
entity.ProgramActivityName = Me
End Sub
Private Sub DetachProgramActivities(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivity)
entity.ProgramActivityName = Nothing
End Sub
Private Function FilterProgramActivities(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivity) As Boolean
Return Global.System.Object.Equals(entity.ProgramActivity_ProgramActivityName, Me.Id)
End Function
Private ReadOnly Property _ProgramActivitiesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.ProgramActivityName.DetailsClass.IImplementation.ProgramActivities
Get
Return Me.ProgramActivities
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ProgramActivity"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class ProgramActivity
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.ProgramActivity.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.ProgramActivity.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ProgramActivity_ProgramActivityName() As Integer
Get
Return Me._ProgramActivity_ProgramActivityName
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ProgramActivity_ProgramActivityName, value) Then
Me.RaiseDataMemberChanging("ProgramActivity_ProgramActivityName")
Me.ValidateProperty("ProgramActivity_ProgramActivityName", value)
Me._ProgramActivity_ProgramActivityName = value
Me.RaiseDataMemberChanged("ProgramActivity_ProgramActivityName")
End If
End Set
End Property
Private _ProgramActivity_ProgramActivityName As Integer
<Global.System.ComponentModel.DataAnnotations.Association("ProgramActivity_ProgramActivityName", "ProgramActivity_ProgramActivityName", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property ProgramActivityName() As Global.LightSwitchApplication.Implementation.ProgramActivityName
Get
If (Me._ProgramActivityName Is Nothing) Then
Me._ProgramActivityName = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)(Me, "ProgramActivityName", AddressOf Me.FilterProgramActivityName)
End If
Return Me._ProgramActivityName.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.ProgramActivityName)
Dim previous As ProgramActivityName = Me.ProgramActivityName
If (previous IsNot value) Then
Me.ValidateProperty("ProgramActivityName", value)
If (previous IsNot Nothing) Then
Me._ProgramActivityName.Entity = Nothing
previous.ProgramActivities.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.ProgramActivity_ProgramActivityName = value.Id
Else
Me.ProgramActivity_ProgramActivityName = Nothing
End If
Me._ProgramActivityName.Entity = value
If (value IsNot Nothing) Then
value.ProgramActivities.Add(Me)
End If
Me.RaisePropertyChanged("ProgramActivityName")
End If
End Set
End Property
Private _ProgramActivityName As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)
Private Function FilterProgramActivityName(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivityName) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.ProgramActivity_ProgramActivityName)
End Function
Private Property _ProgramActivityNameImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.ProgramActivity.DetailsClass.IImplementation.ProgramActivityName
Get
Return Me.ProgramActivityName
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.ProgramActivityName = DirectCast(value, Global.LightSwitchApplication.Implementation.ProgramActivityName)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ProgramActivity_Program() As Integer
Get
Return Me._ProgramActivity_Program
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ProgramActivity_Program, value) Then
Me.RaiseDataMemberChanging("ProgramActivity_Program")
Me.ValidateProperty("ProgramActivity_Program", value)
Me._ProgramActivity_Program = value
Me.RaiseDataMemberChanged("ProgramActivity_Program")
End If
End Set
End Property
Private _ProgramActivity_Program As Integer
<Global.System.ComponentModel.DataAnnotations.Association("ProgramActivity_Program", "ProgramActivity_Program", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Program() As Global.LightSwitchApplication.Implementation.Program
Get
If (Me._Program Is Nothing) Then
Me._Program = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Program)(Me, "Program", AddressOf Me.FilterProgram)
End If
Return Me._Program.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Program)
Dim previous As Program = Me.Program
If (previous IsNot value) Then
Me.ValidateProperty("Program", value)
If (previous IsNot Nothing) Then
Me._Program.Entity = Nothing
previous.ProgramActivities.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.ProgramActivity_Program = value.Id
Else
Me.ProgramActivity_Program = Nothing
End If
Me._Program.Entity = value
If (value IsNot Nothing) Then
value.ProgramActivities.Add(Me)
End If
Me.RaisePropertyChanged("Program")
End If
End Set
End Property
Private _Program As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Program)
Private Function FilterProgram(ByVal entity As Global.LightSwitchApplication.Implementation.Program) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.ProgramActivity_Program)
End Function
Private Property _ProgramImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.ProgramActivity.DetailsClass.IImplementation.Program
Get
Return Me.Program
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Program = DirectCast(value, Global.LightSwitchApplication.Implementation.Program)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ProgramName"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class ProgramName
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Program() As String Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation.Program
Get
Return Me._Program
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Program, value) Then
Me.RaiseDataMemberChanging("Program")
Me.ValidateProperty("Program", value)
Me._Program = value
Me.RaiseDataMemberChanged("Program")
End If
End Set
End Property
Private _Program As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property StartDate() As Date Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation.StartDate
Get
Return Me._StartDate
End Get
Set(ByVal value As Date)
If Not Global.System.Object.Equals(Me._StartDate, value) Then
Me.RaiseDataMemberChanging("StartDate")
Me.ValidateProperty("StartDate", value)
Me._StartDate = value
Me.RaiseDataMemberChanged("StartDate")
End If
End Set
End Property
Private _StartDate As Date
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property EndDate() As Global.System.Nullable(Of Date) Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation.EndDate
Get
Return Me._EndDate
End Get
Set(ByVal value As Global.System.Nullable(Of Date))
If Not Global.System.Object.Equals(Me._EndDate, value) Then
Me.RaiseDataMemberChanging("EndDate")
Me.ValidateProperty("EndDate", value)
Me._EndDate = value
Me.RaiseDataMemberChanged("EndDate")
End If
End Set
End Property
Private _EndDate As Global.System.Nullable(Of Date)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property IsInactive() As Boolean Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation.IsInactive
Get
Return Me._IsInactive
End Get
Set(ByVal value As Boolean)
If Not Global.System.Object.Equals(Me._IsInactive, value) Then
Me.RaiseDataMemberChanging("IsInactive")
Me.ValidateProperty("IsInactive", value)
Me._IsInactive = value
Me.RaiseDataMemberChanged("IsInactive")
End If
End Set
End Property
Private _IsInactive As Boolean
<Global.System.ComponentModel.DataAnnotations.Association("Program_ProgramName", "Id", "Program_ProgramName")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property Programs() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Program)
Get
If (Me._Programs Is Nothing) Then
Me._Programs = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Program)(Me, "Programs", AddressOf Me.FilterPrograms, AddressOf Me.AttachPrograms, AddressOf Me.DetachPrograms)
End If
Return Me._Programs
End Get
End Property
Private _Programs As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Program)
Private Sub AttachPrograms(ByVal entity As Global.LightSwitchApplication.Implementation.Program)
entity.ProgramName = Me
End Sub
Private Sub DetachPrograms(ByVal entity As Global.LightSwitchApplication.Implementation.Program)
entity.ProgramName = Nothing
End Sub
Private Function FilterPrograms(ByVal entity As Global.LightSwitchApplication.Implementation.Program) As Boolean
Return Global.System.Object.Equals(entity.Program_ProgramName, Me.Id)
End Function
Private ReadOnly Property _ProgramsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.ProgramName.DetailsClass.IImplementation.Programs
Get
Return Me.Programs
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "Program"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class Program
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.Program.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.Program.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property InvolveDate() As Date Implements Global.LightSwitchApplication.Program.DetailsClass.IImplementation.InvolveDate
Get
Return Me._InvolveDate
End Get
Set(ByVal value As Date)
If Not Global.System.Object.Equals(Me._InvolveDate, value) Then
Me.RaiseDataMemberChanging("InvolveDate")
Me.ValidateProperty("InvolveDate", value)
Me._InvolveDate = value
Me.RaiseDataMemberChanged("InvolveDate")
End If
End Set
End Property
Private _InvolveDate As Date
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Program_Person() As Integer
Get
Return Me._Program_Person
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Program_Person, value) Then
Me.RaiseDataMemberChanging("Program_Person")
Me.ValidateProperty("Program_Person", value)
Me._Program_Person = value
Me.RaiseDataMemberChanged("Program_Person")
End If
End Set
End Property
Private _Program_Person As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Program_Person", "Program_Person", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Person() As Global.LightSwitchApplication.Implementation.Person
Get
If (Me._Person Is Nothing) Then
Me._Person = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)(Me, "Person", AddressOf Me.FilterPerson)
End If
Return Me._Person.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Person)
Dim previous As Person = Me.Person
If (previous IsNot value) Then
Me.ValidateProperty("Person", value)
If (previous IsNot Nothing) Then
Me._Person.Entity = Nothing
previous.Programs.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Program_Person = value.Id
Else
Me.Program_Person = Nothing
End If
Me._Person.Entity = value
If (value IsNot Nothing) Then
value.Programs.Add(Me)
End If
Me.RaisePropertyChanged("Person")
End If
End Set
End Property
Private _Person As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Person)
Private Function FilterPerson(ByVal entity As Global.LightSwitchApplication.Implementation.Person) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Program_Person)
End Function
Private Property _PersonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Program.DetailsClass.IImplementation.Person
Get
Return Me.Person
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Person = DirectCast(value, Global.LightSwitchApplication.Implementation.Person)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Program_ProgramName() As Integer
Get
Return Me._Program_ProgramName
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Program_ProgramName, value) Then
Me.RaiseDataMemberChanging("Program_ProgramName")
Me.ValidateProperty("Program_ProgramName", value)
Me._Program_ProgramName = value
Me.RaiseDataMemberChanged("Program_ProgramName")
End If
End Set
End Property
Private _Program_ProgramName As Integer
<Global.System.ComponentModel.DataAnnotations.Association("Program_ProgramName", "Program_ProgramName", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property ProgramName() As Global.LightSwitchApplication.Implementation.ProgramName
Get
If (Me._ProgramName Is Nothing) Then
Me._ProgramName = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.ProgramName)(Me, "ProgramName", AddressOf Me.FilterProgramName)
End If
Return Me._ProgramName.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.ProgramName)
Dim previous As ProgramName = Me.ProgramName
If (previous IsNot value) Then
Me.ValidateProperty("ProgramName", value)
If (previous IsNot Nothing) Then
Me._ProgramName.Entity = Nothing
previous.Programs.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.Program_ProgramName = value.Id
Else
Me.Program_ProgramName = Nothing
End If
Me._ProgramName.Entity = value
If (value IsNot Nothing) Then
value.Programs.Add(Me)
End If
Me.RaisePropertyChanged("ProgramName")
End If
End Set
End Property
Private _ProgramName As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.ProgramName)
Private Function FilterProgramName(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramName) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.Program_ProgramName)
End Function
Private Property _ProgramNameImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Program.DetailsClass.IImplementation.ProgramName
Get
Return Me.ProgramName
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.ProgramName = DirectCast(value, Global.LightSwitchApplication.Implementation.ProgramName)
End Set
End Property
<Global.System.ComponentModel.DataAnnotations.Association("ProgramActivity_Program", "Id", "ProgramActivity_Program")> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public ReadOnly Property ProgramActivities() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of ProgramActivity)
Get
If (Me._ProgramActivities Is Nothing) Then
Me._ProgramActivities = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ProgramActivity)(Me, "ProgramActivities", AddressOf Me.FilterProgramActivities, AddressOf Me.AttachProgramActivities, AddressOf Me.DetachProgramActivities)
End If
Return Me._ProgramActivities
End Get
End Property
Private _ProgramActivities As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.ProgramActivity)
Private Sub AttachProgramActivities(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivity)
entity.Program = Me
End Sub
Private Sub DetachProgramActivities(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivity)
entity.Program = Nothing
End Sub
Private Function FilterProgramActivities(ByVal entity As Global.LightSwitchApplication.Implementation.ProgramActivity) As Boolean
Return Global.System.Object.Equals(entity.ProgramActivity_Program, Me.Id)
End Function
Private ReadOnly Property _ProgramActivitiesImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Program.DetailsClass.IImplementation.ProgramActivities
Get
Return Me.ProgramActivities
End Get
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ExternalMailPerson"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class ExternalMailPerson
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Salutation() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.Salutation
Get
Return Me._Salutation
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Salutation, value) Then
Me.RaiseDataMemberChanging("Salutation")
Me.ValidateProperty("Salutation", value)
Me._Salutation = value
Me.RaiseDataMemberChanged("Salutation")
End If
End Set
End Property
Private _Salutation As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property FirstName() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.FirstName
Get
Return Me._FirstName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._FirstName, value) Then
Me.RaiseDataMemberChanging("FirstName")
Me.ValidateProperty("FirstName", value)
Me._FirstName = value
Me.RaiseDataMemberChanged("FirstName")
End If
End Set
End Property
Private _FirstName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property LastName() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.LastName
Get
Return Me._LastName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._LastName, value) Then
Me.RaiseDataMemberChanging("LastName")
Me.ValidateProperty("LastName", value)
Me._LastName = value
Me.RaiseDataMemberChanged("LastName")
End If
End Set
End Property
Private _LastName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property NameSuffix() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.NameSuffix
Get
Return Me._NameSuffix
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._NameSuffix, value) Then
Me.RaiseDataMemberChanging("NameSuffix")
Me.ValidateProperty("NameSuffix", value)
Me._NameSuffix = value
Me.RaiseDataMemberChanged("NameSuffix")
End If
End Set
End Property
Private _NameSuffix As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Company() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.Company
Get
Return Me._Company
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Company, value) Then
Me.RaiseDataMemberChanging("Company")
Me.ValidateProperty("Company", value)
Me._Company = value
Me.RaiseDataMemberChanged("Company")
End If
End Set
End Property
Private _Company As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address1() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.Address1
Get
Return Me._Address1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address1, value) Then
Me.RaiseDataMemberChanging("Address1")
Me.ValidateProperty("Address1", value)
Me._Address1 = value
Me.RaiseDataMemberChanged("Address1")
End If
End Set
End Property
Private _Address1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address2() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.Address2
Get
Return Me._Address2
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address2, value) Then
Me.RaiseDataMemberChanging("Address2")
Me.ValidateProperty("Address2", value)
Me._Address2 = value
Me.RaiseDataMemberChanged("Address2")
End If
End Set
End Property
Private _Address2 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property City() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.City
Get
Return Me._City
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._City, value) Then
Me.RaiseDataMemberChanging("City")
Me.ValidateProperty("City", value)
Me._City = value
Me.RaiseDataMemberChanged("City")
End If
End Set
End Property
Private _City As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property State() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.State
Get
Return Me._State
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._State, value) Then
Me.RaiseDataMemberChanging("State")
Me.ValidateProperty("State", value)
Me._State = value
Me.RaiseDataMemberChanged("State")
End If
End Set
End Property
Private _State As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Zip() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.Zip
Get
Return Me._Zip
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Zip, value) Then
Me.RaiseDataMemberChanging("Zip")
Me.ValidateProperty("Zip", value)
Me._Zip = value
Me.RaiseDataMemberChanged("Zip")
End If
End Set
End Property
Private _Zip As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property BestPrimaryMatchID() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.BestPrimaryMatchID
Get
Return Me._BestPrimaryMatchID
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._BestPrimaryMatchID, value) Then
Me.RaiseDataMemberChanging("BestPrimaryMatchID")
Me.ValidateProperty("BestPrimaryMatchID", value)
Me._BestPrimaryMatchID = value
Me.RaiseDataMemberChanged("BestPrimaryMatchID")
End If
End Set
End Property
Private _BestPrimaryMatchID As Global.System.Nullable(Of Integer)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property BestPrimaryMatchScore() As Global.System.Nullable(Of Double) Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.BestPrimaryMatchScore
Get
Return Me._BestPrimaryMatchScore
End Get
Set(ByVal value As Global.System.Nullable(Of Double))
If Not Global.System.Object.Equals(Me._BestPrimaryMatchScore, value) Then
Me.RaiseDataMemberChanging("BestPrimaryMatchScore")
Me.ValidateProperty("BestPrimaryMatchScore", value)
Me._BestPrimaryMatchScore = value
Me.RaiseDataMemberChanged("BestPrimaryMatchScore")
End If
End Set
End Property
Private _BestPrimaryMatchScore As Global.System.Nullable(Of Double)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonLastName() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.ExistingPersonLastName
Get
Return Me._ExistingPersonLastName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonLastName, value) Then
Me.RaiseDataMemberChanging("ExistingPersonLastName")
Me.ValidateProperty("ExistingPersonLastName", value)
Me._ExistingPersonLastName = value
Me.RaiseDataMemberChanged("ExistingPersonLastName")
End If
End Set
End Property
Private _ExistingPersonLastName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonFirstName() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.ExistingPersonFirstName
Get
Return Me._ExistingPersonFirstName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonFirstName, value) Then
Me.RaiseDataMemberChanging("ExistingPersonFirstName")
Me.ValidateProperty("ExistingPersonFirstName", value)
Me._ExistingPersonFirstName = value
Me.RaiseDataMemberChanged("ExistingPersonFirstName")
End If
End Set
End Property
Private _ExistingPersonFirstName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonAddress1() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.ExistingPersonAddress1
Get
Return Me._ExistingPersonAddress1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonAddress1, value) Then
Me.RaiseDataMemberChanging("ExistingPersonAddress1")
Me.ValidateProperty("ExistingPersonAddress1", value)
Me._ExistingPersonAddress1 = value
Me.RaiseDataMemberChanged("ExistingPersonAddress1")
End If
End Set
End Property
Private _ExistingPersonAddress1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonAddress2() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.ExistingPersonAddress2
Get
Return Me._ExistingPersonAddress2
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonAddress2, value) Then
Me.RaiseDataMemberChanging("ExistingPersonAddress2")
Me.ValidateProperty("ExistingPersonAddress2", value)
Me._ExistingPersonAddress2 = value
Me.RaiseDataMemberChanged("ExistingPersonAddress2")
End If
End Set
End Property
Private _ExistingPersonAddress2 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonCity() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.ExistingPersonCity
Get
Return Me._ExistingPersonCity
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonCity, value) Then
Me.RaiseDataMemberChanging("ExistingPersonCity")
Me.ValidateProperty("ExistingPersonCity", value)
Me._ExistingPersonCity = value
Me.RaiseDataMemberChanged("ExistingPersonCity")
End If
End Set
End Property
Private _ExistingPersonCity As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonZip() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.ExistingPersonZip
Get
Return Me._ExistingPersonZip
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonZip, value) Then
Me.RaiseDataMemberChanging("ExistingPersonZip")
Me.ValidateProperty("ExistingPersonZip", value)
Me._ExistingPersonZip = value
Me.RaiseDataMemberChanged("ExistingPersonZip")
End If
End Set
End Property
Private _ExistingPersonZip As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MatchesExistingPerson() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.MatchesExistingPerson
Get
Return Me._MatchesExistingPerson
End Get
Set(ByVal value As Global.System.Nullable(Of Boolean))
If Not Global.System.Object.Equals(Me._MatchesExistingPerson, value) Then
Me.RaiseDataMemberChanging("MatchesExistingPerson")
Me.ValidateProperty("MatchesExistingPerson", value)
Me._MatchesExistingPerson = value
Me.RaiseDataMemberChanged("MatchesExistingPerson")
End If
End Set
End Property
Private _MatchesExistingPerson As Global.System.Nullable(Of Boolean)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MatchResult() As String Implements Global.LightSwitchApplication.ExternalMailPerson.DetailsClass.IImplementation.MatchResult
Get
Return Me._MatchResult
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MatchResult, value) Then
Me.RaiseDataMemberChanging("MatchResult")
Me.ValidateProperty("MatchResult", value)
Me._MatchResult = value
Me.RaiseDataMemberChanged("MatchResult")
End If
End Set
End Property
Private _MatchResult As String
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ImportPerson"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ApplicationData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class ImportPerson
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._Id
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Id() As Integer Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Id
Get
Return Me._Id
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Id, value) Then
Me.ValidateProperty("Id", value)
Me._Id = value
Me.RaisePropertyChanged("Id")
End If
End Set
End Property
Private _Id As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property LastName() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.LastName
Get
Return Me._LastName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._LastName, value) Then
Me.RaiseDataMemberChanging("LastName")
Me.ValidateProperty("LastName", value)
Me._LastName = value
Me.RaiseDataMemberChanged("LastName")
End If
End Set
End Property
Private _LastName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property FirstName() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.FirstName
Get
Return Me._FirstName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._FirstName, value) Then
Me.RaiseDataMemberChanging("FirstName")
Me.ValidateProperty("FirstName", value)
Me._FirstName = value
Me.RaiseDataMemberChanged("FirstName")
End If
End Set
End Property
Private _FirstName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Salutation() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Salutation
Get
Return Me._Salutation
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Salutation, value) Then
Me.RaiseDataMemberChanging("Salutation")
Me.ValidateProperty("Salutation", value)
Me._Salutation = value
Me.RaiseDataMemberChanged("Salutation")
End If
End Set
End Property
Private _Salutation As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property NameSuffix() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.NameSuffix
Get
Return Me._NameSuffix
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._NameSuffix, value) Then
Me.RaiseDataMemberChanging("NameSuffix")
Me.ValidateProperty("NameSuffix", value)
Me._NameSuffix = value
Me.RaiseDataMemberChanged("NameSuffix")
End If
End Set
End Property
Private _NameSuffix As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address1() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Address1
Get
Return Me._Address1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address1, value) Then
Me.RaiseDataMemberChanging("Address1")
Me.ValidateProperty("Address1", value)
Me._Address1 = value
Me.RaiseDataMemberChanged("Address1")
End If
End Set
End Property
Private _Address1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address2() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Address2
Get
Return Me._Address2
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address2, value) Then
Me.RaiseDataMemberChanging("Address2")
Me.ValidateProperty("Address2", value)
Me._Address2 = value
Me.RaiseDataMemberChanged("Address2")
End If
End Set
End Property
Private _Address2 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property City() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.City
Get
Return Me._City
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._City, value) Then
Me.RaiseDataMemberChanging("City")
Me.ValidateProperty("City", value)
Me._City = value
Me.RaiseDataMemberChanged("City")
End If
End Set
End Property
Private _City As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property State() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.State
Get
Return Me._State
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._State, value) Then
Me.RaiseDataMemberChanging("State")
Me.ValidateProperty("State", value)
Me._State = value
Me.RaiseDataMemberChanged("State")
End If
End Set
End Property
Private _State As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Zip() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Zip
Get
Return Me._Zip
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Zip, value) Then
Me.RaiseDataMemberChanging("Zip")
Me.ValidateProperty("Zip", value)
Me._Zip = value
Me.RaiseDataMemberChanged("Zip")
End If
End Set
End Property
Private _Zip As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Email() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Email
Get
Return Me._Email
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Email, value) Then
Me.RaiseDataMemberChanging("Email")
Me.ValidateProperty("Email", value)
Me._Email = value
Me.RaiseDataMemberChanged("Email")
End If
End Set
End Property
Private _Email As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property HomePhone() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.HomePhone
Get
Return Me._HomePhone
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._HomePhone, value) Then
Me.RaiseDataMemberChanging("HomePhone")
Me.ValidateProperty("HomePhone", value)
Me._HomePhone = value
Me.RaiseDataMemberChanged("HomePhone")
End If
End Set
End Property
Private _HomePhone As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MobilPhone() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.MobilPhone
Get
Return Me._MobilPhone
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MobilPhone, value) Then
Me.RaiseDataMemberChanging("MobilPhone")
Me.ValidateProperty("MobilPhone", value)
Me._MobilPhone = value
Me.RaiseDataMemberChanged("MobilPhone")
End If
End Set
End Property
Private _MobilPhone As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property BusinessPhone() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.BusinessPhone
Get
Return Me._BusinessPhone
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._BusinessPhone, value) Then
Me.RaiseDataMemberChanging("BusinessPhone")
Me.ValidateProperty("BusinessPhone", value)
Me._BusinessPhone = value
Me.RaiseDataMemberChanged("BusinessPhone")
End If
End Set
End Property
Private _BusinessPhone As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Company() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Company
Get
Return Me._Company
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Company, value) Then
Me.RaiseDataMemberChanging("Company")
Me.ValidateProperty("Company", value)
Me._Company = value
Me.RaiseDataMemberChanged("Company")
End If
End Set
End Property
Private _Company As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Donation() As Global.System.Nullable(Of Decimal) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Donation
Get
Return Me._Donation
End Get
Set(ByVal value As Global.System.Nullable(Of Decimal))
If Not Global.System.Object.Equals(Me._Donation, value) Then
Me.RaiseDataMemberChanging("Donation")
Me.ValidateProperty("Donation", value)
Me._Donation = value
Me.RaiseDataMemberChanged("Donation")
End If
End Set
End Property
Private _Donation As Global.System.Nullable(Of Decimal)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property BestPrimaryMatchID() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.BestPrimaryMatchID
Get
Return Me._BestPrimaryMatchID
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._BestPrimaryMatchID, value) Then
Me.RaiseDataMemberChanging("BestPrimaryMatchID")
Me.ValidateProperty("BestPrimaryMatchID", value)
Me._BestPrimaryMatchID = value
Me.RaiseDataMemberChanged("BestPrimaryMatchID")
End If
End Set
End Property
Private _BestPrimaryMatchID As Global.System.Nullable(Of Integer)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property BestPrimaryMatchScore() As Global.System.Nullable(Of Double) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.BestPrimaryMatchScore
Get
Return Me._BestPrimaryMatchScore
End Get
Set(ByVal value As Global.System.Nullable(Of Double))
If Not Global.System.Object.Equals(Me._BestPrimaryMatchScore, value) Then
Me.RaiseDataMemberChanging("BestPrimaryMatchScore")
Me.ValidateProperty("BestPrimaryMatchScore", value)
Me._BestPrimaryMatchScore = value
Me.RaiseDataMemberChanged("BestPrimaryMatchScore")
End If
End Set
End Property
Private _BestPrimaryMatchScore As Global.System.Nullable(Of Double)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonLastName() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.ExistingPersonLastName
Get
Return Me._ExistingPersonLastName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonLastName, value) Then
Me.RaiseDataMemberChanging("ExistingPersonLastName")
Me.ValidateProperty("ExistingPersonLastName", value)
Me._ExistingPersonLastName = value
Me.RaiseDataMemberChanged("ExistingPersonLastName")
End If
End Set
End Property
Private _ExistingPersonLastName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonFirstName() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.ExistingPersonFirstName
Get
Return Me._ExistingPersonFirstName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonFirstName, value) Then
Me.RaiseDataMemberChanging("ExistingPersonFirstName")
Me.ValidateProperty("ExistingPersonFirstName", value)
Me._ExistingPersonFirstName = value
Me.RaiseDataMemberChanged("ExistingPersonFirstName")
End If
End Set
End Property
Private _ExistingPersonFirstName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonAddress1() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.ExistingPersonAddress1
Get
Return Me._ExistingPersonAddress1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonAddress1, value) Then
Me.RaiseDataMemberChanging("ExistingPersonAddress1")
Me.ValidateProperty("ExistingPersonAddress1", value)
Me._ExistingPersonAddress1 = value
Me.RaiseDataMemberChanged("ExistingPersonAddress1")
End If
End Set
End Property
Private _ExistingPersonAddress1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonAddress2() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.ExistingPersonAddress2
Get
Return Me._ExistingPersonAddress2
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonAddress2, value) Then
Me.RaiseDataMemberChanging("ExistingPersonAddress2")
Me.ValidateProperty("ExistingPersonAddress2", value)
Me._ExistingPersonAddress2 = value
Me.RaiseDataMemberChanged("ExistingPersonAddress2")
End If
End Set
End Property
Private _ExistingPersonAddress2 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonCity() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.ExistingPersonCity
Get
Return Me._ExistingPersonCity
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonCity, value) Then
Me.RaiseDataMemberChanging("ExistingPersonCity")
Me.ValidateProperty("ExistingPersonCity", value)
Me._ExistingPersonCity = value
Me.RaiseDataMemberChanged("ExistingPersonCity")
End If
End Set
End Property
Private _ExistingPersonCity As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ExistingPersonZip() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.ExistingPersonZip
Get
Return Me._ExistingPersonZip
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ExistingPersonZip, value) Then
Me.RaiseDataMemberChanging("ExistingPersonZip")
Me.ValidateProperty("ExistingPersonZip", value)
Me._ExistingPersonZip = value
Me.RaiseDataMemberChanged("ExistingPersonZip")
End If
End Set
End Property
Private _ExistingPersonZip As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MatchesExistingPerson() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.MatchesExistingPerson
Get
Return Me._MatchesExistingPerson
End Get
Set(ByVal value As Global.System.Nullable(Of Boolean))
If Not Global.System.Object.Equals(Me._MatchesExistingPerson, value) Then
Me.RaiseDataMemberChanging("MatchesExistingPerson")
Me.ValidateProperty("MatchesExistingPerson", value)
Me._MatchesExistingPerson = value
Me.RaiseDataMemberChanged("MatchesExistingPerson")
End If
End Set
End Property
Private _MatchesExistingPerson As Global.System.Nullable(Of Boolean)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MatchResult() As String Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.MatchResult
Get
Return Me._MatchResult
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MatchResult, value) Then
Me.RaiseDataMemberChanging("MatchResult")
Me.ValidateProperty("MatchResult", value)
Me._MatchResult = value
Me.RaiseDataMemberChanged("MatchResult")
End If
End Set
End Property
Private _MatchResult As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property UpdateAddress() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.UpdateAddress
Get
Return Me._UpdateAddress
End Get
Set(ByVal value As Global.System.Nullable(Of Boolean))
If Not Global.System.Object.Equals(Me._UpdateAddress, value) Then
Me.RaiseDataMemberChanging("UpdateAddress")
Me.ValidateProperty("UpdateAddress", value)
Me._UpdateAddress = value
Me.RaiseDataMemberChanged("UpdateAddress")
End If
End Set
End Property
Private _UpdateAddress As Global.System.Nullable(Of Boolean)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SubscriptionID() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.SubscriptionID
Get
Return Me._SubscriptionID
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._SubscriptionID, value) Then
Me.RaiseDataMemberChanging("SubscriptionID")
Me.ValidateProperty("SubscriptionID", value)
Me._SubscriptionID = value
Me.RaiseDataMemberChanged("SubscriptionID")
End If
End Set
End Property
Private _SubscriptionID As Global.System.Nullable(Of Integer)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property SubscriptionQty() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.SubscriptionQty
Get
Return Me._SubscriptionQty
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._SubscriptionQty, value) Then
Me.RaiseDataMemberChanging("SubscriptionQty")
Me.ValidateProperty("SubscriptionQty", value)
Me._SubscriptionQty = value
Me.RaiseDataMemberChanged("SubscriptionQty")
End If
End Set
End Property
Private _SubscriptionQty As Global.System.Nullable(Of Integer)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property EntryDate() As Global.System.Nullable(Of Date) Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.EntryDate
Get
Return Me._EntryDate
End Get
Set(ByVal value As Global.System.Nullable(Of Date))
If Not Global.System.Object.Equals(Me._EntryDate, value) Then
Me.RaiseDataMemberChanging("EntryDate")
Me.ValidateProperty("EntryDate", value)
Me._EntryDate = value
Me.RaiseDataMemberChanged("EntryDate")
End If
End Set
End Property
Private _EntryDate As Global.System.Nullable(Of Date)
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ImportPerson_Season() As Global.System.Nullable(Of Integer)
Get
Return Me._ImportPerson_Season
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._ImportPerson_Season, value) Then
Me.RaiseDataMemberChanging("ImportPerson_Season")
Me.ValidateProperty("ImportPerson_Season", value)
Me._ImportPerson_Season = value
Me.RaiseDataMemberChanged("ImportPerson_Season")
End If
End Set
End Property
Private _ImportPerson_Season As Global.System.Nullable(Of Integer)
<Global.System.ComponentModel.DataAnnotations.Association("ImportPerson_Season", "ImportPerson_Season", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property Season() As Global.LightSwitchApplication.Implementation.Season
Get
If (Me._Season Is Nothing) Then
Me._Season = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)(Me, "Season", AddressOf Me.FilterSeason)
End If
Return Me._Season.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.Season)
Dim previous As Season = Me.Season
If (previous IsNot value) Then
Me.ValidateProperty("Season", value)
If (previous IsNot Nothing) Then
Me._Season.Entity = Nothing
previous.ImportPersons.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.ImportPerson_Season = value.Id
Else
Me.ImportPerson_Season = Nothing
End If
Me._Season.Entity = value
If (value IsNot Nothing) Then
value.ImportPersons.Add(Me)
End If
Me.RaisePropertyChanged("Season")
End If
End Set
End Property
Private _Season As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Season)
Private Function FilterSeason(ByVal entity As Global.LightSwitchApplication.Implementation.Season) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.ImportPerson_Season)
End Function
Private Property _SeasonImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.Season
Get
Return Me.Season
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.Season = DirectCast(value, Global.LightSwitchApplication.Implementation.Season)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ImportPerson_SubscriptionType() As Global.System.Nullable(Of Integer)
Get
Return Me._ImportPerson_SubscriptionType
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._ImportPerson_SubscriptionType, value) Then
Me.RaiseDataMemberChanging("ImportPerson_SubscriptionType")
Me.ValidateProperty("ImportPerson_SubscriptionType", value)
Me._ImportPerson_SubscriptionType = value
Me.RaiseDataMemberChanged("ImportPerson_SubscriptionType")
End If
End Set
End Property
Private _ImportPerson_SubscriptionType As Global.System.Nullable(Of Integer)
<Global.System.ComponentModel.DataAnnotations.Association("ImportPerson_SubscriptionType", "ImportPerson_SubscriptionType", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property SubscriptionType() As Global.LightSwitchApplication.Implementation.SubscriptionType
Get
If (Me._SubscriptionType Is Nothing) Then
Me._SubscriptionType = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.SubscriptionType)(Me, "SubscriptionType", AddressOf Me.FilterSubscriptionType)
End If
Return Me._SubscriptionType.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.SubscriptionType)
Dim previous As SubscriptionType = Me.SubscriptionType
If (previous IsNot value) Then
Me.ValidateProperty("SubscriptionType", value)
If (previous IsNot Nothing) Then
Me._SubscriptionType.Entity = Nothing
previous.ImportPersons.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.ImportPerson_SubscriptionType = value.Id
Else
Me.ImportPerson_SubscriptionType = Nothing
End If
Me._SubscriptionType.Entity = value
If (value IsNot Nothing) Then
value.ImportPersons.Add(Me)
End If
Me.RaisePropertyChanged("SubscriptionType")
End If
End Set
End Property
Private _SubscriptionType As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.SubscriptionType)
Private Function FilterSubscriptionType(ByVal entity As Global.LightSwitchApplication.Implementation.SubscriptionType) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.ImportPerson_SubscriptionType)
End Function
Private Property _SubscriptionTypeImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.SubscriptionType
Get
Return Me.SubscriptionType
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.SubscriptionType = DirectCast(value, Global.LightSwitchApplication.Implementation.SubscriptionType)
End Set
End Property
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ImportPerson_MailCode() As Global.System.Nullable(Of Integer)
Get
Return Me._ImportPerson_MailCode
End Get
Set(ByVal value As Global.System.Nullable(Of Integer))
If Not Global.System.Object.Equals(Me._ImportPerson_MailCode, value) Then
Me.RaiseDataMemberChanging("ImportPerson_MailCode")
Me.ValidateProperty("ImportPerson_MailCode", value)
Me._ImportPerson_MailCode = value
Me.RaiseDataMemberChanged("ImportPerson_MailCode")
End If
End Set
End Property
Private _ImportPerson_MailCode As Global.System.Nullable(Of Integer)
<Global.System.ComponentModel.DataAnnotations.Association("ImportPerson_MailCode", "ImportPerson_MailCode", "Id", IsForeignKey:=True)> _
<Global.System.Xml.Serialization.XmlIgnore()> _
Public Property MailCode() As Global.LightSwitchApplication.Implementation.MailCode
Get
If (Me._MailCode Is Nothing) Then
Me._MailCode = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailCode)(Me, "MailCode", AddressOf Me.FilterMailCode)
End If
Return Me._MailCode.Entity
End Get
Set(ByVal value As Global.LightSwitchApplication.Implementation.MailCode)
Dim previous As MailCode = Me.MailCode
If (previous IsNot value) Then
Me.ValidateProperty("MailCode", value)
If (previous IsNot Nothing) Then
Me._MailCode.Entity = Nothing
previous.ImportPersons.Remove(Me)
End If
If (value IsNot Nothing) Then
Me.ImportPerson_MailCode = value.Id
Else
Me.ImportPerson_MailCode = Nothing
End If
Me._MailCode.Entity = value
If (value IsNot Nothing) Then
value.ImportPersons.Add(Me)
End If
Me.RaisePropertyChanged("MailCode")
End If
End Set
End Property
Private _MailCode As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.MailCode)
Private Function FilterMailCode(ByVal entity As Global.LightSwitchApplication.Implementation.MailCode) As Boolean
Return Global.System.Object.Equals(entity.Id, Me.ImportPerson_MailCode)
End Function
Private Property _MailCodeImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.ImportPerson.DetailsClass.IImplementation.MailCode
Get
Return Me.MailCode
End Get
Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
Me.MailCode = DirectCast(value, Global.LightSwitchApplication.Implementation.MailCode)
End Set
End Property
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "PeopleCountByMailcode"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/WCF_RIA_ServiceData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class PeopleCountByMailcode
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.PeopleCountByMailcode.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._ID
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ID() As Integer Implements Global.LightSwitchApplication.PeopleCountByMailcode.DetailsClass.IImplementation.ID
Get
Return Me._ID
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ID, value) Then
Me.ValidateProperty("ID", value)
Me._ID = value
Me.RaisePropertyChanged("ID")
End If
End Set
End Property
Private _ID As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailCodeName() As String Implements Global.LightSwitchApplication.PeopleCountByMailcode.DetailsClass.IImplementation.MailCodeName
Get
Return Me._MailCodeName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MailCodeName, value) Then
Me.RaiseDataMemberChanging("MailCodeName")
Me.ValidateProperty("MailCodeName", value)
Me._MailCodeName = value
Me.RaiseDataMemberChanged("MailCodeName")
End If
End Set
End Property
Private _MailCodeName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailCode() As Integer Implements Global.LightSwitchApplication.PeopleCountByMailcode.DetailsClass.IImplementation.MailCode
Get
Return Me._MailCode
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._MailCode, value) Then
Me.RaiseDataMemberChanging("MailCode")
Me.ValidateProperty("MailCode", value)
Me._MailCode = value
Me.RaiseDataMemberChanged("MailCode")
End If
End Set
End Property
Private _MailCode As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property PeopleCount() As Integer Implements Global.LightSwitchApplication.PeopleCountByMailcode.DetailsClass.IImplementation.PeopleCount
Get
Return Me._PeopleCount
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._PeopleCount, value) Then
Me.RaiseDataMemberChanging("PeopleCount")
Me.ValidateProperty("PeopleCount", value)
Me._PeopleCount = value
Me.RaiseDataMemberChanged("PeopleCount")
End If
End Set
End Property
Private _PeopleCount As Integer
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "PeopleCountByZip"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/WCF_RIA_ServiceData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class PeopleCountByZip
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.PeopleCountByZip.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._ID
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ID() As Integer Implements Global.LightSwitchApplication.PeopleCountByZip.DetailsClass.IImplementation.ID
Get
Return Me._ID
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ID, value) Then
Me.ValidateProperty("ID", value)
Me._ID = value
Me.RaisePropertyChanged("ID")
End If
End Set
End Property
Private _ID As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ZipCode() As String Implements Global.LightSwitchApplication.PeopleCountByZip.DetailsClass.IImplementation.ZipCode
Get
Return Me._ZipCode
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._ZipCode, value) Then
Me.RaiseDataMemberChanging("ZipCode")
Me.ValidateProperty("ZipCode", value)
Me._ZipCode = value
Me.RaiseDataMemberChanged("ZipCode")
End If
End Set
End Property
Private _ZipCode As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property PeopleCount() As Integer Implements Global.LightSwitchApplication.PeopleCountByZip.DetailsClass.IImplementation.PeopleCount
Get
Return Me._PeopleCount
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._PeopleCount, value) Then
Me.RaiseDataMemberChanging("PeopleCount")
Me.ValidateProperty("PeopleCount", value)
Me._PeopleCount = value
Me.RaiseDataMemberChanged("PeopleCount")
End If
End Set
End Property
Private _PeopleCount As Integer
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "MatchResult"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/WCF_RIA_ServiceData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class MatchResult
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.MatchResult.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._ID
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ID() As Integer Implements Global.LightSwitchApplication.MatchResult.DetailsClass.IImplementation.ID
Get
Return Me._ID
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ID, value) Then
Me.ValidateProperty("ID", value)
Me._ID = value
Me.RaisePropertyChanged("ID")
End If
End Set
End Property
Private _ID As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MatchResult1() As String Implements Global.LightSwitchApplication.MatchResult.DetailsClass.IImplementation.MatchResult1
Get
Return Me._MatchResult1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MatchResult1, value) Then
Me.RaiseDataMemberChanging("MatchResult1")
Me.ValidateProperty("MatchResult1", value)
Me._MatchResult1 = value
Me.RaiseDataMemberChanged("MatchResult1")
End If
End Set
End Property
Private _MatchResult1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Count() As Integer Implements Global.LightSwitchApplication.MatchResult.DetailsClass.IImplementation.Count
Get
Return Me._Count
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._Count, value) Then
Me.RaiseDataMemberChanging("Count")
Me.ValidateProperty("Count", value)
Me._Count = value
Me.RaiseDataMemberChanged("Count")
End If
End Set
End Property
Private _Count As Integer
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "UpdateResult"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/WCF_RIA_ServiceData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class UpdateResult
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.UpdateResult.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._ID
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ID() As Integer Implements Global.LightSwitchApplication.UpdateResult.DetailsClass.IImplementation.ID
Get
Return Me._ID
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ID, value) Then
Me.ValidateProperty("ID", value)
Me._ID = value
Me.RaisePropertyChanged("ID")
End If
End Set
End Property
Private _ID As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property StartTime() As Date Implements Global.LightSwitchApplication.UpdateResult.DetailsClass.IImplementation.StartTime
Get
Return Me._StartTime
End Get
Set(ByVal value As Date)
If Not Global.System.Object.Equals(Me._StartTime, value) Then
Me.RaiseDataMemberChanging("StartTime")
Me.ValidateProperty("StartTime", value)
Me._StartTime = value
Me.RaiseDataMemberChanged("StartTime")
End If
End Set
End Property
Private _StartTime As Date
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property EndTime() As Date Implements Global.LightSwitchApplication.UpdateResult.DetailsClass.IImplementation.EndTime
Get
Return Me._EndTime
End Get
Set(ByVal value As Date)
If Not Global.System.Object.Equals(Me._EndTime, value) Then
Me.RaiseDataMemberChanging("EndTime")
Me.ValidateProperty("EndTime", value)
Me._EndTime = value
Me.RaiseDataMemberChanged("EndTime")
End If
End Set
End Property
Private _EndTime As Date
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Result() As String Implements Global.LightSwitchApplication.UpdateResult.DetailsClass.IImplementation.Result
Get
Return Me._Result
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Result, value) Then
Me.RaiseDataMemberChanging("Result")
Me.ValidateProperty("Result", value)
Me._Result = value
Me.RaiseDataMemberChanged("Result")
End If
End Set
End Property
Private _Result As String
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "PeopleToMail1"
<Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/WCF_RIA_ServiceData.Implementation")> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public NotInheritable Class PeopleToMail1
Inherits Global.System.ServiceModel.DomainServices.Client.Entity
Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation
Public Overrides Function GetIdentity() As Object
If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
Return Nothing
End If
Return Me._ID
End Function
<Global.System.ComponentModel.DataAnnotations.Key()> _
<Global.System.ComponentModel.DataAnnotations.Editable(False, AllowInitialValue:=True)> _
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property ID() As Integer Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.ID
Get
Return Me._ID
End Get
Set(ByVal value As Integer)
If Not Global.System.Object.Equals(Me._ID, value) Then
Me.ValidateProperty("ID", value)
Me._ID = value
Me.RaisePropertyChanged("ID")
End If
End Set
End Property
Private _ID As Integer
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Salutation() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.Salutation
Get
Return Me._Salutation
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Salutation, value) Then
Me.RaiseDataMemberChanging("Salutation")
Me.ValidateProperty("Salutation", value)
Me._Salutation = value
Me.RaiseDataMemberChanged("Salutation")
End If
End Set
End Property
Private _Salutation As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property FirstName() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.FirstName
Get
Return Me._FirstName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._FirstName, value) Then
Me.RaiseDataMemberChanging("FirstName")
Me.ValidateProperty("FirstName", value)
Me._FirstName = value
Me.RaiseDataMemberChanged("FirstName")
End If
End Set
End Property
Private _FirstName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property LastName() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.LastName
Get
Return Me._LastName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._LastName, value) Then
Me.RaiseDataMemberChanging("LastName")
Me.ValidateProperty("LastName", value)
Me._LastName = value
Me.RaiseDataMemberChanged("LastName")
End If
End Set
End Property
Private _LastName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property NameSuffix() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.NameSuffix
Get
Return Me._NameSuffix
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._NameSuffix, value) Then
Me.RaiseDataMemberChanging("NameSuffix")
Me.ValidateProperty("NameSuffix", value)
Me._NameSuffix = value
Me.RaiseDataMemberChanged("NameSuffix")
End If
End Set
End Property
Private _NameSuffix As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Company() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.Company
Get
Return Me._Company
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Company, value) Then
Me.RaiseDataMemberChanging("Company")
Me.ValidateProperty("Company", value)
Me._Company = value
Me.RaiseDataMemberChanged("Company")
End If
End Set
End Property
Private _Company As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address1() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.Address1
Get
Return Me._Address1
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address1, value) Then
Me.RaiseDataMemberChanging("Address1")
Me.ValidateProperty("Address1", value)
Me._Address1 = value
Me.RaiseDataMemberChanged("Address1")
End If
End Set
End Property
Private _Address1 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Address2() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.Address2
Get
Return Me._Address2
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Address2, value) Then
Me.RaiseDataMemberChanging("Address2")
Me.ValidateProperty("Address2", value)
Me._Address2 = value
Me.RaiseDataMemberChanged("Address2")
End If
End Set
End Property
Private _Address2 As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property State() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.State
Get
Return Me._State
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._State, value) Then
Me.RaiseDataMemberChanging("State")
Me.ValidateProperty("State", value)
Me._State = value
Me.RaiseDataMemberChanged("State")
End If
End Set
End Property
Private _State As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property Zip() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.Zip
Get
Return Me._Zip
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._Zip, value) Then
Me.RaiseDataMemberChanging("Zip")
Me.ValidateProperty("Zip", value)
Me._Zip = value
Me.RaiseDataMemberChanged("Zip")
End If
End Set
End Property
Private _Zip As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailListName() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.MailListName
Get
Return Me._MailListName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MailListName, value) Then
Me.RaiseDataMemberChanging("MailListName")
Me.ValidateProperty("MailListName", value)
Me._MailListName = value
Me.RaiseDataMemberChanged("MailListName")
End If
End Set
End Property
Private _MailListName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property MailCodeName() As String Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.MailCodeName
Get
Return Me._MailCodeName
End Get
Set(ByVal value As String)
If Not Global.System.Object.Equals(Me._MailCodeName, value) Then
Me.RaiseDataMemberChanging("MailCodeName")
Me.ValidateProperty("MailCodeName", value)
Me._MailCodeName = value
Me.RaiseDataMemberChanged("MailCodeName")
End If
End Set
End Property
Private _MailCodeName As String
<Global.System.Runtime.Serialization.DataMember()> _
<Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
Public Property IsSecondary() As Boolean Implements Global.LightSwitchApplication.PeopleToMail1.DetailsClass.IImplementation.IsSecondary
Get
Return Me._IsSecondary
End Get
Set(ByVal value As Boolean)
If Not Global.System.Object.Equals(Me._IsSecondary, value) Then
Me.RaiseDataMemberChanging("IsSecondary")
Me.ValidateProperty("IsSecondary", value)
Me._IsSecondary = value
Me.RaiseDataMemberChanged("IsSecondary")
End If
End Set
End Property
Private _IsSecondary As Boolean
#Region "IEntityImplementation Members"
Private __host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost
Private ReadOnly Property __HostImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Host
Get
Return Me.__host
End Get
End Property
Private Sub _Initialize(ByVal host As Global.Microsoft.LightSwitch.Internal.IEntityImplementationHost) Implements Global.Microsoft.LightSwitch.Internal.IEntityImplementation.Initialize
Me.__host = host
End Sub
Protected Overrides Sub OnPropertyChanged(ByVal e As Global.System.ComponentModel.PropertyChangedEventArgs)
MyBase.OnPropertyChanged(e)
If Not Me.__host Is Nothing Then
Me.__host.RaisePropertyChanged(e.PropertyName)
End If
End Sub
#End Region
End Class
#End Region
#Region "ApplicationData"
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Class ApplicationData
Inherits Global.Microsoft.LightSwitch.ClientGenerated.Implementation.DomainContext
Public Sub New(ByVal dataService As Global.Microsoft.LightSwitch.IDataService)
MyBase.New(dataService, Global.Microsoft.LightSwitch.ClientGenerated.Implementation.DomainContext.CreateWcfDomainClient(Of IApplicationDataContract)(New Global.System.Uri("LightSwitchApplication-Implementation-ApplicationDataDomainService.svc", Global.System.UriKind.Relative)))
End Sub
Public ReadOnly Property PersonEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Person)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Person)()
End Get
End Property
Public ReadOnly Property MailCodeEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.MailCode)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.MailCode)()
End Get
End Property
Public ReadOnly Property SubscriptionEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Subscription)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Subscription)()
End Get
End Property
Public ReadOnly Property SubscriptionDetailEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)()
End Get
End Property
Public ReadOnly Property SubscriptionTypeEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.SubscriptionType)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.SubscriptionType)()
End Get
End Property
Public ReadOnly Property ActivityNameEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.ActivityName)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.ActivityName)()
End Get
End Property
Public ReadOnly Property ActivityEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Activity)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Activity)()
End Get
End Property
Public ReadOnly Property DonationEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Donation)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Donation)()
End Get
End Property
Public ReadOnly Property SeasonEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Season)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Season)()
End Get
End Property
Public ReadOnly Property MailListEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.MailList)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.MailList)()
End Get
End Property
Public ReadOnly Property MailListCodeEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.MailListCode)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.MailListCode)()
End Get
End Property
Public ReadOnly Property ProgramActivityNameEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)()
End Get
End Property
Public ReadOnly Property ProgramActivityEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.ProgramActivity)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.ProgramActivity)()
End Get
End Property
Public ReadOnly Property ProgramNameEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.ProgramName)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.ProgramName)()
End Get
End Property
Public ReadOnly Property ProgramEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Program)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Program)()
End Get
End Property
Public ReadOnly Property ExternalMailPersonEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)()
End Get
End Property
Public ReadOnly Property ImportPersonEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.ImportPerson)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.ImportPerson)()
End Get
End Property
Protected Overrides Function CreateEntityContainer() As Global.System.ServiceModel.DomainServices.Client.EntityContainer
Return New ApplicationDataEntityContainer
End Function
Friend NotInheritable Class ApplicationDataEntityContainer
Inherits Global.System.ServiceModel.DomainServices.Client.EntityContainer
Public Sub New()
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Person)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.MailCode)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Subscription)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.SubscriptionType)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.ActivityName)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Activity)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Donation)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Season)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.MailList)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.MailListCode)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.ProgramActivity)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.ProgramName)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Program)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.ImportPerson)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
End Sub
End Class
#Region "Service Contract Interface"
<Global.System.ServiceModel.ServiceContract> _
Public Interface IApplicationDataContract
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/People_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/People_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/People_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeople_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeople_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Person)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/People_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/People_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/People_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeople_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeople_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Person)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/People_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/People_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/People_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeople_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeople_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Person)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailCodes_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailCodes_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailCodes_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailCodes_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailCodes_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailCodes_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailCodes_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailCodes_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailCodes_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailCodes_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailCodes_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailCodes_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailCodes_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailCodes_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailCodes_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptions_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptions_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Subscription)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptions_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptions_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Subscription)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Subscriptions_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptions_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptions_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Subscription)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptionDetails_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptionDetails_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptionDetails_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptionDetails_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionDetails_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptionDetails_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptionDetails_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.SubscriptionDetail)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptionTypes_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptionTypes_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.SubscriptionType)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptionTypes_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptionTypes_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.SubscriptionType)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubscriptionTypes_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubscriptionTypes_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubscriptionTypes_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.SubscriptionType)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivityNames_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivityNames_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivityNames_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivityNames_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ActivityNames_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivityNames_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivityNames_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Activities_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Activities_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Activities_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivities_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivities_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Activity)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Activities_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Activities_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Activities_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivities_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivities_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Activity)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Activities_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Activities_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Activities_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivities_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivities_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Activity)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Donations_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Donations_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Donations_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginDonations_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndDonations_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Donation)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Donations_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Donations_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Donations_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginDonations_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndDonations_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Donation)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Donations_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Donations_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Donations_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginDonations_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndDonations_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Donation)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Seasons_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Seasons_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Seasons_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSeasons_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSeasons_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Season)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Seasons_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Seasons_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Seasons_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSeasons_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSeasons_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Season)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Seasons_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Seasons_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Seasons_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSeasons_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSeasons_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Season)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SeasonsSorted", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SeasonsSortedResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SeasonsSortedDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSeasonsSorted(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSeasonsSorted(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Season)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailCodesSorted", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailCodesSortedResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailCodesSortedDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailCodesSorted(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailCodesSorted(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ActiveSeasons", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ActiveSeasonsResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ActiveSeasonsDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActiveSeasons(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActiveSeasons(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Season)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailLists_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailLists_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailLists_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailLists_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailLists_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailList)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailLists_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailLists_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailLists_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailLists_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailLists_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailList)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailLists_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailLists_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailLists_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailLists_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailLists_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailList)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailListCodes_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailListCodes_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailListCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailListCodes_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailListCodes_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailListCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailListCodes_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailListCodes_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailListCodes_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailListCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/MailListGeneral", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/MailListGeneralResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/MailListGeneralDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMailListGeneral(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMailListGeneral(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Person)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SelectMailListCodes", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SelectMailListCodesResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SelectMailListCodesDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSelectMailListCodes(ByVal frameworkOperators as String, ByVal prmMailList As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSelectMailListCodes(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MailListCode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivityNames_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivityNames_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivityNames_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivityNames_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivityNames_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivityNames_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivityNames_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivities_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivities_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivity)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivities_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivities_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivity)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivities_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivities_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivities_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivity)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramNames_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramNames_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramNames_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramNames_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramNames_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramNames_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramNames_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Programs_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Programs_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Programs_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPrograms_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPrograms_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Program)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Programs_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Programs_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Programs_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPrograms_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPrograms_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Program)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/Programs_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/Programs_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/Programs_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPrograms_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPrograms_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Program)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ActivePrograms", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ActiveProgramsResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ActiveProgramsDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginActivePrograms(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndActivePrograms(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivitiesSorted", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ProgramActivitiesSortedResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ProgramActivitiesSortedDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginProgramActivitiesSorted(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndProgramActivitiesSorted(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ProgramActivityName)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginExternalMailPersons_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndExternalMailPersons_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginExternalMailPersons_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndExternalMailPersons_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPersons_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginExternalMailPersons_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndExternalMailPersons_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_Single", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginImportPersons_Single(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndImportPersons_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ImportPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_SingleOrDefault", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginImportPersons_SingleOrDefault(ByVal frameworkOperators as String, ByVal Id As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndImportPersons_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ImportPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_All", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ImportPersons_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginImportPersons_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndImportPersons_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ImportPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ImportedPeopleByMatchScore", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ImportedPeopleByMatchScoreResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ImportedPeopleByMatchScoreDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginImportedPeopleByMatchScore(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndImportedPeopleByMatchScore(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ImportPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPeopleByMatchScore", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPeopleByMatchScoreResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/ExternalMailPeopleByMatchScoreDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginExternalMailPeopleByMatchScore(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndExternalMailPeopleByMatchScore(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.ExternalMailPerson)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/SubmitChanges", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/SubmitChangesResponse"),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/SubmitChangesDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubmitChanges(ByVal changeSet As Global.System.Collections.Generic.IEnumerable(Of Global.System.ServiceModel.DomainServices.Client.ChangeSetEntry), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubmitChanges(ByVal result As Global.System.IAsyncResult) As Global.System.Collections.Generic.IEnumerable(Of Global.System.ServiceModel.DomainServices.Client.ChangeSetEntry)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/__GetEntitySetCanInformation", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/__GetEntitySetCanInformationResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/__GetEntitySetCanInformationDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function Begin__GetEntitySetCanInformation(ByVal entitySetName As String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function End__GetEntitySetCanInformation(ByVal result As Global.System.IAsyncResult) As Integer
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ApplicationDataDomainService/__CanExecuteOperation", ReplyAction:="http://tempuri.org/ApplicationDataDomainService/__CanExecuteOperationResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ApplicationDataDomainService/__CanExecuteOperationDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function Begin__CanExecuteOperation(ByVal operationName As String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function End__CanExecuteOperation(ByVal result As Global.System.IAsyncResult) As Boolean
End Interface
#End Region
Protected Overrides Function CreateEntityImplementation(Of T As Global.Microsoft.LightSwitch.IEntityObject)() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation
If GetType(T).Equals(GetType(Global.LightSwitchApplication.Person)) Then
Return New Global.LightSwitchApplication.Implementation.Person()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.MailCode)) Then
Return New Global.LightSwitchApplication.Implementation.MailCode()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.Subscription)) Then
Return New Global.LightSwitchApplication.Implementation.Subscription()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.SubscriptionDetail)) Then
Return New Global.LightSwitchApplication.Implementation.SubscriptionDetail()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.SubscriptionType)) Then
Return New Global.LightSwitchApplication.Implementation.SubscriptionType()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.ActivityName)) Then
Return New Global.LightSwitchApplication.Implementation.ActivityName()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.Activity)) Then
Return New Global.LightSwitchApplication.Implementation.Activity()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.Donation)) Then
Return New Global.LightSwitchApplication.Implementation.Donation()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.Season)) Then
Return New Global.LightSwitchApplication.Implementation.Season()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.MailList)) Then
Return New Global.LightSwitchApplication.Implementation.MailList()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.MailListCode)) Then
Return New Global.LightSwitchApplication.Implementation.MailListCode()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.ProgramActivityName)) Then
Return New Global.LightSwitchApplication.Implementation.ProgramActivityName()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.ProgramActivity)) Then
Return New Global.LightSwitchApplication.Implementation.ProgramActivity()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.ProgramName)) Then
Return New Global.LightSwitchApplication.Implementation.ProgramName()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.Program)) Then
Return New Global.LightSwitchApplication.Implementation.Program()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.ExternalMailPerson)) Then
Return New Global.LightSwitchApplication.Implementation.ExternalMailPerson()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.ImportPerson)) Then
Return New Global.LightSwitchApplication.Implementation.ImportPerson()
End If
Return Nothing
End Function
End Class
#End Region
#Region "WCF_RIA_ServiceData"
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Class WCF_RIA_ServiceData
Inherits Global.Microsoft.LightSwitch.ClientGenerated.Implementation.DomainContext
Public Sub New(ByVal dataService As Global.Microsoft.LightSwitch.IDataService)
MyBase.New(dataService, Global.Microsoft.LightSwitch.ClientGenerated.Implementation.DomainContext.CreateWcfDomainClient(Of IWCF_RIA_ServiceDataContract)(New Global.System.Uri("LightSwitchApplication-Implementation-WCF_RIA_ServiceDataDomainService.svc", Global.System.UriKind.Relative)))
End Sub
Public ReadOnly Property PeopleCountByMailcodeEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)()
End Get
End Property
Public ReadOnly Property PeopleCountByZipEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)()
End Get
End Property
Public ReadOnly Property MatchResultEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.MatchResult)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.MatchResult)()
End Get
End Property
Public ReadOnly Property UpdateResultEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.UpdateResult)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.UpdateResult)()
End Get
End Property
Public ReadOnly Property PeopleToMail1EntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)
Get
Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)()
End Get
End Property
Protected Overrides Function CreateEntityContainer() As Global.System.ServiceModel.DomainServices.Client.EntityContainer
Return New WCF_RIA_ServiceDataEntityContainer
End Function
Friend NotInheritable Class WCF_RIA_ServiceDataEntityContainer
Inherits Global.System.ServiceModel.DomainServices.Client.EntityContainer
Public Sub New()
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.MatchResult)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.UpdateResult)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
End Sub
End Class
#Region "Service Contract Interface"
<Global.System.ServiceModel.ServiceContract> _
Public Interface IWCF_RIA_ServiceDataContract
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_Single", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByMailcodes_Single(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByMailcodes_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_SingleOrDefault", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByMailcodes_SingleOrDefault(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByMailcodes_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_All", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByMailcodes_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByMailcodes_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByMailcodes_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_Single", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByZips_Single(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByZips_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_SingleOrDefault", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByZips_SingleOrDefault(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByZips_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_All", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZips_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByZips_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByZips_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZipDescending", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZipDescendingResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleCountByZipDescendingDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleCountByZipDescending(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleCountByZipDescending(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleCountByZip)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_Single", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMatchResults_Single(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMatchResults_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MatchResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_SingleOrDefault", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMatchResults_SingleOrDefault(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMatchResults_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MatchResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_All", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/MatchResults_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginMatchResults_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndMatchResults_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.MatchResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PerformUpdate", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PerformUpdateResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PerformUpdateDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPerformUpdate(ByVal frameworkOperators as String, ByVal UpdateAction As String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPerformUpdate(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.UpdateResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_Single", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginUpdateResults_Single(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndUpdateResults_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.UpdateResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_SingleOrDefault", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginUpdateResults_SingleOrDefault(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndUpdateResults_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.UpdateResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_All", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/UpdateResults_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginUpdateResults_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndUpdateResults_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.UpdateResult)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/GetPeopleToMailSelected", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/GetPeopleToMailSelectedResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/GetPeopleToMailSelectedDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginGetPeopleToMailSelected(ByVal frameworkOperators as String, ByVal MailListName As String, ByVal IncludeSecondaries As Global.System.Nullable(Of Boolean), ByVal IncludeExternals As Global.System.Nullable(Of Boolean), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndGetPeopleToMailSelected(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_Single", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_SingleResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleToMails_Single(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleToMails_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_SingleOrDefault", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_SingleOrDefaultResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleToMails_SingleOrDefault(ByVal frameworkOperators as String, ByVal ID As Global.System.Nullable(Of Integer), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleToMails_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_All", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_AllResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/PeopleToMails_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginPeopleToMails_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndPeopleToMails_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.PeopleToMail1)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/SubmitChanges", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/SubmitChangesResponse"),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/SubmitChangesDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function BeginSubmitChanges(ByVal changeSet As Global.System.Collections.Generic.IEnumerable(Of Global.System.ServiceModel.DomainServices.Client.ChangeSetEntry), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function EndSubmitChanges(ByVal result As Global.System.IAsyncResult) As Global.System.Collections.Generic.IEnumerable(Of Global.System.ServiceModel.DomainServices.Client.ChangeSetEntry)
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/__GetEntitySetCanInformation", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/__GetEntitySetCanInformationResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/__GetEntitySetCanInformationDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function Begin__GetEntitySetCanInformation(ByVal entitySetName As String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function End__GetEntitySetCanInformation(ByVal result As Global.System.IAsyncResult) As Integer
<Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/__CanExecuteOperation", ReplyAction:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/__CanExecuteOperationResponse"),
Global.System.ServiceModel.Web.WebGet(),
Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/WCF_RIA_ServiceDataDomainService/__CanExecuteOperationDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
Function Begin__CanExecuteOperation(ByVal operationName As String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
Function End__CanExecuteOperation(ByVal result As Global.System.IAsyncResult) As Boolean
End Interface
#End Region
Protected Overrides Function CreateEntityImplementation(Of T As Global.Microsoft.LightSwitch.IEntityObject)() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation
If GetType(T).Equals(GetType(Global.LightSwitchApplication.PeopleCountByMailcode)) Then
Return New Global.LightSwitchApplication.Implementation.PeopleCountByMailcode()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.PeopleCountByZip)) Then
Return New Global.LightSwitchApplication.Implementation.PeopleCountByZip()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.MatchResult)) Then
Return New Global.LightSwitchApplication.Implementation.MatchResult()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.UpdateResult)) Then
Return New Global.LightSwitchApplication.Implementation.UpdateResult()
End If
If GetType(T).Equals(GetType(Global.LightSwitchApplication.PeopleToMail1)) Then
Return New Global.LightSwitchApplication.Implementation.PeopleToMail1()
End If
Return Nothing
End Function
End Class
#End Region
#Region "DataServiceImplementationFactory"
<Global.System.ComponentModel.Composition.PartCreationPolicy(Global.System.ComponentModel.Composition.CreationPolicy.Shared)> _
<Global.System.ComponentModel.Composition.Export(GetType(Global.Microsoft.LightSwitch.Internal.IDataServiceFactory))> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Class DataServiceFactory
Inherits Global.Microsoft.LightSwitch.ClientGenerated.Implementation.DataServiceFactory
Protected Overrides Function CreateDataService(ByVal dataServiceType As Global.System.Type) As Global.Microsoft.LightSwitch.IDataService
If dataServiceType.Equals(GetType(Global.LightSwitchApplication.ApplicationData)) Then
Return New Global.LightSwitchApplication.ApplicationData()
End If
If dataServiceType.Equals(GetType(Global.LightSwitchApplication.WCF_RIA_ServiceData)) Then
Return New Global.LightSwitchApplication.WCF_RIA_ServiceData()
End If
Return MyBase.CreateDataService(dataServiceType)
End Function
Protected Overrides Function CreateDataServiceImplementation(Of TDataService As Global.Microsoft.LightSwitch.IDataService)(ByVal dataService As TDataService) As Global.Microsoft.LightSwitch.Internal.IDataServiceImplementation
If GetType(TDataService).Equals(GetType(Global.LightSwitchApplication.ApplicationData)) Then
Return New Global.LightSwitchApplication.Implementation.ApplicationData(dataService)
End If
If GetType(TDataService).Equals(GetType(Global.LightSwitchApplication.WCF_RIA_ServiceData)) Then
Return New Global.LightSwitchApplication.Implementation.WCF_RIA_ServiceData(dataService)
End If
Return MyBase.CreateDataServiceImplementation(dataService)
End Function
End Class
#End Region
<Global.System.ComponentModel.Composition.PartCreationPolicy(Global.System.ComponentModel.Composition.CreationPolicy.Shared)> _
<Global.System.ComponentModel.Composition.Export(GetType(Global.Microsoft.LightSwitch.Internal.ITypeMappingProvider))> _
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Class __TypeMapping
Implements Global.Microsoft.LightSwitch.Internal.ITypeMappingProvider
Private Function GetImplementationType(ByVal definitionType As Global.System.Type) As Global.System.Type Implements Global.Microsoft.LightSwitch.Internal.ITypeMappingProvider.GetImplementationType
If GetType(Global.LightSwitchApplication.Person).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.Person)
End If
If GetType(Global.LightSwitchApplication.MailCode).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.MailCode)
End If
If GetType(Global.LightSwitchApplication.Subscription).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.Subscription)
End If
If GetType(Global.LightSwitchApplication.SubscriptionDetail).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.SubscriptionDetail)
End If
If GetType(Global.LightSwitchApplication.SubscriptionType).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.SubscriptionType)
End If
If GetType(Global.LightSwitchApplication.ActivityName).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.ActivityName)
End If
If GetType(Global.LightSwitchApplication.Activity).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.Activity)
End If
If GetType(Global.LightSwitchApplication.Donation).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.Donation)
End If
If GetType(Global.LightSwitchApplication.Season).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.Season)
End If
If GetType(Global.LightSwitchApplication.MailList).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.MailList)
End If
If GetType(Global.LightSwitchApplication.MailListCode).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.MailListCode)
End If
If GetType(Global.LightSwitchApplication.ProgramActivityName).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.ProgramActivityName)
End If
If GetType(Global.LightSwitchApplication.ProgramActivity).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.ProgramActivity)
End If
If GetType(Global.LightSwitchApplication.ProgramName).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.ProgramName)
End If
If GetType(Global.LightSwitchApplication.Program).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.Program)
End If
If GetType(Global.LightSwitchApplication.ExternalMailPerson).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.ExternalMailPerson)
End If
If GetType(Global.LightSwitchApplication.ImportPerson).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.ImportPerson)
End If
If GetType(Global.LightSwitchApplication.PeopleCountByMailcode).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.PeopleCountByMailcode)
End If
If GetType(Global.LightSwitchApplication.PeopleCountByZip).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.PeopleCountByZip)
End If
If GetType(Global.LightSwitchApplication.MatchResult).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.MatchResult)
End If
If GetType(Global.LightSwitchApplication.UpdateResult).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.UpdateResult)
End If
If GetType(Global.LightSwitchApplication.PeopleToMail1).Equals(definitionType)
Return GetType(Global.LightSwitchApplication.Implementation.PeopleToMail1)
End If
Return Nothing
End Function
End Class
End Namespace