deleteEntityCascade method

  1. @override
FutureOr<Iterable> deleteEntityCascade(
  1. O o, {
  2. Transaction? transaction,
})
override

Implementation

@override
FutureOr<Iterable> deleteEntityCascade(O o, {Transaction? transaction}) {
  checkNotClosed();

  return Transaction.executeBlock(
      (transaction) => EntityStorage.deleteCascadeGeneric(o,
          transaction: transaction,
          entityHandler: entityHandler,
          entityRepository: this,
          repositoryProvider: provider),
      transaction: transaction);
}