Interface IColumnDtoMapper

All Known Implementing Classes:
ColumnDtoMapper

public interface IColumnDtoMapper
Author:
Silvan Wyss
  • Method Details

    • mapSqlRecordWithNameAndDataTypeToColumnDto

      ColumnDto mapSqlRecordWithNameAndDataTypeToColumnDto(ISqlRecord sqlRecordWithNameAndDataType)
      Parameters:
      sqlRecordWithNameAndDataType -
      Returns:
      a new ColumnDto from the given sqlRecordWithNameAndDataType.
      Throws:
      RuntimeException - if the given sqlRecordWithNameAndDataType is null.
    • mapSqlRecordWithTableNameAndNameAndDataTypeToColumnDto

      ColumnDto mapSqlRecordWithTableNameAndNameAndDataTypeToColumnDto(ISqlRecord sqlRecordWithTableNameAndNameAndDataType)
      Parameters:
      sqlRecordWithTableNameAndNameAndDataType -
      Returns:
      a new ColumnDto from the given sqlRecordWithTableNameAndNameAndDataType.
      Throws:
      RuntimeException - if the given sqlRecordWithTableNameAndNameAndDataType is null.