Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserMapper

    Provides mapping logic between the User entity and its database representation.

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

    Constructors

    View Source

    UserMapper(Lazy<ISqlContext>, MapperConfigurationStore)

    Initializes a new instance of the UserMapper class.

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

    A lazy-loaded SQL context used for database operations.

    MapperConfigurationStore maps

    The configuration store containing mapper 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