C# Class FdoToolbox.Core.ETL.BaseDefinitionLoader

Task definition loader base class
Exibir arquivo Open project: jumpinjackie/fdotoolbox

Public Methods

Method Description
BulkCopyFromXml ( FdoBulkCopyTaskDefinition def, string &name, bool owner ) : FdoBulkCopyOptions

Loads bulk copy options from deserialized xml

BulkCopyFromXml ( string file, string &name, bool owner ) : FdoBulkCopyOptions

Loads bulk copy options from xml

JoinFromXml ( string file, string &name, bool owner ) : FdoJoinOptions

Loads join options from xml

ToXml ( FdoJoinOptions opts, string name, string file ) : void

Saves the join options to xml

Protected Methods

Method Description
BaseDefinitionLoader ( ) : System

Initializes a new instance of the BaseDefinitionLoader class.

CreateConnection ( string provider, string connStr, string configPath, string &name ) : FdoConnection

Creates the connection.

Prepare ( FdoBulkCopyTaskDefinition def ) : NameValueCollection

Prepares the specified bulk copy definition (freshly deserialized) before the loading process begins

Private Methods

Method Description
GetSourceSchemaForMapping ( FdoBulkCopyTaskDefinition def, string targetSchema, string classNames ) : string
JoinFromXml ( FdoJoinTaskDefinition def, string &name, bool owner ) : FdoJoinOptions

Loads join options from xml

Method Details

BaseDefinitionLoader() protected method

Initializes a new instance of the BaseDefinitionLoader class.
protected BaseDefinitionLoader ( ) : System
return System

BulkCopyFromXml() public method

Loads bulk copy options from deserialized xml
public BulkCopyFromXml ( FdoBulkCopyTaskDefinition def, string &name, bool owner ) : FdoBulkCopyOptions
def FdoToolbox.Core.Configuration.FdoBulkCopyTaskDefinition The deserialized definition.
name string The name.
owner bool if set to true [owner].
return FdoToolbox.Core.ETL.Specialized.FdoBulkCopyOptions

BulkCopyFromXml() public method

Loads bulk copy options from xml
public BulkCopyFromXml ( string file, string &name, bool owner ) : FdoBulkCopyOptions
file string The file.
name string The name.
owner bool if set to true [owner].
return FdoToolbox.Core.ETL.Specialized.FdoBulkCopyOptions

CreateConnection() protected abstract method

Creates the connection.
protected abstract CreateConnection ( string provider, string connStr, string configPath, string &name ) : FdoConnection
provider string The provider.
connStr string The connection string.
configPath string The configuration path
name string The name that will be assigned to the connection.
return FdoToolbox.Core.Feature.FdoConnection

JoinFromXml() public method

Loads join options from xml
public JoinFromXml ( string file, string &name, bool owner ) : FdoJoinOptions
file string The file.
name string The name.
owner bool if set to true [owner].
return FdoToolbox.Core.ETL.Specialized.FdoJoinOptions

Prepare() protected abstract method

Prepares the specified bulk copy definition (freshly deserialized) before the loading process begins
protected abstract Prepare ( FdoBulkCopyTaskDefinition def ) : NameValueCollection
def FdoToolbox.Core.Configuration.FdoBulkCopyTaskDefinition The bulk copy definition.
return System.Collections.Specialized.NameValueCollection

ToXml() public method

Saves the join options to xml
public ToXml ( FdoJoinOptions opts, string name, string file ) : void
opts FdoToolbox.Core.ETL.Specialized.FdoJoinOptions The opts.
name string The name.
file string The file.
return void