Enterprise Library Data Access Application Block
7.0-rc1
The Data Access Application Block abstracts the actual database you are using, and exposes a collection of methods that make it easy to access that database and to perform common tasks.
|
A fluent interface that can be used to construct a IRowMapper<TResult>. More...
Public Member Functions | |
IMapBuilderContext< TResult > | ToColumn (string columnName) |
Maps the current property to a column with the given name. More... | |
IMapBuilderContext< TResult > | WithFunc (Func< IDataRecord, TMember > f) |
Maps the current property to a user specified function. More... | |
A fluent interface that can be used to construct a IRowMapper<TResult>.
TResult | The type for which a IRowMapper<TResult> should be build. |
TMember | The type of the member for which a mapping needs to specified. |
IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContextMap< TResult, TMember >.ToColumn | ( | string | columnName | ) |
Maps the current property to a column with the given name.
columnName | The name of the column the current property should be mapped to. |
IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContextMap< TResult, TMember >.WithFunc | ( | Func< IDataRecord, TMember > | f | ) |
Maps the current property to a user specified function.
f | The user specified function that will map the current property. |