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
Properties
HasComplete
public bool HasComplete { get; }
Property Value
HasComplete5
public bool HasComplete5 { get; }
Property Value
SupportsAsync
public bool SupportsAsync { get; }
Property Value
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
CompleteAsync(CancellationToken)
public Task<ulong> CompleteAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
Dispose()
public void Dispose()
DisposeAsync()
public Task DisposeAsync()
Returns
StartRow()
public void StartRow()
StartRowAsync(CancellationToken)
public Task StartRowAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
WriteAsync<T>(T, NpgsqlDbType, CancellationToken)
public Task WriteAsync<T>(T value, NpgsqlProviderAdapter.NpgsqlDbType npgsqlDbType, CancellationToken cancellationToken)
Parameters
value
TnpgsqlDbType
NpgsqlProviderAdapter.NpgsqlDbTypecancellationToken
CancellationToken
Returns
Type Parameters
T
WriteAsync<T>(T, string, CancellationToken)
public Task WriteAsync<T>(T value, string dataTypeName, CancellationToken cancellationToken)
Parameters
value
TdataTypeName
stringcancellationToken
CancellationToken
Returns
Type Parameters
T
Write<T>(T, NpgsqlDbType)
public void Write<T>(T value, NpgsqlProviderAdapter.NpgsqlDbType npgsqlDbType)
Parameters
value
TnpgsqlDbType
NpgsqlProviderAdapter.NpgsqlDbType
Type Parameters
T
Write<T>(T, string)
public void Write<T>(T value, string dataTypeName)
Parameters
value
TdataTypeName
string
Type Parameters
T