2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="DataTableClearEvent.cs" company="Microsoft">
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
2017-08-21 15:34:15 +00:00
|
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
|
|
// <owner current="true" primary="false">Microsoft</owner>
|
2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|