CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
UpdateObjectArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="UpdateObjectArgs.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 UpdateObject event.</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Web
11{
15 public class UpdateObjectArgs : EventArgs
16 {
17
18 private System.Collections.IDictionary _keys;
19 private System.Collections.IDictionary _values;
20 private System.Collections.IDictionary _oldValues;
21 private int _rowsAffected;
22
34 public int RowsAffected
35 {
36 get { return _rowsAffected; }
37 set { _rowsAffected = value; }
38 }
39
47 public System.Collections.IDictionary Keys
48 {
49 get { return _keys; }
50 }
51
59 public System.Collections.IDictionary Values
60 {
61 get { return _values; }
62 }
63
72 public System.Collections.IDictionary OldValues
73 {
74 get { return _oldValues; }
75 }
76
80 public UpdateObjectArgs(System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues)
81 {
82 _keys = keys;
83 _values = values;
84 _oldValues = oldValues;
85 }
86
87 }
88}
Argument object used in the UpdateObject event.
System.Collections.IDictionary Values
The list of data values entered by the user.
System.Collections.IDictionary Keys
The list of key values entered by the user.
int RowsAffected
Gets or sets the number of rows affected while handling this event.
UpdateObjectArgs(System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues)
Creates an instance of the object.
System.Collections.IDictionary OldValues
The list of old data values maintained by data binding.