Skip to content

ServiceHelper.CheckParentNotDeletedAsync method

namespace: Serenity.Services   assemblySerenity.Net.Services

Asynchronously checks that parent record is not soft deleted

public static Task CheckParentNotDeletedAsync(IDbConnection connection, string tableName, 
    Action<SqlQuery> filter, ITextLocalizer localizer, 
    CancellationToken cancellationToken = default(CancellationToken))
parameter description
connection Connection
tableName Table name
filter Filter callback
localizer Text localizer
cancellationToken Cancellation token

See Also