Exemplo n.º 1
0
		public App(string dbPath, ISQLitePlatform sqlitePlatform)
		{
			//set database path first, then retrieve main page
			PersonRepo = new PersonRepository(sqlitePlatform, dbPath);

			this.MainPage = new MainPage();
		}
Exemplo n.º 2
0
        public static Page GetMainPage(ISQLitePlatform sqlitePlatform, string dbPath)
        {
            //set database path first, then retrieve main page
            PersonRepo = new PersonRepository(sqlitePlatform, dbPath);

            return new MainPage();
        }
Exemplo n.º 3
0
Arquivo: App.cs Projeto: IsYet1/Xam160
        public App(string dbPath)
        {
            PersonRepo = new PersonRepository(dbPath);

            this.MainPage = new MainPage();
        }
Exemplo n.º 4
0
 public App()
 {
     InitializeComponent();
     PersonRepo = new PersonRepository(dbPath);
     MainPage   = new People.MainPage();
 }