I am working on a silverlight application built using RIA services & Entity framewok.
On save button click after saving the data to the DB I get the attributes from Domain source and have to do some operation on them .
My code is as below
var ctx = (RadiographyContext)this.DomainSource.DomainContext;
foreach (var e in ctx.Energies)
{
// some calculations here
}
But domain context is not having updated values . Its having the values loaded on page load . How Can I refresh the Domainsource ?