view UnitTests/Linq/CompilerServices.vb @ 6:11b6da379593

Исправлена странная ошибка при использовании OfType<...>().Where(...)
author cin
date Mon, 05 Dec 2016 05:50:52 +0300
parents f990fcb411a9
children
line wrap: on
line source

Imports Data.Linq.Model

Public Module CompilerServices

    Public Function CompareString(ByVal db As ITestDataContext) As IEnumerable(Of Person)
        Return From p In db.Person Where p.FirstName = "John" Select p
    End Function

End Module