| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // System.Data.SqlClient.SqlClientPermissionAttribute.cs
- //
- // Author:
- // Rodrigo Moya ([email protected])
- // Daniel Morgan ([email protected])
- //
- // (C) Ximian, Inc 2002
- //
- using System;
- using System.Data;
- using System.Data.Common;
- using System.Security;
- using System.Security.Permissions;
- namespace System.Data.SqlClient {
- [AttributeUsage(AttributeTargets.Assembly |
- AttributeTargets.Class |
- AttributeTargets.Struct |
- AttributeTargets.Constructor |
- AttributeTargets.Method)]
- [Serializable]
- public sealed class SqlClientPermissionAttribute :
- DBDataPermissionAttribute {
- [MonoTODO]
- [AttributeUsage(AttributeTargets.Assembly |
- AttributeTargets.Class |
- AttributeTargets.Struct |
- AttributeTargets.Constructor |
- AttributeTargets.Method)]
- [Serializable]
- public SqlClientPermissionAttribute(SecurityAction action) {
- // FIXME: do constructor
- }
- [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class
- | AttributeTargets.Struct | AttributeTargets.Constructor |
- AttributeTargets.Method)]
- [Serializable]
- public override IPermission CreatePermission() {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- ~SqlClientPermissionAttribute() {
- // FIXME: destructor to release resources
- }
- }
- }
|