Dapper Contrib - DeleteAll

Description

DELETE ALL entities.

  1. using (var connection = My.ConnectionFactory())
  2. {
  3. connection.Open();
  4. var isSuccess = connection.DeleteAll<Invoice>();
  5. }