'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:2.0.50727.3643
'
'     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 PresentationServiceReference
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0"),  _
     System.ServiceModel.ServiceContractAttribute(ConfigurationName:="PresentationServiceReference.IUserServices")>  _
    Public Interface IUserServices
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/setAccountID", ReplyAction:="http://tempuri.org/IUserServices/setAccountIDResponse")>  _
        Sub setAccountID(ByVal accountId As Integer)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/setAccountID", ReplyAction:="http://tempuri.org/IUserServices/setAccountIDResponse")>  _
        Function BeginsetAccountID(ByVal accountId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndsetAccountID(ByVal result As System.IAsyncResult)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/authenticateUser", ReplyAction:="http://tempuri.org/IUserServices/authenticateUserResponse")>  _
        Function authenticateUser(ByVal userName As String, ByVal password As String) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/authenticateUser", ReplyAction:="http://tempuri.org/IUserServices/authenticateUserResponse")>  _
        Function BeginauthenticateUser(ByVal userName As String, ByVal password As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndauthenticateUser(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/saveRecipe", ReplyAction:="http://tempuri.org/IUserServices/saveRecipeResponse")>  _
        Function saveRecipe(ByRef recipes As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/saveRecipe", ReplyAction:="http://tempuri.org/IUserServices/saveRecipeResponse")>  _
        Function BeginsaveRecipe(ByRef recipes As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndsaveRecipe(ByRef recipes As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/saveAccount", ReplyAction:="http://tempuri.org/IUserServices/saveAccountResponse")>  _
        Function saveAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal password As String, ByVal email As String, ByVal isProtected As Boolean) As Integer
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/saveAccount", ReplyAction:="http://tempuri.org/IUserServices/saveAccountResponse")>  _
        Function BeginsaveAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal password As String, ByVal email As String, ByVal isProtected As Boolean, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndsaveAccount(ByVal result As System.IAsyncResult) As Integer
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/updateAccount", ReplyAction:="http://tempuri.org/IUserServices/updateAccountResponse")>  _
        Function updateAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal newPassword As String, ByVal isProtected As Boolean, ByVal email As String, ByVal accountId As Integer) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/updateAccount", ReplyAction:="http://tempuri.org/IUserServices/updateAccountResponse")>  _
        Function BeginupdateAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal newPassword As String, ByVal isProtected As Boolean, ByVal email As String, ByVal accountId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndupdateAccount(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/getAccountProfiles", ReplyAction:="http://tempuri.org/IUserServices/getAccountProfilesResponse")>  _
        Function getAccountProfiles(ByVal isProtected As Boolean) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/getAccountProfiles", ReplyAction:="http://tempuri.org/IUserServices/getAccountProfilesResponse")>  _
        Function BegingetAccountProfiles(ByVal isProtected As Boolean, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndgetAccountProfiles(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/searchAccountProfile", ReplyAction:="http://tempuri.org/IUserServices/searchAccountProfileResponse")>  _
        Function searchAccountProfile(ByVal accountId As Integer, ByVal firstName As String, ByVal lastName As String, ByVal eMail As String, ByVal dateCreated As System.Nullable(Of Date), ByVal isProtected As System.Nullable(Of Boolean)) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/searchAccountProfile", ReplyAction:="http://tempuri.org/IUserServices/searchAccountProfileResponse")>  _
        Function BeginsearchAccountProfile(ByVal accountId As Integer, ByVal firstName As String, ByVal lastName As String, ByVal eMail As String, ByVal dateCreated As System.Nullable(Of Date), ByVal isProtected As System.Nullable(Of Boolean), ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndsearchAccountProfile(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/getAccountId", ReplyAction:="http://tempuri.org/IUserServices/getAccountIdResponse")>  _
        Function getAccountId() As Integer
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/getAccountId", ReplyAction:="http://tempuri.org/IUserServices/getAccountIdResponse")>  _
        Function BegingetAccountId(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndgetAccountId(ByVal result As System.IAsyncResult) As Integer
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/retrieveCourses", ReplyAction:="http://tempuri.org/IUserServices/retrieveCoursesResponse")>  _
        Function retrieveCourses() As EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/retrieveCourses", ReplyAction:="http://tempuri.org/IUserServices/retrieveCoursesResponse")>  _
        Function BeginretrieveCourses(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndretrieveCourses(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/retrieveIngredients", ReplyAction:="http://tempuri.org/IUserServices/retrieveIngredientsResponse")>  _
        Function retrieveIngredients() As EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/retrieveIngredients", ReplyAction:="http://tempuri.org/IUserServices/retrieveIngredientsResponse")>  _
        Function BeginretrieveIngredients(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndretrieveIngredients(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/retrieveFoodTypes", ReplyAction:="http://tempuri.org/IUserServices/retrieveFoodTypesResponse")>  _
        Function retrieveFoodTypes() As EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/retrieveFoodTypes", ReplyAction:="http://tempuri.org/IUserServices/retrieveFoodTypesResponse")>  _
        Function BeginretrieveFoodTypes(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndretrieveFoodTypes(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/retrieveUnitMeasurements", ReplyAction:="http://tempuri.org/IUserServices/retrieveUnitMeasurementsResponse")>  _
        Function retrieveUnitMeasurements() As EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/retrieveUnitMeasurements", ReplyAction:="http://tempuri.org/IUserServices/retrieveUnitMeasurementsResponse")>  _
        Function BeginretrieveUnitMeasurements(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndretrieveUnitMeasurements(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/retrieveCuisines", ReplyAction:="http://tempuri.org/IUserServices/retrieveCuisinesResponse")>  _
        Function retrieveCuisines() As EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/retrieveCuisines", ReplyAction:="http://tempuri.org/IUserServices/retrieveCuisinesResponse")>  _
        Function BeginretrieveCuisines(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndretrieveCuisines(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/searchRecipes", ReplyAction:="http://tempuri.org/IUserServices/searchRecipesResponse")>  _
        Sub searchRecipes(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal prepTimeMin As Integer, ByVal prepTimeMax As Integer, ByVal courseTypeId As Integer, ByVal cuisinetypeId As Integer, ByVal accountId As Integer)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/searchRecipes", ReplyAction:="http://tempuri.org/IUserServices/searchRecipesResponse")>  _
        Function BeginsearchRecipes(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal prepTimeMin As Integer, ByVal prepTimeMax As Integer, ByVal courseTypeId As Integer, ByVal cuisinetypeId As Integer, ByVal accountId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndsearchRecipes(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/searchRecipeIngredientTable", ReplyAction:="http://tempuri.org/IUserServices/searchRecipeIngredientTableResponse")>  _
        Sub searchRecipeIngredientTable(ByRef recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal ingredientName As String, ByVal courseName As String, ByVal cuisineName As String, ByVal prepMin As System.Nullable(Of Integer), ByVal prepMax As System.Nullable(Of Integer))
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/searchRecipeIngredientTable", ReplyAction:="http://tempuri.org/IUserServices/searchRecipeIngredientTableResponse")>  _
        Function BeginsearchRecipeIngredientTable(ByRef recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal ingredientName As String, ByVal courseName As String, ByVal cuisineName As String, ByVal prepMin As System.Nullable(Of Integer), ByVal prepMax As System.Nullable(Of Integer), ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndsearchRecipeIngredientTable(ByRef recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/retrieveRecipeIngredientTableByAccount", ReplyAction:="http://tempuri.org/IUserServices/retrieveRecipeIngredientTableByAccountResponse")>  _
        Sub retrieveRecipeIngredientTableByAccount(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal accountID As Integer)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/retrieveRecipeIngredientTableByAccount", ReplyAction:="http://tempuri.org/IUserServices/retrieveRecipeIngredientTableByAccountResponse")>  _
        Function BeginretrieveRecipeIngredientTableByAccount(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal accountID As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndretrieveRecipeIngredientTableByAccount(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/checkIngredientExist", ReplyAction:="http://tempuri.org/IUserServices/checkIngredientExistResponse")>  _
        Function checkIngredientExist(ByVal ingredientName As String) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/checkIngredientExist", ReplyAction:="http://tempuri.org/IUserServices/checkIngredientExistResponse")>  _
        Function BegincheckIngredientExist(ByVal ingredientName As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndcheckIngredientExist(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/insertIngredient", ReplyAction:="http://tempuri.org/IUserServices/insertIngredientResponse")>  _
        Function insertIngredient(ByVal ingredientName As String, ByVal foodTypeId As Integer) As Integer
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/insertIngredient", ReplyAction:="http://tempuri.org/IUserServices/insertIngredientResponse")>  _
        Function BegininsertIngredient(ByVal ingredientName As String, ByVal foodTypeId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndinsertIngredient(ByVal result As System.IAsyncResult) As Integer
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/viewIngredientsFoodTypes", ReplyAction:="http://tempuri.org/IUserServices/viewIngredientsFoodTypesResponse")>  _
        Function viewIngredientsFoodTypes() As EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/viewIngredientsFoodTypes", ReplyAction:="http://tempuri.org/IUserServices/viewIngredientsFoodTypesResponse")>  _
        Function BeginviewIngredientsFoodTypes(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndviewIngredientsFoodTypes(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/updateIngredients", ReplyAction:="http://tempuri.org/IUserServices/updateIngredientsResponse")>  _
        Function updateIngredients(ByVal ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/updateIngredients", ReplyAction:="http://tempuri.org/IUserServices/updateIngredientsResponse")>  _
        Function BeginupdateIngredients(ByVal ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndupdateIngredients(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/updateCourses", ReplyAction:="http://tempuri.org/IUserServices/updateCoursesResponse")>  _
        Function updateCourses(ByVal recipData As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/updateCourses", ReplyAction:="http://tempuri.org/IUserServices/updateCoursesResponse")>  _
        Function BeginupdateCourses(ByVal recipData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndupdateCourses(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/updateCuisines", ReplyAction:="http://tempuri.org/IUserServices/updateCuisinesResponse")>  _
        Function updateCuisines(ByVal cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/updateCuisines", ReplyAction:="http://tempuri.org/IUserServices/updateCuisinesResponse")>  _
        Function BeginupdateCuisines(ByVal cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndupdateCuisines(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/updateFoodTypes", ReplyAction:="http://tempuri.org/IUserServices/updateFoodTypesResponse")>  _
        Function updateFoodTypes(ByVal foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/updateFoodTypes", ReplyAction:="http://tempuri.org/IUserServices/updateFoodTypesResponse")>  _
        Function BeginupdateFoodTypes(ByVal foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndupdateFoodTypes(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IUserServices/updateUnitMeasurements", ReplyAction:="http://tempuri.org/IUserServices/updateUnitMeasurementsResponse")>  _
        Function updateUnitMeasurements(ByVal unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IUserServices/updateUnitMeasurements", ReplyAction:="http://tempuri.org/IUserServices/updateUnitMeasurementsResponse")>  _
        Function BeginupdateUnitMeasurements(ByVal unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndupdateUnitMeasurements(ByVal result As System.IAsyncResult) As Boolean
    End Interface
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Public Interface IUserServicesChannel
        Inherits PresentationServiceReference.IUserServices, System.ServiceModel.IClientChannel
    End Interface
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class authenticateUserCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class saveRecipeCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property recipes() As EntitiesLayer.RecipeHolderDatabaseDataSet
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            End Get
        End Property
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(1),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class saveAccountCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Integer
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Integer)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class updateAccountCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class getAccountProfilesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class searchAccountProfileCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class getAccountIdCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Integer
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Integer)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class retrieveCoursesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class retrieveIngredientsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class retrieveFoodTypesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class retrieveUnitMeasurementsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class retrieveCuisinesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class searchRecipesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property recipeData() As EntitiesLayer.RecipeHolderDatabaseDataSet
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class searchRecipeIngredientTableCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property recipedata() As EntitiesLayer.RecipeHolderDatabaseDataSet
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class retrieveRecipeIngredientTableByAccountCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property recipeData() As EntitiesLayer.RecipeHolderDatabaseDataSet
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class checkIngredientExistCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class insertIngredientCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Integer
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Integer)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class viewIngredientsFoodTypesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class updateIngredientsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class updateCoursesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class updateCuisinesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class updateFoodTypesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class updateUnitMeasurementsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class UserServicesClient
        Inherits System.ServiceModel.ClientBase(Of PresentationServiceReference.IUserServices)
        Implements PresentationServiceReference.IUserServices
        
        Private onBeginsetAccountIDDelegate As BeginOperationDelegate
        
        Private onEndsetAccountIDDelegate As EndOperationDelegate
        
        Private onsetAccountIDCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginauthenticateUserDelegate As BeginOperationDelegate
        
        Private onEndauthenticateUserDelegate As EndOperationDelegate
        
        Private onauthenticateUserCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginsaveRecipeDelegate As BeginOperationDelegate
        
        Private onEndsaveRecipeDelegate As EndOperationDelegate
        
        Private onsaveRecipeCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginsaveAccountDelegate As BeginOperationDelegate
        
        Private onEndsaveAccountDelegate As EndOperationDelegate
        
        Private onsaveAccountCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginupdateAccountDelegate As BeginOperationDelegate
        
        Private onEndupdateAccountDelegate As EndOperationDelegate
        
        Private onupdateAccountCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBegingetAccountProfilesDelegate As BeginOperationDelegate
        
        Private onEndgetAccountProfilesDelegate As EndOperationDelegate
        
        Private ongetAccountProfilesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginsearchAccountProfileDelegate As BeginOperationDelegate
        
        Private onEndsearchAccountProfileDelegate As EndOperationDelegate
        
        Private onsearchAccountProfileCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBegingetAccountIdDelegate As BeginOperationDelegate
        
        Private onEndgetAccountIdDelegate As EndOperationDelegate
        
        Private ongetAccountIdCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginretrieveCoursesDelegate As BeginOperationDelegate
        
        Private onEndretrieveCoursesDelegate As EndOperationDelegate
        
        Private onretrieveCoursesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginretrieveIngredientsDelegate As BeginOperationDelegate
        
        Private onEndretrieveIngredientsDelegate As EndOperationDelegate
        
        Private onretrieveIngredientsCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginretrieveFoodTypesDelegate As BeginOperationDelegate
        
        Private onEndretrieveFoodTypesDelegate As EndOperationDelegate
        
        Private onretrieveFoodTypesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginretrieveUnitMeasurementsDelegate As BeginOperationDelegate
        
        Private onEndretrieveUnitMeasurementsDelegate As EndOperationDelegate
        
        Private onretrieveUnitMeasurementsCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginretrieveCuisinesDelegate As BeginOperationDelegate
        
        Private onEndretrieveCuisinesDelegate As EndOperationDelegate
        
        Private onretrieveCuisinesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginsearchRecipesDelegate As BeginOperationDelegate
        
        Private onEndsearchRecipesDelegate As EndOperationDelegate
        
        Private onsearchRecipesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginsearchRecipeIngredientTableDelegate As BeginOperationDelegate
        
        Private onEndsearchRecipeIngredientTableDelegate As EndOperationDelegate
        
        Private onsearchRecipeIngredientTableCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginretrieveRecipeIngredientTableByAccountDelegate As BeginOperationDelegate
        
        Private onEndretrieveRecipeIngredientTableByAccountDelegate As EndOperationDelegate
        
        Private onretrieveRecipeIngredientTableByAccountCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBegincheckIngredientExistDelegate As BeginOperationDelegate
        
        Private onEndcheckIngredientExistDelegate As EndOperationDelegate
        
        Private oncheckIngredientExistCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBegininsertIngredientDelegate As BeginOperationDelegate
        
        Private onEndinsertIngredientDelegate As EndOperationDelegate
        
        Private oninsertIngredientCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginviewIngredientsFoodTypesDelegate As BeginOperationDelegate
        
        Private onEndviewIngredientsFoodTypesDelegate As EndOperationDelegate
        
        Private onviewIngredientsFoodTypesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginupdateIngredientsDelegate As BeginOperationDelegate
        
        Private onEndupdateIngredientsDelegate As EndOperationDelegate
        
        Private onupdateIngredientsCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginupdateCoursesDelegate As BeginOperationDelegate
        
        Private onEndupdateCoursesDelegate As EndOperationDelegate
        
        Private onupdateCoursesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginupdateCuisinesDelegate As BeginOperationDelegate
        
        Private onEndupdateCuisinesDelegate As EndOperationDelegate
        
        Private onupdateCuisinesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginupdateFoodTypesDelegate As BeginOperationDelegate
        
        Private onEndupdateFoodTypesDelegate As EndOperationDelegate
        
        Private onupdateFoodTypesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginupdateUnitMeasurementsDelegate As BeginOperationDelegate
        
        Private onEndupdateUnitMeasurementsDelegate As EndOperationDelegate
        
        Private onupdateUnitMeasurementsCompletedDelegate As System.Threading.SendOrPostCallback
        
        Public Sub New()
            MyBase.New
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String)
            MyBase.New(endpointConfigurationName)
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
            MyBase.New(endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(binding, remoteAddress)
        End Sub
        
        Public Event setAccountIDCompleted As System.EventHandler(Of System.ComponentModel.AsyncCompletedEventArgs)
        
        Public Event authenticateUserCompleted As System.EventHandler(Of authenticateUserCompletedEventArgs)
        
        Public Event saveRecipeCompleted As System.EventHandler(Of saveRecipeCompletedEventArgs)
        
        Public Event saveAccountCompleted As System.EventHandler(Of saveAccountCompletedEventArgs)
        
        Public Event updateAccountCompleted As System.EventHandler(Of updateAccountCompletedEventArgs)
        
        Public Event getAccountProfilesCompleted As System.EventHandler(Of getAccountProfilesCompletedEventArgs)
        
        Public Event searchAccountProfileCompleted As System.EventHandler(Of searchAccountProfileCompletedEventArgs)
        
        Public Event getAccountIdCompleted As System.EventHandler(Of getAccountIdCompletedEventArgs)
        
        Public Event retrieveCoursesCompleted As System.EventHandler(Of retrieveCoursesCompletedEventArgs)
        
        Public Event retrieveIngredientsCompleted As System.EventHandler(Of retrieveIngredientsCompletedEventArgs)
        
        Public Event retrieveFoodTypesCompleted As System.EventHandler(Of retrieveFoodTypesCompletedEventArgs)
        
        Public Event retrieveUnitMeasurementsCompleted As System.EventHandler(Of retrieveUnitMeasurementsCompletedEventArgs)
        
        Public Event retrieveCuisinesCompleted As System.EventHandler(Of retrieveCuisinesCompletedEventArgs)
        
        Public Event searchRecipesCompleted As System.EventHandler(Of searchRecipesCompletedEventArgs)
        
        Public Event searchRecipeIngredientTableCompleted As System.EventHandler(Of searchRecipeIngredientTableCompletedEventArgs)
        
        Public Event retrieveRecipeIngredientTableByAccountCompleted As System.EventHandler(Of retrieveRecipeIngredientTableByAccountCompletedEventArgs)
        
        Public Event checkIngredientExistCompleted As System.EventHandler(Of checkIngredientExistCompletedEventArgs)
        
        Public Event insertIngredientCompleted As System.EventHandler(Of insertIngredientCompletedEventArgs)
        
        Public Event viewIngredientsFoodTypesCompleted As System.EventHandler(Of viewIngredientsFoodTypesCompletedEventArgs)
        
        Public Event updateIngredientsCompleted As System.EventHandler(Of updateIngredientsCompletedEventArgs)
        
        Public Event updateCoursesCompleted As System.EventHandler(Of updateCoursesCompletedEventArgs)
        
        Public Event updateCuisinesCompleted As System.EventHandler(Of updateCuisinesCompletedEventArgs)
        
        Public Event updateFoodTypesCompleted As System.EventHandler(Of updateFoodTypesCompletedEventArgs)
        
        Public Event updateUnitMeasurementsCompleted As System.EventHandler(Of updateUnitMeasurementsCompletedEventArgs)
        
        Public Sub setAccountID(ByVal accountId As Integer) Implements PresentationServiceReference.IUserServices.setAccountID
            MyBase.Channel.setAccountID(accountId)
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginsetAccountID(ByVal accountId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginsetAccountID
            Return MyBase.Channel.BeginsetAccountID(accountId, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Sub EndsetAccountID(ByVal result As System.IAsyncResult) Implements PresentationServiceReference.IUserServices.EndsetAccountID
            MyBase.Channel.EndsetAccountID(result)
        End Sub
        
        Private Function OnBeginsetAccountID(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim accountId As Integer = CType(inValues(0),Integer)
            Return Me.BeginsetAccountID(accountId, callback, asyncState)
        End Function
        
        Private Function OnEndsetAccountID(ByVal result As System.IAsyncResult) As Object()
            Me.EndsetAccountID(result)
            Return Nothing
        End Function
        
        Private Sub OnsetAccountIDCompleted(ByVal state As Object)
            If (Not (Me.setAccountIDCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent setAccountIDCompleted(Me, New System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub setAccountIDAsync(ByVal accountId As Integer)
            Me.setAccountIDAsync(accountId, Nothing)
        End Sub
        
        Public Overloads Sub setAccountIDAsync(ByVal accountId As Integer, ByVal userState As Object)
            If (Me.onBeginsetAccountIDDelegate Is Nothing) Then
                Me.onBeginsetAccountIDDelegate = AddressOf Me.OnBeginsetAccountID
            End If
            If (Me.onEndsetAccountIDDelegate Is Nothing) Then
                Me.onEndsetAccountIDDelegate = AddressOf Me.OnEndsetAccountID
            End If
            If (Me.onsetAccountIDCompletedDelegate Is Nothing) Then
                Me.onsetAccountIDCompletedDelegate = AddressOf Me.OnsetAccountIDCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginsetAccountIDDelegate, New Object() {accountId}, Me.onEndsetAccountIDDelegate, Me.onsetAccountIDCompletedDelegate, userState)
        End Sub
        
        Public Function authenticateUser(ByVal userName As String, ByVal password As String) As Boolean Implements PresentationServiceReference.IUserServices.authenticateUser
            Return MyBase.Channel.authenticateUser(userName, password)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginauthenticateUser(ByVal userName As String, ByVal password As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginauthenticateUser
            Return MyBase.Channel.BeginauthenticateUser(userName, password, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndauthenticateUser(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndauthenticateUser
            Return MyBase.Channel.EndauthenticateUser(result)
        End Function
        
        Private Function OnBeginauthenticateUser(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim userName As String = CType(inValues(0),String)
            Dim password As String = CType(inValues(1),String)
            Return Me.BeginauthenticateUser(userName, password, callback, asyncState)
        End Function
        
        Private Function OnEndauthenticateUser(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndauthenticateUser(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnauthenticateUserCompleted(ByVal state As Object)
            If (Not (Me.authenticateUserCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent authenticateUserCompleted(Me, New authenticateUserCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub authenticateUserAsync(ByVal userName As String, ByVal password As String)
            Me.authenticateUserAsync(userName, password, Nothing)
        End Sub
        
        Public Overloads Sub authenticateUserAsync(ByVal userName As String, ByVal password As String, ByVal userState As Object)
            If (Me.onBeginauthenticateUserDelegate Is Nothing) Then
                Me.onBeginauthenticateUserDelegate = AddressOf Me.OnBeginauthenticateUser
            End If
            If (Me.onEndauthenticateUserDelegate Is Nothing) Then
                Me.onEndauthenticateUserDelegate = AddressOf Me.OnEndauthenticateUser
            End If
            If (Me.onauthenticateUserCompletedDelegate Is Nothing) Then
                Me.onauthenticateUserCompletedDelegate = AddressOf Me.OnauthenticateUserCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginauthenticateUserDelegate, New Object() {userName, password}, Me.onEndauthenticateUserDelegate, Me.onauthenticateUserCompletedDelegate, userState)
        End Sub
        
        Public Function saveRecipe(ByRef recipes As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean Implements PresentationServiceReference.IUserServices.saveRecipe
            Return MyBase.Channel.saveRecipe(recipes)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginsaveRecipe(ByRef recipes As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginsaveRecipe
            Return MyBase.Channel.BeginsaveRecipe(recipes, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndsaveRecipe(ByRef recipes As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndsaveRecipe
            Return MyBase.Channel.EndsaveRecipe(recipes, result)
        End Function
        
        Private Function OnBeginsaveRecipe(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim recipes As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Return Me.BeginsaveRecipe(recipes, callback, asyncState)
        End Function
        
        Private Function OnEndsaveRecipe(ByVal result As System.IAsyncResult) As Object()
            Dim recipes As EntitiesLayer.RecipeHolderDatabaseDataSet = Me.GetDefaultValueForInitialization(Of EntitiesLayer.RecipeHolderDatabaseDataSet)
            Dim retVal As Boolean = Me.EndsaveRecipe(recipes, result)
            Return New Object() {recipes, retVal}
        End Function
        
        Private Sub OnsaveRecipeCompleted(ByVal state As Object)
            If (Not (Me.saveRecipeCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent saveRecipeCompleted(Me, New saveRecipeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub saveRecipeAsync(ByVal recipes As EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.saveRecipeAsync(recipes, Nothing)
        End Sub
        
        Public Overloads Sub saveRecipeAsync(ByVal recipes As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal userState As Object)
            If (Me.onBeginsaveRecipeDelegate Is Nothing) Then
                Me.onBeginsaveRecipeDelegate = AddressOf Me.OnBeginsaveRecipe
            End If
            If (Me.onEndsaveRecipeDelegate Is Nothing) Then
                Me.onEndsaveRecipeDelegate = AddressOf Me.OnEndsaveRecipe
            End If
            If (Me.onsaveRecipeCompletedDelegate Is Nothing) Then
                Me.onsaveRecipeCompletedDelegate = AddressOf Me.OnsaveRecipeCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginsaveRecipeDelegate, New Object() {recipes}, Me.onEndsaveRecipeDelegate, Me.onsaveRecipeCompletedDelegate, userState)
        End Sub
        
        Public Function saveAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal password As String, ByVal email As String, ByVal isProtected As Boolean) As Integer Implements PresentationServiceReference.IUserServices.saveAccount
            Return MyBase.Channel.saveAccount(firstName, lastName, userName, password, email, isProtected)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginsaveAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal password As String, ByVal email As String, ByVal isProtected As Boolean, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginsaveAccount
            Return MyBase.Channel.BeginsaveAccount(firstName, lastName, userName, password, email, isProtected, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndsaveAccount(ByVal result As System.IAsyncResult) As Integer Implements PresentationServiceReference.IUserServices.EndsaveAccount
            Return MyBase.Channel.EndsaveAccount(result)
        End Function
        
        Private Function OnBeginsaveAccount(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim firstName As String = CType(inValues(0),String)
            Dim lastName As String = CType(inValues(1),String)
            Dim userName As String = CType(inValues(2),String)
            Dim password As String = CType(inValues(3),String)
            Dim email As String = CType(inValues(4),String)
            Dim isProtected As Boolean = CType(inValues(5),Boolean)
            Return Me.BeginsaveAccount(firstName, lastName, userName, password, email, isProtected, callback, asyncState)
        End Function
        
        Private Function OnEndsaveAccount(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Integer = Me.EndsaveAccount(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnsaveAccountCompleted(ByVal state As Object)
            If (Not (Me.saveAccountCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent saveAccountCompleted(Me, New saveAccountCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub saveAccountAsync(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal password As String, ByVal email As String, ByVal isProtected As Boolean)
            Me.saveAccountAsync(firstName, lastName, userName, password, email, isProtected, Nothing)
        End Sub
        
        Public Overloads Sub saveAccountAsync(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal password As String, ByVal email As String, ByVal isProtected As Boolean, ByVal userState As Object)
            If (Me.onBeginsaveAccountDelegate Is Nothing) Then
                Me.onBeginsaveAccountDelegate = AddressOf Me.OnBeginsaveAccount
            End If
            If (Me.onEndsaveAccountDelegate Is Nothing) Then
                Me.onEndsaveAccountDelegate = AddressOf Me.OnEndsaveAccount
            End If
            If (Me.onsaveAccountCompletedDelegate Is Nothing) Then
                Me.onsaveAccountCompletedDelegate = AddressOf Me.OnsaveAccountCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginsaveAccountDelegate, New Object() {firstName, lastName, userName, password, email, isProtected}, Me.onEndsaveAccountDelegate, Me.onsaveAccountCompletedDelegate, userState)
        End Sub
        
        Public Function updateAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal newPassword As String, ByVal isProtected As Boolean, ByVal email As String, ByVal accountId As Integer) As Boolean Implements PresentationServiceReference.IUserServices.updateAccount
            Return MyBase.Channel.updateAccount(firstName, lastName, userName, newPassword, isProtected, email, accountId)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginupdateAccount(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal newPassword As String, ByVal isProtected As Boolean, ByVal email As String, ByVal accountId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginupdateAccount
            Return MyBase.Channel.BeginupdateAccount(firstName, lastName, userName, newPassword, isProtected, email, accountId, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndupdateAccount(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndupdateAccount
            Return MyBase.Channel.EndupdateAccount(result)
        End Function
        
        Private Function OnBeginupdateAccount(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim firstName As String = CType(inValues(0),String)
            Dim lastName As String = CType(inValues(1),String)
            Dim userName As String = CType(inValues(2),String)
            Dim newPassword As String = CType(inValues(3),String)
            Dim isProtected As Boolean = CType(inValues(4),Boolean)
            Dim email As String = CType(inValues(5),String)
            Dim accountId As Integer = CType(inValues(6),Integer)
            Return Me.BeginupdateAccount(firstName, lastName, userName, newPassword, isProtected, email, accountId, callback, asyncState)
        End Function
        
        Private Function OnEndupdateAccount(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndupdateAccount(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnupdateAccountCompleted(ByVal state As Object)
            If (Not (Me.updateAccountCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent updateAccountCompleted(Me, New updateAccountCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub updateAccountAsync(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal newPassword As String, ByVal isProtected As Boolean, ByVal email As String, ByVal accountId As Integer)
            Me.updateAccountAsync(firstName, lastName, userName, newPassword, isProtected, email, accountId, Nothing)
        End Sub
        
        Public Overloads Sub updateAccountAsync(ByVal firstName As String, ByVal lastName As String, ByVal userName As String, ByVal newPassword As String, ByVal isProtected As Boolean, ByVal email As String, ByVal accountId As Integer, ByVal userState As Object)
            If (Me.onBeginupdateAccountDelegate Is Nothing) Then
                Me.onBeginupdateAccountDelegate = AddressOf Me.OnBeginupdateAccount
            End If
            If (Me.onEndupdateAccountDelegate Is Nothing) Then
                Me.onEndupdateAccountDelegate = AddressOf Me.OnEndupdateAccount
            End If
            If (Me.onupdateAccountCompletedDelegate Is Nothing) Then
                Me.onupdateAccountCompletedDelegate = AddressOf Me.OnupdateAccountCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginupdateAccountDelegate, New Object() {firstName, lastName, userName, newPassword, isProtected, email, accountId}, Me.onEndupdateAccountDelegate, Me.onupdateAccountCompletedDelegate, userState)
        End Sub
        
        Public Function getAccountProfiles(ByVal isProtected As Boolean) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable Implements PresentationServiceReference.IUserServices.getAccountProfiles
            Return MyBase.Channel.getAccountProfiles(isProtected)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BegingetAccountProfiles(ByVal isProtected As Boolean, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BegingetAccountProfiles
            Return MyBase.Channel.BegingetAccountProfiles(isProtected, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndgetAccountProfiles(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable Implements PresentationServiceReference.IUserServices.EndgetAccountProfiles
            Return MyBase.Channel.EndgetAccountProfiles(result)
        End Function
        
        Private Function OnBegingetAccountProfiles(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim isProtected As Boolean = CType(inValues(0),Boolean)
            Return Me.BegingetAccountProfiles(isProtected, callback, asyncState)
        End Function
        
        Private Function OnEndgetAccountProfiles(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable = Me.EndgetAccountProfiles(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OngetAccountProfilesCompleted(ByVal state As Object)
            If (Not (Me.getAccountProfilesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent getAccountProfilesCompleted(Me, New getAccountProfilesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub getAccountProfilesAsync(ByVal isProtected As Boolean)
            Me.getAccountProfilesAsync(isProtected, Nothing)
        End Sub
        
        Public Overloads Sub getAccountProfilesAsync(ByVal isProtected As Boolean, ByVal userState As Object)
            If (Me.onBegingetAccountProfilesDelegate Is Nothing) Then
                Me.onBegingetAccountProfilesDelegate = AddressOf Me.OnBegingetAccountProfiles
            End If
            If (Me.onEndgetAccountProfilesDelegate Is Nothing) Then
                Me.onEndgetAccountProfilesDelegate = AddressOf Me.OnEndgetAccountProfiles
            End If
            If (Me.ongetAccountProfilesCompletedDelegate Is Nothing) Then
                Me.ongetAccountProfilesCompletedDelegate = AddressOf Me.OngetAccountProfilesCompleted
            End If
            MyBase.InvokeAsync(Me.onBegingetAccountProfilesDelegate, New Object() {isProtected}, Me.onEndgetAccountProfilesDelegate, Me.ongetAccountProfilesCompletedDelegate, userState)
        End Sub
        
        Public Function searchAccountProfile(ByVal accountId As Integer, ByVal firstName As String, ByVal lastName As String, ByVal eMail As String, ByVal dateCreated As System.Nullable(Of Date), ByVal isProtected As System.Nullable(Of Boolean)) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable Implements PresentationServiceReference.IUserServices.searchAccountProfile
            Return MyBase.Channel.searchAccountProfile(accountId, firstName, lastName, eMail, dateCreated, isProtected)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginsearchAccountProfile(ByVal accountId As Integer, ByVal firstName As String, ByVal lastName As String, ByVal eMail As String, ByVal dateCreated As System.Nullable(Of Date), ByVal isProtected As System.Nullable(Of Boolean), ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginsearchAccountProfile
            Return MyBase.Channel.BeginsearchAccountProfile(accountId, firstName, lastName, eMail, dateCreated, isProtected, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndsearchAccountProfile(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable Implements PresentationServiceReference.IUserServices.EndsearchAccountProfile
            Return MyBase.Channel.EndsearchAccountProfile(result)
        End Function
        
        Private Function OnBeginsearchAccountProfile(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim accountId As Integer = CType(inValues(0),Integer)
            Dim firstName As String = CType(inValues(1),String)
            Dim lastName As String = CType(inValues(2),String)
            Dim eMail As String = CType(inValues(3),String)
            Dim dateCreated As System.Nullable(Of Date) = CType(inValues(4),System.Nullable(Of Date))
            Dim isProtected As System.Nullable(Of Boolean) = CType(inValues(5),System.Nullable(Of Boolean))
            Return Me.BeginsearchAccountProfile(accountId, firstName, lastName, eMail, dateCreated, isProtected, callback, asyncState)
        End Function
        
        Private Function OnEndsearchAccountProfile(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.AccountsDataTable = Me.EndsearchAccountProfile(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnsearchAccountProfileCompleted(ByVal state As Object)
            If (Not (Me.searchAccountProfileCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent searchAccountProfileCompleted(Me, New searchAccountProfileCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub searchAccountProfileAsync(ByVal accountId As Integer, ByVal firstName As String, ByVal lastName As String, ByVal eMail As String, ByVal dateCreated As System.Nullable(Of Date), ByVal isProtected As System.Nullable(Of Boolean))
            Me.searchAccountProfileAsync(accountId, firstName, lastName, eMail, dateCreated, isProtected, Nothing)
        End Sub
        
        Public Overloads Sub searchAccountProfileAsync(ByVal accountId As Integer, ByVal firstName As String, ByVal lastName As String, ByVal eMail As String, ByVal dateCreated As System.Nullable(Of Date), ByVal isProtected As System.Nullable(Of Boolean), ByVal userState As Object)
            If (Me.onBeginsearchAccountProfileDelegate Is Nothing) Then
                Me.onBeginsearchAccountProfileDelegate = AddressOf Me.OnBeginsearchAccountProfile
            End If
            If (Me.onEndsearchAccountProfileDelegate Is Nothing) Then
                Me.onEndsearchAccountProfileDelegate = AddressOf Me.OnEndsearchAccountProfile
            End If
            If (Me.onsearchAccountProfileCompletedDelegate Is Nothing) Then
                Me.onsearchAccountProfileCompletedDelegate = AddressOf Me.OnsearchAccountProfileCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginsearchAccountProfileDelegate, New Object() {accountId, firstName, lastName, eMail, dateCreated, isProtected}, Me.onEndsearchAccountProfileDelegate, Me.onsearchAccountProfileCompletedDelegate, userState)
        End Sub
        
        Public Function getAccountId() As Integer Implements PresentationServiceReference.IUserServices.getAccountId
            Return MyBase.Channel.getAccountId
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BegingetAccountId(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BegingetAccountId
            Return MyBase.Channel.BegingetAccountId(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndgetAccountId(ByVal result As System.IAsyncResult) As Integer Implements PresentationServiceReference.IUserServices.EndgetAccountId
            Return MyBase.Channel.EndgetAccountId(result)
        End Function
        
        Private Function OnBegingetAccountId(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BegingetAccountId(callback, asyncState)
        End Function
        
        Private Function OnEndgetAccountId(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Integer = Me.EndgetAccountId(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OngetAccountIdCompleted(ByVal state As Object)
            If (Not (Me.getAccountIdCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent getAccountIdCompleted(Me, New getAccountIdCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub getAccountIdAsync()
            Me.getAccountIdAsync(Nothing)
        End Sub
        
        Public Overloads Sub getAccountIdAsync(ByVal userState As Object)
            If (Me.onBegingetAccountIdDelegate Is Nothing) Then
                Me.onBegingetAccountIdDelegate = AddressOf Me.OnBegingetAccountId
            End If
            If (Me.onEndgetAccountIdDelegate Is Nothing) Then
                Me.onEndgetAccountIdDelegate = AddressOf Me.OnEndgetAccountId
            End If
            If (Me.ongetAccountIdCompletedDelegate Is Nothing) Then
                Me.ongetAccountIdCompletedDelegate = AddressOf Me.OngetAccountIdCompleted
            End If
            MyBase.InvokeAsync(Me.onBegingetAccountIdDelegate, Nothing, Me.onEndgetAccountIdDelegate, Me.ongetAccountIdCompletedDelegate, userState)
        End Sub
        
        Public Function retrieveCourses() As EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable Implements PresentationServiceReference.IUserServices.retrieveCourses
            Return MyBase.Channel.retrieveCourses
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginretrieveCourses(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginretrieveCourses
            Return MyBase.Channel.BeginretrieveCourses(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndretrieveCourses(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable Implements PresentationServiceReference.IUserServices.EndretrieveCourses
            Return MyBase.Channel.EndretrieveCourses(result)
        End Function
        
        Private Function OnBeginretrieveCourses(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginretrieveCourses(callback, asyncState)
        End Function
        
        Private Function OnEndretrieveCourses(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.CoursesDataTable = Me.EndretrieveCourses(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnretrieveCoursesCompleted(ByVal state As Object)
            If (Not (Me.retrieveCoursesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent retrieveCoursesCompleted(Me, New retrieveCoursesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub retrieveCoursesAsync()
            Me.retrieveCoursesAsync(Nothing)
        End Sub
        
        Public Overloads Sub retrieveCoursesAsync(ByVal userState As Object)
            If (Me.onBeginretrieveCoursesDelegate Is Nothing) Then
                Me.onBeginretrieveCoursesDelegate = AddressOf Me.OnBeginretrieveCourses
            End If
            If (Me.onEndretrieveCoursesDelegate Is Nothing) Then
                Me.onEndretrieveCoursesDelegate = AddressOf Me.OnEndretrieveCourses
            End If
            If (Me.onretrieveCoursesCompletedDelegate Is Nothing) Then
                Me.onretrieveCoursesCompletedDelegate = AddressOf Me.OnretrieveCoursesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginretrieveCoursesDelegate, Nothing, Me.onEndretrieveCoursesDelegate, Me.onretrieveCoursesCompletedDelegate, userState)
        End Sub
        
        Public Function retrieveIngredients() As EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable Implements PresentationServiceReference.IUserServices.retrieveIngredients
            Return MyBase.Channel.retrieveIngredients
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginretrieveIngredients(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginretrieveIngredients
            Return MyBase.Channel.BeginretrieveIngredients(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndretrieveIngredients(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable Implements PresentationServiceReference.IUserServices.EndretrieveIngredients
            Return MyBase.Channel.EndretrieveIngredients(result)
        End Function
        
        Private Function OnBeginretrieveIngredients(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginretrieveIngredients(callback, asyncState)
        End Function
        
        Private Function OnEndretrieveIngredients(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.IngredientsDataTable = Me.EndretrieveIngredients(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnretrieveIngredientsCompleted(ByVal state As Object)
            If (Not (Me.retrieveIngredientsCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent retrieveIngredientsCompleted(Me, New retrieveIngredientsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub retrieveIngredientsAsync()
            Me.retrieveIngredientsAsync(Nothing)
        End Sub
        
        Public Overloads Sub retrieveIngredientsAsync(ByVal userState As Object)
            If (Me.onBeginretrieveIngredientsDelegate Is Nothing) Then
                Me.onBeginretrieveIngredientsDelegate = AddressOf Me.OnBeginretrieveIngredients
            End If
            If (Me.onEndretrieveIngredientsDelegate Is Nothing) Then
                Me.onEndretrieveIngredientsDelegate = AddressOf Me.OnEndretrieveIngredients
            End If
            If (Me.onretrieveIngredientsCompletedDelegate Is Nothing) Then
                Me.onretrieveIngredientsCompletedDelegate = AddressOf Me.OnretrieveIngredientsCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginretrieveIngredientsDelegate, Nothing, Me.onEndretrieveIngredientsDelegate, Me.onretrieveIngredientsCompletedDelegate, userState)
        End Sub
        
        Public Function retrieveFoodTypes() As EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable Implements PresentationServiceReference.IUserServices.retrieveFoodTypes
            Return MyBase.Channel.retrieveFoodTypes
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginretrieveFoodTypes(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginretrieveFoodTypes
            Return MyBase.Channel.BeginretrieveFoodTypes(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndretrieveFoodTypes(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable Implements PresentationServiceReference.IUserServices.EndretrieveFoodTypes
            Return MyBase.Channel.EndretrieveFoodTypes(result)
        End Function
        
        Private Function OnBeginretrieveFoodTypes(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginretrieveFoodTypes(callback, asyncState)
        End Function
        
        Private Function OnEndretrieveFoodTypes(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.FoodTypesDataTable = Me.EndretrieveFoodTypes(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnretrieveFoodTypesCompleted(ByVal state As Object)
            If (Not (Me.retrieveFoodTypesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent retrieveFoodTypesCompleted(Me, New retrieveFoodTypesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub retrieveFoodTypesAsync()
            Me.retrieveFoodTypesAsync(Nothing)
        End Sub
        
        Public Overloads Sub retrieveFoodTypesAsync(ByVal userState As Object)
            If (Me.onBeginretrieveFoodTypesDelegate Is Nothing) Then
                Me.onBeginretrieveFoodTypesDelegate = AddressOf Me.OnBeginretrieveFoodTypes
            End If
            If (Me.onEndretrieveFoodTypesDelegate Is Nothing) Then
                Me.onEndretrieveFoodTypesDelegate = AddressOf Me.OnEndretrieveFoodTypes
            End If
            If (Me.onretrieveFoodTypesCompletedDelegate Is Nothing) Then
                Me.onretrieveFoodTypesCompletedDelegate = AddressOf Me.OnretrieveFoodTypesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginretrieveFoodTypesDelegate, Nothing, Me.onEndretrieveFoodTypesDelegate, Me.onretrieveFoodTypesCompletedDelegate, userState)
        End Sub
        
        Public Function retrieveUnitMeasurements() As EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable Implements PresentationServiceReference.IUserServices.retrieveUnitMeasurements
            Return MyBase.Channel.retrieveUnitMeasurements
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginretrieveUnitMeasurements(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginretrieveUnitMeasurements
            Return MyBase.Channel.BeginretrieveUnitMeasurements(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndretrieveUnitMeasurements(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable Implements PresentationServiceReference.IUserServices.EndretrieveUnitMeasurements
            Return MyBase.Channel.EndretrieveUnitMeasurements(result)
        End Function
        
        Private Function OnBeginretrieveUnitMeasurements(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginretrieveUnitMeasurements(callback, asyncState)
        End Function
        
        Private Function OnEndretrieveUnitMeasurements(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.UnitMeasurementsDataTable = Me.EndretrieveUnitMeasurements(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnretrieveUnitMeasurementsCompleted(ByVal state As Object)
            If (Not (Me.retrieveUnitMeasurementsCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent retrieveUnitMeasurementsCompleted(Me, New retrieveUnitMeasurementsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub retrieveUnitMeasurementsAsync()
            Me.retrieveUnitMeasurementsAsync(Nothing)
        End Sub
        
        Public Overloads Sub retrieveUnitMeasurementsAsync(ByVal userState As Object)
            If (Me.onBeginretrieveUnitMeasurementsDelegate Is Nothing) Then
                Me.onBeginretrieveUnitMeasurementsDelegate = AddressOf Me.OnBeginretrieveUnitMeasurements
            End If
            If (Me.onEndretrieveUnitMeasurementsDelegate Is Nothing) Then
                Me.onEndretrieveUnitMeasurementsDelegate = AddressOf Me.OnEndretrieveUnitMeasurements
            End If
            If (Me.onretrieveUnitMeasurementsCompletedDelegate Is Nothing) Then
                Me.onretrieveUnitMeasurementsCompletedDelegate = AddressOf Me.OnretrieveUnitMeasurementsCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginretrieveUnitMeasurementsDelegate, Nothing, Me.onEndretrieveUnitMeasurementsDelegate, Me.onretrieveUnitMeasurementsCompletedDelegate, userState)
        End Sub
        
        Public Function retrieveCuisines() As EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable Implements PresentationServiceReference.IUserServices.retrieveCuisines
            Return MyBase.Channel.retrieveCuisines
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginretrieveCuisines(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginretrieveCuisines
            Return MyBase.Channel.BeginretrieveCuisines(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndretrieveCuisines(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable Implements PresentationServiceReference.IUserServices.EndretrieveCuisines
            Return MyBase.Channel.EndretrieveCuisines(result)
        End Function
        
        Private Function OnBeginretrieveCuisines(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginretrieveCuisines(callback, asyncState)
        End Function
        
        Private Function OnEndretrieveCuisines(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.CuisineTypesDataTable = Me.EndretrieveCuisines(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnretrieveCuisinesCompleted(ByVal state As Object)
            If (Not (Me.retrieveCuisinesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent retrieveCuisinesCompleted(Me, New retrieveCuisinesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub retrieveCuisinesAsync()
            Me.retrieveCuisinesAsync(Nothing)
        End Sub
        
        Public Overloads Sub retrieveCuisinesAsync(ByVal userState As Object)
            If (Me.onBeginretrieveCuisinesDelegate Is Nothing) Then
                Me.onBeginretrieveCuisinesDelegate = AddressOf Me.OnBeginretrieveCuisines
            End If
            If (Me.onEndretrieveCuisinesDelegate Is Nothing) Then
                Me.onEndretrieveCuisinesDelegate = AddressOf Me.OnEndretrieveCuisines
            End If
            If (Me.onretrieveCuisinesCompletedDelegate Is Nothing) Then
                Me.onretrieveCuisinesCompletedDelegate = AddressOf Me.OnretrieveCuisinesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginretrieveCuisinesDelegate, Nothing, Me.onEndretrieveCuisinesDelegate, Me.onretrieveCuisinesCompletedDelegate, userState)
        End Sub
        
        Public Sub searchRecipes(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal prepTimeMin As Integer, ByVal prepTimeMax As Integer, ByVal courseTypeId As Integer, ByVal cuisinetypeId As Integer, ByVal accountId As Integer) Implements PresentationServiceReference.IUserServices.searchRecipes
            MyBase.Channel.searchRecipes(recipeData, recipeName, prepTimeMin, prepTimeMax, courseTypeId, cuisinetypeId, accountId)
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginsearchRecipes(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal prepTimeMin As Integer, ByVal prepTimeMax As Integer, ByVal courseTypeId As Integer, ByVal cuisinetypeId As Integer, ByVal accountId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginsearchRecipes
            Return MyBase.Channel.BeginsearchRecipes(recipeData, recipeName, prepTimeMin, prepTimeMax, courseTypeId, cuisinetypeId, accountId, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Sub EndsearchRecipes(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult) Implements PresentationServiceReference.IUserServices.EndsearchRecipes
            MyBase.Channel.EndsearchRecipes(recipeData, result)
        End Sub
        
        Private Function OnBeginsearchRecipes(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Dim recipeName As String = CType(inValues(1),String)
            Dim prepTimeMin As Integer = CType(inValues(2),Integer)
            Dim prepTimeMax As Integer = CType(inValues(3),Integer)
            Dim courseTypeId As Integer = CType(inValues(4),Integer)
            Dim cuisinetypeId As Integer = CType(inValues(5),Integer)
            Dim accountId As Integer = CType(inValues(6),Integer)
            Return Me.BeginsearchRecipes(recipeData, recipeName, prepTimeMin, prepTimeMax, courseTypeId, cuisinetypeId, accountId, callback, asyncState)
        End Function
        
        Private Function OnEndsearchRecipes(ByVal result As System.IAsyncResult) As Object()
            Dim recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet = Me.GetDefaultValueForInitialization(Of EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.EndsearchRecipes(recipeData, result)
            Return New Object() {recipeData}
        End Function
        
        Private Sub OnsearchRecipesCompleted(ByVal state As Object)
            If (Not (Me.searchRecipesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent searchRecipesCompleted(Me, New searchRecipesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub searchRecipesAsync(ByVal recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal prepTimeMin As Integer, ByVal prepTimeMax As Integer, ByVal courseTypeId As Integer, ByVal cuisinetypeId As Integer, ByVal accountId As Integer)
            Me.searchRecipesAsync(recipeData, recipeName, prepTimeMin, prepTimeMax, courseTypeId, cuisinetypeId, accountId, Nothing)
        End Sub
        
        Public Overloads Sub searchRecipesAsync(ByVal recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal prepTimeMin As Integer, ByVal prepTimeMax As Integer, ByVal courseTypeId As Integer, ByVal cuisinetypeId As Integer, ByVal accountId As Integer, ByVal userState As Object)
            If (Me.onBeginsearchRecipesDelegate Is Nothing) Then
                Me.onBeginsearchRecipesDelegate = AddressOf Me.OnBeginsearchRecipes
            End If
            If (Me.onEndsearchRecipesDelegate Is Nothing) Then
                Me.onEndsearchRecipesDelegate = AddressOf Me.OnEndsearchRecipes
            End If
            If (Me.onsearchRecipesCompletedDelegate Is Nothing) Then
                Me.onsearchRecipesCompletedDelegate = AddressOf Me.OnsearchRecipesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginsearchRecipesDelegate, New Object() {recipeData, recipeName, prepTimeMin, prepTimeMax, courseTypeId, cuisinetypeId, accountId}, Me.onEndsearchRecipesDelegate, Me.onsearchRecipesCompletedDelegate, userState)
        End Sub
        
        Public Sub searchRecipeIngredientTable(ByRef recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal ingredientName As String, ByVal courseName As String, ByVal cuisineName As String, ByVal prepMin As System.Nullable(Of Integer), ByVal prepMax As System.Nullable(Of Integer)) Implements PresentationServiceReference.IUserServices.searchRecipeIngredientTable
            MyBase.Channel.searchRecipeIngredientTable(recipedata, recipeName, ingredientName, courseName, cuisineName, prepMin, prepMax)
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginsearchRecipeIngredientTable(ByRef recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal ingredientName As String, ByVal courseName As String, ByVal cuisineName As String, ByVal prepMin As System.Nullable(Of Integer), ByVal prepMax As System.Nullable(Of Integer), ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginsearchRecipeIngredientTable
            Return MyBase.Channel.BeginsearchRecipeIngredientTable(recipedata, recipeName, ingredientName, courseName, cuisineName, prepMin, prepMax, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Sub EndsearchRecipeIngredientTable(ByRef recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult) Implements PresentationServiceReference.IUserServices.EndsearchRecipeIngredientTable
            MyBase.Channel.EndsearchRecipeIngredientTable(recipedata, result)
        End Sub
        
        Private Function OnBeginsearchRecipeIngredientTable(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Dim recipeName As String = CType(inValues(1),String)
            Dim ingredientName As String = CType(inValues(2),String)
            Dim courseName As String = CType(inValues(3),String)
            Dim cuisineName As String = CType(inValues(4),String)
            Dim prepMin As System.Nullable(Of Integer) = CType(inValues(5),System.Nullable(Of Integer))
            Dim prepMax As System.Nullable(Of Integer) = CType(inValues(6),System.Nullable(Of Integer))
            Return Me.BeginsearchRecipeIngredientTable(recipedata, recipeName, ingredientName, courseName, cuisineName, prepMin, prepMax, callback, asyncState)
        End Function
        
        Private Function OnEndsearchRecipeIngredientTable(ByVal result As System.IAsyncResult) As Object()
            Dim recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet = Me.GetDefaultValueForInitialization(Of EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.EndsearchRecipeIngredientTable(recipedata, result)
            Return New Object() {recipedata}
        End Function
        
        Private Sub OnsearchRecipeIngredientTableCompleted(ByVal state As Object)
            If (Not (Me.searchRecipeIngredientTableCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent searchRecipeIngredientTableCompleted(Me, New searchRecipeIngredientTableCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub searchRecipeIngredientTableAsync(ByVal recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal ingredientName As String, ByVal courseName As String, ByVal cuisineName As String, ByVal prepMin As System.Nullable(Of Integer), ByVal prepMax As System.Nullable(Of Integer))
            Me.searchRecipeIngredientTableAsync(recipedata, recipeName, ingredientName, courseName, cuisineName, prepMin, prepMax, Nothing)
        End Sub
        
        Public Overloads Sub searchRecipeIngredientTableAsync(ByVal recipedata As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal recipeName As String, ByVal ingredientName As String, ByVal courseName As String, ByVal cuisineName As String, ByVal prepMin As System.Nullable(Of Integer), ByVal prepMax As System.Nullable(Of Integer), ByVal userState As Object)
            If (Me.onBeginsearchRecipeIngredientTableDelegate Is Nothing) Then
                Me.onBeginsearchRecipeIngredientTableDelegate = AddressOf Me.OnBeginsearchRecipeIngredientTable
            End If
            If (Me.onEndsearchRecipeIngredientTableDelegate Is Nothing) Then
                Me.onEndsearchRecipeIngredientTableDelegate = AddressOf Me.OnEndsearchRecipeIngredientTable
            End If
            If (Me.onsearchRecipeIngredientTableCompletedDelegate Is Nothing) Then
                Me.onsearchRecipeIngredientTableCompletedDelegate = AddressOf Me.OnsearchRecipeIngredientTableCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginsearchRecipeIngredientTableDelegate, New Object() {recipedata, recipeName, ingredientName, courseName, cuisineName, prepMin, prepMax}, Me.onEndsearchRecipeIngredientTableDelegate, Me.onsearchRecipeIngredientTableCompletedDelegate, userState)
        End Sub
        
        Public Sub retrieveRecipeIngredientTableByAccount(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal accountID As Integer) Implements PresentationServiceReference.IUserServices.retrieveRecipeIngredientTableByAccount
            MyBase.Channel.retrieveRecipeIngredientTableByAccount(recipeData, accountID)
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginretrieveRecipeIngredientTableByAccount(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal accountID As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginretrieveRecipeIngredientTableByAccount
            Return MyBase.Channel.BeginretrieveRecipeIngredientTableByAccount(recipeData, accountID, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Sub EndretrieveRecipeIngredientTableByAccount(ByRef recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal result As System.IAsyncResult) Implements PresentationServiceReference.IUserServices.EndretrieveRecipeIngredientTableByAccount
            MyBase.Channel.EndretrieveRecipeIngredientTableByAccount(recipeData, result)
        End Sub
        
        Private Function OnBeginretrieveRecipeIngredientTableByAccount(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Dim accountID As Integer = CType(inValues(1),Integer)
            Return Me.BeginretrieveRecipeIngredientTableByAccount(recipeData, accountID, callback, asyncState)
        End Function
        
        Private Function OnEndretrieveRecipeIngredientTableByAccount(ByVal result As System.IAsyncResult) As Object()
            Dim recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet = Me.GetDefaultValueForInitialization(Of EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.EndretrieveRecipeIngredientTableByAccount(recipeData, result)
            Return New Object() {recipeData}
        End Function
        
        Private Sub OnretrieveRecipeIngredientTableByAccountCompleted(ByVal state As Object)
            If (Not (Me.retrieveRecipeIngredientTableByAccountCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent retrieveRecipeIngredientTableByAccountCompleted(Me, New retrieveRecipeIngredientTableByAccountCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub retrieveRecipeIngredientTableByAccountAsync(ByVal recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal accountID As Integer)
            Me.retrieveRecipeIngredientTableByAccountAsync(recipeData, accountID, Nothing)
        End Sub
        
        Public Overloads Sub retrieveRecipeIngredientTableByAccountAsync(ByVal recipeData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal accountID As Integer, ByVal userState As Object)
            If (Me.onBeginretrieveRecipeIngredientTableByAccountDelegate Is Nothing) Then
                Me.onBeginretrieveRecipeIngredientTableByAccountDelegate = AddressOf Me.OnBeginretrieveRecipeIngredientTableByAccount
            End If
            If (Me.onEndretrieveRecipeIngredientTableByAccountDelegate Is Nothing) Then
                Me.onEndretrieveRecipeIngredientTableByAccountDelegate = AddressOf Me.OnEndretrieveRecipeIngredientTableByAccount
            End If
            If (Me.onretrieveRecipeIngredientTableByAccountCompletedDelegate Is Nothing) Then
                Me.onretrieveRecipeIngredientTableByAccountCompletedDelegate = AddressOf Me.OnretrieveRecipeIngredientTableByAccountCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginretrieveRecipeIngredientTableByAccountDelegate, New Object() {recipeData, accountID}, Me.onEndretrieveRecipeIngredientTableByAccountDelegate, Me.onretrieveRecipeIngredientTableByAccountCompletedDelegate, userState)
        End Sub
        
        Public Function checkIngredientExist(ByVal ingredientName As String) As Boolean Implements PresentationServiceReference.IUserServices.checkIngredientExist
            Return MyBase.Channel.checkIngredientExist(ingredientName)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BegincheckIngredientExist(ByVal ingredientName As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BegincheckIngredientExist
            Return MyBase.Channel.BegincheckIngredientExist(ingredientName, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndcheckIngredientExist(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndcheckIngredientExist
            Return MyBase.Channel.EndcheckIngredientExist(result)
        End Function
        
        Private Function OnBegincheckIngredientExist(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ingredientName As String = CType(inValues(0),String)
            Return Me.BegincheckIngredientExist(ingredientName, callback, asyncState)
        End Function
        
        Private Function OnEndcheckIngredientExist(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndcheckIngredientExist(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OncheckIngredientExistCompleted(ByVal state As Object)
            If (Not (Me.checkIngredientExistCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent checkIngredientExistCompleted(Me, New checkIngredientExistCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub checkIngredientExistAsync(ByVal ingredientName As String)
            Me.checkIngredientExistAsync(ingredientName, Nothing)
        End Sub
        
        Public Overloads Sub checkIngredientExistAsync(ByVal ingredientName As String, ByVal userState As Object)
            If (Me.onBegincheckIngredientExistDelegate Is Nothing) Then
                Me.onBegincheckIngredientExistDelegate = AddressOf Me.OnBegincheckIngredientExist
            End If
            If (Me.onEndcheckIngredientExistDelegate Is Nothing) Then
                Me.onEndcheckIngredientExistDelegate = AddressOf Me.OnEndcheckIngredientExist
            End If
            If (Me.oncheckIngredientExistCompletedDelegate Is Nothing) Then
                Me.oncheckIngredientExistCompletedDelegate = AddressOf Me.OncheckIngredientExistCompleted
            End If
            MyBase.InvokeAsync(Me.onBegincheckIngredientExistDelegate, New Object() {ingredientName}, Me.onEndcheckIngredientExistDelegate, Me.oncheckIngredientExistCompletedDelegate, userState)
        End Sub
        
        Public Function insertIngredient(ByVal ingredientName As String, ByVal foodTypeId As Integer) As Integer Implements PresentationServiceReference.IUserServices.insertIngredient
            Return MyBase.Channel.insertIngredient(ingredientName, foodTypeId)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BegininsertIngredient(ByVal ingredientName As String, ByVal foodTypeId As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BegininsertIngredient
            Return MyBase.Channel.BegininsertIngredient(ingredientName, foodTypeId, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndinsertIngredient(ByVal result As System.IAsyncResult) As Integer Implements PresentationServiceReference.IUserServices.EndinsertIngredient
            Return MyBase.Channel.EndinsertIngredient(result)
        End Function
        
        Private Function OnBegininsertIngredient(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ingredientName As String = CType(inValues(0),String)
            Dim foodTypeId As Integer = CType(inValues(1),Integer)
            Return Me.BegininsertIngredient(ingredientName, foodTypeId, callback, asyncState)
        End Function
        
        Private Function OnEndinsertIngredient(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Integer = Me.EndinsertIngredient(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OninsertIngredientCompleted(ByVal state As Object)
            If (Not (Me.insertIngredientCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent insertIngredientCompleted(Me, New insertIngredientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub insertIngredientAsync(ByVal ingredientName As String, ByVal foodTypeId As Integer)
            Me.insertIngredientAsync(ingredientName, foodTypeId, Nothing)
        End Sub
        
        Public Overloads Sub insertIngredientAsync(ByVal ingredientName As String, ByVal foodTypeId As Integer, ByVal userState As Object)
            If (Me.onBegininsertIngredientDelegate Is Nothing) Then
                Me.onBegininsertIngredientDelegate = AddressOf Me.OnBegininsertIngredient
            End If
            If (Me.onEndinsertIngredientDelegate Is Nothing) Then
                Me.onEndinsertIngredientDelegate = AddressOf Me.OnEndinsertIngredient
            End If
            If (Me.oninsertIngredientCompletedDelegate Is Nothing) Then
                Me.oninsertIngredientCompletedDelegate = AddressOf Me.OninsertIngredientCompleted
            End If
            MyBase.InvokeAsync(Me.onBegininsertIngredientDelegate, New Object() {ingredientName, foodTypeId}, Me.onEndinsertIngredientDelegate, Me.oninsertIngredientCompletedDelegate, userState)
        End Sub
        
        Public Function viewIngredientsFoodTypes() As EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable Implements PresentationServiceReference.IUserServices.viewIngredientsFoodTypes
            Return MyBase.Channel.viewIngredientsFoodTypes
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginviewIngredientsFoodTypes(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginviewIngredientsFoodTypes
            Return MyBase.Channel.BeginviewIngredientsFoodTypes(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndviewIngredientsFoodTypes(ByVal result As System.IAsyncResult) As EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable Implements PresentationServiceReference.IUserServices.EndviewIngredientsFoodTypes
            Return MyBase.Channel.EndviewIngredientsFoodTypes(result)
        End Function
        
        Private Function OnBeginviewIngredientsFoodTypes(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginviewIngredientsFoodTypes(callback, asyncState)
        End Function
        
        Private Function OnEndviewIngredientsFoodTypes(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As EntitiesLayer.RecipeHolderDatabaseDataSet.ViewIngredientsFoodTypesDataTable = Me.EndviewIngredientsFoodTypes(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnviewIngredientsFoodTypesCompleted(ByVal state As Object)
            If (Not (Me.viewIngredientsFoodTypesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent viewIngredientsFoodTypesCompleted(Me, New viewIngredientsFoodTypesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub viewIngredientsFoodTypesAsync()
            Me.viewIngredientsFoodTypesAsync(Nothing)
        End Sub
        
        Public Overloads Sub viewIngredientsFoodTypesAsync(ByVal userState As Object)
            If (Me.onBeginviewIngredientsFoodTypesDelegate Is Nothing) Then
                Me.onBeginviewIngredientsFoodTypesDelegate = AddressOf Me.OnBeginviewIngredientsFoodTypes
            End If
            If (Me.onEndviewIngredientsFoodTypesDelegate Is Nothing) Then
                Me.onEndviewIngredientsFoodTypesDelegate = AddressOf Me.OnEndviewIngredientsFoodTypes
            End If
            If (Me.onviewIngredientsFoodTypesCompletedDelegate Is Nothing) Then
                Me.onviewIngredientsFoodTypesCompletedDelegate = AddressOf Me.OnviewIngredientsFoodTypesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginviewIngredientsFoodTypesDelegate, Nothing, Me.onEndviewIngredientsFoodTypesDelegate, Me.onviewIngredientsFoodTypesCompletedDelegate, userState)
        End Sub
        
        Public Function updateIngredients(ByVal ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean Implements PresentationServiceReference.IUserServices.updateIngredients
            Return MyBase.Channel.updateIngredients(ingredientsTable)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginupdateIngredients(ByVal ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginupdateIngredients
            Return MyBase.Channel.BeginupdateIngredients(ingredientsTable, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndupdateIngredients(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndupdateIngredients
            Return MyBase.Channel.EndupdateIngredients(result)
        End Function
        
        Private Function OnBeginupdateIngredients(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Return Me.BeginupdateIngredients(ingredientsTable, callback, asyncState)
        End Function
        
        Private Function OnEndupdateIngredients(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndupdateIngredients(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnupdateIngredientsCompleted(ByVal state As Object)
            If (Not (Me.updateIngredientsCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent updateIngredientsCompleted(Me, New updateIngredientsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub updateIngredientsAsync(ByVal ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.updateIngredientsAsync(ingredientsTable, Nothing)
        End Sub
        
        Public Overloads Sub updateIngredientsAsync(ByVal ingredientsTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal userState As Object)
            If (Me.onBeginupdateIngredientsDelegate Is Nothing) Then
                Me.onBeginupdateIngredientsDelegate = AddressOf Me.OnBeginupdateIngredients
            End If
            If (Me.onEndupdateIngredientsDelegate Is Nothing) Then
                Me.onEndupdateIngredientsDelegate = AddressOf Me.OnEndupdateIngredients
            End If
            If (Me.onupdateIngredientsCompletedDelegate Is Nothing) Then
                Me.onupdateIngredientsCompletedDelegate = AddressOf Me.OnupdateIngredientsCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginupdateIngredientsDelegate, New Object() {ingredientsTable}, Me.onEndupdateIngredientsDelegate, Me.onupdateIngredientsCompletedDelegate, userState)
        End Sub
        
        Public Function updateCourses(ByVal recipData As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean Implements PresentationServiceReference.IUserServices.updateCourses
            Return MyBase.Channel.updateCourses(recipData)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginupdateCourses(ByVal recipData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginupdateCourses
            Return MyBase.Channel.BeginupdateCourses(recipData, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndupdateCourses(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndupdateCourses
            Return MyBase.Channel.EndupdateCourses(result)
        End Function
        
        Private Function OnBeginupdateCourses(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim recipData As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Return Me.BeginupdateCourses(recipData, callback, asyncState)
        End Function
        
        Private Function OnEndupdateCourses(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndupdateCourses(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnupdateCoursesCompleted(ByVal state As Object)
            If (Not (Me.updateCoursesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent updateCoursesCompleted(Me, New updateCoursesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub updateCoursesAsync(ByVal recipData As EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.updateCoursesAsync(recipData, Nothing)
        End Sub
        
        Public Overloads Sub updateCoursesAsync(ByVal recipData As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal userState As Object)
            If (Me.onBeginupdateCoursesDelegate Is Nothing) Then
                Me.onBeginupdateCoursesDelegate = AddressOf Me.OnBeginupdateCourses
            End If
            If (Me.onEndupdateCoursesDelegate Is Nothing) Then
                Me.onEndupdateCoursesDelegate = AddressOf Me.OnEndupdateCourses
            End If
            If (Me.onupdateCoursesCompletedDelegate Is Nothing) Then
                Me.onupdateCoursesCompletedDelegate = AddressOf Me.OnupdateCoursesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginupdateCoursesDelegate, New Object() {recipData}, Me.onEndupdateCoursesDelegate, Me.onupdateCoursesCompletedDelegate, userState)
        End Sub
        
        Public Function updateCuisines(ByVal cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean Implements PresentationServiceReference.IUserServices.updateCuisines
            Return MyBase.Channel.updateCuisines(cuisinesTable)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginupdateCuisines(ByVal cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginupdateCuisines
            Return MyBase.Channel.BeginupdateCuisines(cuisinesTable, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndupdateCuisines(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndupdateCuisines
            Return MyBase.Channel.EndupdateCuisines(result)
        End Function
        
        Private Function OnBeginupdateCuisines(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Return Me.BeginupdateCuisines(cuisinesTable, callback, asyncState)
        End Function
        
        Private Function OnEndupdateCuisines(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndupdateCuisines(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnupdateCuisinesCompleted(ByVal state As Object)
            If (Not (Me.updateCuisinesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent updateCuisinesCompleted(Me, New updateCuisinesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub updateCuisinesAsync(ByVal cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.updateCuisinesAsync(cuisinesTable, Nothing)
        End Sub
        
        Public Overloads Sub updateCuisinesAsync(ByVal cuisinesTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal userState As Object)
            If (Me.onBeginupdateCuisinesDelegate Is Nothing) Then
                Me.onBeginupdateCuisinesDelegate = AddressOf Me.OnBeginupdateCuisines
            End If
            If (Me.onEndupdateCuisinesDelegate Is Nothing) Then
                Me.onEndupdateCuisinesDelegate = AddressOf Me.OnEndupdateCuisines
            End If
            If (Me.onupdateCuisinesCompletedDelegate Is Nothing) Then
                Me.onupdateCuisinesCompletedDelegate = AddressOf Me.OnupdateCuisinesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginupdateCuisinesDelegate, New Object() {cuisinesTable}, Me.onEndupdateCuisinesDelegate, Me.onupdateCuisinesCompletedDelegate, userState)
        End Sub
        
        Public Function updateFoodTypes(ByVal foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean Implements PresentationServiceReference.IUserServices.updateFoodTypes
            Return MyBase.Channel.updateFoodTypes(foodTypesTable)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginupdateFoodTypes(ByVal foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginupdateFoodTypes
            Return MyBase.Channel.BeginupdateFoodTypes(foodTypesTable, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndupdateFoodTypes(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndupdateFoodTypes
            Return MyBase.Channel.EndupdateFoodTypes(result)
        End Function
        
        Private Function OnBeginupdateFoodTypes(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Return Me.BeginupdateFoodTypes(foodTypesTable, callback, asyncState)
        End Function
        
        Private Function OnEndupdateFoodTypes(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndupdateFoodTypes(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnupdateFoodTypesCompleted(ByVal state As Object)
            If (Not (Me.updateFoodTypesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent updateFoodTypesCompleted(Me, New updateFoodTypesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub updateFoodTypesAsync(ByVal foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.updateFoodTypesAsync(foodTypesTable, Nothing)
        End Sub
        
        Public Overloads Sub updateFoodTypesAsync(ByVal foodTypesTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal userState As Object)
            If (Me.onBeginupdateFoodTypesDelegate Is Nothing) Then
                Me.onBeginupdateFoodTypesDelegate = AddressOf Me.OnBeginupdateFoodTypes
            End If
            If (Me.onEndupdateFoodTypesDelegate Is Nothing) Then
                Me.onEndupdateFoodTypesDelegate = AddressOf Me.OnEndupdateFoodTypes
            End If
            If (Me.onupdateFoodTypesCompletedDelegate Is Nothing) Then
                Me.onupdateFoodTypesCompletedDelegate = AddressOf Me.OnupdateFoodTypesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginupdateFoodTypesDelegate, New Object() {foodTypesTable}, Me.onEndupdateFoodTypesDelegate, Me.onupdateFoodTypesCompletedDelegate, userState)
        End Sub
        
        Public Function updateUnitMeasurements(ByVal unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet) As Boolean Implements PresentationServiceReference.IUserServices.updateUnitMeasurements
            Return MyBase.Channel.updateUnitMeasurements(unitMeasurementsTable)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginupdateUnitMeasurements(ByVal unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements PresentationServiceReference.IUserServices.BeginupdateUnitMeasurements
            Return MyBase.Channel.BeginupdateUnitMeasurements(unitMeasurementsTable, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndupdateUnitMeasurements(ByVal result As System.IAsyncResult) As Boolean Implements PresentationServiceReference.IUserServices.EndupdateUnitMeasurements
            Return MyBase.Channel.EndupdateUnitMeasurements(result)
        End Function
        
        Private Function OnBeginupdateUnitMeasurements(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet = CType(inValues(0),EntitiesLayer.RecipeHolderDatabaseDataSet)
            Return Me.BeginupdateUnitMeasurements(unitMeasurementsTable, callback, asyncState)
        End Function
        
        Private Function OnEndupdateUnitMeasurements(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndupdateUnitMeasurements(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnupdateUnitMeasurementsCompleted(ByVal state As Object)
            If (Not (Me.updateUnitMeasurementsCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent updateUnitMeasurementsCompleted(Me, New updateUnitMeasurementsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub updateUnitMeasurementsAsync(ByVal unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet)
            Me.updateUnitMeasurementsAsync(unitMeasurementsTable, Nothing)
        End Sub
        
        Public Overloads Sub updateUnitMeasurementsAsync(ByVal unitMeasurementsTable As EntitiesLayer.RecipeHolderDatabaseDataSet, ByVal userState As Object)
            If (Me.onBeginupdateUnitMeasurementsDelegate Is Nothing) Then
                Me.onBeginupdateUnitMeasurementsDelegate = AddressOf Me.OnBeginupdateUnitMeasurements
            End If
            If (Me.onEndupdateUnitMeasurementsDelegate Is Nothing) Then
                Me.onEndupdateUnitMeasurementsDelegate = AddressOf Me.OnEndupdateUnitMeasurements
            End If
            If (Me.onupdateUnitMeasurementsCompletedDelegate Is Nothing) Then
                Me.onupdateUnitMeasurementsCompletedDelegate = AddressOf Me.OnupdateUnitMeasurementsCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginupdateUnitMeasurementsDelegate, New Object() {unitMeasurementsTable}, Me.onEndupdateUnitMeasurementsDelegate, Me.onupdateUnitMeasurementsCompletedDelegate, userState)
        End Sub
    End Class
End Namespace
