When using an Inheritance Hierarchy for your database the best approach is to use Business Objects (POCO's) with an ObjectDataSource
component. A sample is available in the How-To Bind to Business Object
Additionally, the [DataObject]
declaration in the sample will enable the ability to write specific methods and queries that can shape the data output in the ways you describe.
For example, the below methods from the sample get a list of products in different ways.
// Gets products bellow a specified max price.
.GetAllProducts().FindAll(product => product.ListPrice <= maxPrice);
// Gets products of specific model and a color.
.GetAllProducts().FindAll(product => (product.ProductModelID == productModelID && product.Color == color));
Please let me know if you have any additional questions and thank you for choosing Telerik Reporting.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items