Unable to cast object of type 'Devart.Data.Linq.Engine.DeferredEnumerable
Posted: Thu 05 May 2016 12:40
Hello,
I'm calling a record from my MySQL database,
but I keep getting
many thanks.
I'm calling a record from my MySQL database,
Code: Select all
Dim uploadedFile As db.UploadedContent = dc.UploadedContents.FirstOrDefault(Function(a) a.Id = uploadedFileID)
Sorry I'm not sure what other information to put,Unable to cast object of type 'Devart.Data.Linq.Engine.DeferredEnumerable`1[Manager.db.UploadedContent]' to type 'System.Collections.Generic.IEnumerable`1[Devart.Data.Linq.Binary]'.
many thanks.