public void SetValues(ValueEquationDO obj) { if(obj == null) { return; } Species = obj.Species; PrimaryProduct = obj.PrimaryProduct; ValueEquationNumber = obj.ValueEquationNumber; Grade = obj.Grade; Coefficient1 = obj.Coefficient1; Coefficient2 = obj.Coefficient2; Coefficient3 = obj.Coefficient3; Coefficient4 = obj.Coefficient4; Coefficient5 = obj.Coefficient5; Coefficient6 = obj.Coefficient6; }
public ValueEquationDO(ValueEquationDO obj) : this() { SetValues(obj); }