'NServicebus Saga using Oracle.EntityFrameworkCore
I would like to know if it's possible to use Oracle.EntityFrameworkCore with NServicebus 7.6? I am using hosted .NET 6 service running NSB 7.6. Data access are using Oracle.EntityFrameworkCore
From the documentation it looks like you have to use NHibernate or "old" NET 4.x
Solution 1:[1]
There's a sample for using Entity Framework Core and like Martin Anderson mentioned, you can use it together with SQL Persistence for Oracle and share the connection. As the documentation mentions:
To maintain consistency, the business data has to reuse the same connection context as NServiceBus persistence. With SQL persistence, this is achieved by using the same ADO.NET connection and transaction objects in both NServiceBus and Entity Framework.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dennis van der Stelt |
