diff options
author | Umadevi S <uma@mono-cvs.ximian.com> | 2005-05-19 10:33:31 +0400 |
---|---|---|
committer | Umadevi S <uma@mono-cvs.ximian.com> | 2005-05-19 10:33:31 +0400 |
commit | bfb376dfc9a62b6299cbdad291a3f573e997b1ac (patch) | |
tree | e354e9a9396cd6ab875ba9b1e1284b7bec5baec8 /mcs/class/System.Data/System.Data.Common | |
parent | 06f6773ef2669797e32d23ef5cf93a8bb81bf63e (diff) |
.net2.0 property of RowUpdatingEventArgs.cs implemented
svn path=/trunk/mcs/; revision=44732
Diffstat (limited to 'mcs/class/System.Data/System.Data.Common')
-rwxr-xr-x | mcs/class/System.Data/System.Data.Common/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/mcs/class/System.Data/System.Data.Common/ChangeLog b/mcs/class/System.Data/System.Data.Common/ChangeLog index 15081b197c4..ba7ec1ad2bf 100755 --- a/mcs/class/System.Data/System.Data.Common/ChangeLog +++ b/mcs/class/System.Data/System.Data.Common/ChangeLog @@ -1,3 +1,7 @@ +2005-05-19 Umadevi S <sumadevi@novell.com> + + * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0 + 2005-05-18 Konstantin Triger <kostat@mainsoft.com> * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information diff --git a/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs b/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs index b8d94c85fd3..6fab80c8128 100644 --- a/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs +++ b/mcs/class/System.Data/System.Data.Common/RowUpdatingEventArgs.cs @@ -43,6 +43,7 @@ namespace System.Data.Common { DataTableMapping tableMapping; UpdateStatus status; Exception errors; + #endregion // Fields @@ -89,6 +90,19 @@ namespace System.Data.Common { get { return tableMapping; } } + #if NET_2_0 + + protected virtual IDbCommand BaseCommand { + get { + return this.command; + } + set { + this.command = value; + } + } + + #endif + #endregion // Properties } } |