From: Gert Driesen Date: Thu, 20 May 2004 19:15:27 +0000 (-0000) Subject: * DbDataPermissionAttribute.cs: change AllowMultiple and X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=8663c97122d8ff9f7ff09375269e6db66053f50f;p=mono.git * DbDataPermissionAttribute.cs: change AllowMultiple and Inherited to match .NET svn path=/trunk/mcs/; revision=27771 --- 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 * 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 {