2015-01-03 15:37:29 +00:00
|
|
|
|
namespace AsterNET.Manager.Action
|
2013-04-03 15:54:33 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DBDelTreeAction : ManagerAction
|
|
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a new empty DBDelTreeAction.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DBDelTreeAction()
|
2013-04-03 15:54:33 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// Creates a new DBDelTreeAction that deletes the database true
|
|
|
|
|
/// with the given key in the given family.
|
2013-04-03 15:54:33 +00:00
|
|
|
|
/// </summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// <param name="family">the family of the key</param>
|
|
|
|
|
/// <param name="key">the key of the entry to retrieve</param>
|
|
|
|
|
public DBDelTreeAction(string family, string key)
|
2013-04-03 15:54:33 +00:00
|
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
|
Family = family;
|
|
|
|
|
Key = key;
|
2013-04-03 15:54:33 +00:00
|
|
|
|
}
|
2015-01-03 15:37:29 +00:00
|
|
|
|
|
|
|
|
|
public override string Action
|
2013-04-03 15:54:33 +00:00
|
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
|
get { return "DBDelTree"; }
|
2013-04-03 15:54:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// Get/Set the the Family of the entry to delete.
|
2013-04-03 15:54:33 +00:00
|
|
|
|
/// </summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Family { get; set; }
|
2013-04-03 15:54:33 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// Get/Set the the key of the entry to delete.
|
2013-04-03 15:54:33 +00:00
|
|
|
|
/// </summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Key { get; set; }
|
2013-04-03 15:54:33 +00:00
|
|
|
|
}
|
|
|
|
|
}
|