using InABox.Core; namespace Comal.Classes { [UserTracking(typeof(Quote))] public class CostSheetKit : Entity, IPersistent, IRemotable, ISequenceable, IOneToMany, IOneToMany, ILicense { [EntityRelationship(DeleteAction.Cascade)] public CostSheetLink CostSheet { get; set; } [EntityRelationship(DeleteAction.SetNull)] public CostSheetSectionLink Section { get; set; } [EntityRelationship(DeleteAction.SetNull)] public KitLink Kit { get; set; } [NullEditor] public long Sequence { get; set; } protected override void Init() { base.Init(); CostSheet = new CostSheetLink(); Section = new CostSheetSectionLink(); Kit = new KitLink(); } } }