Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoEntityMapper

    Provides functionality to map properties of Umbraco entities to their corresponding database columns.

    Inheritance
    object
    BaseMapper
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    [MapperFor(typeof(IUmbracoEntity))]
    public sealed class UmbracoEntityMapper : BaseMapper

    Constructors

    View Source

    UmbracoEntityMapper(Lazy<ISqlContext>, MapperConfigurationStore)

    Initializes a new instance of the UmbracoEntityMapper class.

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

    The lazy-loaded SQL context used for database operations.

    MapperConfigurationStore maps

    The configuration store containing mapping definitions.

    Methods

    View Source

    DefineMaps()

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