public static Page GetMainPage()
    {
      Csla.ApplicationContext.DataPortalProxy = typeof(Csla.DataPortalClient.WcfProxy).AssemblyQualifiedName;
      Csla.ApplicationContext.DataPortalUrlString = "http://simplentier.azurewebsites.net/SlPortal.svc";

      var page = new MainPage();

      MainViewModel = new OrderVm();
      page.ViewModel = MainViewModel;
      return NavigationPage(page);
    }
Exemple #2
0
        public static Page GetMainPage()
        {
            Csla.ApplicationContext.DataPortalProxy     = typeof(Csla.DataPortalClient.WcfProxy).AssemblyQualifiedName;
            Csla.ApplicationContext.DataPortalUrlString = "http://simplentier.azurewebsites.net/SlPortal.svc";

            var page = new MainPage();

            MainViewModel  = new OrderVm();
            page.ViewModel = MainViewModel;
            return(new NavigationPage(page));
        }