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