public override void Dispose() { if (this.Id == 0) { return; } base.Dispose(); unitComponent.Dispose(); }