OdooJsonRpcClient
OdooJsonRpcClient copied to clipboard
Why DbContext has been disposed after I call the function of OdooClient?
I injected OdooClient and OdooRepository throuth Autofac, but there's something wrong that DbContext has been disposed after I call OdooRepository.CreateAsync().The way I injected DBContext is Scope. I guess it was Odoo's http request that led to the end of the scope lifetime. Thank you very much!
this class is not designed for use in DI