public static void Main() { var orderDto = new OrderDto { Id = 1, Name = "Name", CreatedOn = DateTime.UtcNow, CompletedOn = DateTime.UtcNow.AddMinutes(30), Misc = Guid.NewGuid() }; Console.WriteLine($"{orderDto.Id} {orderDto.Name} {orderDto.CreatedOn} {orderDto.CompletedOn} {orderDto.Misc}"); orderDto.DefaultFor(x => x.Id, x => x.Name, x => x.CreatedOn, x => x.CompletedOn); Console.WriteLine($"{orderDto.Id} {orderDto.Name} {orderDto.CreatedOn} {orderDto.CompletedOn} {orderDto.Misc}"); }