Search Results for

    Show / Hide Table of Contents

    Class BasicBulkCopy

    Inheritance
    System.Object
    BasicBulkCopy
    Namespace: LinqToDB.DataProvider
    Assembly: linq2db.dll
    Syntax
    public class BasicBulkCopy : object

    Properties

    | Improve this Doc View Source

    CastAllRowsParametersOnUnionAll

    Declaration
    protected virtual bool CastAllRowsParametersOnUnionAll { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CastFirstRowLiteralOnUnionAll

    Declaration
    protected virtual bool CastFirstRowLiteralOnUnionAll { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CastFirstRowParametersOnUnionAll

    Declaration
    protected virtual bool CastFirstRowParametersOnUnionAll { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MaxParameters

    Declaration
    protected virtual int MaxParameters { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    MaxSqlLength

    Declaration
    protected virtual int MaxSqlLength { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    BulkCopy<T>(BulkCopyType, ITable<T>, BulkCopyOptions, IEnumerable<T>)

    Declaration
    public virtual BulkCopyRowsCopied BulkCopy<T>(BulkCopyType bulkCopyType, ITable<T> table, BulkCopyOptions options, IEnumerable<T> source)
    Parameters
    Type Name Description
    BulkCopyType bulkCopyType
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    Returns
    Type Description
    BulkCopyRowsCopied
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    BulkCopyAsync<T>(BulkCopyType, ITable<T>, BulkCopyOptions, IEnumerable<T>, CancellationToken)

    Declaration
    public virtual Task<BulkCopyRowsCopied> BulkCopyAsync<T>(BulkCopyType bulkCopyType, ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    BulkCopyType bulkCopyType
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    CastLiteral(ColumnDescriptor)

    Declaration
    protected virtual bool CastLiteral(ColumnDescriptor column)
    Parameters
    Type Name Description
    ColumnDescriptor column
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetTableName<T>(ISqlBuilder, BulkCopyOptions, ITable<T>, Boolean)

    Declaration
    protected static string GetTableName<T>(ISqlBuilder sqlBuilder, BulkCopyOptions options, ITable<T> table, bool escaped = true)
    Parameters
    Type Name Description
    ISqlBuilder sqlBuilder
    BulkCopyOptions options
    ITable<T> table
    System.Boolean escaped
    Returns
    Type Description
    System.String
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopy<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>)

    Declaration
    protected virtual BulkCopyRowsCopied MultipleRowsCopy<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    Returns
    Type Description
    BulkCopyRowsCopied
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopy1(MultipleRowsHelper, IEnumerable)

    Declaration
    protected BulkCopyRowsCopied MultipleRowsCopy1(MultipleRowsHelper helper, IEnumerable source)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    IEnumerable source
    Returns
    Type Description
    BulkCopyRowsCopied
    | Improve this Doc View Source

    MultipleRowsCopy1<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>)

    Declaration
    protected BulkCopyRowsCopied MultipleRowsCopy1<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    Returns
    Type Description
    BulkCopyRowsCopied
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopy1Async(MultipleRowsHelper, IEnumerable, CancellationToken)

    Declaration
    protected Task<BulkCopyRowsCopied> MultipleRowsCopy1Async(MultipleRowsHelper helper, IEnumerable source, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    IEnumerable source
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    | Improve this Doc View Source

    MultipleRowsCopy1Async<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>, CancellationToken)

    Declaration
    protected Task<BulkCopyRowsCopied> MultipleRowsCopy1Async<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopy2(MultipleRowsHelper, IEnumerable, String)

    Declaration
    protected BulkCopyRowsCopied MultipleRowsCopy2(MultipleRowsHelper helper, IEnumerable source, string from)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    IEnumerable source
    System.String from
    Returns
    Type Description
    BulkCopyRowsCopied
    | Improve this Doc View Source

    MultipleRowsCopy2<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>, String)

    Declaration
    protected BulkCopyRowsCopied MultipleRowsCopy2<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, string from)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    System.String from
    Returns
    Type Description
    BulkCopyRowsCopied
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopy2Async(MultipleRowsHelper, IEnumerable, String, CancellationToken)

    Declaration
    protected Task<BulkCopyRowsCopied> MultipleRowsCopy2Async(MultipleRowsHelper helper, IEnumerable source, string from, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    IEnumerable source
    System.String from
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    | Improve this Doc View Source

    MultipleRowsCopy2Async<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>, String, CancellationToken)

    Declaration
    protected Task<BulkCopyRowsCopied> MultipleRowsCopy2Async<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, string from, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    System.String from
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopy3(MultipleRowsHelper, BulkCopyOptions, IEnumerable, String)

    Declaration
    protected BulkCopyRowsCopied MultipleRowsCopy3(MultipleRowsHelper helper, BulkCopyOptions options, IEnumerable source, string from)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    BulkCopyOptions options
    IEnumerable source
    System.String from
    Returns
    Type Description
    BulkCopyRowsCopied
    | Improve this Doc View Source

    MultipleRowsCopy3Async(MultipleRowsHelper, BulkCopyOptions, IEnumerable, String, CancellationToken)

    Declaration
    protected Task<BulkCopyRowsCopied> MultipleRowsCopy3Async(MultipleRowsHelper helper, BulkCopyOptions options, IEnumerable source, string from, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    BulkCopyOptions options
    IEnumerable source
    System.String from
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    | Improve this Doc View Source

    MultipleRowsCopyAsync<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>, CancellationToken)

    Declaration
    protected virtual Task<BulkCopyRowsCopied> MultipleRowsCopyAsync<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MultipleRowsCopyHelper(MultipleRowsHelper, IEnumerable, Nullable<String>, Action<MultipleRowsHelper>, Action<MultipleRowsHelper, Object, Nullable<String>>, Action<MultipleRowsHelper>, Int32, Int32)

    Declaration
    protected static BulkCopyRowsCopied MultipleRowsCopyHelper(MultipleRowsHelper helper, IEnumerable source, string? from, Action<MultipleRowsHelper> prepFunction, Action<MultipleRowsHelper, object, string?> addFunction, Action<MultipleRowsHelper> finishFunction, int maxParameters, int maxSqlLength)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    IEnumerable source
    System.Nullable<System.String> from
    Action<MultipleRowsHelper> prepFunction
    Action<MultipleRowsHelper, System.Object, System.Nullable<System.String>> addFunction
    Action<MultipleRowsHelper> finishFunction
    System.Int32 maxParameters
    System.Int32 maxSqlLength
    Returns
    Type Description
    BulkCopyRowsCopied
    | Improve this Doc View Source

    MultipleRowsCopyHelperAsync(MultipleRowsHelper, IEnumerable, Nullable<String>, Action<MultipleRowsHelper>, Action<MultipleRowsHelper, Object, Nullable<String>>, Action<MultipleRowsHelper>, CancellationToken, Int32, Int32)

    Declaration
    protected static async Task<BulkCopyRowsCopied> MultipleRowsCopyHelperAsync(MultipleRowsHelper helper, IEnumerable source, string? from, Action<MultipleRowsHelper> prepFunction, Action<MultipleRowsHelper, object, string?> addFunction, Action<MultipleRowsHelper> finishFunction, CancellationToken cancellationToken, int maxParameters, int maxSqlLength)
    Parameters
    Type Name Description
    MultipleRowsHelper helper
    IEnumerable source
    System.Nullable<System.String> from
    Action<MultipleRowsHelper> prepFunction
    Action<MultipleRowsHelper, System.Object, System.Nullable<System.String>> addFunction
    Action<MultipleRowsHelper> finishFunction
    CancellationToken cancellationToken
    System.Int32 maxParameters
    System.Int32 maxSqlLength
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    | Improve this Doc View Source

    ProviderSpecificCopy<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>)

    Declaration
    protected virtual BulkCopyRowsCopied ProviderSpecificCopy<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    Returns
    Type Description
    BulkCopyRowsCopied
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ProviderSpecificCopyAsync<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>, CancellationToken)

    Declaration
    protected virtual Task<BulkCopyRowsCopied> ProviderSpecificCopyAsync<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    RowByRowCopy<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>)

    Declaration
    protected virtual BulkCopyRowsCopied RowByRowCopy<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    Returns
    Type Description
    BulkCopyRowsCopied
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    RowByRowCopyAsync<T>(ITable<T>, BulkCopyOptions, IEnumerable<T>, CancellationToken)

    Declaration
    protected virtual async Task<BulkCopyRowsCopied> RowByRowCopyAsync<T>(ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ITable<T> table
    BulkCopyOptions options
    IEnumerable<T> source
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<BulkCopyRowsCopied>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    TraceAction(DataConnection, Func<String>, Func<Int32>)

    Declaration
    protected void TraceAction(DataConnection dataConnection, Func<string> commandText, Func<int> action)
    Parameters
    Type Name Description
    DataConnection dataConnection
    Func<System.String> commandText
    Func<System.Int32> action
    | Improve this Doc View Source

    TraceActionAsync(DataConnection, Func<String>, Func<Task<Int32>>)

    Declaration
    protected async Task TraceActionAsync(DataConnection dataConnection, Func<string> commandText, Func<Task<int>> action)
    Parameters
    Type Name Description
    DataConnection dataConnection
    Func<System.String> commandText
    Func<Task<System.Int32>> action
    Returns
    Type Description
    Task

    Extension Methods

    Map.DeepCopy<T>(T)
    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.In<T>(T, T[])
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T[])
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, T, T, T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2022 linq2db.com

    Generated by DocFX