Search Results for

    Show / Hide Table of Contents

    Enum BulkCopyType

    Bulk copy implementation type. For more details on support level by provider see this article.

    Namespace: LinqToDB.Data
    Assembly: linq2db.dll
    Syntax
    public enum BulkCopyType : int

    Fields

    Name Description
    Default

    LINQ To DB will select copy method based on current provider. Default method usually set at [PROVIDER_NAME_HERE]Tools.DefaultBulkCopyType.

    MultipleRows

    Data will be inserted into table as a batch insert using INSERT FROM SELECT or similar code. If method not supported, it will be downgraded to RowByRow method.

    ProviderSpecific

    Data will be inserted using native bulk copy functionality if supported. If method not supported, it will be downgraded to RowByRow method.

    RowByRow

    Data will be inserted into table as a sequence of selects, row by row.

    Extension Methods

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

    Generated by DocFX