Esempio n. 1
0
        public BookViewModel(IPageConductor pageConductor, IBookDataService bookDataService)
        {
            PageConductor   = pageConductor;
            BookDataService = bookDataService;
            BookDataService.EntityContainer.PropertyChanged += BookDataService_PropertyChanged;

            RegisterCommands();
            LoadData();
        }
        public BookViewModel(
            IPageConductor pageConductor,
            IBookDataService bookDataService)
        {
            PageConductor = pageConductor;
            BookDataService = bookDataService;
            BookDataService.EntityContainer.PropertyChanged += BookDataService_PropertyChanged;

            RegisterCommands();
            LoadData();
        }
        public BookViewModel(
            IPageConductor pageConductor,
            IBookDataService bookDataService)
        {
            PageConductor   = pageConductor;
            BookDataService = bookDataService;
            BookDataService.NotifyHasChanges += BookDataService_NotifyHasChanges;

            //InitializeModels();
            RegisterCommands();
            LoadData();
        }
        public BookViewModel(
            IPageConductor pageConductor,
            IBookDataService bookDataService)
        {
            PageConductor = pageConductor;
            BookDataService = bookDataService;
            BookDataService.NotifyHasChanges += BookDataService_NotifyHasChanges;

            //InitializeModels();
            RegisterCommands();
            LoadData();
        }