Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
First at all, my English is weak, hope you can understad! I'm developing a silverlight application using DomainServices(DomainContext Class - Namespace: System.ServiceModel.DomainServices.Client) to retrieve and update data. I have some Properties:

C#
DomainContextVBHS _Service = new DomainContextVBHS();
public int AddedEntitiesCount
{
    get{ return _Service.EntityContainer.GetChanges().AddedEntities.Count; }
}

public int ModifiedEntitiesCount
{
    get{ return _Service.EntityContainer.GetChanges().ModifiedEntities.Count; }
}
public int RemovedEntitiesCount
{
    get{ return _Service.EntityContainer.GetChanges().RemovedEntities.Count; }
}

How can i notify them on UI when _Service get any changes(insert, update, delete)?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900