LightSwitch HTML Client Tutorial - Contoso Moving

This tutorial walks through building out the mobile client used by Contoso Movers’ planning specialists. This sample was created for Visual Studio 2012, but it will also upgrade and run in Visual Studio 2013.

VB.NET (6.3 MB)
 
 
 
 
 
4.5 Star
(13)
16,364 times
Add to favorites
12/6/2013
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET

'------------------------------------------------------------------------------
' <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

    #Region "Data Workspace"
    
    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
    Public NotInheritable Class DataWorkspace
        Inherits Global.Microsoft.LightSwitch.Framework.Base.DataWorkspace(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass)
    
        #Region "Constructors"
    
        ''' <summary>
        ''' Initializes a new instance of a DataWorkspace.  Changes can be made to data sources in the new instance independent of changes made to data sources in the default DataWorkspace.
        ''' </summary>
        Public Sub New()
            MyBase.New()
        End Sub
    
        #End Region
    
        #Region "Public Properties"
    
        ''' <summary>
        ''' Gets the ApplicationData datasource.  This provides members to query and update data in the data source.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property ApplicationData As Global.LightSwitchApplication.ApplicationData
            Get
                Return Global.LightSwitchApplication.DataWorkspace.DetailsClass.GetValue(Me, Global.LightSwitchApplication.DataWorkspace.DetailsClass.PropertySetProperties.ApplicationData)
            End Get
        End Property
        
        #End Region
    
        #Region "Details Class"
    
        <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
        <Global.System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")> _
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public NotInheritable Class DetailsClass
            Inherits Global.Microsoft.LightSwitch.Details.Framework.Base.DataWorkspaceDetails(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.DataWorkspace.DetailsClass.PropertySet)
    
            Shared Sub New()
                Dim initializeEntry = Global.LightSwitchApplication.DataWorkspace.DetailsClass.PropertySetProperties.ApplicationData
            End Sub
    
            Public Sub New()
                MyBase.New()
            End Sub
    
            Public ReadOnly Shadows Property Properties As Global.LightSwitchApplication.DataWorkspace.DetailsClass.PropertySet
                Get
                    Return MyBase.Properties
                End Get
            End Property
    
            <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
            <Global.System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")> _
            <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
            <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
            Public NotInheritable Class PropertySet
                Inherits Global.Microsoft.LightSwitch.Details.Framework.Base.DataWorkspacePropertySet(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass)
    
                Public Sub New()
                    MyBase.New()
                End Sub
    
                Public ReadOnly Property ApplicationData As Global.Microsoft.LightSwitch.Details.Framework.DataWorkspaceDataServiceProperty(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.ApplicationData)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.DataWorkspace.DetailsClass.PropertySetProperties.ApplicationData),
                            Global.Microsoft.LightSwitch.Details.Framework.DataWorkspaceDataServiceProperty(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.ApplicationData))
                    End Get
                End Property
                
            End Class
    
            <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
            <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
            <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
            Friend Class PropertySetProperties
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly ApplicationData As Global.Microsoft.LightSwitch.Details.Framework.DataWorkspaceDataServiceProperty(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.ApplicationData).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataWorkspaceDataServiceProperty(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.ApplicationData).Entry( _
                        "ApplicationData", _
                        AddressOf Global.LightSwitchApplication.DataWorkspace.DetailsClass.PropertySetProperties._ApplicationData_Stub)
                Private Shared Sub _ApplicationData_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataWorkspaceDataServiceProperty(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.ApplicationData).Data), d As Global.LightSwitchApplication.DataWorkspace.DetailsClass, sf As Object)
                    c(d, d._ApplicationData, sf)
                End Sub
                 
            End Class
    
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _ApplicationData As Global.Microsoft.LightSwitch.Details.Framework.DataWorkspaceDataServiceProperty(Of Global.LightSwitchApplication.DataWorkspace, Global.LightSwitchApplication.DataWorkspace.DetailsClass, Global.LightSwitchApplication.ApplicationData).Data
            
        End Class
    
        #End Region
    
    End Class
    
    #End Region
    
    #Region "Data Services"
    
    ''' <summary>
    ''' Provides members to query and update data in the ApplicationData datasource.
    ''' </summary>
    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
    Public Class ApplicationData
        Inherits Global.Microsoft.LightSwitch.Framework.Base.DataService(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass)
    
        #Region "Constructors"
    
        ''' <summary>
        ''' This constructor is used for the internal LightSwitch framework. Use DataWorkspace instead.
        ''' </summary>
        <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)>
        Public Sub New()
            MyBase.New()
        End Sub
    
        #End Region
    
        #Region "Public Properties"
    
        ''' <summary>
        ''' Gets the Customers entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property Customers As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.Customer)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Customers)
            End Get
        End Property
        
        ''' <summary>
        ''' Gets the States entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property States As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.State)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.States)
            End Get
        End Property
        
        ''' <summary>
        ''' Gets the Appointments entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property Appointments As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.Appointment)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Appointments)
            End Get
        End Property
        
        ''' <summary>
        ''' Gets the Employees entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property Employees As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.Employee)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Employees)
            End Get
        End Property
        
        ''' <summary>
        ''' Gets the Photos entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property Photos As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.Photo)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Photos)
            End Get
        End Property
        
        ''' <summary>
        ''' Gets the Rooms entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property Rooms As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.Room)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Rooms)
            End Get
        End Property
        
        ''' <summary>
        ''' Gets the InventoryItems entity set.  The entity set provides members to access entities of a specific type.
        ''' </summary>
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public ReadOnly Property InventoryItems As Global.Microsoft.LightSwitch.Framework.EntitySet(Of Global.LightSwitchApplication.InventoryItem)
            Get
                Return Global.LightSwitchApplication.ApplicationData.DetailsClass.GetValue(Me, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.InventoryItems)
            End Get
        End Property
        
        #End Region
    
        #Region "Queries"
    
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Customers_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Customer
            Return Me.Details.Methods.Customers_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Customers_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Customer
            Return Me.Details.Methods.Customers_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function States_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.State
            Return Me.Details.Methods.States_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function States_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.State
            Return Me.Details.Methods.States_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Appointments_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Appointment
            Return Me.Details.Methods.Appointments_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Appointments_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Appointment
            Return Me.Details.Methods.Appointments_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Employees_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Employee
            Return Me.Details.Methods.Employees_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Employees_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Employee
            Return Me.Details.Methods.Employees_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Photos_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Photo
            Return Me.Details.Methods.Photos_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Photos_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Photo
            Return Me.Details.Methods.Photos_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Rooms_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Room
            Return Me.Details.Methods.Rooms_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function Rooms_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.Room
            Return Me.Details.Methods.Rooms_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s).
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function InventoryItems_Single(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.InventoryItem
            Return Me.Details.Methods.InventoryItems_Single.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' Returns the entity whose identity is specified by the parameter(s) or null if no such entity exists.
        ''' </summary>
        ''' <param name="Id">
        ''' The value of the 'Id' key property of the entity to retrieve.
        ''' </param>
        Public Function InventoryItems_SingleOrDefault(ByVal Id As Global.System.Nullable(Of Integer)) As Global.LightSwitchApplication.InventoryItem
            Return Me.Details.Methods.InventoryItems_SingleOrDefault.CreateInvocation(Id).Execute()
        End Function
        
        ''' <summary>
        ''' No Modeled Description Available
        ''' </summary>
        ''' <param name="StartTime">
        ''' No Modeled Description Available
        ''' </param>
        ''' <param name="EndTime">
        ''' No Modeled Description Available
        ''' </param>
        Public Function AvailableEmployees(ByVal StartTime As Global.System.Nullable(Of Date), ByVal EndTime As Global.System.Nullable(Of Date)) As Global.Microsoft.LightSwitch.IDataServiceQueryable(Of Global.LightSwitchApplication.Employee)
            Return Me.Details.Methods.AvailableEmployees.CreateInvocation(StartTime, EndTime).Execute()
        End Function
        
        ''' <summary>
        ''' No Modeled Description Available
        ''' </summary>
        Public Function UpcomingAppointments() As Global.Microsoft.LightSwitch.IDataServiceQueryable(Of Global.LightSwitchApplication.Appointment)
            Return Me.Details.Methods.UpcomingAppointments.CreateInvocation().Execute()
        End Function
        
        ''' <summary>
        ''' No Modeled Description Available
        ''' </summary>
        Public Function UpcomingAppointmentsForAllEmployees() As Global.Microsoft.LightSwitch.IDataServiceQueryable(Of Global.LightSwitchApplication.Appointment)
            Return Me.Details.Methods.UpcomingAppointmentsForAllEmployees.CreateInvocation().Execute()
        End Function
        
        #End Region
    
        #Region "Details Class"
    
        <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
        <Global.System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")> _
        <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
        Public NotInheritable Class DetailsClass
            Inherits Global.Microsoft.LightSwitch.Details.Framework.Base.DataServiceDetails(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySet, Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSet)
    
            Shared Sub New()
                Dim initializeMethodEntry = Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Customers_Single
                Dim initializePropertyEntry = Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Customers
            End Sub
    
            Public Sub New()
                MyBase.New()
            End Sub
    
            Public ReadOnly Shadows Property Methods As Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSet
                Get
                    Return MyBase.Methods
                End Get
            End Property
    
            Public ReadOnly Shadows Property Properties As Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySet
                Get
                    Return MyBase.Properties
                End Get
            End Property
    
            <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
            <Global.System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")> _
            <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
            <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
            Public NotInheritable Class MethodSet
                Inherits Global.Microsoft.LightSwitch.Details.Framework.Base.DataServiceMethodSet(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass)
    
                Public Sub New()
                    MyBase.New()
                End Sub
    
                Public ReadOnly Property Customers_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Customers_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer))
                    End Get
                End Property
                
                Public ReadOnly Property Customers_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Customers_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer))
                    End Get
                End Property
                
                Public ReadOnly Property States_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.States_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State))
                    End Get
                End Property
                
                Public ReadOnly Property States_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.States_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State))
                    End Get
                End Property
                
                Public ReadOnly Property Appointments_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Appointments_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment))
                    End Get
                End Property
                
                Public ReadOnly Property Appointments_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Appointments_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment))
                    End Get
                End Property
                
                Public ReadOnly Property Employees_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Employees_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee))
                    End Get
                End Property
                
                Public ReadOnly Property Employees_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Employees_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee))
                    End Get
                End Property
                
                Public ReadOnly Property Photos_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Photos_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo))
                    End Get
                End Property
                
                Public ReadOnly Property Photos_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Photos_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo))
                    End Get
                End Property
                
                Public ReadOnly Property Rooms_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Rooms_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room))
                    End Get
                End Property
                
                Public ReadOnly Property Rooms_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.Rooms_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room))
                    End Get
                End Property
                
                Public ReadOnly Property InventoryItems_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.InventoryItems_Single),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem))
                    End Get
                End Property
                
                Public ReadOnly Property InventoryItems_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.InventoryItems_SingleOrDefault),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem))
                    End Get
                End Property
                
                Public ReadOnly Property AvailableEmployees As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.AvailableEmployees),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee))
                    End Get
                End Property
                
                Public ReadOnly Property UpcomingAppointments As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.UpcomingAppointments),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment))
                    End Get
                End Property
                
                Public ReadOnly Property UpcomingAppointmentsForAllEmployees As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties.UpcomingAppointmentsForAllEmployees),
                            Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment))
                    End Get
                End Property
                
            End Class
    
            <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
            <Global.System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")> _
            <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
            <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
            Public NotInheritable Class PropertySet
                Inherits Global.Microsoft.LightSwitch.Details.Framework.Base.DataServicePropertySet(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass)
    
                Public Sub New()
                    MyBase.New()
                End Sub
    
                Public ReadOnly Property Customers As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Customers),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer))
                    End Get
                End Property
                
                Public ReadOnly Property States As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.States),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State))
                    End Get
                End Property
                
                Public ReadOnly Property Appointments As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Appointments),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment))
                    End Get
                End Property
                
                Public ReadOnly Property Employees As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Employees),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee))
                    End Get
                End Property
                
                Public ReadOnly Property Photos As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Photos),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo))
                    End Get
                End Property
                
                Public ReadOnly Property Rooms As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.Rooms),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room))
                    End Get
                End Property
                
                Public ReadOnly Property InventoryItems As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem)
                    Get
                        Return TryCast(
                            MyBase.GetItem(Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties.InventoryItems),
                            Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem))
                    End Get
                End Property
                
            End Class
    
            <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
            <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
            <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
            Friend Class MethodSetProperties
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Customers_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Entry( _
                        "Customers_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Customers_Single_Stub)
                Private Shared Sub _Customers_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Customers_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Customers_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Entry( _
                        "Customers_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Customers_SingleOrDefault_Stub)
                Private Shared Sub _Customers_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Customers_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly States_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Entry( _
                        "States_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._States_Single_Stub)
                Private Shared Sub _States_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._States_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly States_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Entry( _
                        "States_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._States_SingleOrDefault_Stub)
                Private Shared Sub _States_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._States_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Appointments_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry( _
                        "Appointments_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Appointments_Single_Stub)
                Private Shared Sub _Appointments_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Appointments_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Appointments_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry( _
                        "Appointments_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Appointments_SingleOrDefault_Stub)
                Private Shared Sub _Appointments_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Appointments_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Employees_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry( _
                        "Employees_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Employees_Single_Stub)
                Private Shared Sub _Employees_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Employees_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Employees_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry( _
                        "Employees_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Employees_SingleOrDefault_Stub)
                Private Shared Sub _Employees_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Employees_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Photos_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Entry( _
                        "Photos_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Photos_Single_Stub)
                Private Shared Sub _Photos_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Photos_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Photos_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Entry( _
                        "Photos_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Photos_SingleOrDefault_Stub)
                Private Shared Sub _Photos_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Photos_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Rooms_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Entry( _
                        "Rooms_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Rooms_Single_Stub)
                Private Shared Sub _Rooms_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Rooms_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Rooms_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Entry( _
                        "Rooms_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._Rooms_SingleOrDefault_Stub)
                Private Shared Sub _Rooms_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Rooms_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly InventoryItems_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Entry( _
                        "InventoryItems_Single", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._InventoryItems_Single_Stub)
                Private Shared Sub _InventoryItems_Single_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._InventoryItems_Single, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly InventoryItems_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Entry( _
                        "InventoryItems_SingleOrDefault", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._InventoryItems_SingleOrDefault_Stub)
                Private Shared Sub _InventoryItems_SingleOrDefault_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._InventoryItems_SingleOrDefault, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly AvailableEmployees As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry( _
                        "AvailableEmployees", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._AvailableEmployees_Stub)
                Private Shared Sub _AvailableEmployees_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._AvailableEmployees, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly UpcomingAppointments As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry( _
                        "UpcomingAppointments", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._UpcomingAppointments_Stub)
                Private Shared Sub _UpcomingAppointments_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._UpcomingAppointments, sf)
                End Sub
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly UpcomingAppointmentsForAllEmployees As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry( _
                        "UpcomingAppointmentsForAllEmployees", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.MethodSetProperties._UpcomingAppointmentsForAllEmployees_Stub)
                Private Shared Sub _UpcomingAppointmentsForAllEmployees_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._UpcomingAppointmentsForAllEmployees, sf)
                End Sub
    
            End Class
    
            <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)> _
            <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
            <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
            Friend Class PropertySetProperties
    
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Customers As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Entry( _
                        "Customers", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._Customers_Stub)
                Private Shared Sub _Customers_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Customers, sf)
                End Sub
     
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly States As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Entry( _
                        "States", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._States_Stub)
                Private Shared Sub _States_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._States, sf)
                End Sub
     
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Appointments As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Entry( _
                        "Appointments", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._Appointments_Stub)
                Private Shared Sub _Appointments_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Appointments, sf)
                End Sub
     
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Employees As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Entry( _
                        "Employees", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._Employees_Stub)
                Private Shared Sub _Employees_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Employees, sf)
                End Sub
     
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Photos As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Entry( _
                        "Photos", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._Photos_Stub)
                Private Shared Sub _Photos_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Photos, sf)
                End Sub
     
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly Rooms As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Entry( _
                        "Rooms", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._Rooms_Stub)
                Private Shared Sub _Rooms_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._Rooms, sf)
                End Sub
     
                <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
                Public Shared ReadOnly InventoryItems As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Entry = _
                    New Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Entry( _
                        "InventoryItems", _
                        AddressOf Global.LightSwitchApplication.ApplicationData.DetailsClass.PropertySetProperties._InventoryItems_Stub)
                Private Shared Sub _InventoryItems_Stub(c As Global.Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback(Of Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Data), d As Global.LightSwitchApplication.ApplicationData.DetailsClass, sf As Object)
                    c(d, d._InventoryItems, sf)
                End Sub
     
            End Class
    
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Customers As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _States As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Appointments As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Employees As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Photos As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Rooms As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _InventoryItems As Global.Microsoft.LightSwitch.Details.Framework.DataServiceEntitySetProperty(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Customers_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Customers_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Customer).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _States_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _States_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.State).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Appointments_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Appointments_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Employees_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Employees_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Photos_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Photos_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Photo).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Rooms_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _Rooms_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Room).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _InventoryItems_Single As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _InventoryItems_SingleOrDefault As Global.Microsoft.LightSwitch.Details.Framework.CreateScalarQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.InventoryItem).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _AvailableEmployees As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Employee).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _UpcomingAppointments As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data
            
            <Global.System.Diagnostics.DebuggerBrowsable(Global.System.Diagnostics.DebuggerBrowsableState.Never)> _
            Private _UpcomingAppointmentsForAllEmployees As Global.Microsoft.LightSwitch.Details.Framework.CreateQueryMethod(Of Global.LightSwitchApplication.ApplicationData, Global.LightSwitchApplication.ApplicationData.DetailsClass, Global.LightSwitchApplication.Appointment).Data
            
        End Class
    
        #End Region
    
    End Class
    
    #End Region
    
End Namespace