private static void InitializeEntityModelStructuralDataServices(IEntityModelConceptualDataServices services, IEnumerable<EntityContainer> entityContainers, DependencyInjectionContainer container) { var driver = container.Resolve<IEntityContainerDataPopulationDriver>(); driver.StructuralDataServices = services; driver.Random = container.Resolve<IRandomNumberGenerator>(); driver.ThresholdForNumberOfEntities = -1; foreach (var entityContainer in entityContainers) { driver.EntityContainer = entityContainer; EntityContainerData data; driver.TryPopulateNextData(out data); driver.TryPopulateNextData(out data); } }
public EntityModelObjectServices(IEntityModelConceptualDataServices conceptualDataServices) { this.conceptualDataServices = conceptualDataServices; }