Search Results for

    Show / Hide Table of Contents
    View Source

    Class RelationTypeMapper

    Represents a RelationType 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(RelationType))]
    [MapperFor(typeof(IRelationType))]
    public sealed class RelationTypeMapper : BaseMapper

    Constructors

    View Source

    RelationTypeMapper(Lazy<ISqlContext>, MapperConfigurationStore)

    Initializes a new instance of the RelationTypeMapper class.

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

    A lazily-initialized ISqlContext used for database operations.

    MapperConfigurationStore maps

    The MapperConfigurationStore containing mapper 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