C# Class Deeply.AdventureWorks.Loader.Workflow.ProductLoader

ProductLoader class definition.
Inheritance: IDisposable
Show file Open project: jsnape/deeply Class Usage Examples

Public Methods

Method Description
Build ( ) : ITask

Builds a task used to load the product dimension.

Dispose ( ) : void

Called to release any resources held by this instance.

ProductLoader ( IDbConnectionFactory targetFactory ) : System

Initializes a new instance of the ProductLoader class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Called to release any resources held by this instance.

Private Methods

Method Description
BuildProductCategoryTask ( ) : ITask

Builds the product category loader tasks.

BuildProductSubcategoryTask ( ) : ITask

Builds the product subcategory loader tasks.

BuildProductTask ( ) : ITask

Builds the product loader tasks.

LoadKeyCache ( string query, string surrogateKeyName, string businessKeyColumn ) : int>.Dictionary
PrimeProductCategoryKeyMapper ( ) : void

Loads the set of product categories from the database for surrogate key mapping.

PrimeProductSubcategoryKeyMapper ( ) : void

Loads the set of product subcategories from the database for surrogate key mapping.

Method Details

Build() public method

Builds a task used to load the product dimension.
public Build ( ) : ITask
return ITask

Dispose() public method

Called to release any resources held by this instance.
public Dispose ( ) : void
return void

Dispose() protected method

Called to release any resources held by this instance.
protected Dispose ( bool disposing ) : void
disposing bool Set to true when disposing, false when finalizing.
return void

ProductLoader() public method

Initializes a new instance of the ProductLoader class.
public ProductLoader ( IDbConnectionFactory targetFactory ) : System
targetFactory IDbConnectionFactory Target connection factory.
return System