Entities not loaded after domainContext.Load(domainContext.GetUsers) in WCF RIA service
March 8, 2010
0 Comments
If you use LINQ to SQL and you’re entities are not loaded after you call a GetQuery on the DomainContext, you probably did not use a callback.
TTSDomainContext context = new TTSDomainContext(); LoadOperation op = context.Load( context.GetTasksQuery(), result => { if (!result.HasError) { //At this point the entities are loaded
}
},null);
Tags: Silverlight, WCF RIA Services