public static void Start() { MayLilyAppHost appHost = new MayLilyAppHost(); appHost.Init(); // Migrate the database schema and seed it with sample data. IDbMigrator migrator = appHost.Container.Resolve<IDbMigrator>(); migrator.MigrateSchema(); migrator.SeedData(); }
public static void Start() { MayLilyAppHost appHost = new MayLilyAppHost(); appHost.Init(); // Migrate the database schema and seed it with sample data. IDbMigrator migrator = appHost.Container.Resolve <IDbMigrator>(); migrator.MigrateSchema(); migrator.SeedData(); }