OdbcPermission.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. //
  2. // System.Data.Odbc.OdbcPermission
  3. //
  4. // Author:
  5. // Umadevi S ([email protected])
  6. //
  7. // Copyright (C) Novell Inc, 2004
  8. //
  9. using System.Data;
  10. using System.Data.Common;
  11. using System.Security;
  12. using System.Security.Permissions;
  13. namespace System.Data.Odbc
  14. {
  15. [Serializable]
  16. public sealed class OdbcPermission : DBDataPermission
  17. {
  18. #region Constructors
  19. [MonoTODO]
  20. #if NET_1_1
  21. [Obsolete ("use OdbcPermission(PermissionState.None)", true)]
  22. #endif
  23. public OdbcPermission () : base (PermissionState.None)
  24. {
  25. throw new NotImplementedException ();
  26. }
  27. [MonoTODO]
  28. public OdbcPermission (PermissionState state)
  29. : base (state)
  30. {
  31. throw new NotImplementedException ();
  32. }
  33. [MonoTODO]
  34. #if NET_1_1
  35. [Obsolete ("use OdbcPermission(PermissionState.None)", true)]
  36. #endif
  37. public OdbcPermission (PermissionState state, bool allowBlankPassword)
  38. : base (state, allowBlankPassword, true)
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. #endregion
  43. #region Properties
  44. internal string Provider {
  45. [MonoTODO]
  46. get { throw new NotImplementedException (); }
  47. [MonoTODO]
  48. set { throw new NotImplementedException (); }
  49. }
  50. #endregion
  51. #region Methods
  52. [MonoTODO]
  53. public override IPermission Copy ()
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. [MonoTODO]
  58. public override void Add (string connectionString, string restrictions, KeyRestrictionBehavior behavior)
  59. {
  60. throw new NotImplementedException ();
  61. }
  62. #endregion
  63. }
  64. }