示例#1
0
        public static IEnumerable <DataRow20Group> BuildRowGroups(IEnumerable <DataRow20> rows, Datas dataRowsDefinition)
        {
            var config = new RowGroupsCreatorConfig {
                MasterDataType = dataRowsDefinition.MasterDataType
            };
            var rowGroupsCreator = new RowGroupsCreator(config);

            return(rowGroupsCreator.BuildRowGroups(rows));
        }
示例#2
0
        public void Initialize()
        {
            var config = new RowGroupsCreatorConfig {
                MasterDataType = "D1"
            };

            _target = new RowGroupsCreator(config);

            _rows = CreateRows();
        }