Show / Hide Table of Contents

Class PetaPocoMapper

Inheritance
object
PetaPocoMapper
Implements
IMapper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Data.PetaPoco
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
Type Name Description
PropertyInfo pocoProperty
Returns
Type Description
ColumnInfo

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<object, object>

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
Type Name Description
PropertyInfo sourceProperty
Returns
Type Description
Func<object, object>

SetMapper<T>(IMapper)

Declaration
public static void SetMapper<T>(IMapper mapper)
Parameters
Type Name Description
IMapper mapper
Type Parameters
Name Description
T

Implements

PetaPoco.IMapper

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS