This is a continuation of my earlier article where we discussed how to fetch and display data from a database using DomainServiceContext via entity model. Here in this article we will take the StatesOfIndia application further, where it will accept the state information to be modified as well as accept new state as addition. Article Series
Hosted Application : Launch StatesOfIndia
Source Code : StatesOfIndia
Now here the direction of dataflow mode is Two-way; by default it is One-way. This added Mode says that the data will be updated from both sides i.e from Target to Source and Source to Target. As we want to update the source entity while editing of the TextBox we made it two way. I will recommend you to go through the beautiful post about data binding from Sacha Barber this post and jump directly to "Data Binding Concept" section.
One Point to note here is that the DomainContextService used to load the data should be used to update the same.
Let's Run and Check the Editing option.
Well it work perfectly if you have followed correctly.p>
You will wonder does this need a separate sub heading .. surely check out the details here in this post
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: