
Untitled
By: a guest on
May 9th, 2012 | syntax:
None | size: 0.47 KB | hits: 14 | expires: Never
Unable to cast object of type 'ImagesFlag' to type 'System.Collections.Generic.IEnumerable`1[ImagesFlag]'
Private Function GetFlag(ByVal ImagesFlagList As IQueryable(Of ImagesFlag)) As String
ImagesFlagList = ImagesFlagList.AsEnumerable().Concat(New ImagesFlag With _
{.Flag = "test"}).AsQueryable()
Return "something"
End Function
.Concat(New ImagesFlag With {.Flag = "test"})
Dim array as ImagesFlag() = { new ImagesFlag With { .Flag = "test" } }
.Concat(array)