Skip to content

DataTranslationStore.DeleteAllAsync method

Removes all the translations of a record, e.g. when it is deleted.

public static Task<int> DeleteAllAsync(IDbConnection connection, SharedLocalizationInfo info, 
    object id, CancellationToken cancellationToken = default)
parameter description
connection The connection to the database of the row.
info The shared localization of the row.
id The ID of the record.
cancellationToken The cancellation token.

Return Value

The number of the translations removed.

See Also