Class FluentMapper<TModel>
Inheritance
FluentMapper<TModel>
Assembly: DotNetNuke.dll
Syntax
[CLSCompliant(false)]
public class FluentMapper<TModel> : IMapper
Type Parameters
Constructors
FluentMapper(string)
Declaration
public FluentMapper(string tablePrefix)
Parameters
Type |
Name |
Description |
string |
tablePrefix |
|
Properties
CacheKey
Declaration
public string CacheKey { get; set; }
Property Value
CachePriority
Declaration
public CacheItemPriority CachePriority { get; set; }
Property Value
CacheTimeOut
Declaration
public int CacheTimeOut { get; set; }
Property Value
Mappings
Declaration
public Dictionary<string, FluentColumnMap> Mappings { get; set; }
Property Value
Scope
Declaration
public string Scope { get; set; }
Property Value
TableInfo
Declaration
public TableInfo TableInfo { get; set; }
Property Value
Type |
Description |
TableInfo |
|
Methods
GetColumnInfo(PropertyInfo)
Declaration
public ColumnInfo GetColumnInfo(PropertyInfo pocoProperty)
Parameters
Returns
Type |
Description |
ColumnInfo |
|
GetFromDbConverter(PropertyInfo, Type)
Declaration
public Func<object, object> GetFromDbConverter(PropertyInfo targetProperty, Type sourceType)
Parameters
Returns
GetTableInfo(Type)
Declaration
public TableInfo GetTableInfo(Type pocoType)
Parameters
Type |
Name |
Description |
Type |
pocoType |
|
Returns
Type |
Description |
TableInfo |
|
GetTablePrefix()
Declaration
public string GetTablePrefix()
Returns
GetToDbConverter(PropertyInfo)
Declaration
public Func<object, object> GetToDbConverter(PropertyInfo sourceProperty)
Parameters
Returns
Implements
PetaPoco.IMapper
Extension Methods