public WorldTreeItem(Domain.World entity, long parentID) { this.World = new StoreToWorld(); this.World.WorldID = entity.ID; this.World.WorldName = entity.Name; base.ParentID = parentID; ID = _nextID++; }
public WorldTreeItem(StoreToWorld entity, long parentID) : base(entity, parentID) { Domain.World world = ClientEnvironment.WorldService.FindById(World.WorldID); if (world != null) { World.WorldName = world.Name; } ID = _nextID++; }
public WorldTreeItem(long StoreToWorldID) { this.World = ClientEnvironment.StoreToWorldService.FindById(StoreToWorldID); Domain.World entity = ClientEnvironment.WorldService.FindById(World.WorldID); if (entity != null) { World.WorldName = entity.Name; } base.ParentID = World.StoreID; ID = _nextID++; }