Class MediaMapper
Represents a Umbraco.Cms.Infrastructure.Media 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 MediaMapper : BaseMapper
Constructors
View SourceMediaMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Declaration
public MediaMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
Type | Name | Description |
---|---|---|
Lazy<ISqlContext> | sqlContext | |
MapperConfigurationStore | maps |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()