Search Results for

    Show / Hide Table of Contents

    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].

    Inheritance
    System.Object
    BaseMapper
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
    Assembly: cs.temp.dll.dll
    Syntax
    [MapperFor(typeof(IMedia))]
    [MapperFor(typeof(Media))]
    public sealed class MediaMapper : BaseMapper

    Constructors

    MediaMapper(Lazy<ISqlContext>, MapperConfigurationStore)

    Declaration
    public MediaMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
    Parameters
    Type Name Description
    System.Lazy<ISqlContext> sqlContext
    MapperConfigurationStore maps

    Methods

    DefineMaps()

    Declaration
    protected override void DefineMaps()
    In This Article
    • Constructors
      • MediaMapper(Lazy<ISqlContext>, MapperConfigurationStore)
    • Methods
      • DefineMaps()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX