Author: kostat
Date: 2007-01-14 08:29:01 -0500 (Sun, 14 Jan 2007)
New Revision: 70977
Modified:
branches/mainsoft/gh20preview2/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceStatusEventArgs.cs
Log:
merge -r 70974:70975
Modified:
branches/mainsoft/gh20preview2/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceStatusEventArgs.cs
===================================================================
---
branches/mainsoft/gh20preview2/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceStatusEventArgs.cs
2007-01-14 11:49:10 UTC (rev 70976)
+++
branches/mainsoft/gh20preview2/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceStatusEventArgs.cs
2007-01-14 13:29:01 UTC (rev 70977)
@@ -36,18 +36,15 @@
{
public class ObjectDataSourceStatusEventArgs : EventArgs
{
- private object returnVal;
- private IDictionary outPutParam;
- private Exception exception;
+ private readonly object returnVal;
+ private readonly IDictionary outPutParam;
+ private readonly Exception exception;
private bool exceptionHandled;
-
+ private int affectedRows;
+
public ObjectDataSourceStatusEventArgs (object returnVal,
IDictionary outPutParam)
- {
- this.returnVal = returnVal;
- this.outPutParam = outPutParam;
- this.exception = null;
- this.exceptionHandled = false;
- }
+ :
+ this (returnVal, outPutParam, null) { }
public ObjectDataSourceStatusEventArgs (object returnVal,
IDictionary outPutParam, Exception e)
{
@@ -55,7 +52,13 @@
this.outPutParam = outPutParam;
this.exception = e;
this.exceptionHandled = false;
+ this.affectedRows = -1;
}
+
+ public int AffectedRows {
+ get { return affectedRows; }
+ set { affectedRows = value; }
+ }
public Exception Exception {
get { return exception; }
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches