Table of Contents

Class PublisherStorageExtensions

Namespace
Silverback.Storage
Assembly
Silverback.Storage.Relational.dll

Adds the storage-specific methods to the Silverback.Messaging.Publishing.Publisher.

public static class PublisherStorageExtensions
Inheritance
PublisherStorageExtensions
Inherited Members

Methods

EnlistDbTransaction(IPublisher, DbTransaction, bool)

Specifies the DbTransaction to be used for storage operations.

public static IStorageTransaction EnlistDbTransaction(this IPublisher publisher, DbTransaction dbTransaction, bool ownTransaction = true)

Parameters

publisher IPublisher

The IPublisher.

dbTransaction DbTransaction

The transaction to be used.

ownTransaction bool

A value indicating whether the transaction should be disposed when the IStorageTransaction is disposed.

Returns

IStorageTransaction

The IStorageTransaction.

EnlistTransaction(IPublisher, IStorageTransaction)

Specifies the transaction to be used for storage operations.

public static void EnlistTransaction(this IPublisher publisher, IStorageTransaction transaction)

Parameters

publisher IPublisher

The IPublisher.

transaction IStorageTransaction

The transaction to be used.