예제 #1
0
        private static DataColumnMap MapToCore(Data.DataColumnMap datacolumnMap)
        {
            DataType      dataType = MapToCore(datacolumnMap.DataType);
            DataColumnMap map      = new DataColumnMap(datacolumnMap.DataSourcePath, datacolumnMap.Name, dataType);

            return(map);
        }
예제 #2
0
 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);
 }