2
0

OleDbPermissionAttribute.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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, AllowMultiple=true,
  20. Inherited=false)]
  21. [Serializable]
  22. public sealed class OleDbPermissionAttribute : DBDataPermissionAttribute
  23. {
  24. #region Constructors
  25. [MonoTODO]
  26. public OleDbPermissionAttribute (SecurityAction action)
  27. : base (action)
  28. {
  29. }
  30. #endregion
  31. #region Properties
  32. [MonoTODO]
  33. public string Provider {
  34. [MonoTODO]
  35. get {
  36. throw new NotImplementedException ();
  37. }
  38. [MonoTODO]
  39. set {
  40. throw new NotImplementedException ();
  41. }
  42. }
  43. #endregion
  44. #region Methods
  45. [MonoTODO]
  46. public override IPermission CreatePermission ()
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. #endregion
  51. }
  52. }