如何輕松地將DataReader轉換為List<T>?我在一個DataReader我想被轉換成List<T>..對此有什么可能的簡單解決方案?例如,在CustomerEntity類中,我有CustomerId和CustomerName屬性。List<CustomerEntity>. 查看完整描述