Class MultipleRowsHelper
- Namespace
- LinqToDB.DataProvider
- Assembly
- linq2db.dll
public abstract class MultipleRowsHelper
- Inheritance
-
MultipleRowsHelper
- Derived
-
- Extension Methods
-
Constructors
MultipleRowsHelper(IDataContext, DataOptions, Type)
protected MultipleRowsHelper(IDataContext dataConnection, DataOptions options, Type entityType)
Parameters
dataConnection
IDataContext
options
DataOptions
entityType
Type
Fields
BatchSize
Field Value
- int
ColumnTypes
public readonly SqlDataType[] ColumnTypes
Field Value
- SqlDataType[]
Columns
public readonly ColumnDescriptor[] Columns
Field Value
- ColumnDescriptor[]
CurrentCount
Field Value
- int
DataConnection
public readonly DataConnection DataConnection
Field Value
- DataConnection
Descriptor
public readonly EntityDescriptor Descriptor
Field Value
- EntityDescriptor
Field Value
- int
LastRowParameterIndex
public int LastRowParameterIndex
Field Value
- int
LastRowStringIndex
public int LastRowStringIndex
Field Value
- int
MappingSchema
public readonly MappingSchema MappingSchema
Field Value
- MappingSchema
Options
public readonly DataOptions Options
Field Value
- DataOptions
OriginalContext
public readonly IDataContext OriginalContext
Field Value
- IDataContext
ParameterIndex
public int ParameterIndex
Field Value
- int
ParameterName
public readonly string ParameterName
Field Value
- string
Parameters
public readonly List<DataParameter> Parameters
Field Value
- List<DataParameter>
RowsCopied
public readonly BulkCopyRowsCopied RowsCopied
Field Value
- BulkCopyRowsCopied
SqlBuilder
public readonly ISqlBuilder SqlBuilder
Field Value
- ISqlBuilder
StringBuilder
public readonly StringBuilder StringBuilder
Field Value
- StringBuilder
TableName
Field Value
- string
Properties
SuppressCloseAfterUse
public bool SuppressCloseAfterUse { get; set; }
Property Value
- bool
Methods
BuildColumns(object, Func<ColumnDescriptor, bool>?, bool, bool, bool, Func<ColumnDescriptor, bool>?)
public virtual void BuildColumns(object item, Func<ColumnDescriptor, bool>? skipConvert = null, bool castParameters = false, bool castAllRows = false, bool castFirstRowLiteralOnUnionAll = false, Func<ColumnDescriptor, bool>? castLiteral = null)
Parameters
item
object
skipConvert
Func<ColumnDescriptor, bool>
castParameters
bool
castAllRows
bool
castFirstRowLiteralOnUnionAll
bool
castLiteral
Func<ColumnDescriptor, bool>
Execute()
Returns
- bool
ExecuteAsync(CancellationToken)
public Task<bool> ExecuteAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- Task<bool>