View Source
Class BaseMapper
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class BaseMapper
Constructors
View Source
BaseMapper(Lazy<ISqlContext>, ConcurrentDictionary<Type, ConcurrentDictionary<String, String>>)
Declaration
protected BaseMapper(Lazy<ISqlContext> sqlContext, ConcurrentDictionary<Type, ConcurrentDictionary<string, string>> maps)
Parameters
Type |
Name |
Description |
System.Lazy<ISqlContext> |
sqlContext |
|
System.Collections.Concurrent.ConcurrentDictionary<System.Type, System.Collections.Concurrent.ConcurrentDictionary<System.String, System.String>> |
maps |
|
Methods
View Source
DefineMap<TSource, TTarget>(String, String)
Declaration
protected void DefineMap<TSource, TTarget>(string sourceName, string targetName)
Parameters
Type |
Name |
Description |
System.String |
sourceName |
|
System.String |
targetName |
|
Type Parameters
Name |
Description |
TSource |
|
TTarget |
|
View Source
DefineMaps()
Declaration
protected abstract void DefineMaps()