OdbcPermissionAttribute.cs 1.1 KB

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