diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2004-05-20 23:15:27 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2004-05-20 23:15:27 +0400 |
commit | 8663c97122d8ff9f7ff09375269e6db66053f50f (patch) | |
tree | 633af3025dbf5444b4151d1f595ea9d375fafa95 /mcs/class/System.Data | |
parent | a72f4f118c4de207418e669b7721ddcfb4877f60 (diff) |
* DbDataPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET
svn path=/trunk/mcs/; revision=27771
Diffstat (limited to 'mcs/class/System.Data')
-rwxr-xr-x | mcs/class/System.Data/System.Data.Common/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mcs/class/System.Data/System.Data.Common/ChangeLog b/mcs/class/System.Data/System.Data.Common/ChangeLog index f99da17b924..ee2a893a0b4 100755 --- a/mcs/class/System.Data/System.Data.Common/ChangeLog +++ b/mcs/class/System.Data/System.Data.Common/ChangeLog @@ -1,3 +1,8 @@ +2004-05-20 Gert Driesen (drieseng@users.sourceforge.net) + + * DbDataPermissionAttribute.cs: change AllowMultiple and + Inherited to match .NET + 2004-05-19 Boris Kirzner <borisk@mainsoft.com> * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers for primitive types reviewed. Added check for null values when reading from IDataRecord. diff --git a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs index 244a6491c76..0132544434e 100644 --- a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs +++ b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs @@ -13,7 +13,10 @@ using System; using System.Security.Permissions; namespace System.Data.Common { - [AttributeUsage (AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method)] + [AttributeUsage (AttributeTargets.Assembly | AttributeTargets.Class | + AttributeTargets.Struct | AttributeTargets.Constructor | + AttributeTargets.Method, AllowMultiple=true, + Inherited=false)] [Serializable] public abstract class DBDataPermissionAttribute : CodeAccessSecurityAttribute { |