- Miraben Apani
- SnapDevelop
- Wednesday, 8 February 2023 06:25 PM UTC
This "How-to" question is in continuation of the post I posted earlier: Web API transaction management and multiple DWs update/save changes in single transaction. (appeon.com) and got response as well.
Logan,
Thanks very much for the example of controller code. it is working well.
I have a question I am getting this error "System.ArgumentNullException: Value cannot be null. (Parameter 'name')" and I am thinking it is because "datacontext" is missing in below code snippet:
IDataStore ds1= dataUnpacker.GetDataStore("dw_1");
IDataStore ds2= dataUnpacker.GetDataStore("dw_2");
I am not able to define datacontext in controller & call it in above code snippet.
any documentation/ "how-to" define and use Data Context in Controller? in my Service Implementation (Service Class) I already have data context defined.
Thanks !
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.