SqlDataRecord.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. //
  2. // SqlDataRecord.cs
  3. //
  4. // Authors:
  5. // Marek Safar ([email protected])
  6. //
  7. // Copyright (C) 2015 Novell, Inc (http://www.xamarin.com)
  8. //
  9. // Permission is hereby granted, free of charge, to any person obtaining
  10. // a copy of this software and associated documentation files (the
  11. // "Software"), to deal in the Software without restriction, including
  12. // without limitation the rights to use, copy, modify, merge, publish,
  13. // distribute, sublicense, and/or sell copies of the Software, and to
  14. // permit persons to whom the Software is furnished to do so, subject to
  15. // the following conditions:
  16. //
  17. // The above copyright notice and this permission notice shall be
  18. // included in all copies or substantial portions of the Software.
  19. //
  20. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  23. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  24. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  25. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  26. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27. //
  28. using System;
  29. using System.Data;
  30. using System.Data.SqlTypes;
  31. namespace Microsoft.SqlServer.Server
  32. {
  33. public sealed class SqlDataRecord : IDataRecord
  34. {
  35. public bool GetBoolean (int i)
  36. {
  37. throw new NotImplementedException ();
  38. }
  39. public byte GetByte (int i)
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. public long GetBytes (int i, long fieldOffset, byte[] buffer, int bufferoffset, int length)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. public char GetChar (int i)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. public long GetChars (int i, long fieldoffset, char[] buffer, int bufferoffset, int length)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. public IDataReader GetData (int i)
  56. {
  57. throw new NotImplementedException ();
  58. }
  59. public string GetDataTypeName (int i)
  60. {
  61. throw new NotImplementedException ();
  62. }
  63. public DateTime GetDateTime (int i)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. public decimal GetDecimal (int i)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. public double GetDouble (int i)
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. public System.Type GetFieldType (int i)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. public float GetFloat (int i)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. public Guid GetGuid (int i)
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. public short GetInt16 (int i)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. public int GetInt32 (int i)
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. public long GetInt64 (int i)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. public string GetName (int i)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. public int GetOrdinal (string name)
  104. {
  105. throw new NotImplementedException ();
  106. }
  107. public string GetString (int i)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. public object GetValue (int i)
  112. {
  113. throw new NotImplementedException ();
  114. }
  115. public int GetValues (object[] values)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. public bool IsDBNull (int i)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. public int FieldCount {
  124. get {
  125. throw new NotImplementedException ();
  126. }
  127. }
  128. public object this [string index] {
  129. get {
  130. throw new NotImplementedException ();
  131. }
  132. }
  133. public object this [int index] {
  134. get {
  135. throw new NotImplementedException ();
  136. }
  137. }
  138. }
  139. }