Click here to Skip to main content
15,897,291 members
Articles / LightSwitch

Search SSRS Subscriptions - LightSwitch Star Contest Submission

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
9 Dec 2011CPOL6 min read 23.1K   209   2  
How to search for SSRS subscriptions
  • SearchSSRSSubscriptionsSourceCode.zip
    • SearchSSRSSubscriptions
      • mssccprj.scc
      • SearchSSRSSubscriptions.sln
      • SearchSSRSSubscriptions.sln.docstates.suo
      • SearchSSRSSubscriptions.suo
      • SearchSSRSSubscriptions.vssscc
      • SearchSSRSSubscriptions
        • _Pvt_Extensions
          • Luminous.Themes.v1_0
            • IDE
              • Reference
                • Luminous.Themes.v1_0.Common.dll
                • Luminous.Themes.v1_0.Design.dll
          • MetroThemeExtension
            • IDE
              • Reference
                • MetroThemeExtension.Common.dll
          • Microsoft.LightSwitch.Extensions
            • Client
              • DebugOnlyRef
                • Microsoft.LightSwitch.Extensions.Design.Client.dll
            • ClientGen
              • Reference
                • ar
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • bg
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • ca
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • cs
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • da
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • de
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • el
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • es
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • et
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • eu
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • fi
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • fr
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • he
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • hr
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • hu
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • id
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • it
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • ja
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • ko
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • lt
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • lv
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • Microsoft.LightSwitch.Extensions.Client.dll
                • ms
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • nl
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • no
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • pl
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • pt
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • pt-BR
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • ro
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • ru
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • sk
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • sl
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • sr-Cyrl-CS
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • sr-Latn-CS
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • sv
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • th
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • tr
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • uk
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • vi
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • zh-Hans
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
                • zh-Hant
                  • Microsoft.LightSwitch.Extensions.Client.Resources.dll
            • IDE
              • Reference
                • de
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • es
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • fr
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • it
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • ja
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • ko
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • Microsoft.LightSwitch.Extensions.Design.dll
                • ru
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • zh-Hans
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
                • zh-Hant
                  • Microsoft.LightSwitch.Extensions.Design.Resources.dll
            • LsPkgLastWriteTime.txt
            • ServerGen
              • Reference
                • ar
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • bg
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • ca
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • cs
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • da
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • de
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • el
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • es
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • et
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • eu
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • fi
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • fr
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • he
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • hr
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • hu
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • id
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • it
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • ja
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • ko
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • lt
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • lv
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • Microsoft.LightSwitch.Extensions.Server.dll
                • ms
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • nl
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • no
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • pl
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • pt
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • pt-BR
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • ro
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • ru
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • sk
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • sl
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • sr-Cyrl-CS
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • sr-Latn-CS
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • sv
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • th
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • tr
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • uk
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • vi
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • zh-Hans
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
                • zh-Hant
                  • Microsoft.LightSwitch.Extensions.Server.Resources.dll
          • WebAddressExtension
            • Client
              • DebugOnlyRef
                • WebAddressExtension.Client.Design.dll
              • Reference
                • WebAddressExtension.Client.dll
                • WebAddressExtension.Common.dll
            • IDE
              • Reference
                • WebAddressExtension.Common.dll
                • WebAddressExtension.Design.dll
            • LsPkgLastWriteTime.txt
            • Server
              • Reference
                • WebAddressExtension.Common.dll
                • WebAddressExtension.Server.dll
        • app.config
        • bin
          • Data
            • Temp
          • Debug
        • Client
        • ClientGenerated
        • Common
        • Data
          • ApplicationDefinition.lsml
          • vssver.scc
        • default.htm
        • SearchSSRSSubscriptions.lsproj
        • SearchSSRSSubscriptions.lsproj.user
        • SearchSSRSSubscriptions.lsproj.vspscc
        • Server
        • ServerGenerated
        • ServiceConfiguration.cscfg
        • ServiceDefinition.csdef
        • Silverlight.js
        • vssver.scc
      • vssver.scc
'------------------------------------------------------------------------------
' <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 "Catalog"
    <Global.System.Runtime.Serialization.DataContract(Namespace:="http://schemas.datacontract.org/2004/07/ReportServerData.Implementation")> _
    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
    Public NotInheritable Class Catalog
        Inherits Global.System.ServiceModel.DomainServices.Client.Entity
        Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation
    
        Public Overrides Function GetIdentity() As Object
            If (Me.__host IsNot Nothing AndAlso Me.__host.IsNewlyAdded) Then
                Return Nothing
            End If
    
            Return Me._ItemID
        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 ItemID() As Global.System.Guid Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.ItemID
            Get
                Return Me._ItemID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._ItemID, value) Then
                    Me.ValidateProperty("ItemID", value)
                    Me._ItemID = value
                    Me.RaisePropertyChanged("ItemID")
                End If
            End Set
        End Property
        Private _ItemID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Path() As String Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Path
            Get
                Return Me._Path
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Path, value) Then
                    Me.RaiseDataMemberChanging("Path")
                    Me.ValidateProperty("Path", value)
                    Me._Path = value
                    Me.RaiseDataMemberChanged("Path")
                End If
            End Set
        End Property
        Private _Path As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Name() As String Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Name
            Get
                Return Me._Name
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Name, value) Then
                    Me.RaiseDataMemberChanging("Name")
                    Me.ValidateProperty("Name", value)
                    Me._Name = value
                    Me.RaiseDataMemberChanged("Name")
                End If
            End Set
        End Property
        Private _Name As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Description() As String Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Description
            Get
                Return Me._Description
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Description, value) Then
                    Me.RaiseDataMemberChanging("Description")
                    Me.ValidateProperty("Description", value)
                    Me._Description = value
                    Me.RaiseDataMemberChanged("Description")
                End If
            End Set
        End Property
        Private _Description As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Type() As Integer Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Type
            Get
                Return Me._Type
            End Get
            Set(ByVal value As Integer)
                If Not Global.System.Object.Equals(Me._Type, value) Then
                    Me.RaiseDataMemberChanging("Type")
                    Me.ValidateProperty("Type", value)
                    Me._Type = value
                    Me.RaiseDataMemberChanged("Type")
                End If
            End Set
        End Property
        Private _Type As Integer
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Content() As Byte() Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Content
            Get
                Return Me._Content
            End Get
            Set(ByVal value As Byte())
                If Not Global.System.Object.Equals(Me._Content, value) Then
                    Me.RaiseDataMemberChanging("Content")
                    Me.ValidateProperty("Content", value)
                    Me._Content = value
                    Me.RaiseDataMemberChanged("Content")
                End If
            End Set
        End Property
        Private _Content As Byte()
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Intermediate() As Global.System.Nullable(Of Global.System.Guid) Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Intermediate
            Get
                Return Me._Intermediate
            End Get
            Set(ByVal value As Global.System.Nullable(Of Global.System.Guid))
                If Not Global.System.Object.Equals(Me._Intermediate, value) Then
                    Me.RaiseDataMemberChanging("Intermediate")
                    Me.ValidateProperty("Intermediate", value)
                    Me._Intermediate = value
                    Me.RaiseDataMemberChanged("Intermediate")
                End If
            End Set
        End Property
        Private _Intermediate As Global.System.Nullable(Of Global.System.Guid)
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property SnapshotDataID() As Global.System.Nullable(Of Global.System.Guid) Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.SnapshotDataID
            Get
                Return Me._SnapshotDataID
            End Get
            Set(ByVal value As Global.System.Nullable(Of Global.System.Guid))
                If Not Global.System.Object.Equals(Me._SnapshotDataID, value) Then
                    Me.RaiseDataMemberChanging("SnapshotDataID")
                    Me.ValidateProperty("SnapshotDataID", value)
                    Me._SnapshotDataID = value
                    Me.RaiseDataMemberChanged("SnapshotDataID")
                End If
            End Set
        End Property
        Private _SnapshotDataID As Global.System.Nullable(Of Global.System.Guid)
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property c_Property() As String Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.c_Property
            Get
                Return Me._c_Property
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._c_Property, value) Then
                    Me.RaiseDataMemberChanging("c_Property")
                    Me.ValidateProperty("c_Property", value)
                    Me._c_Property = value
                    Me.RaiseDataMemberChanged("c_Property")
                End If
            End Set
        End Property
        Private _c_Property As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Hidden() As Global.System.Nullable(Of Boolean) Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Hidden
            Get
                Return Me._Hidden
            End Get
            Set(ByVal value As Global.System.Nullable(Of Boolean))
                If Not Global.System.Object.Equals(Me._Hidden, value) Then
                    Me.RaiseDataMemberChanging("Hidden")
                    Me.ValidateProperty("Hidden", value)
                    Me._Hidden = value
                    Me.RaiseDataMemberChanged("Hidden")
                End If
            End Set
        End Property
        Private _Hidden As Global.System.Nullable(Of Boolean)
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property CreatedByID() As Global.System.Guid Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.CreatedByID
            Get
                Return Me._CreatedByID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._CreatedByID, value) Then
                    Me.RaiseDataMemberChanging("CreatedByID")
                    Me.ValidateProperty("CreatedByID", value)
                    Me._CreatedByID = value
                    Me.RaiseDataMemberChanged("CreatedByID")
                End If
            End Set
        End Property
        Private _CreatedByID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property CreationDate() As Date Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.CreationDate
            Get
                Return Me._CreationDate
            End Get
            Set(ByVal value As Date)
                If Not Global.System.Object.Equals(Me._CreationDate, value) Then
                    Me.RaiseDataMemberChanging("CreationDate")
                    Me.ValidateProperty("CreationDate", value)
                    Me._CreationDate = value
                    Me.RaiseDataMemberChanged("CreationDate")
                End If
            End Set
        End Property
        Private _CreationDate As Date
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ModifiedByID() As Global.System.Guid Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.ModifiedByID
            Get
                Return Me._ModifiedByID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._ModifiedByID, value) Then
                    Me.RaiseDataMemberChanging("ModifiedByID")
                    Me.ValidateProperty("ModifiedByID", value)
                    Me._ModifiedByID = value
                    Me.RaiseDataMemberChanged("ModifiedByID")
                End If
            End Set
        End Property
        Private _ModifiedByID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ModifiedDate() As Date Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.ModifiedDate
            Get
                Return Me._ModifiedDate
            End Get
            Set(ByVal value As Date)
                If Not Global.System.Object.Equals(Me._ModifiedDate, value) Then
                    Me.RaiseDataMemberChanging("ModifiedDate")
                    Me.ValidateProperty("ModifiedDate", value)
                    Me._ModifiedDate = value
                    Me.RaiseDataMemberChanged("ModifiedDate")
                End If
            End Set
        End Property
        Private _ModifiedDate As Date
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property MimeType() As String Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.MimeType
            Get
                Return Me._MimeType
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._MimeType, value) Then
                    Me.RaiseDataMemberChanging("MimeType")
                    Me.ValidateProperty("MimeType", value)
                    Me._MimeType = value
                    Me.RaiseDataMemberChanged("MimeType")
                End If
            End Set
        End Property
        Private _MimeType As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property SnapshotLimit() As Global.System.Nullable(Of Integer) Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.SnapshotLimit
            Get
                Return Me._SnapshotLimit
            End Get
            Set(ByVal value As Global.System.Nullable(Of Integer))
                If Not Global.System.Object.Equals(Me._SnapshotLimit, value) Then
                    Me.RaiseDataMemberChanging("SnapshotLimit")
                    Me.ValidateProperty("SnapshotLimit", value)
                    Me._SnapshotLimit = value
                    Me.RaiseDataMemberChanged("SnapshotLimit")
                End If
            End Set
        End Property
        Private _SnapshotLimit As Global.System.Nullable(Of Integer)
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Parameter() As String Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Parameter
            Get
                Return Me._Parameter
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Parameter, value) Then
                    Me.RaiseDataMemberChanging("Parameter")
                    Me.ValidateProperty("Parameter", value)
                    Me._Parameter = value
                    Me.RaiseDataMemberChanged("Parameter")
                End If
            End Set
        End Property
        Private _Parameter As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property PolicyID() As Global.System.Guid Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.PolicyID
            Get
                Return Me._PolicyID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._PolicyID, value) Then
                    Me.RaiseDataMemberChanging("PolicyID")
                    Me.ValidateProperty("PolicyID", value)
                    Me._PolicyID = value
                    Me.RaiseDataMemberChanged("PolicyID")
                End If
            End Set
        End Property
        Private _PolicyID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property PolicyRoot() As Boolean Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.PolicyRoot
            Get
                Return Me._PolicyRoot
            End Get
            Set(ByVal value As Boolean)
                If Not Global.System.Object.Equals(Me._PolicyRoot, value) Then
                    Me.RaiseDataMemberChanging("PolicyRoot")
                    Me.ValidateProperty("PolicyRoot", value)
                    Me._PolicyRoot = value
                    Me.RaiseDataMemberChanged("PolicyRoot")
                End If
            End Set
        End Property
        Private _PolicyRoot As Boolean
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ExecutionFlag() As Integer Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.ExecutionFlag
            Get
                Return Me._ExecutionFlag
            End Get
            Set(ByVal value As Integer)
                If Not Global.System.Object.Equals(Me._ExecutionFlag, value) Then
                    Me.RaiseDataMemberChanging("ExecutionFlag")
                    Me.ValidateProperty("ExecutionFlag", value)
                    Me._ExecutionFlag = value
                    Me.RaiseDataMemberChanged("ExecutionFlag")
                End If
            End Set
        End Property
        Private _ExecutionFlag As Integer
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ExecutionTime() As Global.System.Nullable(Of Date) Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.ExecutionTime
            Get
                Return Me._ExecutionTime
            End Get
            Set(ByVal value As Global.System.Nullable(Of Date))
                If Not Global.System.Object.Equals(Me._ExecutionTime, value) Then
                    Me.RaiseDataMemberChanging("ExecutionTime")
                    Me.ValidateProperty("ExecutionTime", value)
                    Me._ExecutionTime = value
                    Me.RaiseDataMemberChanged("ExecutionTime")
                End If
            End Set
        End Property
        Private _ExecutionTime As Global.System.Nullable(Of Date)
        
        <Global.System.ComponentModel.DataAnnotations.Association("FK_Catalog_LinkSourceID", "ItemID", "LinkSourceID")> _
        <Global.System.Xml.Serialization.XmlIgnore()> _
        Public ReadOnly Property Catalogs() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Catalog)
            Get
                If (Me._Catalogs Is Nothing) Then
                    Me._Catalogs = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Catalog)(Me, "Catalogs", AddressOf Me.FilterCatalogs, AddressOf Me.AttachCatalogs, AddressOf Me.DetachCatalogs)
                End If
                Return Me._Catalogs
            End Get
        End Property
        Private _Catalogs As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Catalog)
        Private Sub AttachCatalogs(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog)
            entity.Catalog1 = Me
        End Sub
        Private Sub DetachCatalogs(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog)
            entity.Catalog1 = Nothing
        End Sub
        Private Function FilterCatalogs(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog) As Boolean
            Return Global.System.Object.Equals(entity.LinkSourceID, Me.ItemID)
        End Function
        Private ReadOnly Property _CatalogsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Catalogs
            Get
                Return Me.Catalogs
            End Get
        End Property
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property LinkSourceID() As Global.System.Nullable(Of Global.System.Guid)
            Get
                Return Me._LinkSourceID
            End Get
            Set(ByVal value As Global.System.Nullable(Of Global.System.Guid))
                If Not Global.System.Object.Equals(Me._LinkSourceID, value) Then
                    Me.RaiseDataMemberChanging("LinkSourceID")
                    Me.ValidateProperty("LinkSourceID", value)
                    Me._LinkSourceID = value
                    Me.RaiseDataMemberChanged("LinkSourceID")
                End If
            End Set
        End Property
        Private _LinkSourceID As Global.System.Nullable(Of Global.System.Guid)
        
        <Global.System.ComponentModel.DataAnnotations.Association("FK_Catalog_LinkSourceID", "LinkSourceID", "ItemID", IsForeignKey:=True)> _
        <Global.System.Xml.Serialization.XmlIgnore()> _
        Public Property Catalog1() As Global.LightSwitchApplication.Implementation.Catalog
            Get
                If (Me._Catalog1 Is Nothing) Then
                    Me._Catalog1 = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Catalog)(Me, "Catalog1", AddressOf Me.FilterCatalog1)
                End If
                Return Me._Catalog1.Entity
            End Get
            Set(ByVal value As Global.LightSwitchApplication.Implementation.Catalog)
                Dim previous As Catalog = Me.Catalog1
                If (previous IsNot value) Then
                    Me.ValidateProperty("Catalog1", value)
                    If (previous IsNot Nothing) Then
                        Me._Catalog1.Entity = Nothing
                        previous.Catalogs.Remove(Me)
                    End If
                    If (value IsNot Nothing) Then
                        Me.LinkSourceID = value.ItemID
                    Else
                        Me.LinkSourceID = Nothing
                    End If
                    Me._Catalog1.Entity = value
                    If (value IsNot Nothing) Then
                        value.Catalogs.Add(Me)
                    End If
                    Me.RaisePropertyChanged("Catalog1")
                End If
            End Set
        End Property
        Private _Catalog1 As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Catalog)
        Private Function FilterCatalog1(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog) As Boolean
            Return Global.System.Object.Equals(entity.ItemID, Me.LinkSourceID)
        End Function
        Private Property _Catalog1Implementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Catalog1
            Get
                Return Me.Catalog1
            End Get
            Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
                Me.Catalog1 = DirectCast(value, Global.LightSwitchApplication.Implementation.Catalog)
            End Set
        End Property
        
        <Global.System.ComponentModel.DataAnnotations.Association("FK_Catalog_ParentID", "ItemID", "ParentID")> _
        <Global.System.Xml.Serialization.XmlIgnore()> _
        Public ReadOnly Property Catalogs1() As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Catalog)
            Get
                If (Me._Catalogs1 Is Nothing) Then
                    Me._Catalogs1 = New Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Catalog)(Me, "Catalogs1", AddressOf Me.FilterCatalogs1, AddressOf Me.AttachCatalogs1, AddressOf Me.DetachCatalogs1)
                End If
                Return Me._Catalogs1
            End Get
        End Property
        Private _Catalogs1 As Global.System.ServiceModel.DomainServices.Client.EntityCollection(Of Global.LightSwitchApplication.Implementation.Catalog)
        Private Sub AttachCatalogs1(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog)
            entity.Catalog2 = Me
        End Sub
        Private Sub DetachCatalogs1(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog)
            entity.Catalog2 = Nothing
        End Sub
        Private Function FilterCatalogs1(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog) As Boolean
            Return Global.System.Object.Equals(entity.ParentID, Me.ItemID)
        End Function
        Private ReadOnly Property _Catalogs1Implementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Catalogs1
            Get
                Return Me.Catalogs1
            End Get
        End Property
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ParentID() As Global.System.Nullable(Of Global.System.Guid)
            Get
                Return Me._ParentID
            End Get
            Set(ByVal value As Global.System.Nullable(Of Global.System.Guid))
                If Not Global.System.Object.Equals(Me._ParentID, value) Then
                    Me.RaiseDataMemberChanging("ParentID")
                    Me.ValidateProperty("ParentID", value)
                    Me._ParentID = value
                    Me.RaiseDataMemberChanged("ParentID")
                End If
            End Set
        End Property
        Private _ParentID As Global.System.Nullable(Of Global.System.Guid)
        
        <Global.System.ComponentModel.DataAnnotations.Association("FK_Catalog_ParentID", "ParentID", "ItemID", IsForeignKey:=True)> _
        <Global.System.Xml.Serialization.XmlIgnore()> _
        Public Property Catalog2() As Global.LightSwitchApplication.Implementation.Catalog
            Get
                If (Me._Catalog2 Is Nothing) Then
                    Me._Catalog2 = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Catalog)(Me, "Catalog2", AddressOf Me.FilterCatalog2)
                End If
                Return Me._Catalog2.Entity
            End Get
            Set(ByVal value As Global.LightSwitchApplication.Implementation.Catalog)
                Dim previous As Catalog = Me.Catalog2
                If (previous IsNot value) Then
                    Me.ValidateProperty("Catalog2", value)
                    If (previous IsNot Nothing) Then
                        Me._Catalog2.Entity = Nothing
                        previous.Catalogs1.Remove(Me)
                    End If
                    If (value IsNot Nothing) Then
                        Me.ParentID = value.ItemID
                    Else
                        Me.ParentID = Nothing
                    End If
                    Me._Catalog2.Entity = value
                    If (value IsNot Nothing) Then
                        value.Catalogs1.Add(Me)
                    End If
                    Me.RaisePropertyChanged("Catalog2")
                End If
            End Set
        End Property
        Private _Catalog2 As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Catalog)
        Private Function FilterCatalog2(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog) As Boolean
            Return Global.System.Object.Equals(entity.ItemID, Me.ParentID)
        End Function
        Private Property _Catalog2Implementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Catalog2
            Get
                Return Me.Catalog2
            End Get
            Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
                Me.Catalog2 = DirectCast(value, Global.LightSwitchApplication.Implementation.Catalog)
            End Set
        End Property
        
        <Global.System.ComponentModel.DataAnnotations.Association("FK_Subscriptions_Catalog", "ItemID", "Report_OID")> _
        <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.Catalog = Me
        End Sub
        Private Sub DetachSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription)
            entity.Catalog = Nothing
        End Sub
        Private Function FilterSubscriptions(ByVal entity As Global.LightSwitchApplication.Implementation.Subscription) As Boolean
            Return Global.System.Object.Equals(entity.Report_OID, Me.ItemID)
        End Function
        Private ReadOnly Property _SubscriptionsImplementation() As Global.System.Collections.IEnumerable Implements Global.LightSwitchApplication.Catalog.DetailsClass.IImplementation.Subscriptions
            Get
                Return Me.Subscriptions
            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/ReportServerData.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._SubscriptionID
        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 SubscriptionID() As Global.System.Guid Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.SubscriptionID
            Get
                Return Me._SubscriptionID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._SubscriptionID, value) Then
                    Me.ValidateProperty("SubscriptionID", value)
                    Me._SubscriptionID = value
                    Me.RaisePropertyChanged("SubscriptionID")
                End If
            End Set
        End Property
        Private _SubscriptionID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ExtensionSettings() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.ExtensionSettings
            Get
                Return Me._ExtensionSettings
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._ExtensionSettings, value) Then
                    Me.RaiseDataMemberChanging("ExtensionSettings")
                    Me.ValidateProperty("ExtensionSettings", value)
                    Me._ExtensionSettings = value
                    Me.RaiseDataMemberChanged("ExtensionSettings")
                End If
            End Set
        End Property
        Private _ExtensionSettings As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property OwnerID() As Global.System.Guid Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.OwnerID
            Get
                Return Me._OwnerID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._OwnerID, value) Then
                    Me.RaiseDataMemberChanging("OwnerID")
                    Me.ValidateProperty("OwnerID", value)
                    Me._OwnerID = value
                    Me.RaiseDataMemberChanged("OwnerID")
                End If
            End Set
        End Property
        Private _OwnerID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Locale() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Locale
            Get
                Return Me._Locale
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Locale, value) Then
                    Me.RaiseDataMemberChanging("Locale")
                    Me.ValidateProperty("Locale", value)
                    Me._Locale = value
                    Me.RaiseDataMemberChanged("Locale")
                End If
            End Set
        End Property
        Private _Locale As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property InactiveFlags() As Integer Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.InactiveFlags
            Get
                Return Me._InactiveFlags
            End Get
            Set(ByVal value As Integer)
                If Not Global.System.Object.Equals(Me._InactiveFlags, value) Then
                    Me.RaiseDataMemberChanging("InactiveFlags")
                    Me.ValidateProperty("InactiveFlags", value)
                    Me._InactiveFlags = value
                    Me.RaiseDataMemberChanged("InactiveFlags")
                End If
            End Set
        End Property
        Private _InactiveFlags As Integer
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ModifiedByID() As Global.System.Guid Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.ModifiedByID
            Get
                Return Me._ModifiedByID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._ModifiedByID, value) Then
                    Me.RaiseDataMemberChanging("ModifiedByID")
                    Me.ValidateProperty("ModifiedByID", value)
                    Me._ModifiedByID = value
                    Me.RaiseDataMemberChanged("ModifiedByID")
                End If
            End Set
        End Property
        Private _ModifiedByID As Global.System.Guid
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property ModifiedDate() As Date Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.ModifiedDate
            Get
                Return Me._ModifiedDate
            End Get
            Set(ByVal value As Date)
                If Not Global.System.Object.Equals(Me._ModifiedDate, value) Then
                    Me.RaiseDataMemberChanging("ModifiedDate")
                    Me.ValidateProperty("ModifiedDate", value)
                    Me._ModifiedDate = value
                    Me.RaiseDataMemberChanged("ModifiedDate")
                End If
            End Set
        End Property
        Private _ModifiedDate As Date
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Description() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Description
            Get
                Return Me._Description
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Description, value) Then
                    Me.RaiseDataMemberChanging("Description")
                    Me.ValidateProperty("Description", value)
                    Me._Description = value
                    Me.RaiseDataMemberChanged("Description")
                End If
            End Set
        End Property
        Private _Description As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property LastStatus() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.LastStatus
            Get
                Return Me._LastStatus
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._LastStatus, value) Then
                    Me.RaiseDataMemberChanging("LastStatus")
                    Me.ValidateProperty("LastStatus", value)
                    Me._LastStatus = value
                    Me.RaiseDataMemberChanged("LastStatus")
                End If
            End Set
        End Property
        Private _LastStatus As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property EventType() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.EventType
            Get
                Return Me._EventType
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._EventType, value) Then
                    Me.RaiseDataMemberChanging("EventType")
                    Me.ValidateProperty("EventType", value)
                    Me._EventType = value
                    Me.RaiseDataMemberChanged("EventType")
                End If
            End Set
        End Property
        Private _EventType As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property MatchData() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.MatchData
            Get
                Return Me._MatchData
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._MatchData, value) Then
                    Me.RaiseDataMemberChanging("MatchData")
                    Me.ValidateProperty("MatchData", value)
                    Me._MatchData = value
                    Me.RaiseDataMemberChanged("MatchData")
                End If
            End Set
        End Property
        Private _MatchData As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property LastRunTime() As Global.System.Nullable(Of Date) Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.LastRunTime
            Get
                Return Me._LastRunTime
            End Get
            Set(ByVal value As Global.System.Nullable(Of Date))
                If Not Global.System.Object.Equals(Me._LastRunTime, value) Then
                    Me.RaiseDataMemberChanging("LastRunTime")
                    Me.ValidateProperty("LastRunTime", value)
                    Me._LastRunTime = value
                    Me.RaiseDataMemberChanged("LastRunTime")
                End If
            End Set
        End Property
        Private _LastRunTime As Global.System.Nullable(Of Date)
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Parameters() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Parameters
            Get
                Return Me._Parameters
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._Parameters, value) Then
                    Me.RaiseDataMemberChanging("Parameters")
                    Me.ValidateProperty("Parameters", value)
                    Me._Parameters = value
                    Me.RaiseDataMemberChanged("Parameters")
                End If
            End Set
        End Property
        Private _Parameters As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property DataSettings() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.DataSettings
            Get
                Return Me._DataSettings
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._DataSettings, value) Then
                    Me.RaiseDataMemberChanging("DataSettings")
                    Me.ValidateProperty("DataSettings", value)
                    Me._DataSettings = value
                    Me.RaiseDataMemberChanged("DataSettings")
                End If
            End Set
        End Property
        Private _DataSettings As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property DeliveryExtension() As String Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.DeliveryExtension
            Get
                Return Me._DeliveryExtension
            End Get
            Set(ByVal value As String)
                If Not Global.System.Object.Equals(Me._DeliveryExtension, value) Then
                    Me.RaiseDataMemberChanging("DeliveryExtension")
                    Me.ValidateProperty("DeliveryExtension", value)
                    Me._DeliveryExtension = value
                    Me.RaiseDataMemberChanged("DeliveryExtension")
                End If
            End Set
        End Property
        Private _DeliveryExtension As String
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Version() As Integer Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Version
            Get
                Return Me._Version
            End Get
            Set(ByVal value As Integer)
                If Not Global.System.Object.Equals(Me._Version, value) Then
                    Me.RaiseDataMemberChanging("Version")
                    Me.ValidateProperty("Version", value)
                    Me._Version = value
                    Me.RaiseDataMemberChanged("Version")
                End If
            End Set
        End Property
        Private _Version As Integer
        
        <Global.System.Runtime.Serialization.DataMember()> _
        <Global.System.ComponentModel.DataAnnotations.RoundtripOriginal()> _
        Public Property Report_OID() As Global.System.Guid
            Get
                Return Me._Report_OID
            End Get
            Set(ByVal value As Global.System.Guid)
                If Not Global.System.Object.Equals(Me._Report_OID, value) Then
                    Me.RaiseDataMemberChanging("Report_OID")
                    Me.ValidateProperty("Report_OID", value)
                    Me._Report_OID = value
                    Me.RaiseDataMemberChanged("Report_OID")
                End If
            End Set
        End Property
        Private _Report_OID As Global.System.Guid
        
        <Global.System.ComponentModel.DataAnnotations.Association("FK_Subscriptions_Catalog", "Report_OID", "ItemID", IsForeignKey:=True)> _
        <Global.System.Xml.Serialization.XmlIgnore()> _
        Public Property Catalog() As Global.LightSwitchApplication.Implementation.Catalog
            Get
                If (Me._Catalog Is Nothing) Then
                    Me._Catalog = New Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Catalog)(Me, "Catalog", AddressOf Me.FilterCatalog)
                End If
                Return Me._Catalog.Entity
            End Get
            Set(ByVal value As Global.LightSwitchApplication.Implementation.Catalog)
                Dim previous As Catalog = Me.Catalog
                If (previous IsNot value) Then
                    Me.ValidateProperty("Catalog", value)
                    If (previous IsNot Nothing) Then
                        Me._Catalog.Entity = Nothing
                        previous.Subscriptions.Remove(Me)
                    End If
                    If (value IsNot Nothing) Then
                        Me.Report_OID = value.ItemID
                    Else
                        Me.Report_OID = Nothing
                    End If
                    Me._Catalog.Entity = value
                    If (value IsNot Nothing) Then
                        value.Subscriptions.Add(Me)
                    End If
                    Me.RaisePropertyChanged("Catalog")
                End If
            End Set
        End Property
        Private _Catalog As Global.System.ServiceModel.DomainServices.Client.EntityRef(Of Global.LightSwitchApplication.Implementation.Catalog)
        Private Function FilterCatalog(ByVal entity As Global.LightSwitchApplication.Implementation.Catalog) As Boolean
            Return Global.System.Object.Equals(entity.ItemID, Me.Report_OID)
        End Function
        Private Property _CatalogImplementation() As Global.Microsoft.LightSwitch.Internal.IEntityImplementation Implements Global.LightSwitchApplication.Subscription.DetailsClass.IImplementation.Catalog
            Get
                Return Me.Catalog
            End Get
            Set(ByVal value As Global.Microsoft.LightSwitch.Internal.IEntityImplementation)
                Me.Catalog = DirectCast(value, Global.LightSwitchApplication.Implementation.Catalog)
            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 "ReportServerData"
    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")> _
    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
    Public Class ReportServerData
        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 IReportServerDataContract)(New Global.System.Uri("LightSwitchApplication-Implementation-ReportServerDataDomainService.svc", Global.System.UriKind.Relative)))
        End Sub
    
        Public ReadOnly Property CatalogEntityList() As Global.System.ServiceModel.DomainServices.Client.EntitySet(Of Global.LightSwitchApplication.Implementation.Catalog)
            Get
                Return MyBase.EntityContainer.GetEntitySet(Of Global.LightSwitchApplication.Implementation.Catalog)()
            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
        Protected Overrides Function CreateEntityContainer() As Global.System.ServiceModel.DomainServices.Client.EntityContainer
            Return New ReportServerDataEntityContainer
        End Function
    
        Friend NotInheritable Class ReportServerDataEntityContainer
            Inherits Global.System.ServiceModel.DomainServices.Client.EntityContainer
            Public Sub New()
                Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Catalog)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
                Me.CreateEntitySet(Of Global.LightSwitchApplication.Implementation.Subscription)(Global.System.ServiceModel.DomainServices.Client.EntitySetOperations.All)
            End Sub
        End Class
    
        #Region "Service Contract Interface"
    
        <Global.System.ServiceModel.ServiceContract> _
        Public Interface IReportServerDataContract
            <Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ReportServerDataDomainService/Catalogs_Single", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/Catalogs_SingleResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/Catalogs_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
            Function BeginCatalogs_Single(ByVal frameworkOperators as String, ByVal ItemID As Global.System.Nullable(Of Global.System.Guid), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
            Function EndCatalogs_Single(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Catalog)
            
            <Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ReportServerDataDomainService/Catalogs_SingleOrDefault", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/Catalogs_SingleOrDefaultResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/Catalogs_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
            Function BeginCatalogs_SingleOrDefault(ByVal frameworkOperators as String, ByVal ItemID As Global.System.Nullable(Of Global.System.Guid), ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
            Function EndCatalogs_SingleOrDefault(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Catalog)
            
            <Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ReportServerDataDomainService/Catalogs_All", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/Catalogs_AllResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/Catalogs_AllDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
            Function BeginCatalogs_All(ByVal frameworkOperators as String, ByVal callback As Global.System.AsyncCallback, ByVal asyncState As Global.System.Object) As Global.System.IAsyncResult
            Function EndCatalogs_All(ByVal result As Global.System.IAsyncResult) As Global.System.ServiceModel.DomainServices.Client.QueryResult(Of Global.LightSwitchApplication.Implementation.Catalog)
            
            <Global.System.ServiceModel.OperationContract(AsyncPattern:=True, Action:="http://tempuri.org/ReportServerDataDomainService/Subscriptions_Single", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/Subscriptions_SingleResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/Subscriptions_SingleDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
            Function BeginSubscriptions_Single(ByVal frameworkOperators as String, ByVal SubscriptionID As Global.System.Nullable(Of Global.System.Guid), 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/ReportServerDataDomainService/Subscriptions_SingleOrDefault", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/Subscriptions_SingleOrDefaultResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/Subscriptions_SingleOrDefaultDomainServiceFault", Name:="DomainServiceFault", Namespace:="DomainServices")> _
            Function BeginSubscriptions_SingleOrDefault(ByVal frameworkOperators as String, ByVal SubscriptionID As Global.System.Nullable(Of Global.System.Guid), 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/ReportServerDataDomainService/Subscriptions_All", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/Subscriptions_AllResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/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/ReportServerDataDomainService/SubmitChanges", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/SubmitChangesResponse"),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/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/ReportServerDataDomainService/__GetEntitySetCanInformation", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/__GetEntitySetCanInformationResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/__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/ReportServerDataDomainService/__CanExecuteOperation", ReplyAction:="http://tempuri.org/ReportServerDataDomainService/__CanExecuteOperationResponse"),
             Global.System.ServiceModel.Web.WebGet(),
             Global.System.ServiceModel.FaultContract(GetType(Global.System.ServiceModel.DomainServices.Client.DomainServiceFault), Action:="http://tempuri.org/ReportServerDataDomainService/__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.Catalog)) Then
                Return New Global.LightSwitchApplication.Implementation.Catalog()
            End If
            If GetType(T).Equals(GetType(Global.LightSwitchApplication.Subscription)) Then
                Return New Global.LightSwitchApplication.Implementation.Subscription()
            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.ReportServerData)) Then
                Return New Global.LightSwitchApplication.ReportServerData()
            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.ReportServerData)) Then
                Return New Global.LightSwitchApplication.Implementation.ReportServerData(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.Catalog).Equals(definitionType)
                Return GetType(Global.LightSwitchApplication.Implementation.Catalog)
            End If
            If GetType(Global.LightSwitchApplication.Subscription).Equals(definitionType)
                Return GetType(Global.LightSwitchApplication.Implementation.Subscription)
            End If
            Return Nothing
        End Function
    End Class
End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Exacta Corporation
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions