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