Class TypeSchemaCopyPolicy
Information about a dataflow field or property type, e.g. if it is supported in dataflows and how to copy the field or property. Used by TypeSchemaNode.
Also see the Dataflow Column Mapping and Mapping and Copying examples, as well as IRowMapperCommand.
Note that instances of this class are immutable.
Namespace: actionETL
Assembly: actionETL.dll
Syntax
[Obsolete("Use the TypeDetail class instead.")]
public sealed class TypeSchemaCopyPolicy
Properties
CopyOption
Gets the copy option.
Declaration
[Obsolete("Use the TypeDetail class instead.")]
public TypeSchemaCopyOption CopyOption { get; }
Property Value
| Type | Description |
|---|---|
| TypeSchemaCopyOption |
DeepCopyExpressionCallback
Gets the callback that returns an expression that performs a deep copy of a field or property
(see DeepCopyExpressionCallback for details),
or null if CopyOption is not TypeSchemaCopyOption.SingleShallowThenDeep.
Declaration
[Obsolete("Use the TypeDetail class instead.")]
public DeepCopyExpressionCallback DeepCopyExpressionCallback { get; }
Property Value
| Type | Description |
|---|---|
| DeepCopyExpressionCallback |
IsCopySupported
Gets a value indicating whether the type this instance corresponds to is supported, i.e. the system knows how to copy it.
Declaration
[Obsolete("Use the TypeDetail class instead.")]
public bool IsCopySupported { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
IsFail
Gets a value indicating whether the type this instance corresponds to is unsupported and should raise an error.
Declaration
[Obsolete("Use the TypeDetail class instead.")]
public bool IsFail { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
IsIgnore
Gets a value indicating whether the type this instance corresponds to is unsupported and should be ignored.
Declaration
[Obsolete("Use the TypeDetail class instead.")]
public bool IsIgnore { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Methods
Find(String)
Finds a TypeSchemaCopyPolicy by type name.
Declaration
[Obsolete("Use the TypeDetail class instead.")]
public static TypeSchemaCopyPolicy Find(string typeName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | typeName | Name of the type, formatted as per DisplayName(Type). |
Returns
| Type | Description |
|---|---|
| TypeSchemaCopyPolicy | The |
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |