FuncMapping Constructor
Creates a new instance of FuncMapping
Namespace: Microsoft.Practices.EnterpriseLibrary.Data
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public FuncMapping(
PropertyInfo property,
Func<IDataRecord, Object> func
)
'Declaration
Public Sub New (
property As PropertyInfo,
func As Func(Of IDataRecord, Object)
)
public:
FuncMapping(
PropertyInfo^ property,
Func<IDataRecord^, Object^>^ func
)
Parameters
- property
Type: System.Reflection.PropertyInfo
The property that will be used to map to.
- func
Type: System.Func<IDataRecord, Object>
The func that will be used to map the property.