DataRowBuilder.cs 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // System.Data.DataRowBuilder
  3. //
  4. // Author:
  5. // Tim Coleman <[email protected]>
  6. //
  7. // Copyright (C) 2002 Tim Coleman
  8. //
  9. using System;
  10. namespace System.Data
  11. {
  12. /// <summary>
  13. /// A supporting class that exists solely to support
  14. /// DataRow and DataTable
  15. /// Implementation of something meaningful will follow.
  16. /// Presumably, what that is will become apparent when
  17. /// constructing DataTable and DataRow.
  18. /// </summary>
  19. public class DataRowBuilder
  20. {
  21. #region Fields
  22. DataTable table;
  23. #endregion
  24. #region Constructors
  25. // DataRowBuilder on .NET takes 3 arguments, a
  26. // DataTable and two Int32. For consistency, this
  27. // class will also take those arguments.
  28. protected internal DataRowBuilder (DataTable table, int x, int y)
  29. {
  30. this.table = table;
  31. }
  32. #endregion
  33. #region Properties
  34. protected internal DataTable Table {
  35. get { return table; }
  36. }
  37. #endregion
  38. }
  39. }