diff options
author | Rodrigo Moya <rodrigo@mono-cvs.ximian.com> | 2002-03-29 22:51:45 +0300 |
---|---|---|
committer | Rodrigo Moya <rodrigo@mono-cvs.ximian.com> | 2002-03-29 22:51:45 +0300 |
commit | bf354de47edae70e74a284c9b410400386d34b13 (patch) | |
tree | cdd7d34ecf3d28274f484079124a7584cb8e4e8c /mcs/class/System.Data | |
parent | 3415459861d139d9bfd7ebda01022511f26e3beb (diff) |
2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.Common/DbDataRecord.cs:
* System.Data.Common/DbEnumerator.cs:
* System.Data.Common/RowUpdatedEventArgs.cs:
* System.Data.Common/RowUpdatingEventArgs.cs:
* System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
svn path=/trunk/mcs/; revision=3503
Diffstat (limited to 'mcs/class/System.Data')
6 files changed, 194 insertions, 0 deletions
diff --git a/mcs/class/System.Data/ChangeLog b/mcs/class/System.Data/ChangeLog index dfffba9342b..20ab48005dc 100644 --- a/mcs/class/System.Data/ChangeLog +++ b/mcs/class/System.Data/ChangeLog @@ -1,3 +1,11 @@ +2002-03-29 Rodrigo Moya <rodrigo@ximian.com> + + * System.Data.Common/DbDataRecord.cs: + * System.Data.Common/DbEnumerator.cs: + * System.Data.Common/RowUpdatedEventArgs.cs: + * System.Data.Common/RowUpdatingEventArgs.cs: + * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons. + 2002-03-28 Rodrigo Moya <rodrigo@ximian.com> * System.Data.Common/DataTableMappingCollection.cs: diff --git a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs new file mode 100644 index 00000000000..f8b9d1c6881 --- /dev/null +++ b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs @@ -0,0 +1,28 @@ +// +// System.Data.Common.DbDataPermissionAttribute.cs +// +// Author: +// Rodrigo Moya (rodrigo@ximian.com) +// +// (C) Ximian, Inc +// + +namespace System.Data.Common +{ + /// <summary> + /// Associates a security action with a custom security attribute. + /// </summary> + public abstract class DBDataPermissionAttribute : CodeAccessSecurityAttribute + { + [MonoTODO] + protected DBDataPermissionAttribute(SecurityAction action) { + throw new NotImplementedException (); + } + + [MonoTODO] + public bool AllowBlankPassword { + get { throw new NotImplementedException (); } + set { throw new NotImplementedException (); } + } + } +} diff --git a/mcs/class/System.Data/System.Data.Common/DbDataRecord.cs b/mcs/class/System.Data/System.Data.Common/DbDataRecord.cs new file mode 100644 index 00000000000..99a43e939d3 --- /dev/null +++ b/mcs/class/System.Data/System.Data.Common/DbDataRecord.cs @@ -0,0 +1,19 @@ +// +// System.Data.Common.DbDataRecord.cs +// +// Author: +// Rodrigo Moya (rodrigo@ximian.com) +// +// (C) Ximian, Inc +// + +namespace System.Data.Common +{ + /// <summary> + /// This type supports the .NET Framework infrastructure and is not intended to be used directly from your code. + /// </summary> + public class DbDataRecord : IDataRecord, ICustomTypeDescriptor + { + [MonoTODO] + } +} diff --git a/mcs/class/System.Data/System.Data.Common/DbEnumerator.cs b/mcs/class/System.Data/System.Data.Common/DbEnumerator.cs new file mode 100644 index 00000000000..02d5826163c --- /dev/null +++ b/mcs/class/System.Data/System.Data.Common/DbEnumerator.cs @@ -0,0 +1,19 @@ +// +// System.Data.Common.DbDataRecord.cs +// +// Author: +// Rodrigo Moya (rodrigo@ximian.com) +// +// (C) Ximian, Inc +// + +namespace System.Data.Common +{ + /// <summary> + /// This type supports the .NET Framework infrastructure and is not intended to be used directly from your code. + // </summary> + public class DbEnumerator : IEnumerator + { + [MonoTODO] + } +} diff --git a/mcs/class/System.Data/System.Data.Common/RowUpdatedEventArgs.cs b/mcs/class/System.Data/System.Data.Common/RowUpdatedEventArgs.cs new file mode 100644 index 00000000000..18826f8d8a0 --- /dev/null +++ b/mcs/class/System.Data/System.Data.Common/RowUpdatedEventArgs.cs @@ -0,0 +1,62 @@ +// +// System.Data.Common.DbDataAdapter.cs +// +// Author: +// Rodrigo Moya (rodrigo@ximian.com) +// +// (C) Ximian, Inc +// + +namespace System.Data.Common +{ + /// <summary> + /// Provides data for the RowUpdated event of a .NET data provider. + /// </summary> + public abstract class RowUpdatedEventArgs : EventArgs + { + [MonoTODO] + protected RowUpdatedEventArgs(DataRow dataRow, + IDbCommand command, + StatementType statementType, + DataTableMapping tableMapping) { + throw new NotImplementedException (); + } + + [MonoTODO] + public IDbCommand Command { + get { throw new NotImplementedException (); } + } + + [MonoTODO] + public Exception Errors { + get { throw new NotImplementedException (); } + set { throw new NotImplementedException (); } + } + + [MonoTODO] + public int RecordsAffected { + get { throw new NotImplementedException (); } + } + + [MonoTODO] + public DataRow Row { + get { throw new NotImplementedException (); } + } + + [MonoTODO] + public StatementType StatementType { + get { throw new NotImplementedException (); } + } + + [MonoTODO] + public UpdateStatus Status { + get { throw new NotImplementedException (); } + set { throw new NotImplementedException (); } + } + + [MonoTODO] + public DataTableMapping TableMapping { + get { throw new NotImplementedException (); } + } + } +} diff --git a/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs b/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs new file mode 100644 index 00000000000..6d5eae65d84 --- /dev/null +++ b/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs @@ -0,0 +1,58 @@ +// +// System.Data.Common.RowUpdatingEventArgs.cs +// +// Author: +// Rodrigo Moya (rodrigo@ximian.com) +// +// (C) Ximian, Inc +// + +namespace System.Data.Common +{ + /// <summary> + /// Provides the data for the RowUpdating event of a .NET data provider. + /// </summary> + public abstract class RowUpdatingEventArgs : EventArgs + { + [MonoTODO] + protected RowUpdatingEventArgs(DataRow dataRow, + IDbCommand command, + StatementType statementType, + DataTableMapping tableMapping) { + throw new NotImplementedException (); + } + + [MonoTODO] + public IDbCommand Command { + get { throw new NotImplementedException (); } + set { throw new NotImplementedException (); } + } + + [MonoTODO] + public Exception Errors { + get { throw new NotImplementedException (); } + set { throw new NotImplementedException (); } + } + + [MonoTODO] + public DataRow Row { + get { throw new NotImplementedException (); } + } + + [MonoTODO] + public StatementType StatementType { + get { throw new NotImplementedException (); } + } + + [MonoTODO] + public UpdateStatus Status { + get { throw new NotImplementedException (); } + set { throw new NotImplementedException (); } + } + + [MonoTODO] + public DataTableMapping TableMapping { + get { throw new NotImplementedException (); } + } + } +} |