1234567891011121314151617181920 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using InABox.Core;
- namespace Comal.Classes
- {
- // At this point in time, we are not dealing with ProductPriceComponent
- public class ProductDataModel : BaseDataModel<Product>
- {
- public ProductDataModel(Filter<Product> filter) : base(filter)
- {
- AddChildTable<Product, ProductPriceComponent>(x => x.ID, x => x.Product.ID);
- }
- public override string Name => "Products";
- }
- }
|