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.
Microsoft.Practices.EnterpriseLibrary.Data.MapBuilder< TResult > Class Template Reference

Static entry point for the IMapBuilderContext<TResult> interface, which allows to build reflection-based IRowMapper<TResult>s. More...

Static Public Member Functions

static IRowMapper< TResult > BuildAllProperties ()
 Returns a IRowMapper<TResult> that maps all properties for TResult based on name. More...
 
static IMapBuilderContext< TResult > MapAllProperties ()
 Returns a IMapBuilderContext<TResult> that can be used to build a IRowMapper<TResult>. The IMapBuilderContext<TResult> has a mapping set up for all properties of TResult based on name. More...
 
static IMapBuilderContext< TResult > MapNoProperties ()
 Returns a IMapBuilderContext<TResult> that can be used to build a IRowMapper<TResult>. The IMapBuilderContext<TResult> has no mappings to start out with. More...
 

Detailed Description

Static entry point for the IMapBuilderContext<TResult> interface, which allows to build reflection-based IRowMapper<TResult>s.

Template Parameters
TResultThe type for which a IRowMapper<TResult> should be build.
See also
IMapBuilderContext<TResult>, IRowMapper<TResult>
Type Constraints
TResult :new() 

Member Function Documentation

◆ BuildAllProperties()

static IRowMapper<TResult> Microsoft.Practices.EnterpriseLibrary.Data.MapBuilder< TResult >.BuildAllProperties ( )
static

Returns a IRowMapper<TResult> that maps all properties for TResult based on name.

Returns
A new instance of IRowMapper<TResult>.

◆ MapAllProperties()

static IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.MapBuilder< TResult >.MapAllProperties ( )
static

Returns a IMapBuilderContext<TResult> that can be used to build a IRowMapper<TResult>. The IMapBuilderContext<TResult> has a mapping set up for all properties of TResult based on name.

See also
IMapBuilderContext<TResult>, IRowMapper<TResult>
Returns
A new instance of IMapBuilderContext<TResult>.

◆ MapNoProperties()

static IMapBuilderContext<TResult> Microsoft.Practices.EnterpriseLibrary.Data.MapBuilder< TResult >.MapNoProperties ( )
static

Returns a IMapBuilderContext<TResult> that can be used to build a IRowMapper<TResult>. The IMapBuilderContext<TResult> has no mappings to start out with.

See also
IMapBuilderContext<TResult>, IRowMapper<TResult>
Returns
A new instance of IMapBuilderContext<TResult>.

The documentation for this class was generated from the following file: