public NotePadItem SaveTo() { NotePadItem model = new NotePadItem(); model.CopyFromObj(this); return(model); }
public static NotePadItemNotifyClass CreateFrom(NotePadItem model) { NotePadItemNotifyClass vm = new NotePadItemNotifyClass(); vm.CopyFromObj(model); return(vm); }