using WePlatform.EF; namespace WePlatform.SeedData { public class InitialDbBuilder { private readonly WePlatformDbContext _context; public InitialDbBuilder(WePlatformDbContext context) { _context = context; } public void Create() { //new DefaultViewAndSpCreate(_context).Create(); //new DefaultTypesCreator(_context).Create(); new DefaultDataCreator(_context).Create(); //new InitialUserAndFun(_context).Create(); //new DefaultSettingsCreator(_context).Create(); //new DefaultStatesCreator(_context).Create(); //new DefaultNotificationsCreator(_context).Create(); //new DefaultAppGuidsCreator(_context).Create(); _context.SaveChanges(); } } }