Search Results for

    Show / Hide Table of Contents

    Class NpgsqlCopyTextWriter

    Writer for a text import, initiated by BeginTextImport(string).

    Inheritance
    object
    NpgsqlCopyTextWriter
    Implements
    IDisposable
    IAsyncDisposable
    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlCopyTextWriter : StreamWriter, IDisposable, IAsyncDisposable
    Remarks

    See https://www.postgresql.org/docs/current/static/sql-copy.html.

    Methods

    | Improve this Doc View Source

    Cancel()

    Cancels and terminates an ongoing import. Any data already written will be discarded.

    Declaration
    public void Cancel()
    Remarks

    See https://www.postgresql.org/docs/current/static/sql-copy.html.

    | Improve this Doc View Source

    CancelAsync()

    Cancels and terminates an ongoing import. Any data already written will be discarded.

    Declaration
    public Task CancelAsync()
    Returns
    Type Description
    Task
    Remarks

    See https://www.postgresql.org/docs/current/static/sql-copy.html.

    Implements

    IDisposable
    IAsyncDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team