You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is because we position our standart modules as isolated and each of it can be overriden to different implementation (for example Customer module may be overriden to Google contacts serice, Order module to Shipstation service) or uninstalled.
But if you want use same dbcontext for both modules you can write you new repository implementation (ICustomerRepository, ICustomerOrderReoosutory) used by one db context and within that implementation you can make easy joins queries. and injects your repository implementation to IoC container.
Thks @tatarincev , it make senses 👍
And is there any reason in 2.x of VirtoCommerce try to split data model and domain model, currently most of them look same.
Current due to it's in the two separate DbContext, we could not use join easily :(
The text was updated successfully, but these errors were encountered: