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.