OleDbPermission.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. //
  2. // System.Data.OleDb.OleDbPermission
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. // Tim Coleman ([email protected])
  7. //
  8. // Copyright (C) Rodrigo Moya, 2002
  9. // Copyright (C) Tim Coleman, 2002
  10. //
  11. using System.Data;
  12. using System.Data.Common;
  13. using System.Security;
  14. using System.Security.Permissions;
  15. namespace System.Data.OleDb
  16. {
  17. [Serializable]
  18. public sealed class OleDbPermission : DBDataPermission
  19. {
  20. #region Constructors
  21. [MonoTODO]
  22. #if NET_1_1
  23. [Obsolete ("use OleDbPermission(PermissionState.None)", true)]
  24. #endif
  25. public OleDbPermission () : base (PermissionState.None)
  26. {
  27. throw new NotImplementedException ();
  28. }
  29. [MonoTODO]
  30. public OleDbPermission (PermissionState state)
  31. : base (state)
  32. {
  33. throw new NotImplementedException ();
  34. }
  35. [MonoTODO]
  36. #if NET_1_1
  37. [Obsolete ("use OleDbPermission(PermissionState.None)", true)]
  38. #endif
  39. public OleDbPermission (PermissionState state, bool allowBlankPassword)
  40. : base (state, allowBlankPassword, true)
  41. {
  42. throw new NotImplementedException ();
  43. }
  44. #endregion
  45. #region Properties
  46. public string Provider {
  47. [MonoTODO]
  48. get { throw new NotImplementedException (); }
  49. [MonoTODO]
  50. set { throw new NotImplementedException (); }
  51. }
  52. #endregion
  53. #region Methods
  54. [MonoTODO]
  55. public override IPermission Copy ()
  56. {
  57. throw new NotImplementedException ();
  58. }
  59. [MonoTODO]
  60. public override void FromXml (SecurityElement securityElement)
  61. {
  62. throw new NotImplementedException ();
  63. }
  64. [MonoTODO]
  65. public override IPermission Intersect (IPermission target)
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. [MonoTODO]
  70. public override SecurityElement ToXml ()
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. public override IPermission Union (IPermission target)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. #endregion
  80. }
  81. }