Search Results for

    Show / Hide Table of Contents
    View Source

    Class NPocoMapperCollection

    Represents a collection of NPoco mappers for mapping database records to objects.

    Inheritance
    object
    BuilderCollectionBase<IMapper>
    Namespace: Umbraco.Cms.Infrastructure.Persistence
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public sealed class NPocoMapperCollection : BuilderCollectionBase<IMapper>, IBuilderCollection<IMapper>

    Constructors

    View Source

    NPocoMapperCollection(Func<IEnumerable<IMapper>>)

    Initializes a new instance of the NPocoMapperCollection class with the specified function to provide NPoco.IMapper instances.

    Declaration
    public NPocoMapperCollection(Func<IEnumerable<IMapper>> items)
    Parameters
    Type Name Description
    Func<IEnumerable<IMapper>> items

    A function that returns an System.Collections.Generic.IEnumerable<T> representing the mappers to include in the collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX