Beispiel #1
0
        private EntityContainerDataPopulationDriver CreateDataPopulationDriver()
        {
            var dataPopulationDriver = new EntityContainerDataPopulationDriver();

            dataPopulationDriver.EntityContainer = this.entityContainer;
            dataPopulationDriver.ThresholdForNumberOfEntities = -1;
            dataPopulationDriver.StructuralDataServices       = this.ConceptualDataServices;
            dataPopulationDriver.Random = this.Random;
            dataPopulationDriver.MinimumNumberOfEntitiesPerEntitySet = 0;
            return(dataPopulationDriver);
        }
Beispiel #2
0
        private static EntityContainerData CreateDefaultEntityContainerData(EntityContainerDataPopulationDriver dataPopulationDriver)
        {
            EntityContainerData data;

            if (dataPopulationDriver.TryPopulateNextData(out data))
            {
                return(data);
            }

            return(null);
        }