Exemplo n.º 1
0
 /// <summary>
 /// setup the database with some sample data
 /// </summary>
 public static void InitializeSampleDatabase()
 {
     using (DemoDataContext dataCtx = new DemoDataContext())
     {
         dataCtx.RunMigrations();
         dataCtx.EnsureFullTextIndices();
         LoadSampleData(dataCtx);
     }
 }