• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PetaPocoMapper

Inheritance
System.Object
PetaPocoMapper
Namespace: DotNetNuke.Data.PetaPoco
Assembly: DotNetNuke.dll
Syntax
public class PetaPocoMapper : IMapper

Constructors

| Improve this Doc View Source

PetaPocoMapper(String)

Initializes a new instance of the PetaPocoMapper class.

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
Name Description
T

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS