RIA Services - Many to Many
Posted: Tue 25 May 2010 17:10
Hi
I'm Using RIA Services PDC 2009 to query my dotConnect for Oracle entity diagram, but I can't seem to access a many to many relationship. It works fine for one to many on the client. Many to many works on the server though.
In domain service on server this is fine:-
In Silverlight client this gets an error on the 2nd line:-
Error 7 'XYZDataModel.XYZ_FILE' does not contain a definition for 'XYZ_FOLDER' and no extension method 'XYZ_FOLDER' accepting a first argument of type 'XYZDataModel.XYZ_FILE' could be found (are you missing a using directive or an assembly reference?)
What could be the problem? Thanks
I'm Using RIA Services PDC 2009 to query my dotConnect for Oracle entity diagram, but I can't seem to access a many to many relationship. It works fine for one to many on the client. Many to many works on the server though.
In domain service on server this is fine:-
Code: Select all
private void Test()
{
XYZ_FILE file = new XYZ_FILE();
var x = file.XYZ_FOLDER;
}
Code: Select all
private void Test()
{
XYZ_FILE file = new XYZ_FILE();
var x = file.XYZ_FOLDER;
}
Error 7 'XYZDataModel.XYZ_FILE' does not contain a definition for 'XYZ_FOLDER' and no extension method 'XYZ_FOLDER' accepting a first argument of type 'XYZDataModel.XYZ_FILE' could be found (are you missing a using directive or an assembly reference?)
What could be the problem? Thanks