iam trying to add clear command to impluse mysql system to delete all content from a table here is my try
when i use it nothing happened at all
:confused:
Code:
public MySqlCommand Clear(string table)
{
_command = new StringBuilder("DELETE FROM <R>");
return this;
}
Code:
public enum MySqlCommandType
{
DELETE, INSERT, SELECT, UPDATE, COUNT, CLEAR
}
Code:
MySqlCommand cmd = new MySqlCommand(MySqlCommandType.CLEAR);
cmd.Clear("tradelog");