82322d9618ac2c2aa0d0dc0a372261a60923a587
[mono.git] / mcs / class / referencesource / System.Data / System / Data / RecordsAffectedEventArgs.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="StatementCompletedEventArgs.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>
6 // <owner current="true" primary="false">Microsoft</owner>
7 //------------------------------------------------------------------------------
8
9 namespace System.Data {
10     using System;
11
12     public sealed class StatementCompletedEventArgs : System.EventArgs {
13         private readonly int _recordCount;
14
15         public StatementCompletedEventArgs(int recordCount) {
16             _recordCount = recordCount;
17         }
18
19         public int RecordCount {
20             get {
21                 return _recordCount;
22             }
23         }
24     }
25 }
26