Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    TypeSchemaCopyPolicy
    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

    true if the type is supported; otherwise, false.

    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

    true if the type is unsupported and should raise an error; otherwise, false.

    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

    true if the type is unsupported and should be ignored; otherwise, false.

    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 TypeSchemaCopyPolicy if found, otherwise null.

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    See Also

    TypeSchemaNode
    TypeSchemaCopyOption
    SchemaNodeCategory
    TypeRowSchema
    In This Article
    Back to top Copyright © 2023 Envobi Ltd