Class PocoMapper
Extends NPoco default mapper and ensures that nullable dates are not saved to the database.
Inheritance
System.Object
Namespace: Umbraco.Core.Persistence.Mappers
Assembly: Umbraco.Core.dll
Syntax
public class PocoMapper : DefaultMapper
Methods
View SourceGetToDbConverter(Type, MemberInfo)
Declaration
public override Func<object, object> GetToDbConverter(Type destType, MemberInfo sourceMemberInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Type | destType | |
System.Reflection.MemberInfo | sourceMemberInfo |
Returns
Type | Description |
---|---|
System.Func<System.Object, System.Object> |