Class PetaPocoMapper
Inheritance
System.Object
PetaPocoMapper
Assembly: DotNetNuke.dll
Syntax
public class PetaPocoMapper : IMapper
Constructors
|
Improve this Doc
View Source
PetaPocoMapper(String)
Declaration
public PetaPocoMapper(string tablePrefix)
Parameters
Type |
Name |
Description |
System.String |
tablePrefix |
|
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 pi, Type sourceType)
Parameters
Type |
Name |
Description |
PropertyInfo |
pi |
|
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
GetToDbConverter(PropertyInfo)
Declaration
public Func<object, object> GetToDbConverter(PropertyInfo sourceProperty)
Parameters
Type |
Name |
Description |
PropertyInfo |
sourceProperty |
|
Returns
Type |
Description |
Func<System.Object, System.Object> |
|
|
Improve this Doc
View Source
SetMapper<T>(IMapper)
Declaration
public static void SetMapper<T>(IMapper mapper)
Parameters
Type |
Name |
Description |
IMapper |
mapper |
|
Type Parameters
Extension Methods