Dapper - Stored Procedure

    Execute Many

    1. using (var connection = My.ConnectionFactory())
    2. connection.Open();
    3. new[]
    4. {
    5. new {Kind = InvoiceKind.WebInvoice, Code = "Many_Insert_1"},
    6. new {Kind = InvoiceKind.StoreInvoice, Code = "Many_Insert_3"}
    7. commandType: CommandType.StoredProcedure
    8. );
    9. My.Result.Show(affectedRows);