Udostępnij za pośrednictwem


'Equals' expected

A Join or Group Join clause has been specified without an Equals operator. You use the Equals operator to identify the Boolean operation to test key fields for matching items.

Error ID: BC36619

To correct this error

  • Add the Equals operator and key fields to the Join or Group Join clause. For example:

    Dim petOwnersGrouped = From pers In people _
                           Group Join pet In pets _
                             On pers Equals pet.Owner _
                           Into PetList = Group _
                           Select pers.FirstName, pers.LastName, _
                                  PetList
    

See Also

Tasks

How to: Combine Data with LINQ by Using Joins (Visual Basic)

Concepts

Introduction to LINQ in Visual Basic

Reference

Join Clause (Visual Basic)

Group Join Clause (Visual Basic)

Other Resources

LINQ in Visual Basic