private static DataColumnMap MapToCore(Data.DataColumnMap datacolumnMap) { DataType dataType = MapToCore(datacolumnMap.DataType); DataColumnMap map = new DataColumnMap(datacolumnMap.DataSourcePath, datacolumnMap.Name, dataType); return(map); }
private static Data.DataColumnMap MapToData(DataColumnMap datacolumnMap) { Data.DataColumnMap dto = new Data.DataColumnMap(); dto.DataSourcePath = datacolumnMap.DataSourcePath; dto.Name = datacolumnMap.Name; dto.DataType = datacolumnMap.DataType.ToString(); return(dto); }