public SalesViewerDataGenerator(SalesViewerContext context) { TableToGeneratorMappings = new ConcurrentDictionary <Type, SeedDataTaskWrapper>(); Context = context; }
public SalesVieweDataProvider() { DataContext = new SalesViewerContext(); DataGenerator = new Lazy <SalesViewerDataGenerator>(CreateGenerator); DataGenerated = new Lazy <Task>(() => GenerateData()); }