Exemple #1
0
 /// <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;
 }
Exemple #2
0
 /// <summary>
 /// Constructs a representation of a PostgreSQL domain data type.
 /// </summary>
 protected internal PostgresDomainType(string ns, string name, uint oid, PostgresType baseType)
     : base(ns, name, oid)
 {
     BaseType = baseType;
 }
 /// <summary>
 /// Constructs a representation of a PostgreSQL array data type.
 /// </summary>
 protected internal PostgresArrayType(string ns, string name, uint oid, PostgresType elementPostgresType)
     : base(ns, name, oid)
 {
     Element       = elementPostgresType;
     Element.Array = this;
 }