CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
DeleteObjectArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="DeleteObjectArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Argument object used in the DeleteObject event.</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Web
11{
15 public class DeleteObjectArgs : EventArgs
16 {
17 private System.Collections.IDictionary _keys;
18 private System.Collections.IDictionary _oldValues;
19 private int _rowsAffected;
20
32 public int RowsAffected
33 {
34 get { return _rowsAffected; }
35 set { _rowsAffected = value; }
36 }
37
44 public System.Collections.IDictionary Keys
45 {
46 get { return _keys; }
47 }
48
56 public System.Collections.IDictionary OldValues
57 {
58 get { return _oldValues; }
59 }
60
64 public DeleteObjectArgs(System.Collections.IDictionary keys, System.Collections.IDictionary oldValues)
65 {
66 _keys = keys;
67 _oldValues = oldValues;
68 }
69
70 }
71}
Argument object used in the DeleteObject event.
int RowsAffected
Gets or sets the number of rows affected while handling this event.
System.Collections.IDictionary OldValues
The list of old data values maintained by data binding.
System.Collections.IDictionary Keys
The list of key values entered by the user.
DeleteObjectArgs(System.Collections.IDictionary keys, System.Collections.IDictionary oldValues)
Create an instance of the object.