ColumnNameMapping Constructor
Creates a new instance of ColumnNameMapping
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 ColumnNameMapping(
PropertyInfo property,
string columnName
)
'Declaration
Public Sub New (
property As PropertyInfo,
columnName As String
)
public:
ColumnNameMapping(
PropertyInfo^ property,
String^ columnName
)
Parameters
- property
Type: System.Reflection.PropertyInfo
The property that will be used to map to.
- columnName
Type: System.String
The name of the column that will be used for mapping.