Class PetaPocoMapper
Inheritance
PetaPocoMapper
Assembly: DotNetNuke.dll
Syntax
public class PetaPocoMapper : IMapper
Constructors
PetaPocoMapper(string)
Declaration
public PetaPocoMapper(string tablePrefix)
Parameters
Type |
Name |
Description |
string |
tablePrefix |
|
Methods
GetColumnInfo(PropertyInfo)
Declaration
public ColumnInfo GetColumnInfo(PropertyInfo pocoProperty)
Parameters
Returns
Type |
Description |
ColumnInfo |
|
GetFromDbConverter(PropertyInfo, Type)
Declaration
public Func<object, object> GetFromDbConverter(PropertyInfo pi, Type sourceType)
Parameters
Returns
GetTableInfo(Type)
Declaration
public TableInfo GetTableInfo(Type pocoType)
Parameters
Type |
Name |
Description |
Type |
pocoType |
|
Returns
Type |
Description |
TableInfo |
|
GetToDbConverter(PropertyInfo)
Declaration
public Func<object, object> GetToDbConverter(PropertyInfo sourceProperty)
Parameters
Returns
SetMapper<T>(IMapper)
Declaration
public static void SetMapper<T>(IMapper mapper)
Parameters
Type |
Name |
Description |
IMapper |
mapper |
|
Type Parameters
Implements
PetaPoco.IMapper
Extension Methods