| 12345678910111213141516171819202122232425262728293031323334353637383940 | using System;using InABox.Core;namespace Comal.Classes{    // Because StockHolding is now Automagically Generated (Yay for Views)    // There is no such thing anymore as a StockHoldingLink (no ID)    // So this needs to be changed to a StockLocationLink    [Obsolete("Replaced with StockLocationLink")]    public class StockHoldingLink : EntityLink<StockHolding>, IStockHolding    {        [LookupEditor(typeof(StockHolding))]        public override Guid ID { get; set; }            [NullEditor]        public JobLink Job { get; set; }            [NullEditor]        public StockLocationLink Location { get; set; }            [NullEditor]        public ProductLink Product { get; set; }            [NullEditor]        public ProductStyleLink Style { get; set; }                [NullEditor]        public StockDimensions Dimensions { get; set; }            protected override void Init()        {            base.Init();            Job = new JobLink();            Location = new StockLocationLink();            Product = new ProductLink();            Style = new ProductStyleLink();            Dimensions = new StockDimensions(LinkedEntity);        }    }}
 |