你咁寫其實就係即係select+join哂所有野去client, 之後client做filtering
咁寫一多data爆硬
你del左個AsEn ...
blue01299 發表於 2020-12-31 14:58 
The AsEnumerable() operator, unlike ToList() and ToArray(), does not cause execution of the query. It is still deferred. The AsEnumerable() operator merely changes the static typing of the query, turning a IQueryable<T> (IQueryable (ofT) in Visual Basic) into an IEnumerable<T> (IEnumerable (ofT) in Visual Basic), tricking the compiler into treating the rest of the query as locally executed.
source: https://docs.microsoft.com/en-us ... redirectedfrom=MSDN |