コード例 #1
0
        public static CremaDataSet CreateRandomSet()
        {
            var dataSet = new CremaDataSet();

            dataSet.AddRandomTypes(RandomUtility.Next(MinTypeCount, MaxTypeCount));
            dataSet.AddRandomTables(RandomUtility.Next(MinTableCount, MaxTableCount));
            dataSet.AddRandomChildTables(RandomUtility.Next(MinTableCount, MaxTableCount));
            dataSet.AddDerivedTables(RandomUtility.Next(MinTableCount, MaxTableCount));

            return(dataSet);
        }