* DbDataPermissionAttribute.cs, PermissionHelper.cs :
fixed some incompatible type of exception between 2.0 and 1.x.
* DataContainer.cs :
Wrap exceptions thrown by SetValue() within ArgumentException.
* SqlClientPermissionTest.cs, SqlClientPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
* OleDbPermissionTest.cs, OleDbPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
* OdbcPermissionTest.cs, OdbcPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
* DBDataPermissionTest.cs, DBDataPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
svn path=/trunk/mcs/; revision=38945
* DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
Implementation isn't complete as the restrictions seems to change the
expected results (breaking some rules like x.IsSubsetOf (x) == false).
Better (real-world) tests cases are required.
* PermissionHelper.cs: Fixed small differences between System.Data.dll
validations wrt to mscorlib.dll (XML and PermissionState).
svn path=/trunk/mcs/; revision=33902
* DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
to support new methods in DBDataPermission.
* DbConnectionString.cs: Updated class to split from/inherit
DbConnectionOptions class.
* DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
completed constructors.
* DbDataPermissionAttribute.cs: Completed/fixed class.
* PermissionHelper.cs: Helper methods to create permission classes.
svn path=/trunk/mcs/; revision=33828