public CommodityPrice(Commodity commodity, PriceType type, Guid guid) : base(guid) { this.Commodity = commodity; this.Type = type; this.PriceHistory = new RelationshipCollection <PricePoint>(this); }
public TradingPort(string name, Guid guid) : base(guid) { this.Name = name; this.Prices = new RelationshipCollection <CommodityPrice>(this); }
public SCDataManager() : base(Guid.NewGuid()) { this.Commodities = new RelationshipCollection <Commodity>(this); this.TradingPorts = new RelationshipCollection <TradingPort>(this); }