I'm new for nopCommerce.
I want to extend PriceCalculationService and for a lot of reasons I must use dbContext to call directly a TVF Function.
I have already added ref to CodeFirstStoreFunctions (https://github.com/moozzyk/CodeFirstFunctions) and done some modify to OnModelCreating (NopObjectContext).
Now question is:
how can I call dbContext from PriceCalculationService / GetFinalPrice to call my TVF function ?
Thanks in advance for response.