public void SetShipCount(int shipTypeID, int count)
		{
			var entry = CelestialObjectShips.SingleOrDefault(x => x.ShipTypeID == shipTypeID);
			if (entry == null) {
				entry = new CelestialObjectShip();
				entry.ShipTypeID = shipTypeID;
				CelestialObjectShips.Add(entry);
			}
			entry.Count = count;
			if (count == 0) CelestialObjectShips.Remove(entry);
		}
 partial void DeleteCelestialObjectShip(CelestialObjectShip instance);
 partial void UpdateCelestialObjectShip(CelestialObjectShip instance);
 partial void InsertCelestialObjectShip(CelestialObjectShip instance);
		private void detach_CelestialObjectShips(CelestialObjectShip entity)
		{
			this.SendPropertyChanging();
			entity.ShipType = null;
		}
		private void attach_CelestialObjectShips(CelestialObjectShip entity)
		{
			this.SendPropertyChanging();
			entity.CelestialObject = this;
		}