Link to home
Start Free TrialLog in
Avatar of scm0sml
scm0sml

asked on

using linq not exists vb.net

HI,

I have the following function that I cant quite get right as am still relatively new to linq:

Basically the costume group that is being passed in has a property costumes

The generalhelper.costumes returns a linq.tables(of costumes), the same as the costumes property on group.

What I want to say is get the generalhelper.costumes that dont exist in group.costumes.

How dod I do this.

Can the code be in vb.net please.

Thanks
Public Function GetCostumesNotLinkedToGroup(ByVal group As CostumeGroup) As ....
        Try
            Dim query = GeneralHelper.Costumes.Where....
            Return query
        Catch ex As Exception
            Throw
        End Try
    End Function

Open in new window

SOLUTION
Avatar of nepaluz
nepaluz
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial