Search Results for

    Show / Hide Table of Contents
    View Source

    Class DictionaryMapper

    Represents a DictionaryItem 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
    object
    BaseMapper
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    [MapperFor(typeof(DictionaryItem))]
    [MapperFor(typeof(IDictionaryItem))]
    public sealed class DictionaryMapper : BaseMapper

    Constructors

    View Source

    DictionaryMapper(Lazy<ISqlContext>, MapperConfigurationStore)

    Initializes a new instance of the DictionaryMapper class, used for mapping dictionary entities between the database and domain models.

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

    A lazily-initialized ISqlContext providing SQL context for database operations.

    MapperConfigurationStore maps

    The MapperConfigurationStore containing mapping configurations.

    Methods

    View Source

    DefineMaps()

    Declaration
    protected override void DefineMaps()
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX