public static PropertyClassDTO MapFieldValues(EF.PropertyClass dbItem) { if (dbItem == null) return null; PropertyClassDTO retVal = new PropertyClassDTO() { ClassNum = dbItem.ClassNum, Name = dbItem.Name }; return retVal; }
public virtual IPropertyClass Create(PropertyClassDTO dto) { return new PropertyClass(dto); }
public PropertyClass(PropertyClassDTO data) { this.Data = data; }