C # Linq for VB.NET (not from In Where style ...)

How would I convert this expression in VB.NET? I stomped!

bool exists=repo.Exists<Post>(x=>x.Title=="My Title");

This is from the SubSonic docs here: http://subsonicproject.com/docs/Using_SimpleRepository

Thanks in advance!

+2


source to share


1 answer


Dim exists = repo.Exists(Of Post)(Function(x) x.Title = "My Title")

      



+2


source







All Articles