public device_placetype ToDataAngineModel() { device_placetype d = new device_placetype(); d.id = this.ID; d.name = this.Name; return(d); }
public static DevicePlacetype CreateInstanceFromDataAngineModel(device_placetype d) { if (null == d) { return(null); } DevicePlacetype de = new DevicePlacetype(); de.ID = d.id; de.Name = d.name; return(de); }