Hi Kapil Bhavsar, You can get the value in multiple ways, on the basis of the example that is being used in the session, I can say 1. You can use the CurrentValue property. 2. You can get the value from Get() method which is returning integer value. You can use the stateResponse variable to check the value returned by the Entity like from EntityState property. you cannot return value from Add() method because that is of void return type but you can modify according to your need. Hope you like our video 💙. Don't forget to subscribe (if not yet done 🙂) & encourage me create more such videos. If you like these videos, please click on the THUMBS UP👍 button and share with others where this might be helpful. Happy Learning, 💙 Good Luck TechWebDots!
You can use DB interaction as well from functions. I would suggest, please checkout the videos of internal functioning and the use cases video available in functions play list. I believe your doubts will be clear after that. ruclips.net/p/PLBEm2Vv2nD-OqE6at0_Ew1wW7NpgBdWo1
How can I use return value of a method ... let's say Add method returns current value
Hi Kapil Bhavsar,
You can get the value in multiple ways, on the basis of the example that is being used in the session, I can say
1. You can use the CurrentValue property.
2. You can get the value from Get() method which is returning integer value.
You can use the stateResponse variable to check the value returned by the Entity like from EntityState property.
you cannot return value from Add() method because that is of void return type but you can modify according to your need.
Hope you like our video 💙.
Don't forget to subscribe (if not yet done 🙂) & encourage me create more such videos.
If you like these videos, please click on the THUMBS UP👍 button and share with others where this might be helpful.
Happy Learning, 💙
Good Luck TechWebDots!
So the real purpose is: saving state through multiple function runs, as if a db is used?
You can use DB interaction as well from functions. I would suggest, please checkout the videos of internal functioning and the use cases video available in functions play list. I believe your doubts will be clear after that.
ruclips.net/p/PLBEm2Vv2nD-OqE6at0_Ew1wW7NpgBdWo1