OleDbPermissionAttribute.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //
  2. // System.Data.OleDb.OleDbPermissionAttribute
  3. //
  4. // Authors:
  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. [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class
  18. | AttributeTargets.Struct | AttributeTargets.Constructor |
  19. AttributeTargets.Method)]
  20. [Serializable]
  21. public sealed class OleDbPermissionAttribute : DBDataPermissionAttribute
  22. {
  23. #region Constructors
  24. [MonoTODO]
  25. public OleDbPermissionAttribute (SecurityAction action)
  26. : base (action)
  27. {
  28. }
  29. #endregion
  30. #region Properties
  31. [MonoTODO]
  32. public string Provider {
  33. [MonoTODO]
  34. get {
  35. throw new NotImplementedException ();
  36. }
  37. [MonoTODO]
  38. set {
  39. throw new NotImplementedException ();
  40. }
  41. }
  42. #endregion
  43. #region Methods
  44. [MonoTODO]
  45. public override IPermission CreatePermission ()
  46. {
  47. throw new NotImplementedException ();
  48. }
  49. #endregion
  50. }
  51. }