# Class PostgresCollation

Namespace
  Npgsql.EntityFrameworkCore.PostgreSQL.Metadata

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

Inheritance
  object
  PostgresCollation

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

## Properties

### Annotatable

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 virtual Annotatable Annotatable { get; }

#### Property Value

Annotatable

### IsDeterministic

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 virtual bool? IsDeterministic { get; set; }

#### Property Value

bool?

### LcCollate

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 virtual string LcCollate { get; set; }

#### Property Value

string

### LcCtype

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 virtual string LcCtype { get; set; }

#### Property Value

string

### Name

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 virtual string Name { get; }

#### Property Value

string

### Provider

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 virtual string? Provider { get; set; }

#### Property Value

string

### Schema

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 virtual string? Schema { get; }

#### Property Value

string

## Methods

### FindCollation(IReadOnlyAnnotatable, 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 PostgresCollation? FindCollation(IReadOnlyAnnotatable annotatable, string? schema, string name)

#### Parameters

`annotatable` IReadOnlyAnnotatable
`schema` string
`name` string

#### Returns

PostgresCollation

### GetCollations(IReadOnlyAnnotatable)

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 IEnumerable<PostgresCollation> GetCollations(IReadOnlyAnnotatable annotatable)

#### Parameters

`annotatable` IReadOnlyAnnotatable

#### Returns

IEnumerable<PostgresCollation>

### GetOrAddCollation(IMutableAnnotatable, 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 PostgresCollation GetOrAddCollation(IMutableAnnotatable annotatable, string? schema, string name, string lcCollate, string lcCtype, string? provider = null, bool? deterministic = null)

#### Parameters

`annotatable` IMutableAnnotatable
`schema` string
`name` string
`lcCollate` string
`lcCtype` string
`provider` string
`deterministic` bool?

#### Returns

PostgresCollation