Use Transactional.ExecSql() to bundle the ExecSql for multiple recordsets into a single HTTP request and a single database transaction.


See topic Transactions for more information.


public static void ExecSql(params IRecordsetBase[] loaders)

public static void ExecSql(Connector connector, params IRecordsetBase[] loaders)

public static async Task ExecSqlAsync(params IRecordsetBase[] loaders)

public static async Task ExecSqlAsync(Connector connector, params IRecordsetBase[] loaders)

Examples


customers.SetExecSqlParams("m845");

orders.SetExecSqlParams("m845");

invoices.SetExecSqlParams(1, 10022);

Transactional.ExecSql(customers, orders, invoices);