Database Reference
In-Depth Information
Defining NHibernate
NHibernate is configured in the app.config file for the MySaga project, to configure
the NHibernate interface in order to connect to the local SQL Express Server instance.
Here, we can see the NServiceBus NHibernate connection strings and app settings. Now
that we have NHibernate configured for NServiceBus, we can check the SQL Server after
opening the sample solution. After opening the solution, NServiceBus will create the ap-
propriate tables for saga and time-outs in the nservicebus database.
We see that the base saga that is normally created, called ContainSagaData , has Id ,
Originator , and OriginalMessageId and is always able to find the correct unique
saga instance and the originator information to reply to the client that sent this handler the
message to start saga.
It also created the PurchaseOrderRequestData saga, where the table will match the
object. The object will appear as follows:
Search WWH ::




Custom Search