// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System.Collections;
{
public class ObjectDataSourceStatusEventArgs : EventArgs
{
- private object returnVal;
- private IDictionary outPutParam;
- private Exception exception;
- private bool exceptionHandled;
-
+ readonly object returnVal;
+ readonly IDictionary outPutParam;
+ readonly Exception exception;
+ bool exceptionHandled;
+ 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)
{
this.outPutParam = outPutParam;
this.exception = e;
this.exceptionHandled = false;
+ this.affectedRows = -1;
+ }
+
+ public int AffectedRows {
+ get { return affectedRows; }
+ set { affectedRows = value; }
}
public Exception Exception {
}
}
}
-#endif