Interface IColumnDtoMapper
- All Known Implementing Classes:
ColumnDtoMapper
public interface IColumnDtoMapper
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionmapSqlRecordWithNameAndDataTypeToColumnDto(ISqlRecord sqlRecordWithNameAndDataType) mapSqlRecordWithTableNameAndNameAndDataTypeToColumnDto(ISqlRecord sqlRecordWithTableNameAndNameAndDataType)
-
Method Details
-
mapSqlRecordWithNameAndDataTypeToColumnDto
- Parameters:
sqlRecordWithNameAndDataType-- Returns:
- a new
ColumnDtofrom the given sqlRecordWithNameAndDataType. - Throws:
RuntimeException- if the given sqlRecordWithNameAndDataType is null.
-
mapSqlRecordWithTableNameAndNameAndDataTypeToColumnDto
ColumnDto mapSqlRecordWithTableNameAndNameAndDataTypeToColumnDto(ISqlRecord sqlRecordWithTableNameAndNameAndDataType) - Parameters:
sqlRecordWithTableNameAndNameAndDataType-- Returns:
- a new
ColumnDtofrom the given sqlRecordWithTableNameAndNameAndDataType. - Throws:
RuntimeException- if the given sqlRecordWithTableNameAndNameAndDataType is null.
-