Your question is very general, but the template usually looks something like this:
public class CustomerViewModel : ViewModel { private readonly CustomerDTO _customer; ... public string Name { get { return _customer.Name; } set { if (_customer.Name != value) { _customer.Name = value; OnPropertyChanged(() => this.Name); } } } }
You need to ask a more specific question if that doesn't make any sense.
source share