MSSQL Outbox
NuGet Packages
Install-Package Paramore.Brighter.MsSql
Install-Package Paramore.Brighter.Outbox.MsSqlInstall-Package Paramore.Brighter.MsSql.EntityFrameworkCoreDatabase Table Schema
Generating the DDL
// The table name can be whatever you choose.
string tableName = "Outbox";
// The DDL for a table that stores the message body as NVARCHAR(MAX)
string ddl = MsSqlOutboxBuilder.GetDDL(tableName);
// The DDL for a table that stores the message body as VARBINARY(MAX)
// Useful if your message body is binary
string binaryDdl = MsSqlOutboxBuilder.GetDDL(tableName, hasBinaryMessagePayload: true);Example SQL Script
Configuration
1. Provide Database Configuration
2. Register the Outbox
Example with Entity Framework Core
Last updated
Was this helpful?
