Sovereign
asked on
Can't access DomainContext via RIA Services
I'm building Silverlight App with RIA Services
I've created strongly typed domain service called ContactsDomainService.
The problem is that I can't access it in SL app like this
private void OKButton_Click(object sender, RoutedEventArgs e)
{
ContactsDomainContext contactsContext = new
ContactsDomainContext();
...
}
Nevertheless it is auto-generated in Contacts.Web.g.cs
Have I missed smth? TIA
I've created strongly typed domain service called ContactsDomainService.
The problem is that I can't access it in SL app like this
private void OKButton_Click(object sender, RoutedEventArgs e)
{
ContactsDomainContext contactsContext = new
ContactsDomainContext();
...
}
Nevertheless it is auto-generated in Contacts.Web.g.cs
Have I missed smth? TIA
did ContactsDomainService.cs and ContactsDomainService.meta data.cs were generated?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.