DataRelation.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. //
  2. // System.Data.DataRelation.cs
  3. //
  4. // Author:
  5. // Daniel Morgan <[email protected]>
  6. //
  7. // (C) 2002 Daniel Morgan
  8. // (C) 2002 Ximian, Inc.
  9. //
  10. using System;
  11. using System.Runtime.Serialization;
  12. namespace System.Data
  13. {
  14. /// <summary>
  15. /// DataRelation is used for a parent/child relationship
  16. /// between two DataTable objects
  17. /// </summary>
  18. [Serializable]
  19. public class DataRelation {
  20. #region Constructors
  21. [MonoTODO]
  22. public DataRelation(string relationName,
  23. DataColumn parentColumn, DataColumn childColumn) {
  24. throw new NotImplementedException ();
  25. }
  26. [MonoTODO]
  27. public DataRelation(string relationName,
  28. DataColumn[] parentColumns,
  29. DataColumn[] childColumns) {
  30. throw new NotImplementedException ();
  31. }
  32. [MonoTODO]
  33. public DataRelation(string relationName,
  34. DataColumn parentColumn, DataColumn childColumn,
  35. bool createConstraints) {
  36. throw new NotImplementedException ();
  37. }
  38. [MonoTODO]
  39. public DataRelation(string relationName,
  40. DataColumn[] parentColumns, DataColumn[] childColumns,
  41. bool createConstraints) {
  42. throw new NotImplementedException ();
  43. }
  44. [MonoTODO]
  45. public DataRelation(string relationName,
  46. string parentTableName, string childTableName,
  47. string[] parentColumnNames, string[] childColumnNames,
  48. bool nested) {
  49. throw new NotImplementedException ();
  50. }
  51. #endregion // Constructors
  52. #region Properties
  53. public virtual DataColumn[] ChildColumns {
  54. [MonoTODO]
  55. get {
  56. throw new NotImplementedException ();
  57. }
  58. }
  59. public virtual ForeignKeyConstraint ChildKeyConstraint {
  60. [MonoTODO]
  61. get {
  62. throw new NotImplementedException ();
  63. }
  64. }
  65. public virtual DataTable ChildTable {
  66. [MonoTODO]
  67. get {
  68. throw new NotImplementedException ();
  69. }
  70. }
  71. public virtual DataSet DataSet {
  72. [MonoTODO]
  73. get {
  74. throw new NotImplementedException ();
  75. }
  76. }
  77. public PropertyCollection ExtendedProperties {
  78. [MonoTODO]
  79. get {
  80. throw new NotImplementedException ();
  81. }
  82. }
  83. public virtual bool Nested {
  84. [MonoTODO]
  85. get {
  86. throw new NotImplementedException ();
  87. }
  88. [MonoTODO]
  89. set {
  90. throw new NotImplementedException ();
  91. }
  92. }
  93. public virtual DataColumn[] ParentColumns {
  94. [MonoTODO]
  95. get {
  96. throw new NotImplementedException ();
  97. }
  98. }
  99. public virtual UniqueConstraint ParentKeyConstraint {
  100. [MonoTODO]
  101. get {
  102. throw new NotImplementedException ();
  103. }
  104. }
  105. public virtual DataTable ParentTable {
  106. [MonoTODO]
  107. get {
  108. throw new NotImplementedException ();
  109. }
  110. }
  111. public virtual string RelationName {
  112. [MonoTODO]
  113. get {
  114. throw new NotImplementedException ();
  115. }
  116. [MonoTODO]
  117. set {
  118. throw new NotImplementedException ();
  119. }
  120. }
  121. #endregion // Properties
  122. #region Methods
  123. [MonoTODO]
  124. public override string ToString() {
  125. throw new NotImplementedException ();
  126. }
  127. [MonoTODO]
  128. protected void CheckStateForProperty() {
  129. throw new NotImplementedException ();
  130. }
  131. #endregion // Methods
  132. }
  133. }