C# Класс FdoToolbox.Core.ETL.Specialized.FdoClassCopyOptions

Defines the options for a FdoClassToClassCopyProcess instance
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FromElement FdoClassCopyOptions
ToElement FdoToolbox.Core.Configuration.FdoCopyTaskElement

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

Метод Описание
AddDataConversionRule ( string name, FdoDataPropertyConversionRule rule ) : void

Adds a data conversion rule.

AddPropertyMapping ( string sourceProperty, string targetProperty ) : void

Adds a source to target property mapping.

AddSourceExpression ( string alias, string expression, string targetProp ) : void

Adds the source expression.

AddSourcePropertyToCheck ( string sourceProperty ) : void

Adds a source property to check if it needs to be created in the target class definition

FdoClassCopyOptions ( string sourceConnectionName, string targetConnectionName, string sourceSchema, string sourceClass, string targetSchema, string targetClass ) : System

Initializes a new instance of the FdoClassCopyOptions class.

GetDataConversionRule ( string name ) : FdoDataPropertyConversionRule

Gets the data conversion rule.

GetExpression ( string alias ) : string

Gets the expression.

GetTargetProperty ( string srcProp ) : string

Gets the target property.

GetTargetPropertyForAlias ( string alias ) : string

Gets the target property for alias.

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

Метод Описание
FromElement ( FdoCopyTaskElement el, FeatureSchemaCache cache, FdoConnection sourceConn, FdoConnection targetConn, TargetClassModificationItem &mod ) : FdoClassCopyOptions
ToElement ( ) : FdoCopyTaskElement

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

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

Adds a data conversion rule.
public AddDataConversionRule ( string name, FdoDataPropertyConversionRule rule ) : void
name string The name.
rule FdoDataPropertyConversionRule The rule.
Результат void

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

Adds a source to target property mapping.
public AddPropertyMapping ( string sourceProperty, string targetProperty ) : void
sourceProperty string
targetProperty string
Результат void

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

Adds the source expression.
public AddSourceExpression ( string alias, string expression, string targetProp ) : void
alias string The alias.
expression string The expression.
targetProp string The target property.
Результат void

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

Adds a source property to check if it needs to be created in the target class definition
public AddSourcePropertyToCheck ( string sourceProperty ) : void
sourceProperty string
Результат void

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

Initializes a new instance of the FdoClassCopyOptions class.
public FdoClassCopyOptions ( string sourceConnectionName, string targetConnectionName, string sourceSchema, string sourceClass, string targetSchema, string targetClass ) : System
sourceConnectionName string Name of the source connection.
targetConnectionName string Name of the target connection.
sourceSchema string The source schema.
sourceClass string The source class.
targetSchema string The target schema.
targetClass string The target class.
Результат System

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

Gets the data conversion rule.
public GetDataConversionRule ( string name ) : FdoDataPropertyConversionRule
name string The name.
Результат FdoDataPropertyConversionRule

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

Gets the expression.
public GetExpression ( string alias ) : string
alias string The alias.
Результат string

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

Gets the target property.
public GetTargetProperty ( string srcProp ) : string
srcProp string The source prop.
Результат string

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

Gets the target property for alias.
public GetTargetPropertyForAlias ( string alias ) : string
alias string The alias.
Результат string