예제 #1
0
        public Cache <string, IDataSet> GetDataSets(IDataFormat format, ColumnInfoCache columnInfos)
        {
            var dataSets = new Cache <string, IDataSet>();

            foreach (var sheetKeyValue in _dataSheets.KeyValues)
            {
                var data = new DataSet();
                data.AddData(format.Parse(sheetKeyValue.Value, columnInfos));
                dataSets.Add(sheetKeyValue.Key, data);
            }

            return(dataSets);
        }