When I add the following code:
.ExposeConfiguration(c => c.SetProperty(NHCfg.Environment.TransactionStrategy, typeof(ReliableAdoNetWithDistributedTransactionFactory).AssemblyQualifiedName))
to the Fluently.Configure().
I start having this error below:
[NullReferenceException: Object reference not set to an instance of an object.]
NHibernate.SqlAzure.ReliableAdoTransaction.ExecuteWithRetry(ReliableSqlDbConnection connection, Action action) +41
NHibernate.SqlAzure.ReliableAdoTransaction.Begin(IsolationLevel isolationLevel) +91
NHibernate.SqlAzure.ReliableAdoTransaction.Begin() +8
NHibernate.Impl.SessionImpl.BeginTransaction() +314
I use NHibernate 4.1.2.4000.
When I add the following code:
.ExposeConfiguration(c => c.SetProperty(NHCfg.Environment.TransactionStrategy, typeof(ReliableAdoNetWithDistributedTransactionFactory).AssemblyQualifiedName))to the Fluently.Configure().
I start having this error below:
[NullReferenceException: Object reference not set to an instance of an object.]
NHibernate.SqlAzure.ReliableAdoTransaction.ExecuteWithRetry(ReliableSqlDbConnection connection, Action action) +41
NHibernate.SqlAzure.ReliableAdoTransaction.Begin(IsolationLevel isolationLevel) +91
NHibernate.SqlAzure.ReliableAdoTransaction.Begin() +8
NHibernate.Impl.SessionImpl.BeginTransaction() +314
I use NHibernate 4.1.2.4000.