DbConnectionString.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. //
  2. // System.Data.Common.DbConnectionString
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. using System.Collections;
  11. using System.Data;
  12. using System.Runtime.Serialization;
  13. using System.Text;
  14. namespace System.Data.Common {
  15. public class DbConnectionString : ISerializable
  16. {
  17. #region Fields
  18. KeyRestrictionBehavior behavior;
  19. #endregion // Fields
  20. #region Constructors
  21. [MonoTODO]
  22. protected internal DbConnectionString (DbConnectionString constr)
  23. {
  24. }
  25. [MonoTODO]
  26. public DbConnectionString (string connectionString)
  27. {
  28. }
  29. [MonoTODO]
  30. protected DbConnectionString (SerializationInfo si, StreamingContext sc)
  31. {
  32. }
  33. [MonoTODO]
  34. public DbConnectionString (string connectionString, string restrictions, KeyRestrictionBehavior behavior)
  35. {
  36. this.behavior = behavior;
  37. }
  38. #endregion // Constructors
  39. #region Properties
  40. public KeyRestrictionBehavior Behavior {
  41. get { return behavior; }
  42. }
  43. [MonoTODO]
  44. protected virtual string CacheConnectionString {
  45. get { throw new NotImplementedException (); }
  46. }
  47. [MonoTODO]
  48. public bool IsEmpty {
  49. get { throw new NotImplementedException (); }
  50. }
  51. [MonoTODO]
  52. public string this [string x] {
  53. get { throw new NotImplementedException (); }
  54. }
  55. [MonoTODO]
  56. public ICollection Keys {
  57. get { throw new NotImplementedException (); }
  58. }
  59. [MonoTODO]
  60. public string NormalizedConnectionString {
  61. get { throw new NotImplementedException (); }
  62. }
  63. [MonoTODO]
  64. public string Restrictions {
  65. get { throw new NotImplementedException (); }
  66. }
  67. #endregion // Properties
  68. #region Methods
  69. public static void AppendKeyValuePairBuilder (StringBuilder builder, string keyname, string keyvalue)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. protected void BuildConnectionString (StringBuilder builder, string[] withoutOptions, string insertValue)
  74. {
  75. throw new NotImplementedException ();
  76. }
  77. public bool ContainsKey (string keyword)
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. public bool ConvertValueToBoolean (string keyname, bool defaultvalue)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. public int ConvertValueToInt32 (string keyname, int defaultvalue)
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. public bool ConvertValueToIntegratedSecurity ()
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. public string ConvertValueToString (string keyname, string defaultValue)
  94. {
  95. throw new NotImplementedException ();
  96. }
  97. public virtual void GetObjectData (SerializationInfo info, StreamingContext context)
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. protected virtual string KeywordLookup (string keyname)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. protected void ParseConnectionString (string connectionString)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. public virtual void PermissionDemand ()
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. public static string RemoveKeyValuePairs (string connectionString, string[] keynames)
  114. {
  115. throw new NotImplementedException ();
  116. }
  117. public string UsersConnectionString (bool hisPasswordPwd)
  118. {
  119. throw new NotImplementedException ();
  120. }
  121. #endregion // Methods
  122. }
  123. }
  124. #endif