Files
Umbraco-CMS/src/Umbraco.Persistence.SqlCe/SqlCeSpecificMapperFactory.cs
Shannon bc84ffe260 Changes all collections from collection builders to resolve the concrete instances lazily.
This means we don't have to inject Lazy<T> all over the place when dealing with
colleciton builders and circular references since this will automatically just work OOTB.
This in theory should also allocate less instances during startup.
2021-07-12 15:28:46 -06:00

12 lines
390 B
C#

using Umbraco.Cms.Core;
using Umbraco.Cms.Infrastructure.Persistence;
namespace Umbraco.Cms.Persistence.SqlCe
{
public class SqlCeSpecificMapperFactory : IProviderSpecificMapperFactory
{
public string ProviderName => Constants.DatabaseProviders.SqlCe;
public NPocoMapperCollection Mappers => new NPocoMapperCollection(() => new[] {new SqlCeImageMapper()});
}
}