Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何创建 n 个IDataReader对象并将其添加到 a List<IDataReader>?
IDataReader
List<IDataReader>
如何创建和添加 n 个IDataReader对象List<IDataReader>?
readers.Add(someDbCommand.ExecuteReader());
另请参阅IDbCommand.ExecuteReader