0
我想檢索實體框架中每個MobileNo的最後插入記錄。獲取entityframework中每個組的最後記錄?
這是我的表格數據。
ID RegNo MobileNo CreatedDate
26727 190077348 9696562673 13-02-2017 06:31
26729 123782783 9696562673 13-02-2017 06:35
45779 530087328 5878525875 07-02-2017 07:23
99902 120058572 7379130560 08-02-2017 12:39
64477 180073650 7417516480 10-02-2017 13:47
81839 240087264 7754990580 11-02-2017 10:47
,並希望輸出如下
ID RegNo MobileNo CreatedDate
26729 123782783 9696562673 13-02-2017 06:35
45779 530087328 5878525875 07-02-2017 07:23
99902 120058572 7379130560 08-02-2017 12:39
64477 180073650 7417516480 10-02-2017 13:47
81839 240087264 7754990580 11-02-2017 10:47