Class MediaTypeMapper
Represents a MediaType to DTO mapper used to translate the properties of the public api implementation to that of the database's DTO as sql: [tableName].[columnName].
Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class MediaTypeMapper : BaseMapper
Constructors
View SourceMediaTypeMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Declaration
public MediaTypeMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
Type | Name | Description |
---|---|---|
Lazy<ISqlContext> | sqlContext | |
MapperConfigurationStore | maps |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()