Skip to content

PgColumnNamesAttribute

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Names the output columns of an IEnumerable return, producing RETURNS TABLE. A single name also supports a one-column table from scalar elements.

[AttributeUsage(AttributeTargets.ReturnValue)]
public sealed class PgColumnNamesAttribute : Attribute

Inheritance: object, Attribute

Names the output columns of an IEnumerable return, producing RETURNS TABLE. A single name also supports a one-column table from scalar elements.

public PgColumnNamesAttribute(params string[] names)

Parameters:

names — string[]

The SQL column names, in result order.

Gets the SQL column names in result order.

public string[] Names { get; }

Value: string[]