public TreeEstimateDO(TreeEstimateDO obj) : this() { SetValues(obj); }
public void SetValues(TreeEstimateDO obj) { if(obj == null) { return; } TreeEstimate_GUID = obj.TreeEstimate_GUID; KPI = obj.KPI; }
public TreeEstimateDO LogTreeEstimate(int kpi) { var te = new TreeEstimateDO(DAL); te.KPI = kpi; te.CountTree = this; te.Save(); return te; }