Search Results for

    Show / Hide Table of Contents

    Class NpgsqlCreateDatabaseOperation

    A PostgreSQL-specific to create a database.

    Inheritance
    object
    NpgsqlCreateDatabaseOperation
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlCreateDatabaseOperation : DatabaseOperation
    Remarks

    See Database migrations.

    Properties

    | Improve this Doc View Source

    Name

    The name of the database.

    Declaration
    public virtual string Name { get; set; }
    Property Value
    Type Description
    string
    Remarks

    See Database migrations.

    | Improve this Doc View Source

    Tablespace

    The PostgreSQL tablespace in which to create the database.

    Declaration
    public virtual string? Tablespace { get; set; }
    Property Value
    Type Description
    string?
    Remarks

    See Database migrations.

    | Improve this Doc View Source

    Template

    The PostgreSQL database to use as a template for the new database to be created.

    Declaration
    public virtual string? Template { get; set; }
    Property Value
    Type Description
    string?
    Remarks

    See Database migrations.

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