Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoDefaultMapper

    Provides default type conversion logic for mapping Umbraco database values to .NET types, extending the base mapping behavior with support for additional types such as decimal, DateOnly, and TimeOnly.

    Inheritance
    object
    DefaultMapper
    Namespace: Umbraco.Cms.Core.Mapping
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UmbracoDefaultMapper : DefaultMapper

    Methods

    View Source

    GetFromDbConverter(Type, Type)

    Declaration
    public override Func<object, object?> GetFromDbConverter(Type destType, Type sourceType)
    Parameters
    Type Name Description
    Type destType
    Type sourceType
    Returns
    Type Description
    Func<object, object>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX