IDataReader.cs 600 B

1234567891011121314151617181920212223242526
  1. using System.Collections.Generic;
  2. using System;
  3. namespace IFramework.Serialization.DataTable
  4. {
  5. /// <summary>
  6. /// 数据读取器
  7. /// </summary>
  8. public interface IDataReader : IDisposable
  9. {
  10. /// <summary>
  11. /// 获取
  12. /// </summary>
  13. /// <typeparam name="T"></typeparam>
  14. /// <returns></returns>
  15. List<T> Get<T>();
  16. /// <summary>
  17. /// 标题栏
  18. /// </summary>
  19. List<string> headNames { get; }
  20. /// <summary>
  21. /// 行
  22. /// </summary>
  23. List<List<DataColumn>> rows { get; }
  24. }
  25. }