/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
test-logs
src/Npgsql/PostgresTypes/PostgresRangeType.cs
43 строки
1 KB
Nino Floris
Remove obsolete UTF-8 BOMs (#6542)
13 апр 2026, 17:13
Не верифицирован
13 апр 2026, 17:13
5225216
Код
Авторство
О чём код?
using Npgsql.Internal.Postgres; namespace Npgsql.PostgresTypes; /// <summary> /// Represents a PostgreSQL range data type. /// </summary> /// <remarks> /// See https://www.postgresql.org/docs/current/static/rangetypes.html. /// </remarks> public class PostgresRangeType : PostgresType { /// <summary> /// The PostgreSQL data type of the subtype of this range. /// </summary> public PostgresType Subtype { get; } /// <summary> /// The PostgreSQL data type of the multirange of this range. /// </summary> public PostgresMultirangeType? Multirange { get; internal set; } /// <summary> /// Constructs a representation of a PostgreSQL range data type. /// </summary> protected internal PostgresRangeType( string ns, string name, uint oid, PostgresType subtypePostgresType) : base(ns, name, oid) { Subtype = subtypePostgresType; Subtype.Range = this; } /// <summary> /// Constructs a representation of a PostgreSQL range data type. /// </summary> internal PostgresRangeType(DataTypeName dataTypeName, Oid oid, PostgresType subtypePostgresType) : base(dataTypeName, oid) { Subtype = subtypePostgresType; Subtype.Range = this; } }