示例#1
0
        public void Seed()
        {
            SetDataDirectory(Settings.Default.ProjectDirectoryNameContainingDatabase);

            var generator = new SeedGenerator(CreateDatabaseContext());

            generator.Generate();
        }
 protected override void Seed(Khnumdev.TwitBot.Data.DWH.DWHContext context)
 {
     SeedGenerator.Generate(context);
 }
示例#3
0
        protected override void Seed(SchoolContext context)
        {
            var generator = new SeedGenerator(context);

            generator.Generate();
        }
 protected override void Seed(DWHContext context)
 {
     SeedGenerator.Generate(context);
 }