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 > | MapByName (PropertyInfo property) |
Adds a property mapping to the context for property that specifies this property will be mapped to a column with a matching name. More... | |
IMapBuilderContext< TResult > | MapByName< TMember > (Expression< Func< TResult, TMember >> propertySelector) |
Adds a property mapping to the context for propertySelector that specifies this property will be mapped to a column with a matching name. More... | |
IMapBuilderContext< TResult > | DoNotMap (PropertyInfo property) |
Adds a property mapping to the context for property that specifies this property will be ignored while mapping. More... | |
IMapBuilderContext< TResult > | DoNotMap< TMember > (Expression< Func< TResult, TMember >> propertySelector) |
Adds a property mapping to the context for propertySelector that specifies this property will be ignored while mapping. More... | |
IMapBuilderContextMap< TResult, TMember > | Map< TMember > (Expression< Func< TResult, TMember >> propertySelector) |
Adds a property mapping to the context for propertySelector . More... | |
IMapBuilderContextMap< TResult, object > | Map (PropertyInfo property) |
Adds a property mapping to the context for property . More... | |
IRowMapper< TResult > | Build () |
Builds the IRowMapper<TResult> that can be used to map data structures to clr types. More... | |
A fluent interface that can be used to construct a IRowMapper<TResult>.
TResult | The type for which a IRowMapper<TResult> should be build. |
IRowMapper<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.Build | ( | ) |
Builds the IRowMapper<TResult> that can be used to map data structures to clr types.
IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.DoNotMap | ( | PropertyInfo | property | ) |
Adds a property mapping to the context for property that specifies this property will be ignored while mapping.
property | The property of TResult that should be mapped. |
IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.DoNotMap< TMember > | ( | Expression< Func< TResult, TMember >> | propertySelector | ) |
Adds a property mapping to the context for propertySelector that specifies this property will be ignored while mapping.
propertySelector | A lambda function that returns the property that should be mapped. |
IMapBuilderContextMap<TResult, object> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.Map | ( | PropertyInfo | property | ) |
Adds a property mapping to the context for property .
property | The property of TResult that should be mapped. |
IMapBuilderContextMap<TResult, TMember> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.Map< TMember > | ( | Expression< Func< TResult, TMember >> | propertySelector | ) |
Adds a property mapping to the context for propertySelector .
propertySelector | A lambda function that returns the property that should be mapped. |
IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.MapByName | ( | PropertyInfo | property | ) |
Adds a property mapping to the context for property that specifies this property will be mapped to a column with a matching name.
property | The property of TResult that should be mapped. |
IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext< TResult >.MapByName< TMember > | ( | Expression< Func< TResult, TMember >> | propertySelector | ) |
Adds a property mapping to the context for propertySelector that specifies this property will be mapped to a column with a matching name.
propertySelector | A lambda function that returns the property that should be mapped. |