public AvgPayReportBuilderViewModel()
        {
            pickup = new PickUperViewModel(OnEntityPicked);

            FromDate = DateTime.Today.AddMonths(-6);
            ToDate   = DateTime.Today;
        }
Beispiel #2
0
        public DataViewerViewModel(Entity type, object entity, bool showEntityChilds, bool editMode = false, bool pickerMode = false)
            : base(type, entity, showEntityChilds)
        {
            if (editMode)
            {
                IsEditModeActive = true;
            }

            if (pickerMode)
            {
                IsPickerModeActive = true;
            }

            pickup = new PickUperViewModel(OnEntityPicked);
            CreateBreadcrumbs();
        }