SqlProfileProvider.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. //
  2. // System.Web.UI.WebControls.SqlProfileProvider.cs
  3. //
  4. // Authors:
  5. // Chris Toshok ([email protected])
  6. //
  7. // (C) 2006 Novell, Inc (http://www.novell.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. #if NET_2_0
  29. using System;
  30. using System.Configuration;
  31. using System.Collections.Specialized;
  32. namespace System.Web.Profile
  33. {
  34. public class SqlProfileProvider : ProfileProvider
  35. {
  36. [MonoTODO]
  37. public SqlProfileProvider ()
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. [MonoTODO]
  42. public override int DeleteInactiveProfiles (ProfileAuthenticationOption authenticationOption,
  43. DateTime userInactiveSinceDate)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. [MonoTODO]
  48. public override int DeleteProfiles (ProfileInfoCollection profiles)
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. [MonoTODO]
  53. public override int DeleteProfiles (string[] usernames)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. [MonoTODO]
  58. public override ProfileInfoCollection FindInactiveProfilesByUserName (ProfileAuthenticationOption authenticationOption,
  59. string usernameToMatch,
  60. DateTime userInactiveSinceDate,
  61. int pageIndex,
  62. int pageSize,
  63. out int totalRecords)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. [MonoTODO]
  68. public override ProfileInfoCollection FindProfilesByUserName (ProfileAuthenticationOption authenticationOption,
  69. string usernameToMatch,
  70. int pageIndex,
  71. int pageSize,
  72. out int totalRecords)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. [MonoTODO]
  77. public override ProfileInfoCollection GetAllInactiveProfiles (ProfileAuthenticationOption authenticationOption,
  78. DateTime userInactiveSinceDate,
  79. int pageIndex,
  80. int pageSize,
  81. out int totalRecords)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. [MonoTODO]
  86. public override ProfileInfoCollection GetAllProfiles (ProfileAuthenticationOption authenticationOption,
  87. int pageIndex,
  88. int pageSize,
  89. out int totalRecords)
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. [MonoTODO]
  94. public override int GetNumberOfInactiveProfiles (ProfileAuthenticationOption authenticationOption,
  95. DateTime userInactiveSinceDate)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. [MonoTODO]
  100. public override SettingsPropertyValueCollection GetPropertyValues (SettingsContext sc,
  101. SettingsPropertyCollection properties)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. [MonoTODO]
  106. public override void Initialize (string name,
  107. NameValueCollection config)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. [MonoTODO]
  112. public override void SetPropertyValues (SettingsContext sc,
  113. SettingsPropertyValueCollection properties)
  114. {
  115. throw new NotImplementedException ();
  116. }
  117. [MonoTODO]
  118. public override string ApplicationName {
  119. get { throw new NotImplementedException (); }
  120. set { throw new NotImplementedException (); }
  121. }
  122. }
  123. }
  124. #endif