Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DataTableClearEvent.cs « Data « System « System.Data « referencesource « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a942a9336c3f77ef5cf39c4df3b60816046b9197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//------------------------------------------------------------------------------
// <copyright file="DataTableClearEvent.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[....]</owner>
//------------------------------------------------------------------------------

namespace System.Data {
    using System;
    using System.Diagnostics;

    public sealed class DataTableClearEventArgs : EventArgs {

        private readonly DataTable dataTable;

        public DataTableClearEventArgs(DataTable dataTable) {
            this.dataTable = dataTable;
        }

        public DataTable Table{
            get {
                return dataTable;
            }
        }
        
        public string TableName{
            get {
                return dataTable.TableName;
            }
        }
        
        public string TableNamespace{
            get {
                return dataTable.Namespace;
            }
        }

    }
}