Skip to main content

QueryColumn

  • Namespace: PPDS.Dataverse.Query
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary​

Represents a column in a query result with its metadata.

Members​

Properties​

AggregateFunction​

string AggregateFunction { get; set; }

The aggregate function used, if this is an aggregate column.

Alias​

string Alias { get; set; }

The alias assigned to this column in the query, if any. Used for aggregate functions and renamed columns.

DataType​

QueryColumnType DataType { get; set; }

The data type of this column's values.

DisplayName​

string DisplayName { get; set; }

The display name of the attribute from metadata, if available.

EffectiveName​

string EffectiveName { get; }

Gets the effective name to use for this column in results. Returns the alias if set, otherwise the logical name.

IsAggregate​

bool IsAggregate { get; set; }

Whether this column is from an aggregate function.

LinkedEntityAlias​

string LinkedEntityAlias { get; set; }

For link-entity columns, the alias of the linked entity.

LinkedEntityName​

string LinkedEntityName { get; set; }

For link-entity columns, the logical name of the linked entity.

LogicalName​

string LogicalName { get; set; }

The logical name of the attribute.

QualifiedName​

string QualifiedName { get; }

Gets the fully qualified name including linked entity alias if present.