CustomPropertyTypeMap Constructor |
Creates custom property mapping
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public CustomPropertyTypeMap(
Type type,
Func<Type, string, PropertyInfo> propertySelector
)
Public Sub New (
type As Type,
propertySelector As Func(Of Type, String, PropertyInfo)
)
public:
CustomPropertyTypeMap(
Type^ type,
Func<Type^, String^, PropertyInfo^>^ propertySelector
)
new :
type : Type *
propertySelector : Func<Type, string, PropertyInfo> -> CustomPropertyTypeMap
Parameters
- type
- Type: SystemType
Target entity type - propertySelector
- Type: SystemFuncType, String, PropertyInfo
Property selector based on target type and DataReader column name
See Also