# Struct PgTableValuedFunctionExpression.ColumnInfo

Namespace
  Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal

Assembly
  Npgsql.EntityFrameworkCore.PostgreSQL.dll

Defines the name of a column coming out of a PgTableValuedFunctionExpression and optionally its type.

    public readonly record struct PgTableValuedFunctionExpression.ColumnInfo : IEquatable<PgTableValuedFunctionExpression.ColumnInfo>

Implements
  IEquatable<PgTableValuedFunctionExpression.ColumnInfo>

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

## Constructors

### ColumnInfo(string, RelationalTypeMapping?)

Defines the name of a column coming out of a PgTableValuedFunctionExpression and optionally its type.

    public ColumnInfo(string Name, RelationalTypeMapping? TypeMapping = null)

#### Parameters

`Name` string
`TypeMapping` RelationalTypeMapping

## Properties

### Name

    public string Name { get; init; }

#### Property Value

string

### TypeMapping

    public RelationalTypeMapping? TypeMapping { get; init; }

#### Property Value

RelationalTypeMapping