前言
從車商那邊的來源接了一個純文字檔,說是json格式,
結果……只是包的很像json的東西,裡面根本不是阿。只能拆開後,再處理那json了。
var ids = {1, 2, 3};
var query = from item in context.items
where ids.Contains( item.id )
select item;
來做查詢。
但是一使用LinqToExcel 這樣用舊直接掛了,出現
VisitSubQueryExpression method is not implemented
System.Diagnostics.Process.Start("explorer.exe", AppDomain.CurrentDomain.BaseDirectory)