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)); }
public void Initialize() { var config = new RowGroupsCreatorConfig { MasterDataType = "D1" }; _target = new RowGroupsCreator(config); _rows = CreateRows(); }