# Class NpgsqlLoggerExtensions

Namespace
  Npgsql.EntityFrameworkCore.PostgreSQL.Internal

Assembly
  Npgsql.EntityFrameworkCore.PostgreSQL.dll

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 class NpgsqlLoggerExtensions

Inheritance
  object
  NpgsqlLoggerExtensions

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Methods

### CollationFound(IDiagnosticsLogger<Scaffolding>, string, string, string, string, string?, bool)

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 void CollationFound(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string schema, string collationName, string lcCollate, string lcCtype, string? provider, bool deterministic)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`schema` string
`collationName` string
`lcCollate` string
`lcCtype` string
`provider` string
`deterministic` bool

### ColumnFound(IDiagnosticsLogger<Scaffolding>, string, string, string, bool, bool, 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 void ColumnFound(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string tableName, string columnName, string dataTypeName, bool nullable, bool identity, string? defaultValue, string? computedValue)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`tableName` string
`columnName` string
`dataTypeName` string
`nullable` bool
`identity` bool
`defaultValue` string
`computedValue` string

### EnumColumnSkippedWarning(IDiagnosticsLogger<Scaffolding>, 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 void EnumColumnSkippedWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string columnName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`columnName` string

### ExpressionIndexSkippedWarning(IDiagnosticsLogger<Scaffolding>, 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 void ExpressionIndexSkippedWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string indexName, string tableName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`indexName` string
`tableName` string

### ForeignKeyReferencesMissingPrincipalTableWarning(IDiagnosticsLogger<Scaffolding>, 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 void ForeignKeyReferencesMissingPrincipalTableWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string? foreignKeyName, string? tableName, string? principalTableName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`foreignKeyName` string
`tableName` string
`principalTableName` string

### MissingSchemaWarning(IDiagnosticsLogger<Scaffolding>, 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 void MissingSchemaWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string? schemaName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`schemaName` string

### MissingTableWarning(IDiagnosticsLogger<Scaffolding>, 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 void MissingTableWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string? tableName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`tableName` string

### UniqueConstraintFound(IDiagnosticsLogger<Scaffolding>, 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 void UniqueConstraintFound(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string? uniqueConstraintName, string tableName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`uniqueConstraintName` string
`tableName` string

### UnsupportedColumnConstraintSkippedWarning(IDiagnosticsLogger<Scaffolding>, 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 void UnsupportedColumnConstraintSkippedWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string? indexName, string tableName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`indexName` string
`tableName` string

### UnsupportedColumnIndexSkippedWarning(IDiagnosticsLogger<Scaffolding>, 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 void UnsupportedColumnIndexSkippedWarning(this IDiagnosticsLogger<DbLoggerCategory.Scaffolding> diagnostics, string indexName, string tableName)

#### Parameters

`diagnostics` IDiagnosticsLogger<DbLoggerCategory.Scaffolding>
`indexName` string
`tableName` string