0
public List<class> method()
{
return _context.OffshoreTransactions.Select (x => new OffshoreTransactionRecord
{
CheckNumber = x.CheckNumber,
Comment = x.Comment,
Description = x.Description,
TransactionAmount = x.Amount,
TransactionId = x.TransactionTypeId,
Upload = x.UploadFile,
Id = x.Id
}).ToList();
}
無法在LINQ to Entities查詢中構造實體或複雜類型「XXX」。無法在LINQ to Entities查詢中構造實體或複雜類型'EmployeeStoreModel.karthiktable'
我能在我的情況下獲得的記錄在這裏的上述問題 – Karthik
是的,我明白了感謝 – Karthik