Search Results for

    Show / Hide Table of Contents
    View Source

    Class NullableDateMapper

    Extends NPoco default mapper and ensures that nullable dates are not saved to the database.

    Inheritance
    object
    DefaultMapper
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class NullableDateMapper : DefaultMapper

    Methods

    View Source

    GetToDbConverter(Type, MemberInfo)

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