Class NpgsqlCreateDatabaseOperation
A PostgreSQL-specific
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 SourceName
The name of the database.
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
See Database migrations.
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.
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.