📄 tabledeleteoperation.cs
字号:
using System;
using System.Data;
using System.Data.OleDb;
using System.Windows.Forms;
using System.Collections;
namespace YariSoft.DBUtil
{
public class TableDeleteOperation : DBBaseOperation
{
#region Constructor/Destructor
public TableDeleteOperation( OleDbConnection Connection, DataView Source, ArrayList SelectedRows )
:base ( Connection, SelectedRows )
{
this.increaseProgress = false;
}
#endregion
#region Protected functions
protected override string GetProgressCaption()
{
return "Delete tables";
}
protected override string GetProgressMessage()
{
return "Delete tables from database '" + this.connection.Database + "'" ;
}
protected override bool ExecOperation( int Position )
{
DBDropTableOperation operation =new DBDropTableOperation( this.connection, ( string )this.selectedRows[Position] );
return operation.Exec();
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -