public TodoViewModel(EntityManager em) {
            _em = em;
            _em.EntityChanged += _em_EntityChanged;
            _em.EntityChanging += _em_EntityChanging;

            SetupCommands();

            View = new TodoView();
            View.DataContext = this;

            QueryAllTodos();
            //NewTodo = CreateTodoItem();
        }
        public TodoViewModel(EntityManager em)
        {
            _em = em;
            _em.EntityChanged  += _em_EntityChanged;
            _em.EntityChanging += _em_EntityChanging;

            SetupCommands();

            View             = new TodoView();
            View.DataContext = this;

            QueryAllTodos();
            //NewTodo = CreateTodoItem();
        }