C# Класс FdoToolbox.Core.ETL.BaseDefinitionLoader

Task definition loader base class
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
GetSourceSchemaForMapping ( FdoBulkCopyTaskDefinition def, string targetSchema, string classNames ) : string
JoinFromXml ( FdoJoinTaskDefinition def, string &name, bool owner ) : FdoJoinOptions

Loads join options from xml

Описание методов

BaseDefinitionLoader() защищенный Метод

Initializes a new instance of the BaseDefinitionLoader class.
protected BaseDefinitionLoader ( ) : System
Результат System

BulkCopyFromXml() публичный Метод

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].
Результат FdoToolbox.Core.ETL.Specialized.FdoBulkCopyOptions

BulkCopyFromXml() публичный Метод

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].
Результат FdoToolbox.Core.ETL.Specialized.FdoBulkCopyOptions

CreateConnection() защищенный абстрактный Метод

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.
Результат FdoToolbox.Core.Feature.FdoConnection

JoinFromXml() публичный Метод

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].
Результат FdoToolbox.Core.ETL.Specialized.FdoJoinOptions

Prepare() защищенный абстрактный Метод

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.
Результат System.Collections.Specialized.NameValueCollection

ToXml() публичный Метод

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.
Результат void