예제 #1
0
 /// <summary>
 /// Delete this account.
 /// </summary>
 /// <param name="id">the id to delete</param>
 public static void DeleteAccount(int id)
 {
     string sql = "DELETE account WHERE id = " + id;
     Executor exec = new Executor(ConnectionFactory.GetInstance());
     exec.RunSQL(sql);
 }