Do you happen to have a sample using Open Access ORM & RadGridView in a master-detail scenario? In code? Customer/Orders/Order Details...
Thanks,
Gonzalo
3 Answers, 1 is accepted
0
Ivailo
Telerik team
answered on 22 Dec 2011, 06:57 PM
Hi Gonzalo,
Unfortunately we are not offering such sample for the time being. However, we are going to consider adding such sample in our SDK in the next several months.Which RadGridView are you using - WPF, Silverlight or WinForms?
If you have any problem or difficulty with the implementation, do not hesitate to get back to us for assistance.
Kind regards,
Ivailo
the Telerik team
Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!
Thanks for your prompt response. How about this: how would you rewrite this
public IQueryable<Car> GetCarByCustomerName(string customerName)
{
var query = from c in this.DataContext.Cars
from ro in this.DataContext.RentalOrders
where ro.CarID == c.CarID && ro.Customer.FullName == customerName
select c;
return query;
}
to get returned a couple of columns such as:
c.Make, c.Model, c.CarYear
also a way to get a combination of fields coming out of both tables c and ro
Thanks and best regards,
Merry Christmas :) and a Happy New Year
G
Thanks for the nice wishes :) Happy holidays to you too!
Ivailo
the Telerik team
Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!