partial void Command_NewPresentation (CommandType commandType, object parameter, ref bool canExecute) { canExecute = true; if (CommandType.Execute == commandType) { ModelContext.ChangeTracker.Clear (); ModelContext.RunUntracked (() => { Presentation = new Model.Presentation (ModelContext); Presentation.Update (null as BaseModelEntity); Presentation.NewSlide (); }); } }