Пример #1
0
 public static void Initialize(IAppDbContext context, IConfiguration configuration)
 {
     RoleConfiguration.Seed(context, configuration);
     SystemLocationConfiguration.Seed(context, configuration);
     CardConfiguration.Seed(context, configuration);
     UserConfiguration.Seed(context, configuration);
     DashboardConfiguration.Seed(context, configuration);
 }
Пример #2
0
 public static void Initialize(IDblDipDbContext context, IEventStore store, IConfiguration configuration)
 {
     RoleConfiguration.Seed(store);
     SystemLocationConfiguration.Seed(store, configuration);
     CardConfiguration.Seed(store, context);
     UserConfiguration.Seed(context, store);
     DashboardConfiguration.Seed(context, store);
 }
Пример #3
0
 protected override void Seed(NoDaysOffAppContext context)
 {
     TenantConfiguration.Seed(context);
     DashboardConfiguration.Seed(context);
     DayConfiguration.Seed(context);
     TileConfiguration.Seed(context);
     BoundedContextConfiguration.Seed(context);
 }
Пример #4
0
        public static void Seed(AppDbContext context)
        {
            BehaviourTypeConfiguration.Seed(context);
            CardConfiguration.Seed(context);

            FrequencyTypeConfiguration.Seed(context);
            UserConfiguration.Seed(context);
            TagConfiguration.Seed(context);

            DashboardConfiguration.Seed(context);
            DashboardCardConfiguration.Seed(context);
        }
Пример #5
0
 public static void Seed(IDatabaseContext databaseContext)
 {
     CardConfiguration.Seed(databaseContext);
     UserConfiguration.Seed(databaseContext);
     DashboardConfiguration.Seed(databaseContext);
 }