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
    System.Object
    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
    System.Reflection.MemberInfo sourceMemberInfo
    Returns
    Type Description
    System.Nullable<Func<System.Object, System.Object>>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetToDbConverter(Type, MemberInfo)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX