public static UnitTermView Create(UnitTerm obj) { var v = new UnitTermView(); Copy.Members(obj.Data, v); return(v); }
public static UnitTerm Create(UnitTermView view) { var d = new UnitTermData(); Copy.Members(view, d); return(new UnitTerm(d)); }