Esempio n. 1
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     using (var ctx = new atletismoContext("Data Source=isostore:/Banco.sdf"))
     {
         try
         {
             if (!ctx.DatabaseExists())
             {
             }
         }
         catch (Exception exbd)
         {
         }
     } // using
 }     //   método OnNavigatedTo
        protected override void OnNavigatedTo (NavigationEventArgs e)  {
            using (var ctx = new atletismoContext("Data Source=isostore:/Banco.sdf"))
            {
                try
                {
                    if (!ctx.DatabaseExists())
                    {

                    }
                }
                catch (Exception exbd)
                {

                }
         } // using
        } //   método OnNavigatedTo