Table of Contents

Class NpgsqlProviderAdapter.NpgsqlBinaryImporter

Namespace
LinqToDB.DataProvider.PostgreSQL
Assembly
linq2db.dll
[Wrapper]
public class NpgsqlProviderAdapter.NpgsqlBinaryImporter : TypeWrapper
Inheritance
NpgsqlProviderAdapter.NpgsqlBinaryImporter
Inherited Members
Extension Methods

Constructors

NpgsqlBinaryImporter(object, Delegate[])

public NpgsqlBinaryImporter(object instance, Delegate[] wrappers)

Parameters

instance object
wrappers Delegate[]

Properties

HasComplete

public bool HasComplete { get; }

Property Value

bool

HasComplete5

public bool HasComplete5 { get; }

Property Value

bool

SupportsAsync

public bool SupportsAsync { get; }

Property Value

bool

Methods

Cancel()

Npgsql 3.x provides Cancel method. Npgsql 4.x uses Complete method. https://github.com/npgsql/npgsql/issues/1646.

public void Cancel()

Complete()

public void Complete()

Complete5()

[CLSCompliant(false)]
[TypeWrapperName("Complete")]
public ulong Complete5()

Returns

ulong

CompleteAsync(CancellationToken)

public Task<ulong> CompleteAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<ulong>

Dispose()

public void Dispose()

DisposeAsync()

public Task DisposeAsync()

Returns

Task

StartRow()

public void StartRow()

StartRowAsync(CancellationToken)

public Task StartRowAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

WriteAsync<T>(T, NpgsqlDbType, CancellationToken)

public Task WriteAsync<T>(T value, NpgsqlProviderAdapter.NpgsqlDbType npgsqlDbType, CancellationToken cancellationToken)

Parameters

value T
npgsqlDbType NpgsqlProviderAdapter.NpgsqlDbType
cancellationToken CancellationToken

Returns

Task

Type Parameters

T

WriteAsync<T>(T, string, CancellationToken)

public Task WriteAsync<T>(T value, string dataTypeName, CancellationToken cancellationToken)

Parameters

value T
dataTypeName string
cancellationToken CancellationToken

Returns

Task

Type Parameters

T

Write<T>(T, NpgsqlDbType)

public void Write<T>(T value, NpgsqlProviderAdapter.NpgsqlDbType npgsqlDbType)

Parameters

value T
npgsqlDbType NpgsqlProviderAdapter.NpgsqlDbType

Type Parameters

T

Write<T>(T, string)

public void Write<T>(T value, string dataTypeName)

Parameters

value T
dataTypeName string

Type Parameters

T