Yes It makes sense, Please can I have an example? I'm using Silverlight5 and Ria Services.
I was trying to do something like this
public interface IServiceAgent<T> where T : class
void GetAll(Action<List<T>, Exception> completed);
void Add(T item);
void Delete(T item);
void Save(Action<Exception> completed);
// Reject changes to entities
then I Implement the ServiceAgent like this
[ServiceAgentExport(typeof(IServiceAgent<Model>), AgentType = AgentType.Real)]
public class EmployeeServiceAgent : IServiceAgent<Model>
MyDomainContext domainContext = new MyDomainContext();
I'm sure I am not doing it right.
Thank you for your help.