public void SetValues(ForestsDO obj) { if(obj == null) { return; } State = obj.State; Name = obj.Name; Number = obj.Number; }
public ForestsDO(ForestsDO obj) : this() { SetValues(obj); }