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 : AttributeInheritance: object, Attribute
Constructors
Section titled “Constructors”PgColumnNamesAttribute(params string[])
Section titled “PgColumnNamesAttribute(params string[])”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.
Properties
Section titled “Properties”Gets the SQL column names in result order.
public string[] Names { get; }Value: string[]