Table of Contents

Class NpgsqlAlterDatabaseOperationExtensions

Namespace
Microsoft.EntityFrameworkCore
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

Extension methods for AlterDatabaseOperation for Npgsql-specific metadata.

public static class NpgsqlAlterDatabaseOperationExtensions
Inheritance
NpgsqlAlterDatabaseOperationExtensions
Inherited Members

Methods

GetOldPostgresCollations(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresCollation> GetOldPostgresCollations(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresCollation>

GetOldPostgresEnums(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresEnum> GetOldPostgresEnums(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresEnum>

GetOldPostgresExtensions(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresExtension> GetOldPostgresExtensions(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresExtension>

GetOldPostgresRanges(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresRange> GetOldPostgresRanges(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresRange>

GetOrAddPostgresExtension(AlterDatabaseOperation, string?, string, string?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static PostgresExtension GetOrAddPostgresExtension(this AlterDatabaseOperation operation, string? schema, string name, string? version)

Parameters

operation AlterDatabaseOperation
schema string
name string
version string

Returns

PostgresExtension

GetPostgresCollations(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresCollation> GetPostgresCollations(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresCollation>

GetPostgresEnums(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresEnum> GetPostgresEnums(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresEnum>

GetPostgresExtensions(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresExtension> GetPostgresExtensions(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresExtension>

GetPostgresRanges(AlterDatabaseOperation)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public static IReadOnlyList<PostgresRange> GetPostgresRanges(this AlterDatabaseOperation operation)

Parameters

operation AlterDatabaseOperation

Returns

IReadOnlyList<PostgresRange>