using System; using System.Collections.Generic; using System.Linq; using InABox.Core; namespace Comal.Classes { public class QuoteProposalDataModel : BaseDataModel { public QuoteProposalDataModel(Filter filter) : base(filter) { AddChildTable(x => x.ID, x => x.CostSheet.ID, parentalias: "QuoteProposal", childalias: "QuoteProposal_QuoteProposalCostSheet"); AddChildTable(x => x.ID, x => x.CostSheet.ID, parentalias: "QuoteProposal", childalias: "QuoteProposal_QuoteCostSheetItem"); } public override string Name => "Quote Proposals"; } }