Search Results for

    Show / Hide Table of Contents

    Interface IAdbTypeService

    Gets and sets types and values on database parameters for an AdbProvider.

    Namespace: actionETL.Adb
    Assembly: actionETL.dll
    Syntax
    public interface IAdbTypeService

    Methods

    GetProviderType(DbParameter)

    Gets the provider-specific parameter type enumeration value.

    Declaration
    object GetProviderType(DbParameter dbParameter)
    Parameters
    Type Name Description
    DbParameter dbParameter

    The database parameter, which must be of the correct provider-specific type.

    Returns
    Type Description
    Object

    Provider-specific parameter type enumeration value, as an object.

    Exceptions
    Type Condition
    ArgumentException

    dbParameter is not of the correct provider type.

    ArgumentNullException

    dbParameter

    GetProviderValue(DbParameter)

    Gets the provider-specific parameter value.

    Declaration
    object GetProviderValue(DbParameter dbParameter)
    Parameters
    Type Name Description
    DbParameter dbParameter

    The database parameter, which must be of the correct provider-specific type.

    Returns
    Type Description
    Object

    Provider-specific parameter value, as an object.

    Exceptions
    Type Condition
    ArgumentException

    dbParameter is not of the correct provider type.

    ArgumentNullException

    dbParameter

    SetProviderType(DbParameter, Object)

    Sets the provider-specific parameter type enumeration value.

    Declaration
    void SetProviderType(DbParameter dbParameter, object providerTypeEnum)
    Parameters
    Type Name Description
    DbParameter dbParameter

    The database parameter, which must be of the correct provider-specific type.

    Object providerTypeEnum

    Parameter type enumeration value, as an object.

    Exceptions
    Type Condition
    ArgumentException
    • dbParameter is not of the correct provider type.
    • providerTypeEnum is not of the correct provider type.
    ArgumentNullException

    dbParameter

    SetProviderValue(DbParameter, Object)

    Sets the provider-specific parameter type value.

    Declaration
    void SetProviderValue(DbParameter dbParameter, object value)
    Parameters
    Type Name Description
    DbParameter dbParameter

    The database parameter, which must be of the correct provider-specific type.

    Object value

    Parameter value, as an object.

    Exceptions
    Type Condition
    ArgumentException

    dbParameter is not of the correct provider type.

    ArgumentNullException

    dbParameter

    In This Article
    Back to top Copyright © 2023 Envobi Ltd