示例#1
0
 /// <summary>
 /// Main method to populate database content
 /// </summary>
 public static void Initialize()
 {
     using (var _context = new login_db(AppGlobal.get_db_option()))
     {
         //run primary migration method
         _context.Database.Migrate();
     }
 }